
#!/bin/sh
if [ ! "$SAS_ODFDIR" ]; then
echo ""
echo "Please set the SAS_ODFDIR environment variable to point at the directory"
echo "containing the ODF files for this observation."
echo ""
exit 1
fi
# # [INFO] [2024-11-30T23:29:50] Module name: VerifyODF
# # [INFO] [2024-11-30T23:29:50] Instrument: all
# # [INFO] [2024-11-30T23:29:50] Stream no.: 0001
# # [INFO] [2024-11-30T23:29:50] Module version number: 1.18
# # [INFO] [2024-11-30T23:29:50] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:29:50] Module name: MakeCIF
# # [INFO] [2024-11-30T23:29:50] Instrument: all
# # [INFO] [2024-11-30T23:29:50] Stream no.: 0001
# # [INFO] [2024-11-30T23:29:51] Module version number: 1.23
# # [INFO] [2024-11-30T23:29:51] Observation start defined as >2000-02-27T23:26:03.000<
# # [INFO] [2024-11-30T23:29:51] Processing date defined as >2024-12-01T00:29:50<
# [COMMAND] [2024-11-30T23:29:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:29:51]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:29:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:29:51]
cifbuild analysisdate=2024-12-01T00:29:50 calindexset=product/P0118700401OBX000CALIND0000.FIT fullpath=no \
observationdate=2000-02-27T23:26:03.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:30:18]
# # [INFO] [2024-11-30T23:30:18] Task Run Time cifbuild 27.6972849369049s
#
# [COMMAND] [2024-11-30T23:30:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:18]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:18]
addattribute attributecomment="\"Telescope (mission) name\" \"RA of instrument pointing (degrees)\" \"Name of PI\" \"Observation \
identifier\" \"DEC of instrument pointing\" \"Date observations were made\" \"Observation mode (pointing or slew)\" \"Name of \
observed object\" \"Date observations ended\"" attributename="TELESCOP RA_PNT OBSERVER OBS_ID DEC_PNT DATE-OBS OBS_MODE OBJECT \
DATE-END" attributetype="string real string string real string string string string" realvalue="117.104166 -67.7500000" \
set=product/P0118700401OBX000CALIND0000.FIT stringvalue="\"XMM\" \"Mr Fred Jansen XMM-Newton PS\" \"0118700401\" \
\"2000-02-27T23:26:03.000\" \"POINTED\" \"EXO0748-67\" \"2000-02-28T01:50:59.000\"" -w 10
# # [OUTPUT] [2024-11-30T23:30:18]
# # [INFO] [2024-11-30T23:30:18] Task Run Time addattribute 0.0511808395385742s
#
# [COMMAND] [2024-11-30T23:30:18]
cp /scratch/225361.1.all.q/xmm/ppsprod/228507/product/P0118700401OBX000CALIND0000.FIT \
/scratch/225361.1.all.q/xmm/ppsprod/228507/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:30:18] System RV 0
# # [INFO] [2024-11-30T23:30:18] Module name: GlobalHK
# # [INFO] [2024-11-30T23:30:18] Instrument: all
# # [INFO] [2024-11-30T23:30:18] Stream no.: 0001
# # [INFO] [2024-11-30T23:30:18] Module version number: 1.81
# [COMMAND] [2024-11-30T23:30:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:18]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:18]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:30:19] ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 68089946.184\
#     which is more than 20 s outside the period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 68089946.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 68089947.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 68089947.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 68089948.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 68089948.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 68089949.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 68089949.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 68089950.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 22 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 68089950.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 22 s away).
# ** preqgti: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 132 times 
# # [INFO] [2024-11-30T23:30:19] Task Run Time preqgti 0.417771100997925s
#
# [COMMAND] [2024-11-30T23:30:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:19]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:19]
atthkgen atthkset=product/P0118700401OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:30:19]
# # [INFO] [2024-11-30T23:30:19] Task Run Time atthkgen 0.374979019165039s
#
# [COMMAND] [2024-11-30T23:30:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:19]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:19]
orbit outfile=product/P0118700401OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:30:20] orbit:- Output FITS Orbit timeseries: product/P0118700401OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:30:20] Task Run Time orbit 0.520873069763184s
#
# [COMMAND] [2024-11-30T23:30:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:20]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:20]
radmonfix output=product/P0118700401OBX000RADMON0000.FIT radmonlist=odf/0040_0118700401_RMX00100ECX.FIT withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:30:20] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886646.945 which\
#     is outside the time correlation data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted\
#     with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886650.945 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886654.945 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886658.945 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886662.945 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886666.945 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886670.945 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886674.945 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886678.945 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886682.945 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 139 times 
# # [INFO] [2024-11-30T23:30:20] Task Run Time radmonfix 0.201571941375732s
#
# [COMMAND] [2024-11-30T23:30:20]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/225361.1.all.q/xmm/ppsprod/228507/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:30:20] System RV 0
# # [INFO] [2024-11-30T23:30:20] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:30:20]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/225361.1.all.q/xmm/ppsprod/228507/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:30:20] System RV 0
# [COMMAND] [2024-11-30T23:30:20]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/225361.1.all.q/xmm/ppsprod/228507/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:30:20] System RV 0
# [COMMAND] [2024-11-30T23:30:20]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/225361.1.all.q/xmm/ppsprod/228507/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:30:20] System RV 0
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos1
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0002
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S400 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: Closed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 1
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos1
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0003
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S401 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: Closed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 2
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos1
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0004
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S402 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: Closed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 1
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos1
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0005
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S403 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: Closed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 2
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos1
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0006
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S404 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: Closed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 7
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos1
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0007
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S405 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: Closed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 1
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos1
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0008
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S406 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: Closed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 2
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos2
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0001
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S004 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: CalClosed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 5050
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos2
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0002
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S407 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: CalClosed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 7
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos2
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0003
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S408 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: CalClosed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 0
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos2
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0004
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S409 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: CalClosed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 7
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos2
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0005
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S410 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: CalClosed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 8
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos2
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0006
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S411 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: CalClosed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 1
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos2
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0007
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S412 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: CalClosed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 1
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos2
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0008
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S413 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: CalClosed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: OffsetVariance
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 7
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0001
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S005 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: Thick
# # [INFO] [2024-11-30T23:30:20] Instrument mode: PrimeFullWindowLowGain
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 562
# # [INFO] [2024-11-30T23:30:20] Exposure less than 1000 seconds. Exposure ignored.
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0002
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure U002 for processability
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0003
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure U003 for processability
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0004
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure U004 for processability
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0005
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure U005 for processability
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0006
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure U006 for processability
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0007
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure U007 for processability
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0008
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure U008 for processability
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0009
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure U009 for processability
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0010
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure U010 for processability
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0011
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure U011 for processability
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0012
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure U012 for processability
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0013
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure U013 for processability
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0014
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure U014 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: Thick
# # [INFO] [2024-11-30T23:30:20] Instrument mode: PrimeFullWindowLowGain
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 5537
# # [INFO] [2024-11-30T23:30:20] Module name: ExpChooser
# # [INFO] [2024-11-30T23:30:20] Instrument: emos1
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0001
# # [INFO] [2024-11-30T23:30:20] Module version number: 1.38
# # [INFO] [2024-11-30T23:30:20] Checking exposure S003 for processability
# # [INFO] [2024-11-30T23:30:20] Filter: Closed
# # [INFO] [2024-11-30T23:30:20] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:30:20] Exposure duration: 4996
# # [INFO] [2024-11-30T23:30:20] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:30:20] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:30:20] Instrument: epn
# # [INFO] [2024-11-30T23:30:20] Stream no.: 0001
# # [INFO] [2024-11-30T23:30:20] Module version number: 2.01
# [COMMAND] [2024-11-30T23:30:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:20]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:20]
hkgtigen gtiset=intermediate/InstrumentHK-epn-1-HK_GTI-X00000000000000.fits instrument=epn withgtiset=yes -w 10
# # [OUTPUT] [2024-11-30T23:30:21]
# # [INFO] [2024-11-30T23:30:21] Task Run Time hkgtigen 0.237207174301147s
#
# # [INFO] [2024-11-30T23:30:21] Module name: USNOExtract
# # [INFO] [2024-11-30T23:30:21] Instrument: all
# # [INFO] [2024-11-30T23:30:21] Stream no.: 0001
# # [INFO] [2024-11-30T23:30:21] Module version number: 0.07
# [COMMAND] [2024-11-30T23:30:21]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:30:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:21]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:21]
fimgcreate bitpix=8 datafile=none headfile=intermediate/USNOExtract-all-1-fimgcreate_kwds-X00000000000000.ascii naxes='648,648' \
outfile=intermediate/USNOExtract-all-1-dummy_image-X00000000000000.fits
# # [OUTPUT] [2024-11-30T23:30:21] Written the output image ......... 
# # [INFO] [2024-11-30T23:30:21] Task Run Time fimgcreate 0.0839250087738037s
#
# [COMMAND] [2024-11-30T23:30:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:21]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:21]
catprep catextract=intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
srclistset=product/P0118700401OBX000CALIND0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:30:21]
# # [INFO] [2024-11-30T23:30:21] Task Run Time catprep 0.108886957168579s
#
# [COMMAND] [2024-11-30T23:30:21]
cp /scratch/225361.1.all.q/xmm/ppsprod/228507/intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
/scratch/225361.1.all.q/xmm/ppsprod/228507/product/P0118700401OBX000REFCAT0000.FIT
# # [INFO] [2024-11-30T23:30:21] System RV 0
# # [INFO] [2024-11-30T23:30:21] Reading keyword TELESCOP value XMM comment Telescope (mission) name
# # [INFO] [2024-11-30T23:30:21] Reading keyword DATE-END value 2000-02-28T01:50:59.000 comment Date observations ended
# # [INFO] [2024-11-30T23:30:21] Reading keyword RA_OBJ value 1.17104166000000E+02 comment [deg] Ra of the observed object
# # [INFO] [2024-11-30T23:30:21] Reading keyword DATE-OBS value 2000-02-27T23:26:03.000 comment Date observations were made
# # [INFO] [2024-11-30T23:30:21] Reading keyword DEC_OBJ value -6.77500000000000E+01 comment [deg] Dec of the observed object
# # [INFO] [2024-11-30T23:30:21] Reading keyword OBS_ID value 0118700401 comment Observation identifier
# # [INFO] [2024-11-30T23:30:21] Reading keyword OBS_MODE value POINTING comment Observation mode (pointing or slew)
# [COMMAND] [2024-11-30T23:30:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:21]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:21]
addattribute attributecomment="\"Telescope (mission) name\" \"Date observations ended\" \"[deg] Ra of the observed object\" \"Date \
observations were made\" \"[deg] Dec of the observed object\" \"Observation identifier\" \"Observation mode (pointing or slew)\"" \
attributename="TELESCOP DATE-END RA_OBJ DATE-OBS DEC_OBJ OBS_ID OBS_MODE" attributetype="\"string\" \"string\" \"real\" \"string\" \
\"real\" \"string\" \"string\"" realvalue="1.17104166000000E+02 -6.77500000000000E+01" set=product/P0118700401OBX000REFCAT0000.FIT \
stringvalue="XMM 2000-02-28T01:50:59.000 2000-02-27T23:26:03.000 0118700401 POINTING" -w 10
# # [OUTPUT] [2024-11-30T23:30:21] ** addattribute: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in\
#     dataset with name 'product/P0118700401OBX000REFCAT0000.FIT'
# ** addattribute: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name\
#     'product/P0118700401OBX000REFCAT0000.FIT' 
# # [INFO] [2024-11-30T23:30:21] Task Run Time addattribute 0.0535979270935059s
#
# # [INFO] [2024-11-30T23:30:21] Module name: pnEvents
# # [INFO] [2024-11-30T23:30:21] Instrument: epn
# # [INFO] [2024-11-30T23:30:21] Stream no.: 0014
# # [INFO] [2024-11-30T23:30:21] Module version number: 2.74
# # [INFO] [2024-11-30T23:30:21] Exposure ID: U014
# # [INFO] [2024-11-30T23:30:21] Filter: Thick
# # [INFO] [2024-11-30T23:30:21] Instrument mode: PrimeFullWindowLowGain
# [COMMAND] [2024-11-30T23:30:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:21]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:21]
epframes eventset=intermediate/pnEvents-epn-14-Processed_events-U01401000100000.fits \
gtiset=intermediate/pnEvents-epn-14-CCD_GTI-U01401000100000.fits set=odf/0040_0118700401_PNU01401IME.FIT withsrcrawy=no -w 10
# # [OUTPUT] [2024-11-30T23:30:23] epframes:- No Offset maps found... 
# epframes:- No Offset maps found... 
# ** epframes: warning (InvalidObtValue), OBT vector element #576 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #577 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #578 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #579 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #1259 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2065 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2588 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2589 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2590 is invalid (-100)
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886646.466 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886647.933 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886649.4 which is outside the time correlation data\
#     abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886650.868 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886652.261 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886653.802 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886655.269 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886656.737 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886658.204 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886659.671 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (InvalidObtValue), OBT vector element #4251 is invalid (-100)
# ** epframes: warning (illegalODF), The PMH file seems to end prematurely: DATE-END > TIME(PMH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:59] The ODF [0040_0118700401_PNU014] is invalid, please contact the originator of this data.
# ** epframes: warning (OffsetMap), calculation interval not after previous exposure
# ** epframes: warning (CCDlowGain), CCD 1 is not in HIGH gain mode: LOW
# ** epframes: warning (illegalODF), The PAH file seems to end prematurely: DATE-END > TIME(PAH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:25] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (illegalODF), The P5S file seems to end prematurely: DATE-END > TIME(p5s)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:51:03] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (tooLongExposure), TELAPSE [ 9592.7316497135616 ] > DURATION [ 8696.0000000000000 ]. Event times may be\
#     incorrect or exposure lasted longer than scheduled.
# ** epframes: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 179127 times
# warning InvalidObtValue silently occurred 2 times 
# # [INFO] [2024-11-30T23:30:23] Task Run Time epframes 1.57288813591003s
#
# # [INFO] [2024-11-30T23:30:23] OBT_WARN False
# [COMMAND] [2024-11-30T23:30:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:23]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:23]
badpixfind backgroundrate=-1 badpixmap=intermediate/pnEvents-epn-14-Bright_pixels_mask-U01401000000000.fits \
badpixset=intermediate/pnEvents-epn-14-Ignore_This_Bad_pixels-U01401000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01401000100000.fits hicolthresh=7e-05 hienergythresh=15 hithresh=0.00025 \
loenergythresh=7 narrowerthanpsf=0 threshabovebackground=Y thresholdlabel=rate withbadpixmap=Y withfovmask=Y withsearchbadcolumn=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:30:23] ** badpixfind: warning (findRealSources), chosen narrowerthanpsf parameter very low - real\
#     sources may be found 
# # [INFO] [2024-11-30T23:30:23] Task Run Time badpixfind 0.184356927871704s
#
# [COMMAND] [2024-11-30T23:30:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:23]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:23]
badpixfind backgroundrate=0.00011 badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01401000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01401000100000.fits flickertimesteps=1 hicolthresh=0.00105 hienergythresh=12 \
hithresh=0.0045 loenergythresh=0.14 narrowerthanpsf=1.5 thresholdlabel=rate withsearchbadcolumn=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:23]
# # [INFO] [2024-11-30T23:30:23] Task Run Time badpixfind 0.212883949279785s
#
# [COMMAND] [2024-11-30T23:30:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:23]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:23]
badpix badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01401000000000.fits emptyextension=N \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01401000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
windowfilter=N -w 10
# # [OUTPUT] [2024-11-30T23:30:23]
# # [INFO] [2024-11-30T23:30:23] Task Run Time badpix 0.193660974502563s
#
# # [INFO] [2024-11-30T23:30:23] DEBUG: epreject task does not run for PN Imaging mode.
# # [INFO] [2024-11-30T23:30:23] Starting epevents....
# [COMMAND] [2024-11-30T23:30:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:23]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:23]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01401000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_events-U01401000200000.fits randomizeenergy=Y randomizeposition=Y reemissionthresh=0 \
withbackgroundgain=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:26] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 1 is not in HIGH gain mode: LOW 
# # [INFO] [2024-11-30T23:30:26] Task Run Time epevents 3.09423995018005s
#
# # [INFO] [2024-11-30T23:30:26] Completed epevents....
# [COMMAND] [2024-11-30T23:30:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:26]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01401000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:27] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7312 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.5471925586 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8046 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6205523163 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.9513 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7672923058 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0247 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8406520635 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.098 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9140323102 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.2448 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0607518256 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.3915 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2074943781 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8317 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6476733834 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.2719 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0878728926 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.5653 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3813349605 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18356 times 
# # [INFO] [2024-11-30T23:30:27] Task Run Time attcalc 1.12105298042297s
#
# [COMMAND] [2024-11-30T23:30:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:27]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:27]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_events-U01401000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_events-U01401000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:28]
# # [INFO] [2024-11-30T23:30:28] Task Run Time evselect 0.33658504486084s
#
# # [INFO] [2024-11-30T23:30:28] Starting out-of-time epevents ....
# [COMMAND] [2024-11-30T23:30:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:28]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:28]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01401000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_oot_events-U01401000200000.fits randomizeenergy=Y randomizeposition=Y \
reemissionthresh=0 withbackgroundgain=Y withoutoftime=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:31] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 1 is not in HIGH gain mode: LOW
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #4245 (CCD/rawX/rawY = 1[0/0]/7/39[185/38]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #6507 (CCD/rawX/rawY = 1[0/0]/7/39[185/38]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #10084 (CCD/rawX/rawY = 1[0/0]/7/39[185/38]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #15778 (CCD/rawX/rawY = 1[0/0]/42/76[150/75])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #16240 (CCD/rawX/rawY = 1[0/0]/7/39[185/38]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #19612 (CCD/rawX/rawY = 1[0/0]/7/39[185/38]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #25424 (CCD/rawX/rawY = 1[0/0]/42/76[150/75])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #30201 (CCD/rawX/rawY = 1[0/0]/42/76[150/75])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #41345 (CCD/rawX/rawY = 1[0/0]/7/39[185/38]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #42188 (CCD/rawX/rawY = 1[0/0]/42/76[150/75])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (SummaryOfWarnings), 
# warning ctiCorrectionFailed silently occurred 82 times 
# # [INFO] [2024-11-30T23:30:31] Task Run Time epevents 2.74795794487s
#
# # [INFO] [2024-11-30T23:30:31] Completed out-of-time epevents....
# [COMMAND] [2024-11-30T23:30:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:31]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:31]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_oot_events-U01401000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:32] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7312 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.5471925586 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8046 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6205523163 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.9513 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7672923058 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0247 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8406520635 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.098 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9140323102 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.2448 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0607518256 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.3915 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2074943781 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8317 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6476733834 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.2719 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0878728926 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.5653 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3813349605 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18356 times 
# # [INFO] [2024-11-30T23:30:32] Task Run Time attcalc 1.11210298538208s
#
# [COMMAND] [2024-11-30T23:30:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:32]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:32]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_oot_events-U01401000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_oot_events-U01401000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w \
10
# # [OUTPUT] [2024-11-30T23:30:32]
# # [INFO] [2024-11-30T23:30:32] Task Run Time evselect 0.365061044692993s
#
# [COMMAND] [2024-11-30T23:30:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:32]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:32]
epframes eventset=intermediate/pnEvents-epn-14-Processed_events-U01402000100000.fits \
gtiset=intermediate/pnEvents-epn-14-CCD_GTI-U01402000100000.fits set=odf/0040_0118700401_PNU01402IME.FIT withsrcrawy=no -w 10
# # [OUTPUT] [2024-11-30T23:30:34] epframes:- No Offset maps found... 
# epframes:- No Offset maps found... 
# ** epframes: warning (InvalidObtValue), OBT vector element #576 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #577 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #578 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #579 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #1259 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2065 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2588 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2589 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2590 is invalid (-100)
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886646.466 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886647.933 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886649.4 which is outside the time correlation data\
#     abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886650.868 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886652.261 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886653.802 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886655.269 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886656.737 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886658.204 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886659.671 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (InvalidObtValue), OBT vector element #4251 is invalid (-100)
# ** epframes: warning (illegalODF), The PMH file seems to end prematurely: DATE-END > TIME(PMH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:59] The ODF [0040_0118700401_PNU014] is invalid, please contact the originator of this data.
# ** epframes: warning (OffsetMap), calculation interval not after previous exposure
# ** epframes: warning (CCDlowGain), CCD 2 is not in HIGH gain mode: LOW
# ** epframes: warning (illegalODF), The PAH file seems to end prematurely: DATE-END > TIME(PAH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:25] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (illegalODF), The P5S file seems to end prematurely: DATE-END > TIME(p5s)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:51:03] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (tooLongExposure), TELAPSE [ 9592.7316497135616 ] > DURATION [ 8696.0000000000000 ]. Event times may be\
#     incorrect or exposure lasted longer than scheduled.
# ** epframes: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 163537 times
# warning InvalidObtValue silently occurred 2 times 
# # [INFO] [2024-11-30T23:30:34] Task Run Time epframes 1.94341802597046s
#
# # [INFO] [2024-11-30T23:30:34] OBT_WARN False
# [COMMAND] [2024-11-30T23:30:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:34]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:34]
badpixfind backgroundrate=-1 badpixmap=intermediate/pnEvents-epn-14-Bright_pixels_mask-U01402000000000.fits \
badpixset=intermediate/pnEvents-epn-14-Ignore_This_Bad_pixels-U01402000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01402000100000.fits hicolthresh=7e-05 hienergythresh=15 hithresh=0.00025 \
loenergythresh=7 narrowerthanpsf=0 threshabovebackground=Y thresholdlabel=rate withbadpixmap=Y withfovmask=Y withsearchbadcolumn=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:30:34] ** badpixfind: warning (findRealSources), chosen narrowerthanpsf parameter very low - real\
#     sources may be found 
# # [INFO] [2024-11-30T23:30:34] Task Run Time badpixfind 0.23705792427063s
#
# [COMMAND] [2024-11-30T23:30:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:34]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:34]
badpixfind backgroundrate=0.00011 badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01402000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01402000100000.fits flickertimesteps=1 hicolthresh=0.00105 hienergythresh=12 \
hithresh=0.0045 loenergythresh=0.14 narrowerthanpsf=1.5 thresholdlabel=rate withsearchbadcolumn=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:34]
# # [INFO] [2024-11-30T23:30:34] Task Run Time badpixfind 0.249527931213379s
#
# [COMMAND] [2024-11-30T23:30:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:34]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:34]
badpix badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01402000000000.fits emptyextension=N \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01402000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
windowfilter=N -w 10
# # [OUTPUT] [2024-11-30T23:30:35]
# # [INFO] [2024-11-30T23:30:35] Task Run Time badpix 0.229902029037476s
#
# # [INFO] [2024-11-30T23:30:35] DEBUG: epreject task does not run for PN Imaging mode.
# # [INFO] [2024-11-30T23:30:35] Starting epevents....
# [COMMAND] [2024-11-30T23:30:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:35]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:35]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01402000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_events-U01402000200000.fits randomizeenergy=Y randomizeposition=Y reemissionthresh=0 \
withbackgroundgain=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:37] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 2 is not in HIGH gain mode: LOW 
# # [INFO] [2024-11-30T23:30:37] Task Run Time epevents 2.74364995956421s
#
# # [INFO] [2024-11-30T23:30:37] Completed epevents....
# [COMMAND] [2024-11-30T23:30:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:37]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:37]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01402000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:39] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2971 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.1131214648 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4438 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2598435283 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.5172 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3332032859 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.1775 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9935025424 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.2509 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0668623 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8378 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6537838578 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.9112 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7271641046 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.1312 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9472433776 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.6448 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4608051926 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.8649 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6809049398 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 17828 times 
# # [INFO] [2024-11-30T23:30:39] Task Run Time attcalc 1.15293097496033s
#
# [COMMAND] [2024-11-30T23:30:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:39]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:39]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_events-U01402000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_events-U01402000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:39]
# # [INFO] [2024-11-30T23:30:39] Task Run Time evselect 0.261794805526733s
#
# # [INFO] [2024-11-30T23:30:39] Starting out-of-time epevents ....
# [COMMAND] [2024-11-30T23:30:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:39]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:39]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01402000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_oot_events-U01402000200000.fits randomizeenergy=Y randomizeposition=Y \
reemissionthresh=0 withbackgroundgain=Y withoutoftime=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:41] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 2 is not in HIGH gain mode: LOW
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #1432 (CCD/rawX/rawY = 2[0/1]/14/36[114/35]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #10118 (CCD/rawX/rawY = 2[0/1]/14/36[114/35])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #20178 (CCD/rawX/rawY = 2[0/1]/39/154[89/153])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #22373 (CCD/rawX/rawY = 2[0/1]/14/36[114/35])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #23841 (CCD/rawX/rawY = 2[0/1]/14/36[114/35])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #31174 (CCD/rawX/rawY = 2[0/1]/39/154[89/153])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #33487 (CCD/rawX/rawY = 2[0/1]/39/154[89/153])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #35425 (CCD/rawX/rawY = 2[0/1]/39/154[89/153])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #37942 (CCD/rawX/rawY = 2[0/1]/14/36[114/35])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #42777 (CCD/rawX/rawY = 2[0/1]/39/154[89/153])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (SummaryOfWarnings), 
# warning ctiCorrectionFailed silently occurred 54 times 
# # [INFO] [2024-11-30T23:30:41] Task Run Time epevents 2.49965882301331s
#
# # [INFO] [2024-11-30T23:30:41] Completed out-of-time epevents....
# [COMMAND] [2024-11-30T23:30:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:41]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:41]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_oot_events-U01402000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:42] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2971 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.1131214648 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4438 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2598435283 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.5172 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3332032859 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.1775 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9935025424 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.2509 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0668623 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8378 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6537838578 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.9112 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7271641046 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.1312 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9472433776 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.6448 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4608051926 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.8649 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6809049398 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 17828 times 
# # [INFO] [2024-11-30T23:30:42] Task Run Time attcalc 1.05083322525024s
#
# [COMMAND] [2024-11-30T23:30:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:42]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:42]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_oot_events-U01402000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_oot_events-U01402000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w \
10
# # [OUTPUT] [2024-11-30T23:30:43]
# # [INFO] [2024-11-30T23:30:43] Task Run Time evselect 0.327367067337036s
#
# [COMMAND] [2024-11-30T23:30:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:43]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:43]
epframes eventset=intermediate/pnEvents-epn-14-Processed_events-U01403000100000.fits \
gtiset=intermediate/pnEvents-epn-14-CCD_GTI-U01403000100000.fits set=odf/0040_0118700401_PNU01403IME.FIT withsrcrawy=no -w 10
# # [OUTPUT] [2024-11-30T23:30:44] epframes:- No Offset maps found... 
# epframes:- No Offset maps found... 
# ** epframes: warning (InvalidObtValue), OBT vector element #576 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #577 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #578 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #579 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #1259 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2065 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2588 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2589 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2590 is invalid (-100)
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886646.466 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886647.933 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886649.4 which is outside the time correlation data\
#     abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886650.868 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886652.261 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886653.802 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886655.269 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886656.737 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886658.204 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886659.671 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (InvalidObtValue), OBT vector element #4251 is invalid (-100)
# ** epframes: warning (illegalODF), The PMH file seems to end prematurely: DATE-END > TIME(PMH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:59] The ODF [0040_0118700401_PNU014] is invalid, please contact the originator of this data.
# ** epframes: warning (OffsetMap), calculation interval not after previous exposure
# ** epframes: warning (CCDlowGain), CCD 3 is not in HIGH gain mode: LOW
# ** epframes: warning (illegalODF), The PAH file seems to end prematurely: DATE-END > TIME(PAH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:25] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (illegalODF), The P5S file seems to end prematurely: DATE-END > TIME(p5s)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:51:03] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (tooLongExposure), TELAPSE [ 9592.5849302578426 ] > DURATION [ 8696.0000000000000 ]. Event times may be\
#     incorrect or exposure lasted longer than scheduled.
# ** epframes: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 157099 times
# warning InvalidObtValue silently occurred 2 times 
# # [INFO] [2024-11-30T23:30:44] Task Run Time epframes 1.49449682235718s
#
# # [INFO] [2024-11-30T23:30:44] OBT_WARN False
# [COMMAND] [2024-11-30T23:30:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:44]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:44]
badpixfind backgroundrate=-1 badpixmap=intermediate/pnEvents-epn-14-Bright_pixels_mask-U01403000000000.fits \
badpixset=intermediate/pnEvents-epn-14-Ignore_This_Bad_pixels-U01403000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01403000100000.fits hicolthresh=7e-05 hienergythresh=15 hithresh=0.00025 \
loenergythresh=7 narrowerthanpsf=0 threshabovebackground=Y thresholdlabel=rate withbadpixmap=Y withfovmask=Y withsearchbadcolumn=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:30:44] ** badpixfind: warning (findRealSources), chosen narrowerthanpsf parameter very low - real\
#     sources may be found 
# # [INFO] [2024-11-30T23:30:44] Task Run Time badpixfind 0.236090898513794s
#
# [COMMAND] [2024-11-30T23:30:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:44]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:44]
badpixfind backgroundrate=0.00011 badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01403000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01403000100000.fits flickertimesteps=1 hicolthresh=0.00105 hienergythresh=12 \
hithresh=0.0045 loenergythresh=0.14 narrowerthanpsf=1.5 thresholdlabel=rate withsearchbadcolumn=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:45]
# # [INFO] [2024-11-30T23:30:45] Task Run Time badpixfind 0.21659517288208s
#
# [COMMAND] [2024-11-30T23:30:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:45]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:45]
badpix badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01403000000000.fits emptyextension=N \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01403000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
windowfilter=N -w 10
# # [OUTPUT] [2024-11-30T23:30:45]
# # [INFO] [2024-11-30T23:30:45] Task Run Time badpix 0.194422960281372s
#
# # [INFO] [2024-11-30T23:30:45] DEBUG: epreject task does not run for PN Imaging mode.
# # [INFO] [2024-11-30T23:30:45] Starting epevents....
# [COMMAND] [2024-11-30T23:30:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:45]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:45]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01403000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_events-U01403000200000.fits randomizeenergy=Y randomizeposition=Y reemissionthresh=0 \
withbackgroundgain=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:47] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 3 is not in HIGH gain mode: LOW 
# # [INFO] [2024-11-30T23:30:47] Task Run Time epevents 2.40687680244446s
#
# # [INFO] [2024-11-30T23:30:47] Completed epevents....
# [COMMAND] [2024-11-30T23:30:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:47]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:47]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01403000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:48] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3766 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.1925940216 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.5967 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4126937687 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.6701 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4860535264 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8902 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7061532885 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.9635 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7795130312 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.1103 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9262530357 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.257 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.072972551 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.3303 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1463322937 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8439 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6598941088 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.064 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8799938709 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 17446 times 
# # [INFO] [2024-11-30T23:30:48] Task Run Time attcalc 0.969312906265259s
#
# [COMMAND] [2024-11-30T23:30:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:48]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:48]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_events-U01403000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_events-U01403000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:49]
# # [INFO] [2024-11-30T23:30:49] Task Run Time evselect 0.3055579662323s
#
# # [INFO] [2024-11-30T23:30:49] Starting out-of-time epevents ....
# [COMMAND] [2024-11-30T23:30:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:49]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:49]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01403000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_oot_events-U01403000200000.fits randomizeenergy=Y randomizeposition=Y \
reemissionthresh=0 withbackgroundgain=Y withoutoftime=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:51] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 3 is not in HIGH gain mode: LOW 
# # [INFO] [2024-11-30T23:30:51] Task Run Time epevents 2.37402200698853s
#
# # [INFO] [2024-11-30T23:30:51] Completed out-of-time epevents....
# [COMMAND] [2024-11-30T23:30:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:51]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:51]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_oot_events-U01403000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:52] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3766 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.1925940216 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.5967 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4126937687 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.6701 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4860535264 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8902 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7061532885 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.9635 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7795130312 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.1103 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9262530357 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.257 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.072972551 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.3303 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1463322937 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8439 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6598941088 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.064 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8799938709 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 17446 times 
# # [INFO] [2024-11-30T23:30:52] Task Run Time attcalc 0.958953142166138s
#
# [COMMAND] [2024-11-30T23:30:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:52]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:52]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_oot_events-U01403000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_oot_events-U01403000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w \
10
# # [OUTPUT] [2024-11-30T23:30:52]
# # [INFO] [2024-11-30T23:30:52] Task Run Time evselect 0.438384056091309s
#
# [COMMAND] [2024-11-30T23:30:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:52]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:52]
epframes eventset=intermediate/pnEvents-epn-14-Processed_events-U01404000100000.fits \
gtiset=intermediate/pnEvents-epn-14-CCD_GTI-U01404000100000.fits set=odf/0040_0118700401_PNU01404IME.FIT withsrcrawy=no -w 10
# # [OUTPUT] [2024-11-30T23:30:54] epframes:- No Offset maps found... 
# epframes:- No Offset maps found... 
# ** epframes: warning (InvalidObtValue), OBT vector element #2608 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2609 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2610 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2611 is invalid (-100)
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886646.924 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886648.391 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886649.859 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886651.326 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886652.793 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886654.261 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886655.728 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886657.122 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886658.663 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886660.056 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (illegalODF), The PMH file seems to end prematurely: DATE-END > TIME(PMH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:59] The ODF [0040_0118700401_PNU014] is invalid, please contact the originator of this data.
# ** epframes: warning (OffsetMap), calculation interval not after previous exposure
# ** epframes: warning (CCDlowGain), CCD 4 is not in HIGH gain mode: LOW
# ** epframes: warning (illegalODF), The PAH file seems to end prematurely: DATE-END > TIME(PAH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:25] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (illegalODF), The P5S file seems to end prematurely: DATE-END > TIME(p5s)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:51:03] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (tooLongExposure), TELAPSE [ 9580.4796447623230 ] > DURATION [ 8696.0000000000000 ]. Event times may be\
#     incorrect or exposure lasted longer than scheduled.
# ** epframes: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 170483 times 
# # [INFO] [2024-11-30T23:30:54] Task Run Time epframes 1.61553382873535s
#
# # [INFO] [2024-11-30T23:30:54] OBT_WARN False
# [COMMAND] [2024-11-30T23:30:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:54]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:54]
badpixfind backgroundrate=-1 badpixmap=intermediate/pnEvents-epn-14-Bright_pixels_mask-U01404000000000.fits \
badpixset=intermediate/pnEvents-epn-14-Ignore_This_Bad_pixels-U01404000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01404000100000.fits hicolthresh=7e-05 hienergythresh=15 hithresh=0.00025 \
loenergythresh=7 narrowerthanpsf=0 threshabovebackground=Y thresholdlabel=rate withbadpixmap=Y withfovmask=Y withsearchbadcolumn=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:30:54] ** badpixfind: warning (findRealSources), chosen narrowerthanpsf parameter very low - real\
#     sources may be found 
# # [INFO] [2024-11-30T23:30:54] Task Run Time badpixfind 0.199552059173584s
#
# [COMMAND] [2024-11-30T23:30:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:54]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:54]
badpixfind backgroundrate=0.00011 badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01404000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01404000100000.fits flickertimesteps=1 hicolthresh=0.00105 hienergythresh=12 \
hithresh=0.0045 loenergythresh=0.14 narrowerthanpsf=1.5 thresholdlabel=rate withsearchbadcolumn=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:54]
# # [INFO] [2024-11-30T23:30:54] Task Run Time badpixfind 0.20736289024353s
#
# [COMMAND] [2024-11-30T23:30:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:54]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:54]
badpix badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01404000000000.fits emptyextension=N \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01404000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
windowfilter=N -w 10
# # [OUTPUT] [2024-11-30T23:30:55]
# # [INFO] [2024-11-30T23:30:55] Task Run Time badpix 0.137744903564453s
#
# # [INFO] [2024-11-30T23:30:55] DEBUG: epreject task does not run for PN Imaging mode.
# # [INFO] [2024-11-30T23:30:55] Starting epevents....
# [COMMAND] [2024-11-30T23:30:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:55]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:55]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01404000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_events-U01404000200000.fits randomizeenergy=Y randomizeposition=Y reemissionthresh=0 \
withbackgroundgain=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:57] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 4 is not in HIGH gain mode: LOW
# ** epevents: warning (NoBCKgainCorrectionFound), Background gain correction called for NDISCLIN=0 
# # [INFO] [2024-11-30T23:30:57] Task Run Time epevents 2.46923494338989s
#
# # [INFO] [2024-11-30T23:30:57] Completed epevents....
# [COMMAND] [2024-11-30T23:30:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:57]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:57]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01404000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:58] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.236 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0519809276 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3093 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1253406852 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3827 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1987030059 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4561 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2720627636 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.5294 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3454429954 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.6762 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4921625108 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7495 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5655427426 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8229 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6389025003 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8963 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7122622579 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.043 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8590022475 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 19581 times 
# # [INFO] [2024-11-30T23:30:58] Task Run Time attcalc 1.35302209854126s
#
# [COMMAND] [2024-11-30T23:30:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:58]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:58]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_events-U01404000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_events-U01404000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:30:59]
# # [INFO] [2024-11-30T23:30:59] Task Run Time evselect 0.324236154556274s
#
# # [INFO] [2024-11-30T23:30:59] Starting out-of-time epevents ....
# [COMMAND] [2024-11-30T23:30:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:30:59]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:30:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:30:59]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01404000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_oot_events-U01404000200000.fits randomizeenergy=Y randomizeposition=Y \
reemissionthresh=0 withbackgroundgain=Y withoutoftime=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:01] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 4 is not in HIGH gain mode: LOW
# ** epevents: warning (NoBCKgainCorrectionFound), Background gain correction called for NDISCLIN=0 
# # [INFO] [2024-11-30T23:31:01] Task Run Time epevents 2.51102590560913s
#
# # [INFO] [2024-11-30T23:31:01] Completed out-of-time epevents....
# [COMMAND] [2024-11-30T23:31:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:01]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:01]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_oot_events-U01404000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:03] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.236 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0519809276 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3093 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1253406852 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3827 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1987030059 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4561 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2720627636 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.5294 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3454429954 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.6762 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4921625108 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7495 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5655427426 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8229 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6389025003 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8963 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7122622579 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.043 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8590022475 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 19581 times 
# # [INFO] [2024-11-30T23:31:03] Task Run Time attcalc 1.37830901145935s
#
# [COMMAND] [2024-11-30T23:31:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:03]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:03]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_oot_events-U01404000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_oot_events-U01404000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w \
10
# # [OUTPUT] [2024-11-30T23:31:03]
# # [INFO] [2024-11-30T23:31:03] Task Run Time evselect 0.320242881774902s
#
# [COMMAND] [2024-11-30T23:31:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:03]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:03]
epframes eventset=intermediate/pnEvents-epn-14-Processed_events-U01405000100000.fits \
gtiset=intermediate/pnEvents-epn-14-CCD_GTI-U01405000100000.fits set=odf/0040_0118700401_PNU01405IME.FIT withsrcrawy=no -w 10
# # [OUTPUT] [2024-11-30T23:31:04] epframes:- No Offset maps found... 
# epframes:- No Offset maps found... 
# ** epframes: warning (InvalidObtValue), OBT vector element #2608 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2609 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2610 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2611 is invalid (-100)
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886646.924 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886648.391 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886649.859 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886651.326 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886652.793 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886654.261 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886655.728 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886657.122 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886658.663 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886660.056 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (illegalODF), The PMH file seems to end prematurely: DATE-END > TIME(PMH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:59] The ODF [0040_0118700401_PNU014] is invalid, please contact the originator of this data.
# ** epframes: warning (OffsetMap), calculation interval not after previous exposure
# ** epframes: warning (CCDlowGain), CCD 5 is not in HIGH gain mode: LOW
# ** epframes: warning (illegalODF), The PAH file seems to end prematurely: DATE-END > TIME(PAH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:25] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (illegalODF), The P5S file seems to end prematurely: DATE-END > TIME(p5s)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:51:03] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (tooLongExposure), TELAPSE [ 9580.5530045050837 ] > DURATION [ 8696.0000000000000 ]. Event times may be\
#     incorrect or exposure lasted longer than scheduled.
# ** epframes: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 167001 times 
# # [INFO] [2024-11-30T23:31:04] Task Run Time epframes 1.47850680351257s
#
# # [INFO] [2024-11-30T23:31:04] OBT_WARN False
# [COMMAND] [2024-11-30T23:31:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:04]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:04]
badpixfind backgroundrate=-1 badpixmap=intermediate/pnEvents-epn-14-Bright_pixels_mask-U01405000000000.fits \
badpixset=intermediate/pnEvents-epn-14-Ignore_This_Bad_pixels-U01405000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01405000100000.fits hicolthresh=7e-05 hienergythresh=15 hithresh=0.00025 \
loenergythresh=7 narrowerthanpsf=0 threshabovebackground=Y thresholdlabel=rate withbadpixmap=Y withfovmask=Y withsearchbadcolumn=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:31:05] ** badpixfind: warning (findRealSources), chosen narrowerthanpsf parameter very low - real\
#     sources may be found 
# # [INFO] [2024-11-30T23:31:05] Task Run Time badpixfind 0.182975769042969s
#
# [COMMAND] [2024-11-30T23:31:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:05]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:05]
badpixfind backgroundrate=0.00011 badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01405000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01405000100000.fits flickertimesteps=1 hicolthresh=0.00105 hienergythresh=12 \
hithresh=0.0045 loenergythresh=0.14 narrowerthanpsf=1.5 thresholdlabel=rate withsearchbadcolumn=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:05]
# # [INFO] [2024-11-30T23:31:05] Task Run Time badpixfind 0.148720979690552s
#
# [COMMAND] [2024-11-30T23:31:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:05]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:05]
badpix badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01405000000000.fits emptyextension=N \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01405000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
windowfilter=N -w 10
# # [OUTPUT] [2024-11-30T23:31:05]
# # [INFO] [2024-11-30T23:31:05] Task Run Time badpix 0.103955984115601s
#
# # [INFO] [2024-11-30T23:31:05] DEBUG: epreject task does not run for PN Imaging mode.
# # [INFO] [2024-11-30T23:31:05] Starting epevents....
# [COMMAND] [2024-11-30T23:31:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:05]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:05]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01405000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_events-U01405000200000.fits randomizeenergy=Y randomizeposition=Y reemissionthresh=0 \
withbackgroundgain=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:07] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 5 is not in HIGH gain mode: LOW
# ** epevents: warning (NoBCKgainCorrectionFound), Background gain correction called for NDISCLIN=0 
# # [INFO] [2024-11-30T23:31:07] Task Run Time epevents 2.21211314201355s
#
# # [INFO] [2024-11-30T23:31:07] Completed epevents....
# [COMMAND] [2024-11-30T23:31:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:07]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:07]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01405000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:08] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2421 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0580914021 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3155 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1314511597 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3888 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2048134804 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4622 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.278173238 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.5356 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3515534699 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7557 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5716532171 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.2692 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0851919949 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.3426 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1585722268 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.4893 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3052943051 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.5627 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3786745369 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18720 times 
# # [INFO] [2024-11-30T23:31:08] Task Run Time attcalc 0.922260999679565s
#
# [COMMAND] [2024-11-30T23:31:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:08]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:08]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_events-U01405000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_events-U01405000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:08]
# # [INFO] [2024-11-30T23:31:08] Task Run Time evselect 0.359719038009644s
#
# # [INFO] [2024-11-30T23:31:08] Starting out-of-time epevents ....
# [COMMAND] [2024-11-30T23:31:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:08]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:08]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01405000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_oot_events-U01405000200000.fits randomizeenergy=Y randomizeposition=Y \
reemissionthresh=0 withbackgroundgain=Y withoutoftime=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:11] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 5 is not in HIGH gain mode: LOW
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #4868 (CCD/rawX/rawY = 5[1/1]/44/21[84/20]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #10535 (CCD/rawX/rawY = 5[1/1]/44/21[84/20]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #33516 (CCD/rawX/rawY = 5[1/1]/44/21[84/20]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #40050 (CCD/rawX/rawY = 5[1/1]/44/21[84/20]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #50677 (CCD/rawX/rawY = 5[1/1]/44/21[84/20]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #92687 (CCD/rawX/rawY = 5[1/1]/44/21[84/20]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #104897 (CCD/rawX/rawY = 5[1/1]/44/21[84/20])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #107197 (CCD/rawX/rawY = 5[1/1]/44/21[84/20])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #108424 (CCD/rawX/rawY = 5[1/1]/44/21[84/20])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #114583 (CCD/rawX/rawY = 5[1/1]/44/21[84/20])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (NoBCKgainCorrectionFound), Background gain correction called for NDISCLIN=0
# ** epevents: warning (SummaryOfWarnings), 
# warning ctiCorrectionFailed silently occurred 13 times 
# # [INFO] [2024-11-30T23:31:11] Task Run Time epevents 2.19954586029053s
#
# # [INFO] [2024-11-30T23:31:11] Completed out-of-time epevents....
# [COMMAND] [2024-11-30T23:31:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:11]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:11]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_oot_events-U01405000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:11] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2421 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0580914021 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3155 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1314511597 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3888 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2048134804 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4622 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.278173238 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.5356 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3515534699 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7557 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5716532171 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.2692 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0851919949 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.3426 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1585722268 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.4893 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3052943051 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.5627 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3786745369 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18720 times 
# # [INFO] [2024-11-30T23:31:11] Task Run Time attcalc 0.925710201263428s
#
# [COMMAND] [2024-11-30T23:31:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:11]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:11]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_oot_events-U01405000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_oot_events-U01405000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w \
10
# # [OUTPUT] [2024-11-30T23:31:12]
# # [INFO] [2024-11-30T23:31:12] Task Run Time evselect 0.310187816619873s
#
# [COMMAND] [2024-11-30T23:31:12]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:12]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:12] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:12]
epframes eventset=intermediate/pnEvents-epn-14-Processed_events-U01406000100000.fits \
gtiset=intermediate/pnEvents-epn-14-CCD_GTI-U01406000100000.fits set=odf/0040_0118700401_PNU01406IME.FIT withsrcrawy=no -w 10
# # [OUTPUT] [2024-11-30T23:31:13] epframes:- No Offset maps found... 
# epframes:- No Offset maps found... 
# ** epframes: warning (InvalidObtValue), OBT vector element #2608 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2609 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2610 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2611 is invalid (-100)
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886646.924 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886648.391 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886649.859 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886651.326 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886652.793 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886654.261 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886655.728 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886657.122 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886658.663 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886660.056 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (illegalODF), The PMH file seems to end prematurely: DATE-END > TIME(PMH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:59] The ODF [0040_0118700401_PNU014] is invalid, please contact the originator of this data.
# ** epframes: warning (OffsetMap), calculation interval not after previous exposure
# ** epframes: warning (CCDlowGain), CCD 6 is not in HIGH gain mode: LOW
# ** epframes: warning (illegalODF), The PAH file seems to end prematurely: DATE-END > TIME(PAH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:25] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (illegalODF), The P5S file seems to end prematurely: DATE-END > TIME(p5s)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:51:03] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (tooLongExposure), TELAPSE [ 9580.6263847220398 ] > DURATION [ 8696.0000000000000 ]. Event times may be\
#     incorrect or exposure lasted longer than scheduled.
# ** epframes: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 164424 times 
# # [INFO] [2024-11-30T23:31:13] Task Run Time epframes 1.43022084236145s
#
# # [INFO] [2024-11-30T23:31:13] OBT_WARN False
# [COMMAND] [2024-11-30T23:31:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:13]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:13]
badpixfind backgroundrate=-1 badpixmap=intermediate/pnEvents-epn-14-Bright_pixels_mask-U01406000000000.fits \
badpixset=intermediate/pnEvents-epn-14-Ignore_This_Bad_pixels-U01406000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01406000100000.fits hicolthresh=7e-05 hienergythresh=15 hithresh=0.00025 \
loenergythresh=7 narrowerthanpsf=0 threshabovebackground=Y thresholdlabel=rate withbadpixmap=Y withfovmask=Y withsearchbadcolumn=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:31:13] ** badpixfind: warning (findRealSources), chosen narrowerthanpsf parameter very low - real\
#     sources may be found 
# # [INFO] [2024-11-30T23:31:13] Task Run Time badpixfind 0.226744174957275s
#
# [COMMAND] [2024-11-30T23:31:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:13]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:13]
badpixfind backgroundrate=0.00011 badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01406000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01406000100000.fits flickertimesteps=1 hicolthresh=0.00105 hienergythresh=12 \
hithresh=0.0045 loenergythresh=0.14 narrowerthanpsf=1.5 thresholdlabel=rate withsearchbadcolumn=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:14]
# # [INFO] [2024-11-30T23:31:14] Task Run Time badpixfind 0.187156915664673s
#
# [COMMAND] [2024-11-30T23:31:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:14]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:14]
badpix badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01406000000000.fits emptyextension=N \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01406000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
windowfilter=N -w 10
# # [OUTPUT] [2024-11-30T23:31:14]
# # [INFO] [2024-11-30T23:31:14] Task Run Time badpix 0.153090000152588s
#
# # [INFO] [2024-11-30T23:31:14] DEBUG: epreject task does not run for PN Imaging mode.
# # [INFO] [2024-11-30T23:31:14] Starting epevents....
# [COMMAND] [2024-11-30T23:31:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:14]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:14]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01406000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_events-U01406000200000.fits randomizeenergy=Y randomizeposition=Y reemissionthresh=0 \
withbackgroundgain=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:16] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 6 is not in HIGH gain mode: LOW
# ** epevents: warning (NoBCKgainCorrectionFound), Background gain correction called for NDISCLIN=0 
# # [INFO] [2024-11-30T23:31:16] Task Run Time epevents 2.26785016059875s
#
# # [INFO] [2024-11-30T23:31:16] Completed epevents....
# [COMMAND] [2024-11-30T23:31:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:16]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:16]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01406000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:17] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2482 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.064201653 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3216 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1375614107 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4683 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.284283489 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7618 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.577763468 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8351 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6511232257 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0552 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8712229729 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.5688 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3847847879 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8622 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6782442927 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.1557 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9717037976 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.4492 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2651658654 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18182 times 
# # [INFO] [2024-11-30T23:31:17] Task Run Time attcalc 0.905274152755737s
#
# [COMMAND] [2024-11-30T23:31:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:17]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:17]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_events-U01406000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_events-U01406000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:17]
# # [INFO] [2024-11-30T23:31:17] Task Run Time evselect 0.313806056976318s
#
# # [INFO] [2024-11-30T23:31:17] Starting out-of-time epevents ....
# [COMMAND] [2024-11-30T23:31:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:17]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:17]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01406000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_oot_events-U01406000200000.fits randomizeenergy=Y randomizeposition=Y \
reemissionthresh=0 withbackgroundgain=Y withoutoftime=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:20] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 6 is not in HIGH gain mode: LOW
# ** epevents: warning (NoBCKgainCorrectionFound), Background gain correction called for NDISCLIN=0 
# # [INFO] [2024-11-30T23:31:20] Task Run Time epevents 2.26354598999023s
#
# # [INFO] [2024-11-30T23:31:20] Completed out-of-time epevents....
# [COMMAND] [2024-11-30T23:31:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:20]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:20]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_oot_events-U01406000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:20] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2482 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.064201653 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3216 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1375614107 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4683 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.284283489 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7618 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.577763468 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8351 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6511232257 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0552 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8712229729 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.5688 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3847847879 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8622 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6782442927 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.1557 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9717037976 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.4492 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2651658654 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18182 times 
# # [INFO] [2024-11-30T23:31:20] Task Run Time attcalc 0.924054861068726s
#
# [COMMAND] [2024-11-30T23:31:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:20]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:20]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_oot_events-U01406000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_oot_events-U01406000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w \
10
# # [OUTPUT] [2024-11-30T23:31:21]
# # [INFO] [2024-11-30T23:31:21] Task Run Time evselect 0.27982497215271s
#
# [COMMAND] [2024-11-30T23:31:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:21]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:21]
epframes eventset=intermediate/pnEvents-epn-14-Processed_events-U01407000100000.fits \
gtiset=intermediate/pnEvents-epn-14-CCD_GTI-U01407000100000.fits set=odf/0040_0118700401_PNU01407IME.FIT withsrcrawy=no -w 10
# # [OUTPUT] [2024-11-30T23:31:22] epframes:- No Offset maps found... 
# epframes:- No Offset maps found... 
# ** epframes: warning (InvalidObtValue), OBT vector element #31 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #32 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #33 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2361 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2362 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2363 is invalid (-100)
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886647.456 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886648.923 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886650.244 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886651.785 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886653.252 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886654.793 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886656.26 which is outside the time correlation data\
#     abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886657.727 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886659.194 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886660.588 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (InvalidObtValue), OBT vector element #4495 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #4496 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #4497 is invalid (-100)
# ** epframes: warning (illegalODF), The PMH file seems to end prematurely: DATE-END > TIME(PMH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:59] The ODF [0040_0118700401_PNU014] is invalid, please contact the originator of this data.
# ** epframes: warning (OffsetMap), calculation interval not after previous exposure
# ** epframes: warning (CCDlowGain), CCD 7 is not in HIGH gain mode: LOW
# ** epframes: warning (illegalODF), The PAH file seems to end prematurely: DATE-END > TIME(PAH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:25] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (illegalODF), The P5S file seems to end prematurely: DATE-END > TIME(p5s)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:51:03] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (tooLongExposure), TELAPSE [ 9594.5657945740677 ] > DURATION [ 8696.0000000000000 ]. Event times may be\
#     incorrect or exposure lasted longer than scheduled.
# ** epframes: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 169120 times 
# # [INFO] [2024-11-30T23:31:22] Task Run Time epframes 1.35997915267944s
#
# # [INFO] [2024-11-30T23:31:22] OBT_WARN False
# [COMMAND] [2024-11-30T23:31:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:22]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:22]
badpixfind backgroundrate=-1 badpixmap=intermediate/pnEvents-epn-14-Bright_pixels_mask-U01407000000000.fits \
badpixset=intermediate/pnEvents-epn-14-Ignore_This_Bad_pixels-U01407000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01407000100000.fits hicolthresh=7e-05 hienergythresh=15 hithresh=0.00025 \
loenergythresh=7 narrowerthanpsf=0 threshabovebackground=Y thresholdlabel=rate withbadpixmap=Y withfovmask=Y withsearchbadcolumn=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:31:22] ** badpixfind: warning (findRealSources), chosen narrowerthanpsf parameter very low - real\
#     sources may be found 
# # [INFO] [2024-11-30T23:31:22] Task Run Time badpixfind 0.201426982879639s
#
# [COMMAND] [2024-11-30T23:31:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:22]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:22]
badpixfind backgroundrate=0.00011 badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01407000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01407000100000.fits flickertimesteps=1 hicolthresh=0.00105 hienergythresh=12 \
hithresh=0.0045 loenergythresh=0.14 narrowerthanpsf=1.5 thresholdlabel=rate withsearchbadcolumn=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:22]
# # [INFO] [2024-11-30T23:31:22] Task Run Time badpixfind 0.191210031509399s
#
# [COMMAND] [2024-11-30T23:31:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:22]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:22]
badpix badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01407000000000.fits emptyextension=N \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01407000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
windowfilter=N -w 10
# # [OUTPUT] [2024-11-30T23:31:23]
# # [INFO] [2024-11-30T23:31:23] Task Run Time badpix 0.136270999908447s
#
# # [INFO] [2024-11-30T23:31:23] DEBUG: epreject task does not run for PN Imaging mode.
# # [INFO] [2024-11-30T23:31:23] Starting epevents....
# [COMMAND] [2024-11-30T23:31:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:23]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:23]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01407000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_events-U01407000200000.fits randomizeenergy=Y randomizeposition=Y reemissionthresh=0 \
withbackgroundgain=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:25] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 7 is not in HIGH gain mode: LOW 
# # [INFO] [2024-11-30T23:31:25] Task Run Time epevents 2.36385607719421s
#
# # [INFO] [2024-11-30T23:31:25] Completed epevents....
# [COMMAND] [2024-11-30T23:31:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:25]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:25]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01407000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:26] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2543 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0703106225 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3277 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1436908692 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.6212 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4371529222 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.1347 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9507121891 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.3548 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1707940102 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8684 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6843532622 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.9417 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7577335089 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.602 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4180148393 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.6754 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.491374597 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.7488 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5647548288 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18950 times 
# # [INFO] [2024-11-30T23:31:26] Task Run Time attcalc 1.01535415649414s
#
# [COMMAND] [2024-11-30T23:31:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:26]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_events-U01407000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_events-U01407000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:26]
# # [INFO] [2024-11-30T23:31:26] Task Run Time evselect 0.326529979705811s
#
# # [INFO] [2024-11-30T23:31:26] Starting out-of-time epevents ....
# [COMMAND] [2024-11-30T23:31:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:26]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01407000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_oot_events-U01407000200000.fits randomizeenergy=Y randomizeposition=Y \
reemissionthresh=0 withbackgroundgain=Y withoutoftime=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:29] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 7 is not in HIGH gain mode: LOW
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #4004 (CCD/rawX/rawY = 7[2/0]/10/62[182/61]) failed\
#     - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #29808 (CCD/rawX/rawY = 7[2/0]/33/48[159/47])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #34709 (CCD/rawX/rawY = 7[2/0]/33/48[159/47])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #35901 (CCD/rawX/rawY = 7[2/0]/33/48[159/47])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #43897 (CCD/rawX/rawY = 7[2/0]/10/62[182/61])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #45413 (CCD/rawX/rawY = 7[2/0]/33/48[159/47])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #45613 (CCD/rawX/rawY = 7[2/0]/33/48[159/47])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #51022 (CCD/rawX/rawY = 7[2/0]/10/62[182/61])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #54568 (CCD/rawX/rawY = 7[2/0]/10/62[182/61])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #54764 (CCD/rawX/rawY = 7[2/0]/10/62[182/61])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (SummaryOfWarnings), 
# warning ctiCorrectionFailed silently occurred 54 times 
# # [INFO] [2024-11-30T23:31:29] Task Run Time epevents 2.46307682991028s
#
# # [INFO] [2024-11-30T23:31:29] Completed out-of-time epevents....
# [COMMAND] [2024-11-30T23:31:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:29]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:29]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_oot_events-U01407000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:30] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2543 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0703106225 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3277 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1436908692 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.6212 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4371529222 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.1347 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9507121891 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.3548 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1707940102 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8684 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6843532622 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.9417 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7577335089 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.602 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4180148393 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.6754 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.491374597 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.7488 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5647548288 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18950 times 
# # [INFO] [2024-11-30T23:31:30] Task Run Time attcalc 0.969182968139648s
#
# [COMMAND] [2024-11-30T23:31:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:30]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:30]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_oot_events-U01407000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_oot_events-U01407000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w \
10
# # [OUTPUT] [2024-11-30T23:31:30]
# # [INFO] [2024-11-30T23:31:30] Task Run Time evselect 0.26826000213623s
#
# [COMMAND] [2024-11-30T23:31:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:30]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:30]
epframes eventset=intermediate/pnEvents-epn-14-Processed_events-U01408000100000.fits \
gtiset=intermediate/pnEvents-epn-14-CCD_GTI-U01408000100000.fits set=odf/0040_0118700401_PNU01408IME.FIT withsrcrawy=no -w 10
# # [OUTPUT] [2024-11-30T23:31:32] epframes:- No Offset maps found... 
# epframes:- No Offset maps found... 
# ** epframes: warning (InvalidObtValue), OBT vector element #31 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #32 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #33 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2361 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2362 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2363 is invalid (-100)
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886647.456 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886648.923 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886650.244 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886651.785 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886653.252 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886654.793 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886656.26 which is outside the time correlation data\
#     abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886657.727 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886659.194 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886660.588 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (InvalidObtValue), OBT vector element #4495 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #4496 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #4497 is invalid (-100)
# ** epframes: warning (illegalODF), The PMH file seems to end prematurely: DATE-END > TIME(PMH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:59] The ODF [0040_0118700401_PNU014] is invalid, please contact the originator of this data.
# ** epframes: warning (OffsetMap), calculation interval not after previous exposure
# ** epframes: warning (CCDlowGain), CCD 8 is not in HIGH gain mode: LOW
# ** epframes: warning (illegalODF), The PAH file seems to end prematurely: DATE-END > TIME(PAH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:25] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (illegalODF), The P5S file seems to end prematurely: DATE-END > TIME(p5s)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:51:03] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (tooLongExposure), TELAPSE [ 9594.7125345188833 ] > DURATION [ 8696.0000000000000 ]. Event times may be\
#     incorrect or exposure lasted longer than scheduled.
# ** epframes: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 166251 times 
# # [INFO] [2024-11-30T23:31:32] Task Run Time epframes 1.70180511474609s
#
# # [INFO] [2024-11-30T23:31:32] OBT_WARN False
# [COMMAND] [2024-11-30T23:31:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:32]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:32]
badpixfind backgroundrate=-1 badpixmap=intermediate/pnEvents-epn-14-Bright_pixels_mask-U01408000000000.fits \
badpixset=intermediate/pnEvents-epn-14-Ignore_This_Bad_pixels-U01408000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01408000100000.fits hicolthresh=7e-05 hienergythresh=15 hithresh=0.00025 \
loenergythresh=7 narrowerthanpsf=0 threshabovebackground=Y thresholdlabel=rate withbadpixmap=Y withfovmask=Y withsearchbadcolumn=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:31:32] ** badpixfind: warning (findRealSources), chosen narrowerthanpsf parameter very low - real\
#     sources may be found 
# # [INFO] [2024-11-30T23:31:32] Task Run Time badpixfind 0.239714860916138s
#
# [COMMAND] [2024-11-30T23:31:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:32]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:32]
badpixfind backgroundrate=0.00011 badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01408000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01408000100000.fits flickertimesteps=1 hicolthresh=0.00105 hienergythresh=12 \
hithresh=0.0045 loenergythresh=0.14 narrowerthanpsf=1.5 thresholdlabel=rate withsearchbadcolumn=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:32]
# # [INFO] [2024-11-30T23:31:32] Task Run Time badpixfind 0.156135082244873s
#
# [COMMAND] [2024-11-30T23:31:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:32]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:32]
badpix badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01408000000000.fits emptyextension=N \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01408000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
windowfilter=N -w 10
# # [OUTPUT] [2024-11-30T23:31:32]
# # [INFO] [2024-11-30T23:31:32] Task Run Time badpix 0.109663009643555s
#
# # [INFO] [2024-11-30T23:31:32] DEBUG: epreject task does not run for PN Imaging mode.
# # [INFO] [2024-11-30T23:31:32] Starting epevents....
# [COMMAND] [2024-11-30T23:31:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:32]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:32]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01408000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_events-U01408000200000.fits randomizeenergy=Y randomizeposition=Y reemissionthresh=0 \
withbackgroundgain=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:35] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 8 is not in HIGH gain mode: LOW 
# # [INFO] [2024-11-30T23:31:35] Task Run Time epevents 2.4111659526825s
#
# # [INFO] [2024-11-30T23:31:35] Completed epevents....
# [COMMAND] [2024-11-30T23:31:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:35]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:35]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01408000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:36] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2604 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0764210969 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3338 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1498013437 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.6273 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4432633966 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.6544 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4703844786 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.9478 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7638439834 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.1679 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9839437306 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.3147 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1306632459 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.388 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2040255517 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.6815 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4974850714 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089948.0483 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8643248081 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18142 times 
# # [INFO] [2024-11-30T23:31:36] Task Run Time attcalc 1.10032486915588s
#
# [COMMAND] [2024-11-30T23:31:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:36]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:36]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_events-U01408000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_events-U01408000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:36]
# # [INFO] [2024-11-30T23:31:36] Task Run Time evselect 0.325462102890015s
#
# # [INFO] [2024-11-30T23:31:36] Starting out-of-time epevents ....
# [COMMAND] [2024-11-30T23:31:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:36]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:36]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01408000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_oot_events-U01408000200000.fits randomizeenergy=Y randomizeposition=Y \
reemissionthresh=0 withbackgroundgain=Y withoutoftime=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:39] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 8 is not in HIGH gain mode: LOW 
# # [INFO] [2024-11-30T23:31:39] Task Run Time epevents 2.40673494338989s
#
# # [INFO] [2024-11-30T23:31:39] Completed out-of-time epevents....
# [COMMAND] [2024-11-30T23:31:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:39]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:39]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_oot_events-U01408000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:40] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2604 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0764210969 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3338 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1498013437 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.6273 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4432633966 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.6544 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4703844786 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.9478 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7638439834 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.1679 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9839437306 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.3147 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1306632459 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.388 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2040255517 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.6815 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4974850714 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089948.0483 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8643248081 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18142 times 
# # [INFO] [2024-11-30T23:31:40] Task Run Time attcalc 1.00089502334595s
#
# [COMMAND] [2024-11-30T23:31:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:40]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:40]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_oot_events-U01408000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_oot_events-U01408000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w \
10
# # [OUTPUT] [2024-11-30T23:31:40]
# # [INFO] [2024-11-30T23:31:40] Task Run Time evselect 0.380867004394531s
#
# [COMMAND] [2024-11-30T23:31:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:40]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:40]
epframes eventset=intermediate/pnEvents-epn-14-Processed_events-U01409000100000.fits \
gtiset=intermediate/pnEvents-epn-14-CCD_GTI-U01409000100000.fits set=odf/0040_0118700401_PNU01409IME.FIT withsrcrawy=no -w 10
# # [OUTPUT] [2024-11-30T23:31:42] epframes:- No Offset maps found... 
# epframes:- No Offset maps found... 
# ** epframes: warning (InvalidObtValue), OBT vector element #31 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #32 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #33 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2361 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2362 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #2363 is invalid (-100)
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886647.456 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886648.923 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886650.244 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886651.785 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886653.252 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886654.793 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886656.26 which is outside the time correlation data\
#     abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886657.727 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886659.194 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886660.588 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (InvalidObtValue), OBT vector element #4495 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #4496 is invalid (-100)
# ** epframes: warning (InvalidObtValue), OBT vector element #4497 is invalid (-100)
# ** epframes: warning (illegalODF), The PMH file seems to end prematurely: DATE-END > TIME(PMH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:59] The ODF [0040_0118700401_PNU014] is invalid, please contact the originator of this data.
# ** epframes: warning (OffsetMap), calculation interval not after previous exposure
# ** epframes: warning (CCDlowGain), CCD 9 is not in HIGH gain mode: LOW
# ** epframes: warning (illegalODF), The PAH file seems to end prematurely: DATE-END > TIME(PAH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:25] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (illegalODF), The P5S file seems to end prematurely: DATE-END > TIME(p5s)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:51:03] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (tooLongExposure), TELAPSE [ 9594.5657945740677 ] > DURATION [ 8696.0000000000000 ]. Event times may be\
#     incorrect or exposure lasted longer than scheduled.
# ** epframes: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 170788 times 
# # [INFO] [2024-11-30T23:31:42] Task Run Time epframes 1.62638711929321s
#
# # [INFO] [2024-11-30T23:31:42] OBT_WARN False
# [COMMAND] [2024-11-30T23:31:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:42]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:42]
badpixfind backgroundrate=-1 badpixmap=intermediate/pnEvents-epn-14-Bright_pixels_mask-U01409000000000.fits \
badpixset=intermediate/pnEvents-epn-14-Ignore_This_Bad_pixels-U01409000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01409000100000.fits hicolthresh=7e-05 hienergythresh=15 hithresh=0.00025 \
loenergythresh=7 narrowerthanpsf=0 threshabovebackground=Y thresholdlabel=rate withbadpixmap=Y withfovmask=Y withsearchbadcolumn=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:31:42] ** badpixfind: warning (findRealSources), chosen narrowerthanpsf parameter very low - real\
#     sources may be found 
# # [INFO] [2024-11-30T23:31:42] Task Run Time badpixfind 0.202829122543335s
#
# [COMMAND] [2024-11-30T23:31:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:42]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:42]
badpixfind backgroundrate=0.00011 badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01409000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01409000100000.fits flickertimesteps=1 hicolthresh=0.00105 hienergythresh=12 \
hithresh=0.0045 loenergythresh=0.14 narrowerthanpsf=1.5 thresholdlabel=rate withsearchbadcolumn=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:42]
# # [INFO] [2024-11-30T23:31:42] Task Run Time badpixfind 0.1840660572052s
#
# [COMMAND] [2024-11-30T23:31:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:42]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:42]
badpix badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01409000000000.fits emptyextension=N \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01409000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
windowfilter=N -w 10
# # [OUTPUT] [2024-11-30T23:31:42]
# # [INFO] [2024-11-30T23:31:42] Task Run Time badpix 0.127178907394409s
#
# # [INFO] [2024-11-30T23:31:42] DEBUG: epreject task does not run for PN Imaging mode.
# # [INFO] [2024-11-30T23:31:42] Starting epevents....
# [COMMAND] [2024-11-30T23:31:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:42]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:42]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01409000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_events-U01409000200000.fits randomizeenergy=Y randomizeposition=Y reemissionthresh=0 \
withbackgroundgain=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:44] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 9 is not in HIGH gain mode: LOW 
# # [INFO] [2024-11-30T23:31:44] Task Run Time epevents 2.2453670501709s
#
# # [INFO] [2024-11-30T23:31:44] Completed epevents....
# [COMMAND] [2024-11-30T23:31:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:44]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:44]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01409000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:45] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.1932 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0091715902 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3399 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1559115946 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4133 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2292739004 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.56 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3759934157 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.6334 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4493736476 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7067 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5227334052 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7801 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5960931629 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.9268 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7428331673 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.1469 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9629329145 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8806 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6965739876 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18303 times 
# # [INFO] [2024-11-30T23:31:45] Task Run Time attcalc 0.92695689201355s
#
# [COMMAND] [2024-11-30T23:31:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:45]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:45]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_events-U01409000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_events-U01409000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:46]
# # [INFO] [2024-11-30T23:31:46] Task Run Time evselect 0.338901996612549s
#
# # [INFO] [2024-11-30T23:31:46] Starting out-of-time epevents ....
# [COMMAND] [2024-11-30T23:31:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:46]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:46]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01409000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_oot_events-U01409000200000.fits randomizeenergy=Y randomizeposition=Y \
reemissionthresh=0 withbackgroundgain=Y withoutoftime=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:48] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 9 is not in HIGH gain mode: LOW
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #18497 (CCD/rawX/rawY = 9[2/2]/64/179[0/178])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #24926 (CCD/rawX/rawY = 9[2/2]/64/179[0/178])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #25431 (CCD/rawX/rawY = 9[2/2]/64/179[0/178])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #44028 (CCD/rawX/rawY = 9[2/2]/64/179[0/178])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #58403 (CCD/rawX/rawY = 9[2/2]/64/179[0/178])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #63800 (CCD/rawX/rawY = 9[2/2]/64/179[0/178])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #63953 (CCD/rawX/rawY = 9[2/2]/64/179[0/178])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #112680 (CCD/rawX/rawY = 9[2/2]/64/179[0/178])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #128182 (CCD/rawX/rawY = 9[2/2]/64/179[0/178])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #131471 (CCD/rawX/rawY = 9[2/2]/64/179[0/178])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (SummaryOfWarnings), 
# warning ctiCorrectionFailed silently occurred 19 times 
# # [INFO] [2024-11-30T23:31:48] Task Run Time epevents 2.38493084907532s
#
# # [INFO] [2024-11-30T23:31:48] Completed out-of-time epevents....
# [COMMAND] [2024-11-30T23:31:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:48]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:48]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_oot_events-U01409000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:49] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.1932 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0091715902 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3399 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1559115946 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4133 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2292739004 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.56 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3759934157 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.6334 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4493736476 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7067 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5227334052 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7801 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5960931629 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.9268 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7428331673 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.1469 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9629329145 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8806 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6965739876 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18303 times 
# # [INFO] [2024-11-30T23:31:49] Task Run Time attcalc 1.00864195823669s
#
# [COMMAND] [2024-11-30T23:31:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:49]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:49]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_oot_events-U01409000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_oot_events-U01409000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w \
10
# # [OUTPUT] [2024-11-30T23:31:49]
# # [INFO] [2024-11-30T23:31:49] Task Run Time evselect 0.296504974365234s
#
# [COMMAND] [2024-11-30T23:31:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:49]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:49]
epframes eventset=intermediate/pnEvents-epn-14-Processed_events-U01410000100000.fits \
gtiset=intermediate/pnEvents-epn-14-CCD_GTI-U01410000100000.fits set=odf/0040_0118700401_PNU01410IME.FIT withsrcrawy=no -w 10
# # [OUTPUT] [2024-11-30T23:31:51] epframes:- No Offset maps found... 
# epframes:- No Offset maps found... 
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886646.447 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886647.915 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886649.382 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886650.849 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886652.316 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886653.784 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886655.251 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886656.718 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886658.186 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886659.653 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (illegalODF), The PMH file seems to end prematurely: DATE-END > TIME(PMH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:59] The ODF [0040_0118700401_PNU014] is invalid, please contact the originator of this data.
# ** epframes: warning (OffsetMap), calculation interval not after previous exposure
# ** epframes: warning (CCDlowGain), CCD 10 is not in HIGH gain mode: LOW
# ** epframes: warning (illegalODF), The PAH file seems to end prematurely: DATE-END > TIME(PAH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:25] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (notHKconstant), HK parameter F1838 is not constant, range = [ -37 , 20 ]. Use default: 20
# ** epframes: warning (notHKconstant), HK parameter F1825 is not constant, range = [ 0 , 256 ]. Use default: 256
# ** epframes: warning (notHKconstant), HK parameter F1826 is not constant, range = [ 0 , 3000 ]. Use default: 3512
# ** epframes: warning (notHKconstant), HK parameter F1827 is not constant, range = [ 0 , 5 ]. Use default: 63
# ** epframes: warning (notHKconstant), HK parameter F1836 is not constant, range = [ 1 , 123 ]. Use default: 1
# ** epframes: warning (notHKconstant), F1835 = An_SENDMODE is not constant: NO MIP CORR. and ************
# ** epframes: warning (notHKconstant), F1839 = An_RDNODE is not constant: FULL FRAME and NOT INIT
# ** epframes: warning (HKoutOfLimits), E_Cx_IVDDA too high for quadrant 3: 19.266 [mA] > 13.200
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (illegalODF), The P5S file seems to end prematurely: DATE-END > TIME(p5s)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:51:03] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (tooLongExposure), TELAPSE [ 9595.0059763658501 ] > DURATION [ 8696.0000000000000 ]. Event times may be\
#     incorrect or exposure lasted longer than scheduled.
# ** epframes: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 168668 times
# warning notHKconstant silently occurred 3 times 
# # [INFO] [2024-11-30T23:31:51] Task Run Time epframes 1.41649484634399s
#
# # [INFO] [2024-11-30T23:31:51] OBT_WARN False
# [COMMAND] [2024-11-30T23:31:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:51]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:51]
badpixfind backgroundrate=-1 badpixmap=intermediate/pnEvents-epn-14-Bright_pixels_mask-U01410000000000.fits \
badpixset=intermediate/pnEvents-epn-14-Ignore_This_Bad_pixels-U01410000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01410000100000.fits hicolthresh=7e-05 hienergythresh=15 hithresh=0.00025 \
loenergythresh=7 narrowerthanpsf=0 threshabovebackground=Y thresholdlabel=rate withbadpixmap=Y withfovmask=Y withsearchbadcolumn=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:31:51] ** badpixfind: warning (findRealSources), chosen narrowerthanpsf parameter very low - real\
#     sources may be found 
# # [INFO] [2024-11-30T23:31:51] Task Run Time badpixfind 0.203886985778809s
#
# [COMMAND] [2024-11-30T23:31:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:51]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:51]
badpixfind backgroundrate=0.00011 badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01410000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01410000100000.fits flickertimesteps=1 hicolthresh=0.00105 hienergythresh=12 \
hithresh=0.0045 loenergythresh=0.14 narrowerthanpsf=1.5 thresholdlabel=rate withsearchbadcolumn=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:51]
# # [INFO] [2024-11-30T23:31:51] Task Run Time badpixfind 0.170006036758423s
#
# [COMMAND] [2024-11-30T23:31:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:51]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:51]
badpix badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01410000000000.fits emptyextension=N \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01410000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
windowfilter=N -w 10
# # [OUTPUT] [2024-11-30T23:31:51]
# # [INFO] [2024-11-30T23:31:51] Task Run Time badpix 0.118907928466797s
#
# # [INFO] [2024-11-30T23:31:51] DEBUG: epreject task does not run for PN Imaging mode.
# # [INFO] [2024-11-30T23:31:51] Starting epevents....
# [COMMAND] [2024-11-30T23:31:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:51]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:51]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01410000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_events-U01410000200000.fits randomizeenergy=Y randomizeposition=Y reemissionthresh=0 \
withbackgroundgain=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:54] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 10 is not in HIGH gain mode: LOW 
# # [INFO] [2024-11-30T23:31:54] Task Run Time epevents 2.32083010673523s
#
# # [INFO] [2024-11-30T23:31:54] Completed epevents....
# [COMMAND] [2024-11-30T23:31:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:54]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:54]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01410000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:54] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.1993 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0153010488 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2727 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0886608064 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.346 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1620205641 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4194 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2354033589 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4928 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3087631166 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7129 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5288628638 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0063 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8223223686 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.3731 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1891441941 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.5199 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3358841836 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.6666 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.482603699 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18036 times 
# # [INFO] [2024-11-30T23:31:54] Task Run Time attcalc 0.934400081634521s
#
# [COMMAND] [2024-11-30T23:31:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:54]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:54]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_events-U01410000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_events-U01410000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:55]
# # [INFO] [2024-11-30T23:31:55] Task Run Time evselect 0.307569026947021s
#
# # [INFO] [2024-11-30T23:31:55] Starting out-of-time epevents ....
# [COMMAND] [2024-11-30T23:31:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:55]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:55]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01410000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_oot_events-U01410000200000.fits randomizeenergy=Y randomizeposition=Y \
reemissionthresh=0 withbackgroundgain=Y withoutoftime=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:57] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 10 is not in HIGH gain mode: LOW
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #1218 (CCD/rawX/rawY = 10[3/0]/57/191[7/190])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #11955 (CCD/rawX/rawY = 10[3/0]/57/191[7/190])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #33783 (CCD/rawX/rawY = 10[3/0]/57/191[7/190])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #34021 (CCD/rawX/rawY = 10[3/0]/57/191[7/190])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #48585 (CCD/rawX/rawY = 10[3/0]/57/191[7/190])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #50131 (CCD/rawX/rawY = 10[3/0]/57/191[7/190])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #78860 (CCD/rawX/rawY = 10[3/0]/57/191[7/190])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #110418 (CCD/rawX/rawY = 10[3/0]/57/191[7/190])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #134720 (CCD/rawX/rawY = 10[3/0]/57/191[7/190])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #210348 (CCD/rawX/rawY = 10[3/0]/57/191[7/190])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (SummaryOfWarnings), 
# warning ctiCorrectionFailed silently occurred 7 times 
# # [INFO] [2024-11-30T23:31:57] Task Run Time epevents 2.13440799713135s
#
# # [INFO] [2024-11-30T23:31:57] Completed out-of-time epevents....
# [COMMAND] [2024-11-30T23:31:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:57]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:57]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_oot_events-U01410000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:31:58] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.1993 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0153010488 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2727 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0886608064 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.346 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1620205641 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4194 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2354033589 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4928 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3087631166 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7129 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5288628638 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0063 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8223223686 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.3731 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1891441941 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.5199 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3358841836 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.6666 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.482603699 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 18036 times 
# # [INFO] [2024-11-30T23:31:58] Task Run Time attcalc 1.02185106277466s
#
# [COMMAND] [2024-11-30T23:31:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:58]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:58]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_oot_events-U01410000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_oot_events-U01410000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w \
10
# # [OUTPUT] [2024-11-30T23:31:58]
# # [INFO] [2024-11-30T23:31:58] Task Run Time evselect 0.31722092628479s
#
# [COMMAND] [2024-11-30T23:31:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:31:58]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:31:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:31:58]
epframes eventset=intermediate/pnEvents-epn-14-Processed_events-U01411000100000.fits \
gtiset=intermediate/pnEvents-epn-14-CCD_GTI-U01411000100000.fits set=odf/0040_0118700401_PNU01411IME.FIT withsrcrawy=no -w 10
# # [OUTPUT] [2024-11-30T23:32:00] epframes:- No Offset maps found... 
# epframes:- No Offset maps found... 
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886646.447 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886647.915 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886649.382 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886650.849 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886652.316 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886653.784 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886655.251 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886656.718 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886658.186 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886659.653 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (illegalODF), The PMH file seems to end prematurely: DATE-END > TIME(PMH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:59] The ODF [0040_0118700401_PNU014] is invalid, please contact the originator of this data.
# ** epframes: warning (OffsetMap), calculation interval not after previous exposure
# ** epframes: warning (CCDlowGain), CCD 11 is not in HIGH gain mode: LOW
# ** epframes: warning (illegalODF), The PAH file seems to end prematurely: DATE-END > TIME(PAH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:25] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (notHKconstant), HK parameter F1838 is not constant, range = [ -37 , 20 ]. Use default: 20
# ** epframes: warning (notHKconstant), HK parameter F1825 is not constant, range = [ 0 , 256 ]. Use default: 256
# ** epframes: warning (notHKconstant), HK parameter F1826 is not constant, range = [ 0 , 3000 ]. Use default: 3512
# ** epframes: warning (notHKconstant), HK parameter F1827 is not constant, range = [ 0 , 5 ]. Use default: 63
# ** epframes: warning (notHKconstant), HK parameter F1836 is not constant, range = [ 1 , 123 ]. Use default: 1
# ** epframes: warning (notHKconstant), F1835 = An_SENDMODE is not constant: NO MIP CORR. and ************
# ** epframes: warning (notHKconstant), F1839 = An_RDNODE is not constant: FULL FRAME and NOT INIT
# ** epframes: warning (HKoutOfLimits), E_Cx_IVDDA too high for quadrant 3: 19.266 [mA] > 13.200
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (illegalODF), The P5S file seems to end prematurely: DATE-END > TIME(p5s)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:51:03] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (tooLongExposure), TELAPSE [ 9594.7858971673704 ] > DURATION [ 8696.0000000000000 ]. Event times may be\
#     incorrect or exposure lasted longer than scheduled.
# ** epframes: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 187596 times
# warning notHKconstant silently occurred 3 times 
# # [INFO] [2024-11-30T23:32:00] Task Run Time epframes 1.72993803024292s
#
# # [INFO] [2024-11-30T23:32:00] OBT_WARN False
# [COMMAND] [2024-11-30T23:32:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:00]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:00]
badpixfind backgroundrate=-1 badpixmap=intermediate/pnEvents-epn-14-Bright_pixels_mask-U01411000000000.fits \
badpixset=intermediate/pnEvents-epn-14-Ignore_This_Bad_pixels-U01411000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01411000100000.fits hicolthresh=7e-05 hienergythresh=15 hithresh=0.00025 \
loenergythresh=7 narrowerthanpsf=0 threshabovebackground=Y thresholdlabel=rate withbadpixmap=Y withfovmask=Y withsearchbadcolumn=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:32:00] ** badpixfind: warning (findRealSources), chosen narrowerthanpsf parameter very low - real\
#     sources may be found 
# # [INFO] [2024-11-30T23:32:00] Task Run Time badpixfind 0.256232976913452s
#
# [COMMAND] [2024-11-30T23:32:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:00]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:00]
badpixfind backgroundrate=0.00011 badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01411000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01411000100000.fits flickertimesteps=1 hicolthresh=0.00105 hienergythresh=12 \
hithresh=0.0045 loenergythresh=0.14 narrowerthanpsf=1.5 thresholdlabel=rate withsearchbadcolumn=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:00]
# # [INFO] [2024-11-30T23:32:00] Task Run Time badpixfind 0.175650119781494s
#
# [COMMAND] [2024-11-30T23:32:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:00]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:00]
badpix badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01411000000000.fits emptyextension=N \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01411000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
windowfilter=N -w 10
# # [OUTPUT] [2024-11-30T23:32:01]
# # [INFO] [2024-11-30T23:32:01] Task Run Time badpix 0.119518995285034s
#
# # [INFO] [2024-11-30T23:32:01] DEBUG: epreject task does not run for PN Imaging mode.
# # [INFO] [2024-11-30T23:32:01] Starting epevents....
# [COMMAND] [2024-11-30T23:32:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:01]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:01]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01411000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_events-U01411000200000.fits randomizeenergy=Y randomizeposition=Y reemissionthresh=0 \
withbackgroundgain=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:03] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 11 is not in HIGH gain mode: LOW
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #0 (CCD/rawX = 11[3/1]/27) failed - error code: 3\
#     no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #4 (CCD/rawX = 11[3/1]/27) failed - error code: 3\
#     no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #5 (CCD/rawX = 11[3/1]/27) failed - error code: 3\
#     no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #6 (CCD/rawX = 11[3/1]/27) failed - error code: 3\
#     no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #14 (CCD/rawX = 11[3/1]/27) failed - error code:\
#     3 no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #15 (CCD/rawX = 11[3/1]/27) failed - error code:\
#     3 no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #16 (CCD/rawX = 11[3/1]/27) failed - error code:\
#     3 no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #17 (CCD/rawX = 11[3/1]/27) failed - error code:\
#     3 no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #18 (CCD/rawX = 11[3/1]/27) failed - error code:\
#     3 no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #19 (CCD/rawX = 11[3/1]/27) failed - error code:\
#     3 no correction applied - reason for failure: negative amplitude
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #0 (CCD/rawX/rawY = 11[3/1]/27/184[101/183]) failed\
#     - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #4 (CCD/rawX/rawY = 11[3/1]/27/184[101/183]) failed\
#     - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #5 (CCD/rawX/rawY = 11[3/1]/27/184[101/183]) failed\
#     - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #6 (CCD/rawX/rawY = 11[3/1]/27/184[101/183]) failed\
#     - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #14 (CCD/rawX/rawY = 11[3/1]/27/184[101/183])\
#     failed - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #15 (CCD/rawX/rawY = 11[3/1]/27/184[101/183])\
#     failed - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #16 (CCD/rawX/rawY = 11[3/1]/27/184[101/183])\
#     failed - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #17 (CCD/rawX/rawY = 11[3/1]/27/184[101/183])\
#     failed - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #18 (CCD/rawX/rawY = 11[3/1]/27/184[101/183])\
#     failed - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #19 (CCD/rawX/rawY = 11[3/1]/27/184[101/183])\
#     failed - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (SummaryOfWarnings), 
# warning ctiCorrectionFailed silently occurred 68571 times
# warning gainCorrectionFailed silently occurred 68571 times 
# # [INFO] [2024-11-30T23:32:03] Task Run Time epevents 2.61042904853821s
#
# # [INFO] [2024-11-30T23:32:03] Completed epevents....
# [COMMAND] [2024-11-30T23:32:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:03]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:03]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01411000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:05] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2054 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0214115232 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2788 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0947712809 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3521 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1681310385 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4255 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2415138334 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4989 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3148735911 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.5722 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3882333487 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.719 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5349733382 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7923 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6083330959 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8657 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6816928536 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0124 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8284328431 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 33095 times 
# # [INFO] [2024-11-30T23:32:05] Task Run Time attcalc 1.72082591056824s
#
# [COMMAND] [2024-11-30T23:32:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:05]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:05]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_events-U01411000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_events-U01411000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:05]
# # [INFO] [2024-11-30T23:32:05] Task Run Time evselect 0.374520063400269s
#
# # [INFO] [2024-11-30T23:32:05] Starting out-of-time epevents ....
# [COMMAND] [2024-11-30T23:32:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:05]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:05]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01411000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_oot_events-U01411000200000.fits randomizeenergy=Y randomizeposition=Y \
reemissionthresh=0 withbackgroundgain=Y withoutoftime=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:08] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 11 is not in HIGH gain mode: LOW
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #0 (CCD/rawX = 11[3/1]/27) failed - error code: 3\
#     no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #4 (CCD/rawX = 11[3/1]/27) failed - error code: 3\
#     no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #5 (CCD/rawX = 11[3/1]/27) failed - error code: 3\
#     no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #6 (CCD/rawX = 11[3/1]/27) failed - error code: 3\
#     no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #14 (CCD/rawX = 11[3/1]/27) failed - error code:\
#     3 no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #15 (CCD/rawX = 11[3/1]/27) failed - error code:\
#     3 no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #16 (CCD/rawX = 11[3/1]/27) failed - error code:\
#     3 no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #17 (CCD/rawX = 11[3/1]/27) failed - error code:\
#     3 no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #18 (CCD/rawX = 11[3/1]/27) failed - error code:\
#     3 no correction applied - reason for failure: negative amplitude
# ** epevents: warning (gainCorrectionFailed), Gain correction algorithm for event #19 (CCD/rawX = 11[3/1]/27) failed - error code:\
#     3 no correction applied - reason for failure: negative amplitude
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #0 (CCD/rawX/rawY = 11[3/1]/27/108[101/107]) failed\
#     - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #4 (CCD/rawX/rawY = 11[3/1]/27/130[101/129]) failed\
#     - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #5 (CCD/rawX/rawY = 11[3/1]/27/182[101/181]) failed\
#     - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #6 (CCD/rawX/rawY = 11[3/1]/27/87[101/86]) failed -\
#     error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #14 (CCD/rawX/rawY = 11[3/1]/27/70[101/69]) failed\
#     - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #15 (CCD/rawX/rawY = 11[3/1]/27/51[101/50]) failed\
#     - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #16 (CCD/rawX/rawY = 11[3/1]/27/76[101/75]) failed\
#     - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #17 (CCD/rawX/rawY = 11[3/1]/27/43[101/42]) failed\
#     - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #18 (CCD/rawX/rawY = 11[3/1]/27/81[101/80]) failed\
#     - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #19 (CCD/rawX/rawY = 11[3/1]/27/85[101/84]) failed\
#     - error code: 3 - no correction applied - reason for failure: the column has no calibration data
# ** epevents: warning (SummaryOfWarnings), 
# warning ctiCorrectionFailed silently occurred 68571 times
# warning gainCorrectionFailed silently occurred 68571 times 
# # [INFO] [2024-11-30T23:32:08] Task Run Time epevents 2.53338003158569s
#
# # [INFO] [2024-11-30T23:32:08] Completed out-of-time epevents....
# [COMMAND] [2024-11-30T23:32:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:08]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:08]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_oot_events-U01411000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:09] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2054 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0214115232 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2788 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0947712809 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3521 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1681310385 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4255 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2415138334 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.4989 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3148735911 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.5722 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3882333487 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.719 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5349733382 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7923 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6083330959 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8657 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6816928536 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0124 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8284328431 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 33095 times 
# # [INFO] [2024-11-30T23:32:09] Task Run Time attcalc 1.64384484291077s
#
# [COMMAND] [2024-11-30T23:32:09]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:09]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:09] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:09]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_oot_events-U01411000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_oot_events-U01411000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w \
10
# # [OUTPUT] [2024-11-30T23:32:10]
# # [INFO] [2024-11-30T23:32:10] Task Run Time evselect 0.344795942306519s
#
# [COMMAND] [2024-11-30T23:32:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:10]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:10]
epframes eventset=intermediate/pnEvents-epn-14-Processed_events-U01412000100000.fits \
gtiset=intermediate/pnEvents-epn-14-CCD_GTI-U01412000100000.fits set=odf/0040_0118700401_PNU01412IME.FIT withsrcrawy=no -w 10
# # [OUTPUT] [2024-11-30T23:32:11] epframes:- No Offset maps found... 
# epframes:- No Offset maps found... 
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886646.447 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886647.915 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886649.382 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886650.849 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886652.316 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886653.784 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886655.251 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886656.718 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886658.186 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=6886659.653 which is outside the time correlation\
#     data abscissa range [6876525.786, 6886546.043] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** epframes: warning (illegalODF), The PMH file seems to end prematurely: DATE-END > TIME(PMH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:59] The ODF [0040_0118700401_PNU014] is invalid, please contact the originator of this data.
# ** epframes: warning (OffsetMap), calculation interval not after previous exposure
# ** epframes: warning (CCDlowGain), CCD 12 is not in HIGH gain mode: LOW
# ** epframes: warning (illegalODF), The PAH file seems to end prematurely: DATE-END > TIME(PAH)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:50:25] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (notHKconstant), HK parameter F1838 is not constant, range = [ -37 , 20 ]. Use default: 20
# ** epframes: warning (notHKconstant), HK parameter F1825 is not constant, range = [ 0 , 256 ]. Use default: 256
# ** epframes: warning (notHKconstant), HK parameter F1826 is not constant, range = [ 0 , 3000 ]. Use default: 3512
# ** epframes: warning (notHKconstant), HK parameter F1827 is not constant, range = [ 0 , 5 ]. Use default: 63
# ** epframes: warning (notHKconstant), HK parameter F1836 is not constant, range = [ 1 , 123 ]. Use default: 1
# ** epframes: warning (notHKconstant), F1835 = An_SENDMODE is not constant: NO MIP CORR. and ************
# ** epframes: warning (notHKconstant), F1839 = An_RDNODE is not constant: FULL FRAME and NOT INIT
# ** epframes: warning (HKoutOfLimits), E_Cx_IVDDA too high for quadrant 3: 19.266 [mA] > 13.200
# ** epframes: warning (notHKconstant), HK parameter F1829 is not constant, range = [ 2 , 3 ]. Use default: 0
# ** epframes: warning (notHKconstant), HK parameter F1830 is not constant, range = [ 255 , 10 ]. Use default: 0
# ** epframes: warning (notHKconstant), F1828 = An_char12 is not constant: BAD and ************
# ** epframes: warning (illegalODF), The P5S file seems to end prematurely: DATE-END > TIME(p5s)_max: [2000-02-28T03:02:54]\
#     [2000-02-28T01:51:03] The ODF [0040_0118700401_PNU014] is invalid and cannot be processed properly. Please contact the\
#     originator of this data.
# ** epframes: warning (tooLongExposure), TELAPSE [ 9595.0059763658501 ] > DURATION [ 8696.0000000000000 ]. Event times may be\
#     incorrect or exposure lasted longer than scheduled.
# ** epframes: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 157835 times
# warning notHKconstant silently occurred 3 times 
# # [INFO] [2024-11-30T23:32:11] Task Run Time epframes 1.6489269733429s
#
# # [INFO] [2024-11-30T23:32:11] OBT_WARN False
# [COMMAND] [2024-11-30T23:32:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:11]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:11]
badpixfind backgroundrate=-1 badpixmap=intermediate/pnEvents-epn-14-Bright_pixels_mask-U01412000000000.fits \
badpixset=intermediate/pnEvents-epn-14-Ignore_This_Bad_pixels-U01412000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01412000100000.fits hicolthresh=7e-05 hienergythresh=15 hithresh=0.00025 \
loenergythresh=7 narrowerthanpsf=0 threshabovebackground=Y thresholdlabel=rate withbadpixmap=Y withfovmask=Y withsearchbadcolumn=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:32:12] ** badpixfind: warning (findRealSources), chosen narrowerthanpsf parameter very low - real\
#     sources may be found 
# # [INFO] [2024-11-30T23:32:12] Task Run Time badpixfind 0.270715951919556s
#
# [COMMAND] [2024-11-30T23:32:12]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:12]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:12] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:12]
badpixfind backgroundrate=0.00011 badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01412000000000.fits \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01412000100000.fits flickertimesteps=1 hicolthresh=0.00105 hienergythresh=12 \
hithresh=0.0045 loenergythresh=0.14 narrowerthanpsf=1.5 thresholdlabel=rate withsearchbadcolumn=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:12]
# # [INFO] [2024-11-30T23:32:12] Task Run Time badpixfind 0.176557064056396s
#
# [COMMAND] [2024-11-30T23:32:12]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:12]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:12] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:12]
badpix badpixset=intermediate/pnEvents-epn-14-Bad_pixels-U01412000000000.fits emptyextension=N \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01412000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
windowfilter=N -w 10
# # [OUTPUT] [2024-11-30T23:32:12]
# # [INFO] [2024-11-30T23:32:12] Task Run Time badpix 0.122009038925171s
#
# # [INFO] [2024-11-30T23:32:12] DEBUG: epreject task does not run for PN Imaging mode.
# # [INFO] [2024-11-30T23:32:12] Starting epevents....
# [COMMAND] [2024-11-30T23:32:12]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:12]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:12] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:12]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01412000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_events-U01412000200000.fits randomizeenergy=Y randomizeposition=Y reemissionthresh=0 \
withbackgroundgain=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:14] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 12 is not in HIGH gain mode: LOW 
# # [INFO] [2024-11-30T23:32:14] Task Run Time epevents 2.23492407798767s
#
# # [INFO] [2024-11-30T23:32:14] Completed epevents....
# [COMMAND] [2024-11-30T23:32:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:14]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:14]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01412000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:15] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2115 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0275217742 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3582 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1742412895 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.5783 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3943435997 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.6517 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4677238315 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7251 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5410835892 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0919 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9079028517 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.1653 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9812626094 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.3854 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2013649195 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.5321 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3481049091 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8256 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6415644139 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 17025 times 
# # [INFO] [2024-11-30T23:32:15] Task Run Time attcalc 0.907539129257202s
#
# [COMMAND] [2024-11-30T23:32:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:15]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:15]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_events-U01412000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_events-U01412000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:15]
# # [INFO] [2024-11-30T23:32:15] Task Run Time evselect 0.294367074966431s
#
# # [INFO] [2024-11-30T23:32:15] Starting out-of-time epevents ....
# [COMMAND] [2024-11-30T23:32:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:15]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:15]
epevents backgroundtbin=100 backgroundtres=Y ctilongtermsoft=Y \
eventset=intermediate/pnEvents-epn-14-Processed_events-U01412000100000.fits gainctiaccuracy=2 \
outset=intermediate/pnEvents-epn-14-Processed_oot_events-U01412000200000.fits randomizeenergy=Y randomizeposition=Y \
reemissionthresh=0 withbackgroundgain=Y withoutoftime=Y withpatternoffset=Y withrdpha=Y withtempcorrection=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:18] ** epevents: warning (notUsefulModeRDCTI), Rate-dependent CTI correction only meaningful for FAST\
#     modes. Skipping ...
# ** epevents: warning (CCDlowGain), CCD 12 is not in HIGH gain mode: LOW
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #28754 (CCD/rawX/rawY = 12[3/2]/19/90[173/89])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #39876 (CCD/rawX/rawY = 12[3/2]/19/90[173/89])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #40200 (CCD/rawX/rawY = 12[3/2]/19/90[173/89])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #62529 (CCD/rawX/rawY = 12[3/2]/19/90[173/89])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #71219 (CCD/rawX/rawY = 12[3/2]/19/90[173/89])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #80219 (CCD/rawX/rawY = 12[3/2]/19/90[173/89])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #81135 (CCD/rawX/rawY = 12[3/2]/19/90[173/89])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #108318 (CCD/rawX/rawY = 12[3/2]/19/90[173/89])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #116369 (CCD/rawX/rawY = 12[3/2]/19/90[173/89])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (ctiCorrectionFailed), CTI correction algorithm for event #120170 (CCD/rawX/rawY = 12[3/2]/19/90[173/89])\
#     failed - error code: 2 - no correction applied - reason for failure: very bright pixel/to be discarded
# ** epevents: warning (SummaryOfWarnings), 
# warning ctiCorrectionFailed silently occurred 10 times 
# # [INFO] [2024-11-30T23:32:18] Task Run Time epevents 2.11105990409851s
#
# # [INFO] [2024-11-30T23:32:18] Completed out-of-time epevents....
# [COMMAND] [2024-11-30T23:32:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:18]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:18]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/pnEvents-epn-14-Processed_oot_events-U01412000200000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:19] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2115 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.0275217742 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3582 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1742412895 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.5783 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3943435997 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.6517 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4677238315 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7251 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.5410835892 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0919 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9079028517 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.1653 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9812626094 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.3854 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2013649195 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.5321 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3481049091 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8256 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6415644139 s away).
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 17025 times 
# # [INFO] [2024-11-30T23:32:19] Task Run Time attcalc 0.969673871994019s
#
# [COMMAND] [2024-11-30T23:32:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:19]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:19]
evselect destruct=Y expression="(FLAG & 0x0fa0000)==0 && PI>150" \
filteredset=intermediate/pnEvents-epn-14-Processed_oot_events-U01412000300000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Processed_oot_events-U01412000200000.fits:EVENTS updateexposure=Y withfilteredset=Y writedss=Y -w \
10
# # [OUTPUT] [2024-11-30T23:32:19]
# # [INFO] [2024-11-30T23:32:19] Task Run Time evselect 0.30101203918457s
#
# [COMMAND] [2024-11-30T23:32:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:19]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:19]
evlistcomb epnimgcolnames="TIME RAWX RAWY DETX DETY X Y PHA PI FLAG PATTERN PAT_ID PAT_SEQ OFFSETX" epnimgcoltypes="double int16 \
int16 int16 int16 int32 int32 int16 int16 int32 int8 int16 int8 int16" \
eventsets="intermediate/pnEvents-epn-14-Processed_oot_events-U01401000300000.fits \
intermediate/pnEvents-epn-14-Processed_oot_events-U01402000300000.fits \
intermediate/pnEvents-epn-14-Processed_oot_events-U01403000300000.fits \
intermediate/pnEvents-epn-14-Processed_oot_events-U01404000300000.fits \
intermediate/pnEvents-epn-14-Processed_oot_events-U01405000300000.fits \
intermediate/pnEvents-epn-14-Processed_oot_events-U01406000300000.fits \
intermediate/pnEvents-epn-14-Processed_oot_events-U01407000300000.fits \
intermediate/pnEvents-epn-14-Processed_oot_events-U01408000300000.fits \
intermediate/pnEvents-epn-14-Processed_oot_events-U01409000300000.fits \
intermediate/pnEvents-epn-14-Processed_oot_events-U01410000300000.fits \
intermediate/pnEvents-epn-14-Processed_oot_events-U01411000300000.fits \
intermediate/pnEvents-epn-14-Processed_oot_events-U01412000300000.fits" \
imagingset=intermediate/pnEvents-epn-14-Merged_imaging_oot_events-U01400000000000.fits instrument=epn mainattributes="REJ_CORR \
PHA_RDCO" maintable="EVENTS OFFSETS" othertables="BADPIX EXPOSURE DLIMAP HKAUX" -w 10
# # [OUTPUT] [2024-11-30T23:32:21]
# # [INFO] [2024-11-30T23:32:21] Task Run Time evlistcomb 2.27068495750427s
#
# [COMMAND] [2024-11-30T23:32:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:21]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:21]
epexposure eventsets=intermediate/pnEvents-epn-14-Merged_imaging_oot_events-U01400000000000.fits randomizetime=Y screenexposure=Y \
spatialexposure=N -w 10
# # [OUTPUT] [2024-11-30T23:32:22]
# # [INFO] [2024-11-30T23:32:22] Task Run Time epexposure 0.678637027740479s
#
# [COMMAND] [2024-11-30T23:32:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:22]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:22]
evlistcomb epnimgcolnames="TIME RAWX RAWY DETX DETY X Y PHA PI FLAG PATTERN PAT_ID PAT_SEQ OFFSETX" epnimgcoltypes="double int16 \
int16 int16 int16 int32 int32 int16 int16 int32 int8 int16 int8 int16" \
eventsets="intermediate/pnEvents-epn-14-Processed_events-U01401000300000.fits \
intermediate/pnEvents-epn-14-Processed_events-U01402000300000.fits \
intermediate/pnEvents-epn-14-Processed_events-U01403000300000.fits \
intermediate/pnEvents-epn-14-Processed_events-U01404000300000.fits \
intermediate/pnEvents-epn-14-Processed_events-U01405000300000.fits \
intermediate/pnEvents-epn-14-Processed_events-U01406000300000.fits \
intermediate/pnEvents-epn-14-Processed_events-U01407000300000.fits \
intermediate/pnEvents-epn-14-Processed_events-U01408000300000.fits \
intermediate/pnEvents-epn-14-Processed_events-U01409000300000.fits \
intermediate/pnEvents-epn-14-Processed_events-U01410000300000.fits \
intermediate/pnEvents-epn-14-Processed_events-U01411000300000.fits \
intermediate/pnEvents-epn-14-Processed_events-U01412000300000.fits" \
imagingset=intermediate/pnEvents-epn-14-Merged_imaging_events-U01400000000000.fits instrument=epn mainattributes="REJ_CORR PHA_RDCO" \
maintable="EVENTS OFFSETS" othertables="BADPIX EXPOSURE DLIMAP HKAUX" -w 10
# # [OUTPUT] [2024-11-30T23:32:24]
# # [INFO] [2024-11-30T23:32:24] Task Run Time evlistcomb 2.42652106285095s
#
# [COMMAND] [2024-11-30T23:32:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:24]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:24]
epexposure eventsets=intermediate/pnEvents-epn-14-Merged_imaging_events-U01400000000000.fits randomizetime=Y screenexposure=Y \
spatialexposure=N -w 10
# # [OUTPUT] [2024-11-30T23:32:25]
# # [INFO] [2024-11-30T23:32:25] Task Run Time epexposure 0.760000944137573s
#
# # [INFO] [2024-11-30T23:32:25] Checking for extension EXPOSU01
# # [INFO] [2024-11-30T23:32:25] Checking for extension EXPOSU02
# # [INFO] [2024-11-30T23:32:25] Checking for extension EXPOSU03
# # [INFO] [2024-11-30T23:32:25] Checking for extension EXPOSU04
# # [INFO] [2024-11-30T23:32:25] Checking for extension EXPOSU05
# # [INFO] [2024-11-30T23:32:25] Checking for extension EXPOSU06
# # [INFO] [2024-11-30T23:32:25] Checking for extension EXPOSU07
# # [INFO] [2024-11-30T23:32:25] Checking for extension EXPOSU08
# # [INFO] [2024-11-30T23:32:25] Checking for extension EXPOSU09
# # [INFO] [2024-11-30T23:32:25] Checking for extension EXPOSU10
# # [INFO] [2024-11-30T23:32:25] Checking for extension EXPOSU11
# # [INFO] [2024-11-30T23:32:25] Checking for extension EXPOSU12
# [COMMAND] [2024-11-30T23:32:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:25]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:25]
gtialign eventset=intermediate/pnEvents-epn-14-Merged_imaging_events-U01400000000000.fits \
gtitable=intermediate/InstrumentHK-epn-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/pnEvents-epn-14-Aligned_HK_GTIs-U01400000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:32:25] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:32:25] Task Run Time gtialign 0.403143882751465s
#
# [COMMAND] [2024-11-30T23:32:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:25]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:25]
gtimerge mergemode=and tables="intermediate/pnEvents-epn-14-CCD_GTI-U01401000100000.fits \
intermediate/pnEvents-epn-14-Aligned_HK_GTIs-U01400000000000.fits:STDGTI01" withgtitable=N -w 10
# # [OUTPUT] [2024-11-30T23:32:25] ** gtimerge: warning (EmptyOutputGTItable), The list of GTIs resulting from the merging of all\
#     input GTIs is empty. Filtering with this empty list will yield a likewise empty output table. 
# # [INFO] [2024-11-30T23:32:25] Task Run Time gtimerge 0.0507659912109375s
#
# [COMMAND] [2024-11-30T23:32:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:25]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:25]
gtimerge mergemode=and tables="intermediate/pnEvents-epn-14-CCD_GTI-U01402000100000.fits \
intermediate/pnEvents-epn-14-Aligned_HK_GTIs-U01400000000000.fits:STDGTI02" withgtitable=N -w 10
# # [OUTPUT] [2024-11-30T23:32:26] ** gtimerge: warning (EmptyOutputGTItable), The list of GTIs resulting from the merging of all\
#     input GTIs is empty. Filtering with this empty list will yield a likewise empty output table. 
# # [INFO] [2024-11-30T23:32:26] Task Run Time gtimerge 0.0510780811309814s
#
# [COMMAND] [2024-11-30T23:32:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:26]
gtimerge mergemode=and tables="intermediate/pnEvents-epn-14-CCD_GTI-U01403000100000.fits \
intermediate/pnEvents-epn-14-Aligned_HK_GTIs-U01400000000000.fits:STDGTI03" withgtitable=N -w 10
# # [OUTPUT] [2024-11-30T23:32:26] ** gtimerge: warning (EmptyOutputGTItable), The list of GTIs resulting from the merging of all\
#     input GTIs is empty. Filtering with this empty list will yield a likewise empty output table. 
# # [INFO] [2024-11-30T23:32:26] Task Run Time gtimerge 0.0806031227111816s
#
# [COMMAND] [2024-11-30T23:32:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:26]
gtimerge mergemode=and tables="intermediate/pnEvents-epn-14-CCD_GTI-U01404000100000.fits \
intermediate/pnEvents-epn-14-Aligned_HK_GTIs-U01400000000000.fits:STDGTI04" withgtitable=N -w 10
# # [OUTPUT] [2024-11-30T23:32:26] ** gtimerge: warning (EmptyOutputGTItable), The list of GTIs resulting from the merging of all\
#     input GTIs is empty. Filtering with this empty list will yield a likewise empty output table. 
# # [INFO] [2024-11-30T23:32:26] Task Run Time gtimerge 0.0632209777832031s
#
# [COMMAND] [2024-11-30T23:32:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:26]
gtimerge mergemode=and tables="intermediate/pnEvents-epn-14-CCD_GTI-U01405000100000.fits \
intermediate/pnEvents-epn-14-Aligned_HK_GTIs-U01400000000000.fits:STDGTI05" withgtitable=N -w 10
# # [OUTPUT] [2024-11-30T23:32:26] ** gtimerge: warning (EmptyOutputGTItable), The list of GTIs resulting from the merging of all\
#     input GTIs is empty. Filtering with this empty list will yield a likewise empty output table. 
# # [INFO] [2024-11-30T23:32:26] Task Run Time gtimerge 0.0486159324645996s
#
# [COMMAND] [2024-11-30T23:32:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:26]
gtimerge mergemode=and tables="intermediate/pnEvents-epn-14-CCD_GTI-U01406000100000.fits \
intermediate/pnEvents-epn-14-Aligned_HK_GTIs-U01400000000000.fits:STDGTI06" withgtitable=N -w 10
# # [OUTPUT] [2024-11-30T23:32:26] ** gtimerge: warning (EmptyOutputGTItable), The list of GTIs resulting from the merging of all\
#     input GTIs is empty. Filtering with this empty list will yield a likewise empty output table. 
# # [INFO] [2024-11-30T23:32:26] Task Run Time gtimerge 0.0446760654449463s
#
# [COMMAND] [2024-11-30T23:32:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:26]
gtimerge mergemode=and tables="intermediate/pnEvents-epn-14-CCD_GTI-U01407000100000.fits \
intermediate/pnEvents-epn-14-Aligned_HK_GTIs-U01400000000000.fits:STDGTI07" withgtitable=N -w 10
# # [OUTPUT] [2024-11-30T23:32:26] ** gtimerge: warning (EmptyOutputGTItable), The list of GTIs resulting from the merging of all\
#     input GTIs is empty. Filtering with this empty list will yield a likewise empty output table. 
# # [INFO] [2024-11-30T23:32:26] Task Run Time gtimerge 0.0727109909057617s
#
# [COMMAND] [2024-11-30T23:32:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:26]
gtimerge mergemode=and tables="intermediate/pnEvents-epn-14-CCD_GTI-U01408000100000.fits \
intermediate/pnEvents-epn-14-Aligned_HK_GTIs-U01400000000000.fits:STDGTI08" withgtitable=N -w 10
# # [OUTPUT] [2024-11-30T23:32:26] ** gtimerge: warning (EmptyOutputGTItable), The list of GTIs resulting from the merging of all\
#     input GTIs is empty. Filtering with this empty list will yield a likewise empty output table. 
# # [INFO] [2024-11-30T23:32:26] Task Run Time gtimerge 0.143103122711182s
#
# [COMMAND] [2024-11-30T23:32:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:26]
gtimerge mergemode=and tables="intermediate/pnEvents-epn-14-CCD_GTI-U01409000100000.fits \
intermediate/pnEvents-epn-14-Aligned_HK_GTIs-U01400000000000.fits:STDGTI09" withgtitable=N -w 10
# # [OUTPUT] [2024-11-30T23:32:26] ** gtimerge: warning (EmptyOutputGTItable), The list of GTIs resulting from the merging of all\
#     input GTIs is empty. Filtering with this empty list will yield a likewise empty output table. 
# # [INFO] [2024-11-30T23:32:26] Task Run Time gtimerge 0.0562319755554199s
#
# [COMMAND] [2024-11-30T23:32:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:26]
gtimerge mergemode=and tables="intermediate/pnEvents-epn-14-CCD_GTI-U01410000100000.fits \
intermediate/pnEvents-epn-14-Aligned_HK_GTIs-U01400000000000.fits:STDGTI10" withgtitable=N -w 10
# # [OUTPUT] [2024-11-30T23:32:26] ** gtimerge: warning (EmptyOutputGTItable), The list of GTIs resulting from the merging of all\
#     input GTIs is empty. Filtering with this empty list will yield a likewise empty output table. 
# # [INFO] [2024-11-30T23:32:26] Task Run Time gtimerge 0.0490140914916992s
#
# [COMMAND] [2024-11-30T23:32:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:26]
gtimerge mergemode=and tables="intermediate/pnEvents-epn-14-CCD_GTI-U01411000100000.fits \
intermediate/pnEvents-epn-14-Aligned_HK_GTIs-U01400000000000.fits:STDGTI11" withgtitable=N -w 10
# # [OUTPUT] [2024-11-30T23:32:26] ** gtimerge: warning (EmptyOutputGTItable), The list of GTIs resulting from the merging of all\
#     input GTIs is empty. Filtering with this empty list will yield a likewise empty output table. 
# # [INFO] [2024-11-30T23:32:26] Task Run Time gtimerge 0.0519540309906006s
#
# [COMMAND] [2024-11-30T23:32:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:26]
gtimerge mergemode=and tables="intermediate/pnEvents-epn-14-CCD_GTI-U01412000100000.fits \
intermediate/pnEvents-epn-14-Aligned_HK_GTIs-U01400000000000.fits:STDGTI12" withgtitable=N -w 10
# # [OUTPUT] [2024-11-30T23:32:26] ** gtimerge: warning (EmptyOutputGTItable), The list of GTIs resulting from the merging of all\
#     input GTIs is empty. Filtering with this empty list will yield a likewise empty output table. 
# # [INFO] [2024-11-30T23:32:26] Task Run Time gtimerge 0.0502920150756836s
#
# [COMMAND] [2024-11-30T23:32:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:26]
evselect destruct=true expression="(CCDNR==1 && GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01401000100000.fits,TIME)) || (CCDNR==2 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01402000100000.fits,TIME)) || (CCDNR==3 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01403000100000.fits,TIME)) || (CCDNR==4 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01404000100000.fits,TIME)) || (CCDNR==5 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01405000100000.fits,TIME)) || (CCDNR==6 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01406000100000.fits,TIME)) || (CCDNR==7 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01407000100000.fits,TIME)) || (CCDNR==8 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01408000100000.fits,TIME)) || (CCDNR==9 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01409000100000.fits,TIME)) || (CCDNR==10 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01410000100000.fits,TIME)) || (CCDNR==11 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01411000100000.fits,TIME)) || (CCDNR==12 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01412000100000.fits,TIME))" \
filteredset=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_OOT_event_list-U01400000000000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-Merged_imaging_oot_events-U01400000000000.fits updateexposure=Y withfilteredset=Y writedss=Y -w \
10
# # [OUTPUT] [2024-11-30T23:32:28]
# # [INFO] [2024-11-30T23:32:28] Task Run Time evselect 2.02002596855164s
#
# [COMMAND] [2024-11-30T23:32:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:28]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:28]
evselect destruct=true expression="(CCDNR==1 && GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01401000100000.fits,TIME)) || (CCDNR==2 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01402000100000.fits,TIME)) || (CCDNR==3 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01403000100000.fits,TIME)) || (CCDNR==4 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01404000100000.fits,TIME)) || (CCDNR==5 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01405000100000.fits,TIME)) || (CCDNR==6 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01406000100000.fits,TIME)) || (CCDNR==7 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01407000100000.fits,TIME)) || (CCDNR==8 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01408000100000.fits,TIME)) || (CCDNR==9 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01409000100000.fits,TIME)) || (CCDNR==10 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01410000100000.fits,TIME)) || (CCDNR==11 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01411000100000.fits,TIME)) || (CCDNR==12 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01412000100000.fits,TIME))" filteredset=product/P0118700401PNU014PIEVLI0000.FIT \
keepfilteroutput=Y table=intermediate/pnEvents-epn-14-Merged_imaging_events-U01400000000000.fits updateexposure=Y withfilteredset=Y \
writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:30]
# # [INFO] [2024-11-30T23:32:30] Task Run Time evselect 1.95191097259521s
#
# [COMMAND] [2024-11-30T23:32:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:30]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:30]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf calctlmax=yes \
eventset=product/P0118700401PNU014PIEVLI0000.FIT refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:42] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7065 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.5225222707 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8186 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.63460657 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.9309 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7469322532 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0221 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8380607516 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0967 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9126992226 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.2575 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0735455751 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.4173 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2332924008 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8376 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6535853148 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.2387 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.054744795 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.5555 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3714791834 s away).
# IN CALCTLMIN
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 324749 times 
# # [INFO] [2024-11-30T23:32:42] Task Run Time attcalc 12.1737189292908s
#
# [COMMAND] [2024-11-30T23:32:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:42]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:42]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf calctlmax=yes \
eventset=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_OOT_event_list-U01400000000000.fits refpointlabel=pnt withmedianpnt=Y -w \
10
# # [OUTPUT] [2024-11-30T23:32:54] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7244 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.5404232144 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8114 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.627427265 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.9584 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7744170874 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.041 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8570305854 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0819 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8978858292 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.253 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0690049082 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.4148 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2307914346 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8449 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6608738452 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.3044 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1204139292 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.5921 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4080930948 s away).
# IN CALCTLMIN
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 324581 times 
# # [INFO] [2024-11-30T23:32:54] Task Run Time attcalc 11.2669789791107s
#
# [COMMAND] [2024-11-30T23:32:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:54]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:54]
evselect expression="GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME)" \
filteredset=intermediate/pnEvents-epn-14-Att_GTI_filtered_events-U01400000000000.fits table=product/P0118700401PNU014PIEVLI0000.FIT \
withfilteredset=Y -w 10
# # [OUTPUT] [2024-11-30T23:32:55]
# # [INFO] [2024-11-30T23:32:55] Task Run Time evselect 1.05395197868347s
#
# [COMMAND] [2024-11-30T23:32:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:32:55]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:32:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:32:55]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf calctlmax=yes \
eventset=intermediate/pnEvents-epn-14-Att_GTI_filtered_events-U01400000000000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:33:04] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7065 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.5225222707 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8186 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.63460657 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.9309 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7469322532 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0221 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8380607516 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0967 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.9126992226 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.2575 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0735455751 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.4173 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2332924008 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8376 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6535853148 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.2387 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.054744795 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.5555 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.3714791834 s away).
# IN CALCTLMIN
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 6235 times 
# # [INFO] [2024-11-30T23:33:04] Task Run Time attcalc 8.83984684944153s
#
# [COMMAND] [2024-11-30T23:33:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:33:04]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:33:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:33:04]
evselect expression="GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME)" \
filteredset=intermediate/pnEvents-epn-14-Att_GTI_filtered_oot_events-U01400000000000.fits \
table=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_OOT_event_list-U01400000000000.fits withfilteredset=Y -w 10
# # [OUTPUT] [2024-11-30T23:33:05]
# # [INFO] [2024-11-30T23:33:05] Task Run Time evselect 1.03626608848572s
#
# [COMMAND] [2024-11-30T23:33:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:33:05]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:33:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:33:05]
attcalc -w=10 atthkset=product/P0118700401OBX000ATTTSR0000.FIT attitudelabel=ahf calctlmax=yes \
eventset=intermediate/pnEvents-epn-14-Att_GTI_filtered_oot_events-U01400000000000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:33:13] ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.7244 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is 20.5404232144 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.8114 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.627427265 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089945.9584 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.7744170874 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.041 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8570305854 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.0819 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.8978858292 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.253 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.0690049082 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.4148 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.2307914346 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089946.8449 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.6608738452 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.3044 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.1204139292 s away).
# ** attcalc: warning (NoAttitude), The attitude was requested for time 68089947.5921 which is more than 20 s outside the period for\
#     which the attitude is known (closest time is 20.4080930948 s away).
# IN CALCTLMIN
# ** attcalc: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 6216 times 
# # [INFO] [2024-11-30T23:33:13] Task Run Time attcalc 8.3065779209137s
#
# # [INFO] [2024-11-30T23:33:13] Imaging mode is PrimeFullWindow or PrimeFullWindowExtended. Producing FWC data...
# [COMMAND] [2024-11-30T23:33:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:33:13]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:33:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:33:13]
evqpb attfile=product/P0118700401OBX000ATTTSR0000.FIT calctlmax=Y exposurefactor=4 \
outset=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_FWC_event_list-U01400000000000.fits overwritesubmode=Y \
table=product/P0118700401PNU014PIEVLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:34:49] ** evqpb: warning (SubmodeCheckingDisabled), Observing mode checking disabled. This task should\
#     only be used on full frame and extended full frame data
# ** evqpb::attcalc: warning (NoAttitude), The attitude was requested for time 68089945.197 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.0129696578 s away).
# ** evqpb::attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2031 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.0190801471 s away).
# ** evqpb::attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2092 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.0251903981 s away).
# ** evqpb::attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2336 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.0496495515 s away).
# ** evqpb::attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2398 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.0557600111 s away).
# ** evqpb::attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2459 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.061870262 s away).
# ** evqpb::attcalc: warning (NoAttitude), The attitude was requested for time 68089945.2764 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.0924399048 s away).
# ** evqpb::attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3131 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.1291197687 s away).
# ** evqpb::attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3192 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.1352300197 s away).
# ** evqpb::attcalc: warning (NoAttitude), The attitude was requested for time 68089945.3315 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.1474699527 s away).
# IN CALCTLMIN
# ** evqpb: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 239923 times 
# # [INFO] [2024-11-30T23:34:49] Task Run Time evqpb 96.4608900547028s
#
# [COMMAND] [2024-11-30T23:34:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:34:49]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:34:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:34:49]
dscopyblock blocks=product/P0118700401OBX000CALIND0000.FIT:CALINDEX to=product/P0118700401PNU014PIEVLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:34:50]
# # [INFO] [2024-11-30T23:34:50] Task Run Time dscopyblock 0.583302974700928s
#
# [COMMAND] [2024-11-30T23:34:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:34:50]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:34:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:34:50]
evselect expression="((CCDNR==1 && GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01401000100000.fits,TIME)) || (CCDNR==2 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01402000100000.fits,TIME)) || (CCDNR==3 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01403000100000.fits,TIME)) || (CCDNR==4 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01404000100000.fits,TIME)) || (CCDNR==5 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01405000100000.fits,TIME)) || (CCDNR==6 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01406000100000.fits,TIME)) || (CCDNR==7 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01407000100000.fits,TIME)) || (CCDNR==8 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01408000100000.fits,TIME)) || (CCDNR==9 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01409000100000.fits,TIME)) || (CCDNR==10 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01410000100000.fits,TIME)) || (CCDNR==11 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01411000100000.fits,TIME)) || (CCDNR==12 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01412000100000.fits,TIME))) && ((CCDNR==1 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01401000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==2 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01402000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==3 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01403000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==4 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01404000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==5 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01405000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==6 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01406000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==7 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01407000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==8 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01408000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==9 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01409000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==10 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01410000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==11 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01411000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==12 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01412000000000.fits,0,0,RAWX,RAWY))) && (PI IN [7000:15000])" makeratecolumn=Y \
maketimecolumn=Y rateset=intermediate/pnEvents-epn-14-Flare_background_timeseries-U01400000000000.fits \
table=product/P0118700401PNU014PIEVLI0000.FIT timebinsize=10 updateexposure=N withrateset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:34:52] ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already\
#     exists in output data set. Renaming block to BLK00201.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00301.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00401.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00501.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00601.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00701.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00801.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00901.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK01001.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK01101.
# ** evselect: warning (SummaryOfWarnings), 
# warning DssBlockClash silently occurred 1 times 
# # [INFO] [2024-11-30T23:34:52] Task Run Time evselect 2.231929063797s
#
# # [INFO] [2024-11-30T23:34:52] Number of good background pixels found: 66110
# [COMMAND] [2024-11-30T23:34:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:34:52]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:34:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:34:52]
tabcalc column=T_ELAPSED columntype=real64 expression=TIME-6.80843854326953E+07 \
tables=intermediate/pnEvents-epn-14-Flare_background_timeseries-U01400000000000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:34:52]
# # [INFO] [2024-11-30T23:34:52] Task Run Time tabcalc 0.0447609424591064s
#
# [COMMAND] [2024-11-30T23:34:52]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:34:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:34:52]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:34:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:34:52]
fplot device=intermediate/pnEvents-epn-14-Flare_bkg_ts-U01400000000000.ps/cps \
infile=intermediate/pnEvents-epn-14-Flare_background_timeseries-U01400000000000.fits \
pltcmd="@intermediate/pnEvents-all-14-Flare_bkg_ts_pco_file-X00000000000000.pco" rows=- xparm=T_ELAPSED yparm=RATE
# # [OUTPUT] [2024-11-30T23:34:52]
# # [INFO] [2024-11-30T23:34:52] Task Run Time fplot 0.0249209403991699s
#
# [COMMAND] [2024-11-30T23:34:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:34:52]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:34:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:34:52]
epiclccorr allcamera=Y applyabsolutecorrections=N eventlist=product/P0118700401PNU014PIEVLI0000.FIT \
outset=intermediate/pnEvents-epn-14-Copy_flare_background_timeseries-U01400000000000.fits \
srctslist=intermediate/pnEvents-epn-14-Flare_background_timeseries-U01400000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:35:26] ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard event PATTERN range for a PN\
#     spectrum is 0-0, 0-1, 0-4 or 1-4. Detector matrices can not be created for this spectrum and spectral fitting will not be\
#     possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard event PATTERN range for a PN spectrum is 0-0, 0-1, 0-4 or\
#     1-4. Detector matrices can not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard event PATTERN range for a PN spectrum is 0-0, 0-1, 0-4 or\
#     1-4. Detector matrices can not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard event PATTERN range for a PN spectrum is 0-0, 0-1, 0-4 or\
#     1-4. Detector matrices can not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard event PATTERN range for a PN spectrum is 0-0, 0-1, 0-4 or\
#     1-4. Detector matrices can not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard event PATTERN range for a PN spectrum is 0-0, 0-1, 0-4 or\
#     1-4. Detector matrices can not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard event PATTERN range for a PN spectrum is 0-0, 0-1, 0-4 or\
#     1-4. Detector matrices can not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard event PATTERN range for a PN spectrum is 0-0, 0-1, 0-4 or\
#     1-4. Detector matrices can not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard event PATTERN range for a PN spectrum is 0-0, 0-1, 0-4 or\
#     1-4. Detector matrices can not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard event PATTERN range for a PN spectrum is 0-0, 0-1, 0-4 or\
#     1-4. Detector matrices can not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard event PATTERN range for a PN spectrum is 0-0, 0-1, 0-4 or\
#     1-4. Detector matrices can not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard event PATTERN range for a PN spectrum is 0-0, 0-1, 0-4 or\
#     1-4. Detector matrices can not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (SummaryOfWarnings), 
# warning CCDs Count Difference silently occurred 16 times 
# # [INFO] [2024-11-30T23:35:26] Task Run Time epiclccorr 34.1279499530792s
#
# [COMMAND] [2024-11-30T23:35:26]
cp /scratch/225361.1.all.q/xmm/ppsprod/228507/intermediate/pnEvents-epn-14-Copy_flare_background_timeseries-U01400000000000.fits \
/scratch/225361.1.all.q/xmm/ppsprod/228507/intermediate/pnEvents-epn-14-Flare_background_timeseries-U01400000000000.fits
# # [INFO] [2024-11-30T23:35:26] System RV 0
# # [INFO] [2024-11-30T23:35:26] RUN: bkgoptrate fracexpstyle=auto\
#     tssettabname=intermediate/pnEvents-epn-14-Flare_background_timeseries-U01400000000000.fits:RATE withendtime=N\
#     withlowercutoffcount=N withmintimeratio=N ignorelowcnttail=Y withstarttime=N -w 10
# # [INFO] [2024-11-30T23:35:26] OPTRATE: 2.60726891E+01
# [COMMAND] [2024-11-30T23:35:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:26]
tabgtigen expression="RATE< 2.60726891E+01" gtiset=intermediate/pnEvents-epn-14-flare_GTI-U01400000000000.fits mingtisize=100 \
table=intermediate/pnEvents-epn-14-Flare_background_timeseries-U01400000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:35:26]
# # [INFO] [2024-11-30T23:35:26] Task Run Time tabgtigen 0.0422148704528809s
#
# # [INFO] [2024-11-30T23:35:26] ==== Start in-band source-free flare lightcurve generation
# [COMMAND] [2024-11-30T23:35:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:26]
evselect expression="(RAWY > 12) && GTI(intermediate/pnEvents-epn-14-flare_GTI-U01400000000000.fits, TIME) && \
GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && (( PATTERN <= 4 && PI in (500:1000] && (FLAG & \
0x2fa002c) == 0) || (PATTERN<=4 && PI in (1000:7500] && (FLAG & 0x2fa0024) == 0))" imagebinning=binSize imagedatatype=Int32 \
imageset=intermediate/pnEvents-epn-14-SFBLC_image-U01400000080000.fits keepfilteroutput=false \
table=product/P0118700401PNU014PIEVLI0000.FIT updateexposure=true withimagedatatype=true writedss=true xcolumn=DETX ximagebinsize=80 \
ycolumn=DETY yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:35:28] ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not\
#     allow for calculation of a uniform exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (NoWCS), No WCS information available for image column DETX.
# ** evselect: warning (NoWCS), No WCS information available for image column DETY.
# ** evselect: warning (SummaryOfWarnings), 
# warning ExpBadDssGlobal silently occurred 2 times 
# # [INFO] [2024-11-30T23:35:28] Task Run Time evselect 1.55031108856201s
#
# [COMMAND] [2024-11-30T23:35:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:28]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:28]
eexpmap attitudeset=product/P0118700401OBX000ATTTSR0000.FIT attrebin=2 eventset=product/P0118700401PNU014PIEVLI0000.FIT \
expimageset=intermediate/pnEvents-epn-14-SFBLC_exposure_map-U01400000080000.fits \
imageset=intermediate/pnEvents-epn-14-SFBLC_image-U01400000080000.fits pimax=7500 pimin=500 withdetcoords=yes withvignetting=yes -w \
10
# # [OUTPUT] [2024-11-30T23:35:29]
# # [INFO] [2024-11-30T23:35:29] Task Run Time eexpmap 1.13634896278381s
#
# [COMMAND] [2024-11-30T23:35:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:29]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:29]
eexpmap attitudeset=product/P0118700401OBX000ATTTSR0000.FIT attrebin=2 eventset=product/P0118700401PNU014PIEVLI0000.FIT \
expimageset=intermediate/pnEvents-epn-14-SFBLC_non-vig_exposure_map-U01400000080000.fits \
imageset=intermediate/pnEvents-epn-14-SFBLC_image-U01400000080000.fits pimax=7500 pimin=500 withdetcoords=yes withvignetting=no -w \
10
# # [OUTPUT] [2024-11-30T23:35:30]
# # [INFO] [2024-11-30T23:35:30] Task Run Time eexpmap 1.13042807579041s
#
# [COMMAND] [2024-11-30T23:35:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:30]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:30]
emask detmaskset=intermediate/pnEvents-epn-14-SFBLC_detmask-U01400000080000.fits \
expimageset=intermediate/pnEvents-epn-14-SFBLC_non-vig_exposure_map-U01400000080000.fits threshold1=0.5 threshold2=1 -w 10
# # [OUTPUT] [2024-11-30T23:35:30]
# # [INFO] [2024-11-30T23:35:30] Task Run Time emask 0.0513629913330078s
#
# [COMMAND] [2024-11-30T23:35:30]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:35:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:30]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:30]
fimgstat clobber=Y infile=intermediate/pnEvents-epn-14-SFBLC_image-U01400000080000.fits max=0 mean=0 min=0 mode=ql num=0 \
outfile=/scratch/225361.1.all.q/D86GIdeDvK rms=0 sum=0 threshlo=INDEF threshup=INDEF xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:35:30]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:35:30] Task Run Time fimgstat 0.0206558704376221s
#
# # [INFO] [2024-11-30T23:35:30] Running eboxdetect in local mode on EPIC PN, exposure U014...
# [COMMAND] [2024-11-30T23:35:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:30]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:30]
eboxdetect boxlistset=intermediate/pnEvents-epn-14-SFBLC_box-local_source_list-U01400000080000.fits boxsize=5 \
detmasksets=intermediate/pnEvents-epn-14-SFBLC_detmask-U01400000080000.fits ecf=1.0 \
expimagesets=intermediate/pnEvents-epn-14-SFBLC_non-vig_exposure_map-U01400000080000.fits \
imagesets=intermediate/pnEvents-epn-14-SFBLC_image-U01400000080000.fits likemin=5 nruns=1 pimax=7500 pimin=500 usemap=false \
withdetmask=true -w 10
# # [OUTPUT] [2024-11-30T23:35:32] ** eboxdetect: warning (NoPSFcorrection), Input images are in detector coordinates. Counts and\
#     fluxes in the output source list will not be corrected for PSF losses. 
# # [INFO] [2024-11-30T23:35:32] Task Run Time eboxdetect 1.52940583229065s
#
# [COMMAND] [2024-11-30T23:35:32]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:35:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:32]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:32]
fselect expr="(RATE <= 0.35)" infile=intermediate/pnEvents-epn-14-SFBLC_box-local_source_list-U01400000080000.fits \
outfile=intermediate/pnEvents-epn-14-SFBLC_box-local_source_list_faint_subset-U01400000080000.fits
# # [OUTPUT] [2024-11-30T23:35:32]
# # [INFO] [2024-11-30T23:35:32] Task Run Time fselect 0.0632200241088867s
#
# [COMMAND] [2024-11-30T23:35:32]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:35:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:32]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:32]
fselect expr="(RATE > 0.35)" infile=intermediate/pnEvents-epn-14-SFBLC_box-local_source_list-U01400000080000.fits \
outfile=intermediate/pnEvents-epn-14-SFBLC_box-local_source_list_bright_subset-U01400000080000.fits
# # [OUTPUT] [2024-11-30T23:35:32]
# # [INFO] [2024-11-30T23:35:32] Task Run Time fselect 0.0534369945526123s
#
# [COMMAND] [2024-11-30T23:35:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:32]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:32]
region bkgregionset=intermediate/pnEvents-epn-14-SFBLC_reg_faint-U01400000080000.fits:REGION \
eventset=product/P0118700401PNU014PIEVLI0000.FIT:EVENTS expression="(ID_BAND == 1 && ID_INST == 1 && LIKE >= 50 && BOX_CTS > 0)" \
fixedradius=60 operationstyle=global outunit=detxy \
srclisttab=intermediate/pnEvents-epn-14-SFBLC_box-local_source_list_faint_subset-U01400000080000.fits \
tempset=intermediate/pnEvents-epn-14-SFBLC_temp_file-U01400000080000.fits -w 10
# # [OUTPUT] [2024-11-30T23:35:32] ** region: warning (missingBlockName), ssclib:splitSetTabName: No colon+block name was found\
#     after the set name. I'm going to assume that you meant to access the first block in the set. If that's what you wanted, then\
#     there is no cause for alarm.
# ** region: warning (noSourcesSelected), No sources passed the specified filtering expression. 
# # [INFO] [2024-11-30T23:35:32] Task Run Time region 0.466304063796997s
#
# [COMMAND] [2024-11-30T23:35:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:32]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:32]
region bkgregionset=intermediate/pnEvents-epn-14-SFBLC_reg_bright-U01400000080000.fits:REGION \
eventset=product/P0118700401PNU014PIEVLI0000.FIT:EVENTS expression="(ID_BAND == 1 && ID_INST == 1 && LIKE >= 50 && BOX_CTS > 0)" \
fixedradius=100 operationstyle=global outunit=detxy \
srclisttab=intermediate/pnEvents-epn-14-SFBLC_box-local_source_list_bright_subset-U01400000080000.fits \
tempset=intermediate/pnEvents-epn-14-SFBLC_temp_file-U01400000080000.fits -w 10
# # [OUTPUT] [2024-11-30T23:35:33] ** region: warning (missingBlockName), ssclib:splitSetTabName: No colon+block name was found\
#     after the set name. I'm going to assume that you meant to access the first block in the set. If that's what you wanted, then\
#     there is no cause for alarm. 
# # [INFO] [2024-11-30T23:35:33] Task Run Time region 0.484740972518921s
#
# [COMMAND] [2024-11-30T23:35:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:33]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:33]
evselect expression="(RAWY > 12) && GTI(intermediate/pnEvents-epn-14-flare_GTI-U01400000000000.fits, TIME) && \
GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && (( PATTERN <= 4 && PI in (500:1000] && (FLAG & \
0x2fa002c) == 0) || (PATTERN<=4 && PI in (1000:7500] && (FLAG & 0x2fa0024) == 0)) && \
(region(intermediate/pnEvents-epn-14-SFBLC_reg_faint-U01400000080000.fits,DETX,DETY) && \
region(intermediate/pnEvents-epn-14-SFBLC_reg_bright-U01400000080000.fits,DETX,DETY))" imagebinning=binSize imagedatatype=Int32 \
imageset=intermediate/pnEvents-epn-14-SFBLC_temp_evaluation_image-U01400000080000.fits keepfilteroutput=false \
table=product/P0118700401PNU014PIEVLI0000.FIT updateexposure=true withimagedatatype=true withimageset=Y writedss=true xcolumn=DETX \
ximagebinsize=80 ycolumn=DETY yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:35:35] ** evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-SFBLC_reg_faint-U01400000080000.fits' is empty - filtering will have no effect
# ** evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot write data\
#     subspace.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block REGION already exists in output data set.\
#     Renaming block to REG00001.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (NoWCS), No WCS information available for image column DETX.
# ** evselect: warning (NoWCS), No WCS information available for image column DETY.
# ** evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot write data\
#     subspace.
# ** evselect: warning (SummaryOfWarnings), 
# warning ExpBadDssGlobal silently occurred 2 times 
# # [INFO] [2024-11-30T23:35:35] Task Run Time evselect 1.67037081718445s
#
# [COMMAND] [2024-11-30T23:35:35]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:35:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:35]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:35]
fmerge columns=SHAPE,DETX,DETY,R,ROTANG,COMPONENT copyprime=Y history=Y \
infiles="intermediate/pnEvents-epn-14-SFBLC_reg_bright-U01400000080000.fits \
intermediate/pnEvents-epn-14-SFBLC_reg_faint-U01400000080000.fits" mextname=REGION \
outfile=intermediate/pnEvents-epn-14-SFBLC_reg_merged-U01400000080000.fits
# # [OUTPUT] [2024-11-30T23:35:35]
# # [INFO] [2024-11-30T23:35:35] Task Run Time fmerge 0.0409879684448242s
#
# [COMMAND] [2024-11-30T23:35:35]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:35:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:35]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:35]
fparkey add=Y fitsfile="intermediate/pnEvents-epn-14-SFBLC_reg_merged-U01400000080000.fits[REGION]" keyword=MTYPE1 value=pos
# # [OUTPUT] [2024-11-30T23:35:35]
# # [INFO] [2024-11-30T23:35:35] Task Run Time fparkey 0.0654888153076172s
#
# [COMMAND] [2024-11-30T23:35:35]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:35:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:35]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:35]
fparkey add=Y fitsfile="intermediate/pnEvents-epn-14-SFBLC_reg_merged-U01400000080000.fits[REGION]" keyword=MFORM1 value=DETX,DETY
# # [OUTPUT] [2024-11-30T23:35:35]
# # [INFO] [2024-11-30T23:35:35] Task Run Time fparkey 0.0221841335296631s
#
# # [INFO] [2024-11-30T23:35:35] DEBUG - intermediate/pnEvents-epn-14-SFBLC_reg_merged-U01400000080000.fits has 1 rows
# [COMMAND] [2024-11-30T23:35:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:35]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:35]
regionmask maskset=intermediate/pnEvents-epn-14-SFBLC_non-vig_exposure_map_reg_mask-U01400000080000.fits \
pixdefset=intermediate/pnEvents-epn-14-SFBLC_non-vig_exposure_map-U01400000080000.fits \
region="intermediate/pnEvents-epn-14-SFBLC_reg_merged-U01400000080000.fits[REGION]" whichpixdef=image withmaskset=Y -w 10
# # [OUTPUT] [2024-11-30T23:35:35]
# # [INFO] [2024-11-30T23:35:35] Task Run Time regionmask 0.0475189685821533s
#
# [COMMAND] [2024-11-30T23:35:35]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:35:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:35]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:35]
farith infil1=intermediate/pnEvents-epn-14-SFBLC_non-vig_exposure_map_reg_mask-U01400000080000.fits \
infil2="intermediate/pnEvents-epn-14-SFBLC_detmask-U01400000080000.fits[MASK]" ops=MUL \
outfil=intermediate/pnEvents-epn-14-SFBLC_det_mask_arith-U01400000080000.fits
# # [OUTPUT] [2024-11-30T23:35:35]
# # [INFO] [2024-11-30T23:35:35] Task Run Time farith 0.0381650924682617s
#
# # [INFO] [2024-11-30T23:35:35] Creating source-free in band light curve for PN
# [COMMAND] [2024-11-30T23:35:35]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:35:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:35]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:35]
fimgstat clobber=Y infile=intermediate/pnEvents-epn-14-SFBLC_det_mask_arith-U01400000080000.fits max=0 mean=0 min=0 mode=ql num=0 \
outfile=/scratch/225361.1.all.q/6b6_TEC3QS rms=0 sum=0 threshlo=INDEF threshup=INDEF xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:35:35]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:35:35] Task Run Time fimgstat 0.02634596824646s
#
# # [INFO] [2024-11-30T23:35:35] DEBUG - SFBLCBackScal = 846566400
# [COMMAND] [2024-11-30T23:35:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:35]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:35]
evselect expression="((CCDNR==1 && GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01401000100000.fits,TIME)) || (CCDNR==2 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01402000100000.fits,TIME)) || (CCDNR==3 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01403000100000.fits,TIME)) || (CCDNR==4 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01404000100000.fits,TIME)) || (CCDNR==5 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01405000100000.fits,TIME)) || (CCDNR==6 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01406000100000.fits,TIME)) || (CCDNR==7 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01407000100000.fits,TIME)) || (CCDNR==8 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01408000100000.fits,TIME)) || (CCDNR==9 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01409000100000.fits,TIME)) || (CCDNR==10 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01410000100000.fits,TIME)) || (CCDNR==11 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01411000100000.fits,TIME)) || (CCDNR==12 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01412000100000.fits,TIME))) && ((CCDNR==1 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01401000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==2 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01402000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==3 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01403000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==4 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01404000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==5 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01405000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==6 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01406000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==7 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01407000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==8 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01408000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==9 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01409000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==10 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01410000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==11 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01411000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==12 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01412000000000.fits,0,0,RAWX,RAWY))) && (PATTERN <=4) && (PI IN [500:7500]) && \
((FLAG & 0xfffffef) == 0) && (region(intermediate/pnEvents-epn-14-SFBLC_reg_merged-U01400000080000.fits,DETX,DETY))" \
imagebinning=binSize imageset=intermediate/pnEvents-epn-14-SFBLC_source_free_image-U01400000000000.fits makeratecolumn=Y \
maketimecolumn=Y rateset=product/P0118700401PNU014FBKTSR0000.FIT table=product/P0118700401PNU014PIEVLI0000.FIT timebinsize=10 \
updateexposure=N withimageset=Y withrateset=Y writedss=Y xcolumn=DETX ximagebinsize=80 ycolumn=DETY yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:35:38] ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already\
#     exists in output data set. Renaming block to BLK00201.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00301.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00401.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00501.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00601.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00701.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00801.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00901.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK01001.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK01101.
# ** evselect: warning (NoWCS), No WCS information available for image column DETX.
# ** evselect: warning (NoWCS), No WCS information available for image column DETY.
# ** evselect: warning (SummaryOfWarnings), 
# warning DssBlockClash silently occurred 1 times 
# # [INFO] [2024-11-30T23:35:38] Task Run Time evselect 2.77870893478394s
#
# [COMMAND] [2024-11-30T23:35:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:35:38]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:35:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:35:38]
epiclccorr allcamera=Y applyabsolutecorrections=N eventlist=product/P0118700401PNU014PIEVLI0000.FIT \
outset=intermediate/pnEvents-epn-14-Copy_EPIC_flare_background_timeseries-U01400000000000.fits \
srctslist=product/P0118700401PNU014FBKTSR0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:36:21] ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is\
#     0-20479. Detector matrices can not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (SummaryOfWarnings), 
# warning CCDs Count Difference silently occurred 8 times 
# # [INFO] [2024-11-30T23:36:21] Task Run Time epiclccorr 43.5445430278778s
#
# [COMMAND] [2024-11-30T23:36:21]
cp \
/scratch/225361.1.all.q/xmm/ppsprod/228507/intermediate/pnEvents-epn-14-Copy_EPIC_flare_background_timeseries-U01400000000000.fits \
/scratch/225361.1.all.q/xmm/ppsprod/228507/product/P0118700401PNU014FBKTSR0000.FIT
# # [INFO] [2024-11-30T23:36:21] System RV 0
# [COMMAND] [2024-11-30T23:36:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:36:21]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:36:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:36:21]
addattribute attributecomment="\"Backscale for flaring filtering\"" attributename=BACKSCAL attributetype=real realvalue=846566400 \
set=product/P0118700401PNU014FBKTSR0000.FIT:RATE -w 10
# # [OUTPUT] [2024-11-30T23:36:21]
# # [INFO] [2024-11-30T23:36:21] Task Run Time addattribute 0.0395541191101074s
#
# # [INFO] [2024-11-30T23:36:21] Adding column for T_ELAPSED, using observation start time 6.80843854326953E+07
# [COMMAND] [2024-11-30T23:36:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:36:21]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:36:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:36:21]
tabcalc column=T_ELAPSED columntype=real64 expression=TIME-6.80843854326953E+07 tables=product/P0118700401PNU014FBKTSR0000.FIT:RATE \
-w 10
# # [OUTPUT] [2024-11-30T23:36:21]
# # [INFO] [2024-11-30T23:36:21] Task Run Time tabcalc 0.0417499542236328s
#
# # [INFO] [2024-11-30T23:36:21] CMD: bkgoptrate -V 0 -w 0 tssettabname=product/P0118700401PNU014FBKTSR0000.FIT:RATE\
#     dooutputsntab=yes ignorelowcnttail=yes\
#     snsettabname=intermediate/pnEvents-epn-14-Flare_GTI_SN_diagnostic-U01400000080000.fits:SN_TO_BKGCUT
# # [INFO] [2024-11-30T23:36:21] bkgoptrate returns optimum cut threshold: 1.41180229E+01 
# [COMMAND] [2024-11-30T23:36:21]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:36:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:36:21]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:36:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:36:21]
ftappend infile="intermediate/pnEvents-epn-14-Flare_GTI_SN_diagnostic-U01400000080000.fits[SN_TO_BKGCUT]" \
outfile=product/P0118700401PNU014FBKTSR0000.FIT
# # [OUTPUT] [2024-11-30T23:36:21]
# # [INFO] [2024-11-30T23:36:21] Task Run Time ftappend 0.0286490917205811s
#
# [COMMAND] [2024-11-30T23:36:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:36:21]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:36:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:36:21]
addattribute attributecomment="\"Optimised flare cut threshold\"" attributename=FLCUTTHR attributetype=real \
realvalue="1.41180229E+01" set=product/P0118700401PNU014FBKTSR0000.FIT:RATE -w 10
# # [OUTPUT] [2024-11-30T23:36:21]
# # [INFO] [2024-11-30T23:36:21] Task Run Time addattribute 0.0497159957885742s
#
# # [INFO] [2024-11-30T23:36:21] Creating GTI files with this threshold
# [COMMAND] [2024-11-30T23:36:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:36:21]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:36:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:36:21]
tabgtigen expression="RATE < 1.41180229E+01" gtiset=intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits \
mingtisize=100 table=product/P0118700401PNU014FBKTSR0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:36:22]
# # [INFO] [2024-11-30T23:36:22] Task Run Time tabgtigen 0.0700790882110596s
#
# # [INFO] [2024-11-30T23:36:22] Make full in-band, source-free light curve plots
# # [INFO] [2024-11-30T23:36:22] DEBUG - doCommand fullcmd : plotFlrBkgTimeSeries.py\
#     --pdfplotfile=product/P0118700401PNU014FBKTSR0000.PDF --plotfile=product/P0118700401PNU014FBKTSR0000.PNG --plotformat=both\
#     --rateset=product/P0118700401PNU014FBKTSR0000.FIT
# [COMMAND] [2024-11-30T23:36:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:36:22]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:36:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:36:22]
plotFlrBkgTimeSeries.py --pdfplotfile=product/P0118700401PNU014FBKTSR0000.PDF --plotfile=product/P0118700401PNU014FBKTSR0000.PNG \
--plotformat=both --rateset=product/P0118700401PNU014FBKTSR0000.FIT
# # [OUTPUT] [2024-11-30T23:36:24] Saving files : product/P0118700401PNU014FBKTSR0000.PNG and\
#     product/P0118700401PNU014FBKTSR0000.PDF 
# # [INFO] [2024-11-30T23:36:24] Task Run Time plotFlrBkgTimeSeries.py 2.12030911445618s
#
# # [INFO] [2024-11-30T23:36:24] TESTING: Recreating light curves with only valid GTIs and regions left in
# [COMMAND] [2024-11-30T23:36:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:36:24]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:36:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:36:24]
evselect expression="((CCDNR==1 && GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01401000100000.fits,TIME)) || (CCDNR==2 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01402000100000.fits,TIME)) || (CCDNR==3 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01403000100000.fits,TIME)) || (CCDNR==4 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01404000100000.fits,TIME)) || (CCDNR==5 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01405000100000.fits,TIME)) || (CCDNR==6 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01406000100000.fits,TIME)) || (CCDNR==7 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01407000100000.fits,TIME)) || (CCDNR==8 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01408000100000.fits,TIME)) || (CCDNR==9 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01409000100000.fits,TIME)) || (CCDNR==10 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01410000100000.fits,TIME)) || (CCDNR==11 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01411000100000.fits,TIME)) || (CCDNR==12 && \
GTI(intermediate/pnEvents-epn-14-CCD_GTI-U01412000100000.fits,TIME))) && ((CCDNR==1 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01401000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==2 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01402000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==3 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01403000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==4 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01404000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==5 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01405000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==6 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01406000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==7 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01407000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==8 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01408000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==9 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01409000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==10 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01410000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==11 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01411000000000.fits,0,0,RAWX,RAWY)) || (CCDNR==12 && \
MASK(intermediate/pnEvents-epn-14-Bright_pixels_mask-U01412000000000.fits,0,0,RAWX,RAWY))) && (PATTERN <=4) && \
GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && (PI in [500:7500]) && ((FLAG & 0xfffffef) == 0) && \
region(intermediate/pnEvents-epn-14-SFBLC_reg_faint-U01400000080000.fits,DETX,DETY) && \
region(intermediate/pnEvents-epn-14-SFBLC_reg_bright-U01400000080000.fits,DETX,DETY) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits, TIME)" makeratecolumn=Y maketimecolumn=Y \
rateset=intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits \
table=product/P0118700401PNU014PIEVLI0000.FIT timebinsize=10 updateexposure=N withrateset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:36:26] ** evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-SFBLC_reg_faint-U01400000080000.fits' is empty - filtering will have no effect
# ** evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot write data\
#     subspace.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block REGION already exists in output data set.\
#     Renaming block to REG00001.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00201.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00301.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00401.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00501.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00601.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00701.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00801.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK00901.
# ** evselect: warning (DssBlockClash), Name clash while writing Data Subspace: Block MASK already exists in output data set.\
#     Renaming block to BLK01001.
# ** evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot write data\
#     subspace.
# ** evselect: warning (SummaryOfWarnings), 
# warning DssBlockClash silently occurred 2 times 
# # [INFO] [2024-11-30T23:36:26] Task Run Time evselect 2.37018489837646s
#
# [COMMAND] [2024-11-30T23:36:26]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:36:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:36:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:36:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:36:26]
fstatistic colname=RATE infile=intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits \
outfile=/scratch/225361.1.all.q/CYzBtHoU1a rows=-
# # [OUTPUT] [2024-11-30T23:36:26]
# # [INFO] [2024-11-30T23:36:26] Task Run Time fstatistic 0.0268089771270752s
#
# [COMMAND] [2024-11-30T23:36:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:36:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:36:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:36:26]
epiclccorr allcamera=Y applyabsolutecorrections=N eventlist=product/P0118700401PNU014PIEVLI0000.FIT \
outset=intermediate/pnEvents-epn-14-Copy_optimised_flare_bkg_time_series-U01400000080000.fits \
srctslist=intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits -w 10
# # [OUTPUT] [2024-11-30T23:37:10] ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (SummaryOfWarnings), 
# warning EmptyRegionTable silently occurred 2 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (SummaryOfWarnings), 
# warning EmptyRegionTable silently occurred 2 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (SummaryOfWarnings), 
# warning EmptyRegionTable silently occurred 2 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (SummaryOfWarnings), 
# warning EmptyRegionTable silently occurred 2 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (SummaryOfWarnings), 
# warning EmptyRegionTable silently occurred 2 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (SummaryOfWarnings), 
# warning EmptyRegionTable silently occurred 2 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (SummaryOfWarnings), 
# warning EmptyRegionTable silently occurred 2 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (SummaryOfWarnings), 
# warning EmptyRegionTable silently occurred 2 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (SummaryOfWarnings), 
# warning EmptyRegionTable silently occurred 2 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (SummaryOfWarnings), 
# warning EmptyRegionTable silently occurred 2 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (SummaryOfWarnings), 
# warning EmptyRegionTable silently occurred 2 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for PN is 0-20479. Detector matrices can not\
#     be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot\
#     write data subspace.
# ** epiclccorr::evselect: warning (SummaryOfWarnings), 
# warning EmptyRegionTable silently occurred 2 times
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (CCDs Count Difference), A difference in the sum of the counts of single CCDs with respect to the counts of\
#     the original light curve has been found. 
# ** epiclccorr: warning (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot write data\
#     subspace.
# ** epiclccorr: warning (SummaryOfWarnings), 
# warning EmptyRegionTable silently occurred 2 times 
# # [INFO] [2024-11-30T23:37:10] Task Run Time epiclccorr 44.3788809776306s
#
# [COMMAND] [2024-11-30T23:37:10]
cp /scratch/225361.1.all.q/xmm/ppsprod/228507/intermediate/pnEvents-epn-14-Copy_optimised_flare_bkg_time_series-U01400000080000.fits \
/scratch/225361.1.all.q/xmm/ppsprod/228507/intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits
# # [INFO] [2024-11-30T23:37:10] System RV 0
# [COMMAND] [2024-11-30T23:37:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:10]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:10]
tabcalc column=T_ELAPSED columntype=real64 expression=TIME-6.80843854326953E+07 \
tables=intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:37:10]
# # [INFO] [2024-11-30T23:37:10] Task Run Time tabcalc 0.0340478420257568s
#
# [COMMAND] [2024-11-30T23:37:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:10]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:10]
addattribute attributecomment="\"Optimised flare cut threshold\"" attributename=FLCUTTHR attributetype=real \
realvalue="1.41180229E+01" set=intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:37:11]
# # [INFO] [2024-11-30T23:37:11] Task Run Time addattribute 0.0430209636688232s
#
# # [INFO] [2024-11-30T23:37:11] DEBUG - doCommand fullcmd : plotFlrBkgTimeSeries.py\
#     --pdfplotfile=intermediate/pnEvents-epn-14-Opt_in-band_source-free_light_curve-U01400000080000.pdf --plotformat=pdf\
#     --rateset=intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits
# [COMMAND] [2024-11-30T23:37:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:11]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:11]
plotFlrBkgTimeSeries.py --pdfplotfile=intermediate/pnEvents-epn-14-Opt_in-band_source-free_light_curve-U01400000080000.pdf \
--plotformat=pdf --rateset=intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits
# # [OUTPUT] [2024-11-30T23:37:12] Rate file intermediate/pnEvents-epn-14-Optimised_flare_bkg_time_series-U01400000080000.fits does\
#     not have SN_TO_BKGCUT extension
# Saving file : intermediate/pnEvents-epn-14-Opt_in-band_source-free_light_curve-U01400000080000.pdf 
# # [INFO] [2024-11-30T23:37:12] Task Run Time plotFlrBkgTimeSeries.py 1.57879590988159s
#
# # [INFO] [2024-11-30T23:37:12] Module name: pnTimingProducts
# # [INFO] [2024-11-30T23:37:12] Instrument: epn
# # [INFO] [2024-11-30T23:37:12] Stream no.: 0014
# # [INFO] [2024-11-30T23:37:12] Module version number: 0.20
# # [INFO] [2024-11-30T23:37:12] Exposure ID: U014
# # [INFO] [2024-11-30T23:37:12] Filter: Thick
# # [INFO] [2024-11-30T23:37:12] Instrument mode: PrimeFullWindowLowGain
# # [INFO] [2024-11-30T23:37:12] Module name: EPICImageSize
# # [INFO] [2024-11-30T23:37:12] Instrument: epic
# # [INFO] [2024-11-30T23:37:12] Stream no.: 0001
# # [INFO] [2024-11-30T23:37:12] Module version number: 0.09
# # [INFO] [2024-11-30T23:37:12] global Attitude GTI File: intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits
# # [INFO] [2024-11-30T23:37:12] X,Y NULL values: -99999999 , -99999999 
# # [INFO] [2024-11-30T23:37:12] Initial: 15615 15615 20581 20581
# # [INFO] [2024-11-30T23:37:13] First pass product/P0118700401PNU014PIEVLI0000.FIT: xmin=4558 xmax=49412 ymin=6117 ymax=50994
# # [INFO] [2024-11-30T23:37:13] First pass product/P0118700401PNU014PIEVLI0000.FIT: tmin6=1 tmax6=51840 tmin7=1 tmax7=51840
# # [INFO] [2024-11-30T23:37:13] Current max ranges: 1 51840 1 51840
# # [INFO] [2024-11-30T23:37:13] Full set of EPIC events encompassed by TLMIN6=1 TLMAX6=51840 TLMIN7=1 TLMAX7=51840
# # [INFO] [2024-11-30T23:37:13] Writing TLMIN/MAX{6,7} to product/P0118700401PNU014PIEVLI0000.FIT. TLMIN6=1 TLMAX6=51840 TLMIN7=1\
#     TLMAX7=51840
# # [INFO] [2024-11-30T23:37:13] Writing TLMIN/MAX{6,7} to\
#     intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_FWC_event_list-U01400000000000.fits. TLMIN6=1 TLMAX6=51840 TLMIN7=1\
#     TLMAX7=51840
# # [INFO] [2024-11-30T23:37:13] Writing TLMIN/MAX{6,7} to\
#     intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_OOT_event_list-U01400000000000.fits. TLMIN6=1 TLMAX6=51840 TLMIN7=1\
#     TLMAX7=51840
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos1
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0003
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos1
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0004
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos1
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0005
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos1
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0006
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos1
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0007
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos1
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0008
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos2
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0001
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos2
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0002
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos2
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0003
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos2
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0004
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos2
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0005
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos2
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0006
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos2
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0007
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos2
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0008
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos1
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0001
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:37:13] Instrument: emos1
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0002
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.22
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:13] Instrument: epn
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0003
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:13] Instrument: epn
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0004
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:13] Instrument: epn
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0005
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:13] Instrument: epn
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0006
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:13] Instrument: epn
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0007
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:13] Instrument: epn
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0008
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:13] Instrument: epn
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0009
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:13] Instrument: epn
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0010
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:13] Instrument: epn
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0011
# # [INFO] [2024-11-30T23:37:13] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:13] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:13] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:13] Instrument: epn
# # [INFO] [2024-11-30T23:37:13] Stream no.: 0012
# # [INFO] [2024-11-30T23:37:14] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:14] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:14] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:14] Instrument: epn
# # [INFO] [2024-11-30T23:37:14] Stream no.: 0013
# # [INFO] [2024-11-30T23:37:14] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:14] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:14] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:14] Instrument: epn
# # [INFO] [2024-11-30T23:37:14] Stream no.: 0014
# # [INFO] [2024-11-30T23:37:14] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:14] GTI total time interval threshold is 1000.
# # [INFO] [2024-11-30T23:37:14] Flare screening GTI total time interval is 9.40000000000000E+03 /s.
# # [INFO] [2024-11-30T23:37:14] Band: 1
# # [INFO] [2024-11-30T23:37:14] locexpr = PATTERN==0
# # [INFO] [2024-11-30T23:37:14] locexpr = PI in (200:500]
# # [INFO] [2024-11-30T23:37:14] locexpr = (FLAG & 0x2fb002c)==0
# [COMMAND] [2024-11-30T23:37:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:14]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:14]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN==0 && PI in (200:500] && (FLAG & \
0x2fb002c)==0" imagebinning=binSize imagedatatype=Real32 \
imageset=intermediate/MakePNImage-epn-14-EPIC_FWC_image-U01400000010000.fits keepfilteroutput=N \
table=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_FWC_event_list-U01400000000000.fits:EVENTS updateexposure=true \
withfilteredset=N withimagedatatype=true withimageset=Y withzcolumn=Y writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 zcolumn=EWEIGHT -w 10
# # [OUTPUT] [2024-11-30T23:37:15]
# # [INFO] [2024-11-30T23:37:15] Task Run Time evselect 1.42679119110107s
#
# [COMMAND] [2024-11-30T23:37:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:15]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:15]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN==0 && PI in (200:500] && (FLAG & \
0x2fb002c)==0" imagebinning=binSize imagedatatype=Real32 \
imageset=intermediate/MakePNImage-epn-14-EPIC_OOT_image-U01400000010000.fits keepfilteroutput=N \
table=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_OOT_event_list-U01400000000000.fits:EVENTS updateexposure=true \
withfilteredset=N withimagedatatype=true withimageset=Y withzcolumn=N writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:37:16]
# # [INFO] [2024-11-30T23:37:16] Task Run Time evselect 1.28774309158325s
#
# [COMMAND] [2024-11-30T23:37:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:16]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:16]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN==0 && PI in (200:500] && (FLAG & \
0x2fb002c)==0" filteredset=intermediate/MakePNImage-epn-14-image_event_list-U01400000010000.fits imagebinning=binSize \
imagedatatype=Int32 imageset=product/P0118700401PNU014IMAGE_1000.FIT keepfilteroutput=Y \
table=product/P0118700401PNU014PIEVLI0000.FIT:EVENTS updateexposure=true withfilteredset=Y withimagedatatype=true withimageset=Y \
writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:37:18]
# # [INFO] [2024-11-30T23:37:18] Task Run Time evselect 1.40585684776306s
#
# [COMMAND] [2024-11-30T23:37:18]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:37:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:18]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:18]
fimgstat clobber=Y infile=product/P0118700401PNU014IMAGE_1000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakePNImage-epn-14-Filtered_image_statistics-U01400000010000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:37:18]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:37:18] Task Run Time fimgstat 0.0503909587860107s
#
# [COMMAND] [2024-11-30T23:37:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:18]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:18]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0118700401PNU014IMAGE_1000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:37:18]
# # [INFO] [2024-11-30T23:37:18] Task Run Time addattribute 0.139029026031494s
#
# # [INFO] [2024-11-30T23:37:18] Band: 2
# # [INFO] [2024-11-30T23:37:18] locexpr = PATTERN<=4
# # [INFO] [2024-11-30T23:37:18] locexpr = PI in (500:1000]
# # [INFO] [2024-11-30T23:37:18] locexpr = (FLAG & 0x2fb002c)==0
# [COMMAND] [2024-11-30T23:37:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:18]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:18]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN<=4 && PI in (500:1000] && (FLAG & \
0x2fb002c)==0" imagebinning=binSize imagedatatype=Real32 \
imageset=intermediate/MakePNImage-epn-14-EPIC_FWC_image-U01400000020000.fits keepfilteroutput=N \
table=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_FWC_event_list-U01400000000000.fits:EVENTS updateexposure=true \
withfilteredset=N withimagedatatype=true withimageset=Y withzcolumn=Y writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 zcolumn=EWEIGHT -w 10
# # [OUTPUT] [2024-11-30T23:37:19]
# # [INFO] [2024-11-30T23:37:19] Task Run Time evselect 1.37409090995789s
#
# [COMMAND] [2024-11-30T23:37:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:19]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:19]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN<=4 && PI in (500:1000] && (FLAG & \
0x2fb002c)==0" imagebinning=binSize imagedatatype=Real32 \
imageset=intermediate/MakePNImage-epn-14-EPIC_OOT_image-U01400000020000.fits keepfilteroutput=N \
table=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_OOT_event_list-U01400000000000.fits:EVENTS updateexposure=true \
withfilteredset=N withimagedatatype=true withimageset=Y withzcolumn=N writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:37:21]
# # [INFO] [2024-11-30T23:37:21] Task Run Time evselect 1.25584101676941s
#
# [COMMAND] [2024-11-30T23:37:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:21]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:21]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN<=4 && PI in (500:1000] && (FLAG & \
0x2fb002c)==0" filteredset=intermediate/MakePNImage-epn-14-image_event_list-U01400000020000.fits imagebinning=binSize \
imagedatatype=Int32 imageset=product/P0118700401PNU014IMAGE_2000.FIT keepfilteroutput=Y \
table=product/P0118700401PNU014PIEVLI0000.FIT:EVENTS updateexposure=true withfilteredset=Y withimagedatatype=true withimageset=Y \
writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:37:22]
# # [INFO] [2024-11-30T23:37:22] Task Run Time evselect 1.22120499610901s
#
# [COMMAND] [2024-11-30T23:37:22]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:37:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:22]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:22]
fimgstat clobber=Y infile=product/P0118700401PNU014IMAGE_2000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakePNImage-epn-14-Filtered_image_statistics-U01400000020000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:37:22]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:37:22] Task Run Time fimgstat 0.0248050689697266s
#
# [COMMAND] [2024-11-30T23:37:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:22]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:22]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0118700401PNU014IMAGE_2000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:37:22]
# # [INFO] [2024-11-30T23:37:22] Task Run Time addattribute 0.0897719860076904s
#
# # [INFO] [2024-11-30T23:37:22] Band: 3
# # [INFO] [2024-11-30T23:37:22] locexpr = PATTERN<=4
# # [INFO] [2024-11-30T23:37:22] locexpr = PI in (1000:2000]
# # [INFO] [2024-11-30T23:37:22] locexpr = (FLAG & 0x2fb0024)==0
# [COMMAND] [2024-11-30T23:37:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:22]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:22]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN<=4 && PI in (1000:2000] && (FLAG & \
0x2fb0024)==0" imagebinning=binSize imagedatatype=Real32 \
imageset=intermediate/MakePNImage-epn-14-EPIC_FWC_image-U01400000030000.fits keepfilteroutput=N \
table=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_FWC_event_list-U01400000000000.fits:EVENTS updateexposure=true \
withfilteredset=N withimagedatatype=true withimageset=Y withzcolumn=Y writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 zcolumn=EWEIGHT -w 10
# # [OUTPUT] [2024-11-30T23:37:23]
# # [INFO] [2024-11-30T23:37:23] Task Run Time evselect 1.21051096916199s
#
# [COMMAND] [2024-11-30T23:37:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:23]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:23]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN<=4 && PI in (1000:2000] && (FLAG & \
0x2fb0024)==0" imagebinning=binSize imagedatatype=Real32 \
imageset=intermediate/MakePNImage-epn-14-EPIC_OOT_image-U01400000030000.fits keepfilteroutput=N \
table=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_OOT_event_list-U01400000000000.fits:EVENTS updateexposure=true \
withfilteredset=N withimagedatatype=true withimageset=Y withzcolumn=N writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:37:24]
# # [INFO] [2024-11-30T23:37:24] Task Run Time evselect 1.23759794235229s
#
# [COMMAND] [2024-11-30T23:37:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:24]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:24]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN<=4 && PI in (1000:2000] && (FLAG & \
0x2fb0024)==0" filteredset=intermediate/MakePNImage-epn-14-image_event_list-U01400000030000.fits imagebinning=binSize \
imagedatatype=Int32 imageset=product/P0118700401PNU014IMAGE_3000.FIT keepfilteroutput=Y \
table=product/P0118700401PNU014PIEVLI0000.FIT:EVENTS updateexposure=true withfilteredset=Y withimagedatatype=true withimageset=Y \
writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:37:26]
# # [INFO] [2024-11-30T23:37:26] Task Run Time evselect 1.18275499343872s
#
# [COMMAND] [2024-11-30T23:37:26]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:37:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:26]
fimgstat clobber=Y infile=product/P0118700401PNU014IMAGE_3000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakePNImage-epn-14-Filtered_image_statistics-U01400000030000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:37:26]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:37:26] Task Run Time fimgstat 0.0291180610656738s
#
# [COMMAND] [2024-11-30T23:37:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:26]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0118700401PNU014IMAGE_3000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:37:26]
# # [INFO] [2024-11-30T23:37:26] Task Run Time addattribute 0.100878953933716s
#
# # [INFO] [2024-11-30T23:37:26] Band: 4
# # [INFO] [2024-11-30T23:37:26] locexpr = PATTERN<=4
# # [INFO] [2024-11-30T23:37:26] locexpr = PI in (2000:4500]
# # [INFO] [2024-11-30T23:37:26] locexpr = (FLAG & 0x2fb0024)==0
# [COMMAND] [2024-11-30T23:37:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:26]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:26]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN<=4 && PI in (2000:4500] && (FLAG & \
0x2fb0024)==0" imagebinning=binSize imagedatatype=Real32 \
imageset=intermediate/MakePNImage-epn-14-EPIC_FWC_image-U01400000040000.fits keepfilteroutput=N \
table=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_FWC_event_list-U01400000000000.fits:EVENTS updateexposure=true \
withfilteredset=N withimagedatatype=true withimageset=Y withzcolumn=Y writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 zcolumn=EWEIGHT -w 10
# # [OUTPUT] [2024-11-30T23:37:27]
# # [INFO] [2024-11-30T23:37:27] Task Run Time evselect 1.23629999160767s
#
# [COMMAND] [2024-11-30T23:37:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:27]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:27]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN<=4 && PI in (2000:4500] && (FLAG & \
0x2fb0024)==0" imagebinning=binSize imagedatatype=Real32 \
imageset=intermediate/MakePNImage-epn-14-EPIC_OOT_image-U01400000040000.fits keepfilteroutput=N \
table=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_OOT_event_list-U01400000000000.fits:EVENTS updateexposure=true \
withfilteredset=N withimagedatatype=true withimageset=Y withzcolumn=N writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:37:28]
# # [INFO] [2024-11-30T23:37:28] Task Run Time evselect 1.28749394416809s
#
# [COMMAND] [2024-11-30T23:37:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:28]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:28]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN<=4 && PI in (2000:4500] && (FLAG & \
0x2fb0024)==0" filteredset=intermediate/MakePNImage-epn-14-image_event_list-U01400000040000.fits imagebinning=binSize \
imagedatatype=Int32 imageset=product/P0118700401PNU014IMAGE_4000.FIT keepfilteroutput=Y \
table=product/P0118700401PNU014PIEVLI0000.FIT:EVENTS updateexposure=true withfilteredset=Y withimagedatatype=true withimageset=Y \
writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:37:29]
# # [INFO] [2024-11-30T23:37:29] Task Run Time evselect 1.20027804374695s
#
# [COMMAND] [2024-11-30T23:37:29]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:37:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:29]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:29]
fimgstat clobber=Y infile=product/P0118700401PNU014IMAGE_4000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakePNImage-epn-14-Filtered_image_statistics-U01400000040000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:37:29]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:37:29] Task Run Time fimgstat 0.0465490818023682s
#
# [COMMAND] [2024-11-30T23:37:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:29]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:29]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0118700401PNU014IMAGE_4000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:37:30]
# # [INFO] [2024-11-30T23:37:30] Task Run Time addattribute 0.133306980133057s
#
# # [INFO] [2024-11-30T23:37:30] Band: 5
# # [INFO] [2024-11-30T23:37:30] locexpr = PATTERN<=4
# # [INFO] [2024-11-30T23:37:30] locexpr = (PI in (4500:7800] || PI in (8200:12000])
# # [INFO] [2024-11-30T23:37:30] locexpr = (FLAG & 0x2fb0024)==0
# [COMMAND] [2024-11-30T23:37:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:30]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:30]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN<=4 && (PI in (4500:7800] || PI in \
(8200:12000]) && (FLAG & 0x2fb0024)==0" imagebinning=binSize imagedatatype=Real32 \
imageset=intermediate/MakePNImage-epn-14-EPIC_FWC_image-U01400000050000.fits keepfilteroutput=N \
table=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_FWC_event_list-U01400000000000.fits:EVENTS updateexposure=true \
withfilteredset=N withimagedatatype=true withimageset=Y withzcolumn=Y writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 zcolumn=EWEIGHT -w 10
# # [OUTPUT] [2024-11-30T23:37:31] ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not\
#     allow for calculation of a uniform exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (SummaryOfWarnings), 
# warning ExpBadDssGlobal silently occurred 2 times 
# # [INFO] [2024-11-30T23:37:31] Task Run Time evselect 1.38933610916138s
#
# [COMMAND] [2024-11-30T23:37:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:31]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:31]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN<=4 && (PI in (4500:7800] || PI in \
(8200:12000]) && (FLAG & 0x2fb0024)==0" imagebinning=binSize imagedatatype=Real32 \
imageset=intermediate/MakePNImage-epn-14-EPIC_OOT_image-U01400000050000.fits keepfilteroutput=N \
table=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_OOT_event_list-U01400000000000.fits:EVENTS updateexposure=true \
withfilteredset=N withimagedatatype=true withimageset=Y withzcolumn=N writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:37:32] ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not\
#     allow for calculation of a uniform exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (SummaryOfWarnings), 
# warning ExpBadDssGlobal silently occurred 2 times 
# # [INFO] [2024-11-30T23:37:32] Task Run Time evselect 1.52387499809265s
#
# [COMMAND] [2024-11-30T23:37:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:32]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:32]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && PATTERN<=4 && (PI in (4500:7800] || PI in \
(8200:12000]) && (FLAG & 0x2fb0024)==0" filteredset=intermediate/MakePNImage-epn-14-image_event_list-U01400000050000.fits \
imagebinning=binSize imagedatatype=Int32 imageset=product/P0118700401PNU014IMAGE_5000.FIT keepfilteroutput=Y \
table=product/P0118700401PNU014PIEVLI0000.FIT:EVENTS updateexposure=true withfilteredset=Y withimagedatatype=true withimageset=Y \
writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:37:34] ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not\
#     allow for calculation of a uniform exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (SummaryOfWarnings), 
# warning ExpBadDssGlobal silently occurred 2 times 
# # [INFO] [2024-11-30T23:37:34] Task Run Time evselect 1.60508298873901s
#
# [COMMAND] [2024-11-30T23:37:34]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:37:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:34]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:34]
fimgstat clobber=Y infile=product/P0118700401PNU014IMAGE_5000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakePNImage-epn-14-Filtered_image_statistics-U01400000050000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:37:34]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:37:34] Task Run Time fimgstat 0.022946834564209s
#
# [COMMAND] [2024-11-30T23:37:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:34]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:34]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0118700401PNU014IMAGE_5000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:37:34]
# # [INFO] [2024-11-30T23:37:34] Task Run Time addattribute 0.145524024963379s
#
# # [INFO] [2024-11-30T23:37:34] Band: 8
# # [INFO] [2024-11-30T23:37:34] locexpr = ((PATTERN==0 && PI in (200:500] && (FLAG & 0x2fa002c)==0) || (PATTERN<=4 && PI in\
#     (500:1000] && (FLAG & 0x2fa002c)==0) || (PATTERN<=4 && PI in (1000:12000] && (FLAG & 0x2fa0024)==0))
# [COMMAND] [2024-11-30T23:37:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:34]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:34]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && ((PATTERN==0 && PI in (200:500] && (FLAG & \
0x2fa002c)==0) || (PATTERN<=4 && PI in (500:1000] && (FLAG & 0x2fa002c)==0) || (PATTERN<=4 && PI in (1000:12000] && (FLAG & \
0x2fa0024)==0))" filteredset=intermediate/MakePNImage-epn-14-FWC_image_event_list-U01400000080000.fits imagebinning=binSize \
imagedatatype=Real32 imageset=intermediate/MakePNImage-epn-14-EPIC_FWC_image-U01400000080000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_FWC_event_list-U01400000000000.fits:EVENTS updateexposure=true \
withfilteredset=Y withimagedatatype=true withimageset=Y withzcolumn=Y writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 zcolumn=EWEIGHT -w 10
# # [OUTPUT] [2024-11-30T23:37:36] ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not\
#     allow for calculation of a uniform exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (SummaryOfWarnings), 
# warning ExpBadDssGlobal silently occurred 2 times 
# # [INFO] [2024-11-30T23:37:36] Task Run Time evselect 2.04639601707458s
#
# [COMMAND] [2024-11-30T23:37:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:36]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:36]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && ((PATTERN==0 && PI in (200:500] && (FLAG & \
0x2fa002c)==0) || (PATTERN<=4 && PI in (500:1000] && (FLAG & 0x2fa002c)==0) || (PATTERN<=4 && PI in (1000:12000] && (FLAG & \
0x2fa0024)==0))" filteredset=intermediate/MakePNImage-epn-14-OOT_image_event_list-U01400000080000.fits imagebinning=binSize \
imagedatatype=Real32 imageset=intermediate/MakePNImage-epn-14-EPIC_OOT_image-U01400000080000.fits keepfilteroutput=Y \
table=intermediate/pnEvents-epn-14-EPIC_PN_imaging_mode_OOT_event_list-U01400000000000.fits:EVENTS updateexposure=true \
withfilteredset=Y withimagedatatype=true withimageset=Y withzcolumn=N writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:37:38] ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not\
#     allow for calculation of a uniform exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (SummaryOfWarnings), 
# warning ExpBadDssGlobal silently occurred 2 times 
# # [INFO] [2024-11-30T23:37:38] Task Run Time evselect 1.96306896209717s
#
# [COMMAND] [2024-11-30T23:37:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:38]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:38]
evselect expression="(RAWY>12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME) && \
GTI(intermediate/pnEvents-epn-14-Optimised_flare_GTI-U01400000080000.fits,TIME) && ((PATTERN==0 && PI in (200:500] && (FLAG & \
0x2fa002c)==0) || (PATTERN<=4 && PI in (500:1000] && (FLAG & 0x2fa002c)==0) || (PATTERN<=4 && PI in (1000:12000] && (FLAG & \
0x2fa0024)==0))" filteredset=intermediate/MakePNImage-epn-14-image_event_list-U01400000080000.fits imagebinning=binSize \
imagedatatype=Int32 imageset=product/P0118700401PNU014IMAGE_8000.FIT keepfilteroutput=Y \
table=product/P0118700401PNU014PIEVLI0000.FIT:EVENTS updateexposure=true withfilteredset=Y withimagedatatype=true withimageset=Y \
writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:37:40] ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not\
#     allow for calculation of a uniform exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (ExpBadDssGlobal), A filtering expression has been specified which may not allow for calculation of a uniform\
#     exposure for all events. Please ensure that all TIME related filters are applied uniformly.
# ** evselect: warning (SummaryOfWarnings), 
# warning ExpBadDssGlobal silently occurred 2 times 
# # [INFO] [2024-11-30T23:37:40] Task Run Time evselect 2.08600115776062s
#
# [COMMAND] [2024-11-30T23:37:40]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:37:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:40]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:40]
fimgstat clobber=Y infile=product/P0118700401PNU014IMAGE_8000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakePNImage-epn-14-Filtered_image_statistics-U01400000080000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:37:40]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:37:40] Task Run Time fimgstat 0.0283670425415039s
#
# # [INFO] [2024-11-30T23:37:40] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0118700401PNU014IMAGE_8000.FIT\
#     --outfile=product/P0118700401PNU014IMAGE_8000.PNG
# [COMMAND] [2024-11-30T23:37:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:40]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:40]
implot.py --fitsImage=product/P0118700401PNU014IMAGE_8000.FIT --outfile=product/P0118700401PNU014IMAGE_8000.PNG
# # [OUTPUT] [2024-11-30T23:37:43] Image shape. y,x: (648, 648) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (557, 556) x/y ratio: 1.00 
# # [INFO] [2024-11-30T23:37:43] Task Run Time implot.py 2.61436200141907s
#
# [COMMAND] [2024-11-30T23:37:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:43]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:43]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0118700401PNU014IMAGE_8000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:37:43]
# # [INFO] [2024-11-30T23:37:43] Task Run Time addattribute 0.131088018417358s
#
# [COMMAND] [2024-11-30T23:37:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:43]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:43]
eexpmap attitudeset=product/P0118700401OBX000ATTTSR0000.FIT attrebin=2 eventset=product/P0118700401PNU014PIEVLI0000.FIT \
expimageset="product/P0118700401PNU014EXPMAP1000.FIT product/P0118700401PNU014EXPMAP2000.FIT" \
imageset=product/P0118700401PNU014IMAGE_2000.FIT pimax="500 1000" pimin="200 500" withvignetting=yes -w 10
# # [OUTPUT] [2024-11-30T23:37:45]
# # [INFO] [2024-11-30T23:37:45] Task Run Time eexpmap 1.830157995224s
#
# [COMMAND] [2024-11-30T23:37:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:45]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:45]
eexpmap attitudeset=product/P0118700401OBX000ATTTSR0000.FIT attrebin=2 eventset=product/P0118700401PNU014PIEVLI0000.FIT \
expimageset="product/P0118700401PNU014EXPMAP3000.FIT product/P0118700401PNU014EXPMAP4000.FIT \
product/P0118700401PNU014EXPMAP5000.FIT" imageset=product/P0118700401PNU014IMAGE_3000.FIT pimax="2000 4500 12000" pimin="1000 2000 \
4500" withvignetting=yes -w 10
# # [OUTPUT] [2024-11-30T23:37:47]
# # [INFO] [2024-11-30T23:37:47] Task Run Time eexpmap 1.9857439994812s
#
# [COMMAND] [2024-11-30T23:37:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:47]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:47]
eexpmap attitudeset=product/P0118700401OBX000ATTTSR0000.FIT attrebin=2 eventset=product/P0118700401PNU014PIEVLI0000.FIT \
expimageset="intermediate/MakePNImage-epn-14-non-vig_exposure_map-U01400000010000.fits \
intermediate/MakePNImage-epn-14-non-vig_exposure_map-U01400000020000.fits" imageset=product/P0118700401PNU014IMAGE_2000.FIT \
pimax="500 1000" pimin="200 500" withvignetting=no -w 10
# # [OUTPUT] [2024-11-30T23:37:49]
# # [INFO] [2024-11-30T23:37:49] Task Run Time eexpmap 1.73264694213867s
#
# [COMMAND] [2024-11-30T23:37:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:49]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:49]
eexpmap attitudeset=product/P0118700401OBX000ATTTSR0000.FIT attrebin=2 eventset=product/P0118700401PNU014PIEVLI0000.FIT \
expimageset="intermediate/MakePNImage-epn-14-non-vig_exposure_map-U01400000030000.fits \
intermediate/MakePNImage-epn-14-non-vig_exposure_map-U01400000040000.fits \
intermediate/MakePNImage-epn-14-non-vig_exposure_map-U01400000050000.fits" imageset=product/P0118700401PNU014IMAGE_3000.FIT \
pimax="2000 4500 12000" pimin="1000 2000 4500" withvignetting=no -w 10
# # [OUTPUT] [2024-11-30T23:37:51]
# # [INFO] [2024-11-30T23:37:51] Task Run Time eexpmap 1.84685516357422s
#
# [COMMAND] [2024-11-30T23:37:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:51]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:51]
imweightadd imagesets="product/P0118700401PNU014EXPMAP1000.FIT product/P0118700401PNU014EXPMAP2000.FIT \
product/P0118700401PNU014EXPMAP3000.FIT product/P0118700401PNU014EXPMAP4000.FIT product/P0118700401PNU014EXPMAP5000.FIT" \
outimageset=intermediate/MakePNImage-epic-14-temporaryImage-X00000000000000.fits withweights=no -w 10
# # [OUTPUT] [2024-11-30T23:37:51]
# # [INFO] [2024-11-30T23:37:51] Task Run Time imweightadd 0.17805004119873s
#
# [COMMAND] [2024-11-30T23:37:51]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:37:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:51]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:51]
fcarith const=5 infile=intermediate/MakePNImage-epic-14-temporaryImage-X00000000000000.fits ops=DIV \
outfil=product/P0118700401PNU014EXPMAP8000.FIT
# # [OUTPUT] [2024-11-30T23:37:51]
# # [INFO] [2024-11-30T23:37:51] Task Run Time fcarith 0.0879359245300293s
#
# [COMMAND] [2024-11-30T23:37:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:51]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:51]
imweightadd imagesets="intermediate/MakePNImage-epn-14-non-vig_exposure_map-U01400000010000.fits \
intermediate/MakePNImage-epn-14-non-vig_exposure_map-U01400000020000.fits \
intermediate/MakePNImage-epn-14-non-vig_exposure_map-U01400000030000.fits \
intermediate/MakePNImage-epn-14-non-vig_exposure_map-U01400000040000.fits \
intermediate/MakePNImage-epn-14-non-vig_exposure_map-U01400000050000.fits" \
outimageset=intermediate/MakePNImage-epic-14-temporaryImage2-X00000000000000.fits withweights=no -w 10
# # [OUTPUT] [2024-11-30T23:37:51]
# # [INFO] [2024-11-30T23:37:51] Task Run Time imweightadd 0.233242988586426s
#
# [COMMAND] [2024-11-30T23:37:51]
export \
PFILES=/scratch/225361.1.all.q/xmm/ppsprod/228507/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:37:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:51]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:51]
fcarith const=5 infile=intermediate/MakePNImage-epic-14-temporaryImage2-X00000000000000.fits ops=DIV \
outfil=intermediate/MakePNImage-epn-14-non-vig_exposure_map-U01400000080000.fits
# # [OUTPUT] [2024-11-30T23:37:51]
# # [INFO] [2024-11-30T23:37:51] Task Run Time fcarith 0.041193962097168s
#
# # [INFO] [2024-11-30T23:37:51] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0118700401PNU014EXPMAP8000.FIT\
#     --outfile=product/P0118700401PNU014EXPMAP8000.PNG
# [COMMAND] [2024-11-30T23:37:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:37:51]
export SAS_RAND_SEED=0118700401
# # [INFO] [2024-11-30T23:37:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0118700401
# [COMMAND] [2024-11-30T23:37:51]
implot.py --fitsImage=product/P0118700401PNU014EXPMAP8000.FIT --outfile=product/P0118700401PNU014EXPMAP8000.PNG
# # [OUTPUT] [2024-11-30T23:37:53] Image shape. y,x: (648, 648) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (449, 449) x/y ratio: 1.00 
# # [INFO] [2024-11-30T23:37:53] Task Run Time implot.py 2.26601099967957s
#
# # [INFO] [2024-11-30T23:37:53] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:53] Instrument: epn
# # [INFO] [2024-11-30T23:37:53] Stream no.: 0001
# # [INFO] [2024-11-30T23:37:53] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:53] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:53] Module name: MakePNImage
# # [INFO] [2024-11-30T23:37:53] Instrument: epn
# # [INFO] [2024-11-30T23:37:53] Stream no.: 0002
# # [INFO] [2024-11-30T23:37:53] Module version number: 2.27
# # [INFO] [2024-11-30T23:37:53] No imaging mode event list available for this instrument. Ignoring further processing.
# # [INFO] [2024-11-30T23:37:53] Module name: ExpDetectPrep
# # [INFO] [2024-11-30T23:37:53] Instrument: epn
# # [INFO] [2024-11-30T23:37:53] Stream no.: 0001
# # [INFO] [2024-11-30T23:37:53] Module version number: 0.26
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure S005 Mode PrimeFullWindowLowGain
# # [INFO] [2024-11-30T23:37:53] Exposure S005: Can't find a band 1 image for this exposure - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure U002 Mode Diagnostic
# # [INFO] [2024-11-30T23:37:53] Exposure U002: Can't find a band 1 image for this exposure - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure U003 Mode Diagnostic
# # [INFO] [2024-11-30T23:37:53] Exposure U003: Can't find a band 1 image for this exposure - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure U004 Mode Diagnostic
# # [INFO] [2024-11-30T23:37:53] Exposure U004: Can't find a band 1 image for this exposure - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure U005 Mode Diagnostic
# # [INFO] [2024-11-30T23:37:53] Exposure U005: Can't find a band 1 image for this exposure - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure U006 Mode Diagnostic
# # [INFO] [2024-11-30T23:37:53] Exposure U006: Can't find a band 1 image for this exposure - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure U007 Mode Diagnostic
# # [INFO] [2024-11-30T23:37:53] Exposure U007: Can't find a band 1 image for this exposure - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure U008 Mode Diagnostic
# # [INFO] [2024-11-30T23:37:53] Exposure U008: Can't find a band 1 image for this exposure - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure U009 Mode Diagnostic
# # [INFO] [2024-11-30T23:37:53] Exposure U009: Can't find a band 1 image for this exposure - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure U010 Mode Diagnostic
# # [INFO] [2024-11-30T23:37:53] Exposure U010: Can't find a band 1 image for this exposure - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure U011 Mode Diagnostic
# # [INFO] [2024-11-30T23:37:53] Exposure U011: Can't find a band 1 image for this exposure - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure U012 Mode Diagnostic
# # [INFO] [2024-11-30T23:37:53] Exposure U012: Can't find a band 1 image for this exposure - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure U013 Mode Diagnostic
# # [INFO] [2024-11-30T23:37:53] Exposure U013: Can't find a band 1 image for this exposure - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:53] DEBUG: Exposure U014 Mode PrimeFullWindowLowGain
# # [INFO] [2024-11-30T23:37:54] Exposure U014: EPN exposure in low gain mode - won't perform source detection on it
# # [INFO] [2024-11-30T23:37:54] Module name: ExpDetect
# # [INFO] [2024-11-30T23:37:54] Instrument: epic
# # [INFO] [2024-11-30T23:37:54] Stream no.: 0001
# # [INFO] [2024-11-30T23:37:54] Module version number: 2.56
# [COMMAND] [2024-11-30T23:37:54]
gzip -d -f intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits.gz
# # [INFO] [2024-11-30T23:37:54] System RV 0
# [COMMAND] [2024-11-30T23:37:54]
gzip -d -f intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits.gz
# # [INFO] [2024-11-30T23:37:54] System RV 0
# # [INFO] [2024-11-30T23:37:54] Observation date for epoch identification: 2000-02-27T23:26:03.000
# # [INFO] [2024-11-30T23:37:54] Epoch for epn: 1
# # [INFO] [2024-11-30T23:37:54] Epoch for emos1: 1
# # [INFO] [2024-11-30T23:37:54] Epoch for emos2: 1
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument epn, energy band 1. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument epn, energy band 2. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument epn, energy band 3. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument epn, energy band 4. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument epn, energy band 5. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument emos1, energy band 1. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument emos1, energy band 2. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument emos1, energy band 3. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument emos1, energy band 4. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument emos1, energy band 5. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument emos2, energy band 1. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument emos2, energy band 2. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument emos2, energy band 3. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument emos2, energy band 4. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Cannot find all required images for instrument emos2, energy band 5. This combination will be\
#     ignored.
# # [INFO] [2024-11-30T23:37:54] Module name: ImageMerge
# # [INFO] [2024-11-30T23:37:54] Instrument: epic
# # [INFO] [2024-11-30T23:37:54] Stream no.: 0001
# # [INFO] [2024-11-30T23:37:54] Module version number: 2.32
# # [INFO] [2024-11-30T23:37:54] Searching for components...
# # [INFO] [2024-11-30T23:37:54] Found: 0 merged images , 0 exposure maps and 0 background maps
# # [INFO] [2024-11-30T23:37:54] Module name: SrcMerge
# # [INFO] [2024-11-30T23:37:54] Instrument: all
# # [INFO] [2024-11-30T23:37:54] Stream no.: 0001
# # [INFO] [2024-11-30T23:37:54] Module version number: 2.20
# # [INFO] [2024-11-30T23:37:54] Source list not found or it has zero rows. Ignoring.
