
#!/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:49:57] Module name: VerifyODF
# # [INFO] [2024-11-30T23:49:57] Instrument: all
# # [INFO] [2024-11-30T23:49:57] Stream no.: 0001
# # [INFO] [2024-11-30T23:49:57] Module version number: 1.18
# # [INFO] [2024-11-30T23:49:57] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:49:57] Module name: MakeCIF
# # [INFO] [2024-11-30T23:49:57] Instrument: all
# # [INFO] [2024-11-30T23:49:57] Stream no.: 0001
# # [INFO] [2024-11-30T23:49:57] Module version number: 1.23
# # [INFO] [2024-11-30T23:49:57] Observation start defined as >2005-01-30T11:38:53.000<
# # [INFO] [2024-11-30T23:49:57] Processing date defined as >2024-12-01T00:49:57<
# [COMMAND] [2024-11-30T23:49:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:49:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:49:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:49:57]
cifbuild analysisdate=2024-12-01T00:49:57 calindexset=product/P0201950201OBX000CALIND0000.FIT fullpath=no \
observationdate=2005-01-30T11:38:53.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:50:25]
# # [INFO] [2024-11-30T23:50:25] Task Run Time cifbuild 28.2784187793732s
#
# [COMMAND] [2024-11-30T23:50:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:25]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:25]
addattribute attributecomment="\"Telescope (mission) name\" \"Name of PI\" \"Date observations were made\" \"DEC of instrument \
pointing\" \"Observation identifier\" \"Date observations ended\" \"RA of instrument pointing (degrees)\" \"Name of observed \
object\" \"Observation mode (pointing or slew)\"" attributename="TELESCOP OBSERVER DATE-OBS DEC_PNT OBS_ID DATE-END RA_PNT OBJECT \
OBS_MODE" attributetype="string string string real string string real string string" realvalue="-34.8952777 79.3708335" \
set=product/P0201950201OBX000CALIND0000.FIT stringvalue="\"XMM\" \"Dr MATTHIAS HUENSCH\" \"2005-01-30T11:38:53.000\" \"0201950201\" \
\"2005-01-30T11:56:24.000\" \"HR 1743\" \"POINTED\"" -w 10
# # [OUTPUT] [2024-11-30T23:50:26]
# # [INFO] [2024-11-30T23:50:26] Task Run Time addattribute 0.0654480457305908s
#
# [COMMAND] [2024-11-30T23:50:26]
cp /scratch/226330.1.all.q/xmm/ppsprod/229475/product/P0201950201OBX000CALIND0000.FIT \
/scratch/226330.1.all.q/xmm/ppsprod/229475/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:50:26] System RV 0
# # [INFO] [2024-11-30T23:50:26] Module name: GlobalHK
# # [INFO] [2024-11-30T23:50:26] Instrument: all
# # [INFO] [2024-11-30T23:50:26] Stream no.: 0001
# # [INFO] [2024-11-30T23:50:26] Module version number: 1.81
# [COMMAND] [2024-11-30T23:50:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:26]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:26]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:50:26] ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 223473483.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 223473483.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 223473484.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 223473484.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 223473485.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 223473485.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 223473486.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 223473486.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 223473487.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 223473487.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 546 times 
# # [INFO] [2024-11-30T23:50:26] Task Run Time preqgti 0.306068897247314s
#
# [COMMAND] [2024-11-30T23:50:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:26]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:26]
atthkgen atthkset=product/P0201950201OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:50:26]
# # [INFO] [2024-11-30T23:50:26] Task Run Time atthkgen 0.108760118484497s
#
# [COMMAND] [2024-11-30T23:50:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:26]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:26]
orbit outfile=product/P0201950201OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:50:26] orbit:- Output FITS Orbit timeseries: product/P0201950201OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:50:26] Task Run Time orbit 0.162719964981079s
#
# [COMMAND] [2024-11-30T23:50:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:26]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:26]
radmonfix output=product/P0201950201OBX000RADMON0000.FIT radmonlist=odf/0942_0201950201_RMX00100ECX.FIT withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:50:26] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=144702893.9 which\
#     is outside the time correlation data abscissa range [144704692.9, 144711778.7] - result of extrapolation might be afflicted\
#     with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=144702897.9 which is outside the time correlation\
#     data abscissa range [144704692.9, 144711778.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=144702901.9 which is outside the time correlation\
#     data abscissa range [144704692.9, 144711778.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=144702905.9 which is outside the time correlation\
#     data abscissa range [144704692.9, 144711778.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=144702909.9 which is outside the time correlation\
#     data abscissa range [144704692.9, 144711778.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=144702913.9 which is outside the time correlation\
#     data abscissa range [144704692.9, 144711778.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=144702917.9 which is outside the time correlation\
#     data abscissa range [144704692.9, 144711778.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=144702921.9 which is outside the time correlation\
#     data abscissa range [144704692.9, 144711778.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=144702925.9 which is outside the time correlation\
#     data abscissa range [144704692.9, 144711778.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=144702929.9 which is outside the time correlation\
#     data abscissa range [144704692.9, 144711778.7] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 472 times 
# # [INFO] [2024-11-30T23:50:26] Task Run Time radmonfix 0.116528034210205s
#
# [COMMAND] [2024-11-30T23:50:26]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/226330.1.all.q/xmm/ppsprod/229475/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:50:26] System RV 0
# # [INFO] [2024-11-30T23:50:26] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:50:26]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/226330.1.all.q/xmm/ppsprod/229475/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:50:26] System RV 0
# [COMMAND] [2024-11-30T23:50:26]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/226330.1.all.q/xmm/ppsprod/229475/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:50:26] System RV 0
# [COMMAND] [2024-11-30T23:50:26]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/226330.1.all.q/xmm/ppsprod/229475/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:50:26] System RV 0
# # [INFO] [2024-11-30T23:50:26] Module name: ExpChooser
# # [INFO] [2024-11-30T23:50:26] Instrument: emos1
# # [INFO] [2024-11-30T23:50:26] Stream no.: 0001
# # [INFO] [2024-11-30T23:50:26] Module version number: 1.38
# # [INFO] [2024-11-30T23:50:26] Checking exposure U002 for processability
# # [INFO] [2024-11-30T23:50:26] Filter: Thick
# # [INFO] [2024-11-30T23:50:26] Instrument mode: PrimePartialW2
# # [INFO] [2024-11-30T23:50:26] Exposure duration: 1043
# # [INFO] [2024-11-30T23:50:26] Module name: ExpChooser
# # [INFO] [2024-11-30T23:50:26] Instrument: emos2
# # [INFO] [2024-11-30T23:50:26] Stream no.: 0001
# # [INFO] [2024-11-30T23:50:26] Module version number: 1.38
# # [INFO] [2024-11-30T23:50:26] Checking exposure U002 for processability
# # [INFO] [2024-11-30T23:50:26] Filter: Thick
# # [INFO] [2024-11-30T23:50:26] Instrument mode: PrimePartialW2
# # [INFO] [2024-11-30T23:50:26] Exposure duration: 1025
# # [INFO] [2024-11-30T23:50:26] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:50:26] Instrument: emos1
# # [INFO] [2024-11-30T23:50:26] Stream no.: 0001
# # [INFO] [2024-11-30T23:50:26] Module version number: 2.01
# [COMMAND] [2024-11-30T23:50:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:26]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:26]
hkgtigen gtiset=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits instrument=emos1 withgtiset=yes -w 10
# # [OUTPUT] [2024-11-30T23:50:27]
# # [INFO] [2024-11-30T23:50:27] Task Run Time hkgtigen 0.218873977661133s
#
# # [INFO] [2024-11-30T23:50:27] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:50:27] Instrument: emos2
# # [INFO] [2024-11-30T23:50:27] Stream no.: 0001
# # [INFO] [2024-11-30T23:50:27] Module version number: 2.01
# [COMMAND] [2024-11-30T23:50:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:27]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:27]
hkgtigen gtiset=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits instrument=emos2 withgtiset=yes -w 10
# # [OUTPUT] [2024-11-30T23:50:27]
# # [INFO] [2024-11-30T23:50:27] Task Run Time hkgtigen 0.172667980194092s
#
# # [INFO] [2024-11-30T23:50:27] Module name: USNOExtract
# # [INFO] [2024-11-30T23:50:27] Instrument: all
# # [INFO] [2024-11-30T23:50:27] Stream no.: 0001
# # [INFO] [2024-11-30T23:50:27] Module version number: 0.07
# [COMMAND] [2024-11-30T23:50:27]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:50:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:27]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:27]
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:50:27] Written the output image ......... 
# # [INFO] [2024-11-30T23:50:27] Task Run Time fimgcreate 0.135706901550293s
#
# [COMMAND] [2024-11-30T23:50:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:27]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:27]
catprep catextract=intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
srclistset=product/P0201950201OBX000CALIND0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:50:32]
# # [INFO] [2024-11-30T23:50:32] Task Run Time catprep 4.89889693260193s
#
# [COMMAND] [2024-11-30T23:50:32]
cp /scratch/226330.1.all.q/xmm/ppsprod/229475/intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
/scratch/226330.1.all.q/xmm/ppsprod/229475/product/P0201950201OBX000REFCAT0000.FIT
# # [INFO] [2024-11-30T23:50:32] System RV 0
# # [INFO] [2024-11-30T23:50:32] Reading keyword RA_OBJ value 7.93708335000000E+01 comment [deg] Ra of the observed object
# # [INFO] [2024-11-30T23:50:32] Reading keyword OBS_MODE value POINTING comment Observation mode (pointing or slew)
# # [INFO] [2024-11-30T23:50:32] Reading keyword DATE-OBS value 2005-01-30T11:38:53.000 comment Date observations were made
# # [INFO] [2024-11-30T23:50:32] Reading keyword DEC_OBJ value -3.48952777000000E+01 comment [deg] Dec of the observed object
# # [INFO] [2024-11-30T23:50:32] Reading keyword DATE-END value 2005-01-30T11:56:24.000 comment Date observations ended
# # [INFO] [2024-11-30T23:50:32] Reading keyword TELESCOP value XMM comment Telescope (mission) name
# # [INFO] [2024-11-30T23:50:32] Reading keyword OBS_ID value 0201950201 comment Observation identifier
# [COMMAND] [2024-11-30T23:50:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:32]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:32]
addattribute attributecomment="\"[deg] Ra of the observed object\" \"Observation mode (pointing or slew)\" \"Date observations were \
made\" \"[deg] Dec of the observed object\" \"Date observations ended\" \"Telescope (mission) name\" \"Observation identifier\"" \
attributename="RA_OBJ OBS_MODE DATE-OBS DEC_OBJ DATE-END TELESCOP OBS_ID" attributetype="\"real\" \"string\" \"string\" \"real\" \
\"string\" \"string\" \"string\"" realvalue="7.93708335000000E+01 -3.48952777000000E+01" set=product/P0201950201OBX000REFCAT0000.FIT \
stringvalue="POINTING 2005-01-30T11:38:53.000 2005-01-30T11:56:24.000 XMM 0201950201" -w 10
# # [OUTPUT] [2024-11-30T23:50:32] ** addattribute: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in\
#     dataset with name 'product/P0201950201OBX000REFCAT0000.FIT'
# ** addattribute: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name\
#     'product/P0201950201OBX000REFCAT0000.FIT' 
# # [INFO] [2024-11-30T23:50:32] Task Run Time addattribute 0.0787549018859863s
#
# # [INFO] [2024-11-30T23:50:32] Module name: MOSEvents
# # [INFO] [2024-11-30T23:50:32] Instrument: emos1
# # [INFO] [2024-11-30T23:50:32] Stream no.: 0001
# # [INFO] [2024-11-30T23:50:32] Module version number: 3.61
# # [INFO] [2024-11-30T23:50:32] Exposure ID: U002
# # [INFO] [2024-11-30T23:50:32] Filter: Thick
# # [INFO] [2024-11-30T23:50:32] Instrument mode: PrimePartialW2
# # [INFO] [2024-11-30T23:50:32] No counting cycle report found. Setting mingtisize=0
# # [INFO] [2024-11-30T23:50:32] First pass of events for CCD 1, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:50:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:32]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:32]
emframes auxiliaryset=odf/0942_0201950201_M1U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00201000000000.fits \
ingtiset=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M1U00210IME.FIT \
outeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000100000.fits \
outgtiset=intermediate/MOSEvents-emos1-1-CCD_GTI-U00201000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:32]
# # [INFO] [2024-11-30T23:50:32] Task Run Time emframes 0.344911813735962s
#
# [COMMAND] [2024-11-30T23:50:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:32]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:32]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00201000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:50:33]
# # [INFO] [2024-11-30T23:50:33] Task Run Time emevents 0.30933403968811s
#
# [COMMAND] [2024-11-30T23:50:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:33]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:33]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:50:33]
# # [INFO] [2024-11-30T23:50:33] Task Run Time emenergy 0.250828981399536s
#
# # [INFO] [2024-11-30T23:50:33] First pass of events for CCD 2, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:50:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:33]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:33]
emframes auxiliaryset=odf/0942_0201950201_M1U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00202000000000.fits \
ingtiset=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M1U00220IME.FIT \
outeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000100000.fits \
outgtiset=intermediate/MOSEvents-emos1-1-CCD_GTI-U00202000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:33]
# # [INFO] [2024-11-30T23:50:33] Task Run Time emframes 0.470751047134399s
#
# [COMMAND] [2024-11-30T23:50:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:33]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:33]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00202000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:50:34] ** emevents: warning (rejectFlickering13), The number of frames 384 is not large enough compared\
#     to the frame tolerance 5 . The flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:50:34] Task Run Time emevents 0.16788911819458s
#
# [COMMAND] [2024-11-30T23:50:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:34]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:50:34]
# # [INFO] [2024-11-30T23:50:34] Task Run Time emenergy 0.4893639087677s
#
# # [INFO] [2024-11-30T23:50:34] First pass of events for CCD 3, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:50:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:34]
emframes auxiliaryset=odf/0942_0201950201_M1U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00203000000000.fits \
ingtiset=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M1U00230IME.FIT \
outeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000100000.fits \
outgtiset=intermediate/MOSEvents-emos1-1-CCD_GTI-U00203000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:35]
# # [INFO] [2024-11-30T23:50:35] Task Run Time emframes 0.557670116424561s
#
# [COMMAND] [2024-11-30T23:50:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:35]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:35]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00203000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:50:35] ** emevents: warning (rejectFlickering13), The number of frames 384 is not large enough compared\
#     to the frame tolerance 5 . The flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:50:35] Task Run Time emevents 0.206815004348755s
#
# [COMMAND] [2024-11-30T23:50:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:35]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:35]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:50:35]
# # [INFO] [2024-11-30T23:50:35] Task Run Time emenergy 0.509103059768677s
#
# # [INFO] [2024-11-30T23:50:35] First pass of events for CCD 4, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:50:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:35]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:35]
emframes auxiliaryset=odf/0942_0201950201_M1U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00204000000000.fits \
ingtiset=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M1U00240IME.FIT \
outeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000100000.fits \
outgtiset=intermediate/MOSEvents-emos1-1-CCD_GTI-U00204000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:36]
# # [INFO] [2024-11-30T23:50:36] Task Run Time emframes 0.502760887145996s
#
# [COMMAND] [2024-11-30T23:50:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:36]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:36]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00204000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:50:36] ** emevents: warning (rejectFlickering13), The number of frames 384 is not large enough compared\
#     to the frame tolerance 5 . The flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:50:36] Task Run Time emevents 0.230365991592407s
#
# [COMMAND] [2024-11-30T23:50:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:36]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:36]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:50:36]
# # [INFO] [2024-11-30T23:50:36] Task Run Time emenergy 0.432787179946899s
#
# # [INFO] [2024-11-30T23:50:36] First pass of events for CCD 5, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:50:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:36]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:36]
emframes auxiliaryset=odf/0942_0201950201_M1U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00205000000000.fits \
ingtiset=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M1U00250IME.FIT \
outeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000100000.fits \
outgtiset=intermediate/MOSEvents-emos1-1-CCD_GTI-U00205000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:37]
# # [INFO] [2024-11-30T23:50:37] Task Run Time emframes 0.529592037200928s
#
# [COMMAND] [2024-11-30T23:50:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:37]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:37]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00205000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:50:37] ** emevents: warning (rejectFlickering13), The number of frames 384 is not large enough compared\
#     to the frame tolerance 5 . The flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:50:37] Task Run Time emevents 0.232902050018311s
#
# [COMMAND] [2024-11-30T23:50:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:37]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:37]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:50:38]
# # [INFO] [2024-11-30T23:50:38] Task Run Time emenergy 0.545047998428345s
#
# # [INFO] [2024-11-30T23:50:38] First pass of events for CCD 6, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:50:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:38]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:38]
emframes auxiliaryset=odf/0942_0201950201_M1U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00206000000000.fits \
ingtiset=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M1U00260IME.FIT \
outeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000100000.fits \
outgtiset=intermediate/MOSEvents-emos1-1-CCD_GTI-U00206000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:38]
# # [INFO] [2024-11-30T23:50:38] Task Run Time emframes 0.404911994934082s
#
# [COMMAND] [2024-11-30T23:50:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:38]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:38]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00206000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:50:38] ** emevents: warning (rejectFlickering13), The number of frames 384 is not large enough compared\
#     to the frame tolerance 5 . The flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:50:38] Task Run Time emevents 0.237430095672607s
#
# [COMMAND] [2024-11-30T23:50:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:38]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:38]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:50:39]
# # [INFO] [2024-11-30T23:50:39] Task Run Time emenergy 0.446431875228882s
#
# # [INFO] [2024-11-30T23:50:39] First pass of events for CCD 7, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:50:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:39]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:39]
emframes auxiliaryset=odf/0942_0201950201_M1U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00207000000000.fits \
ingtiset=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M1U00270IME.FIT \
outeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000100000.fits \
outgtiset=intermediate/MOSEvents-emos1-1-CCD_GTI-U00207000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:39]
# # [INFO] [2024-11-30T23:50:39] Task Run Time emframes 0.480185031890869s
#
# [COMMAND] [2024-11-30T23:50:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:39]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:39]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00207000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:50:40] ** emevents: warning (rejectFlickering13), The number of frames 384 is not large enough compared\
#     to the frame tolerance 5 . The flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:50:40] Task Run Time emevents 0.175194025039673s
#
# [COMMAND] [2024-11-30T23:50:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:40]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:40]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:50:40]
# # [INFO] [2024-11-30T23:50:40] Task Run Time emenergy 0.408035039901733s
#
# [COMMAND] [2024-11-30T23:50:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:40]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:40]
evlistcomb emosdatamodes=IMAGING eventsets="intermediate/MOSEvents-emos1-1-Processed_events-U00201000200000.fits \
intermediate/MOSEvents-emos1-1-Processed_events-U00202000200000.fits \
intermediate/MOSEvents-emos1-1-Processed_events-U00203000200000.fits \
intermediate/MOSEvents-emos1-1-Processed_events-U00204000200000.fits \
intermediate/MOSEvents-emos1-1-Processed_events-U00205000200000.fits \
intermediate/MOSEvents-emos1-1-Processed_events-U00206000200000.fits \
intermediate/MOSEvents-emos1-1-Processed_events-U00207000200000.fits" \
imagingset=intermediate/MOSEvents-emos1-1-Bad_pix_find_event_list-U00200000000000.fits instrument=emos -w 10
# # [OUTPUT] [2024-11-30T23:50:40]
# # [INFO] [2024-11-30T23:50:40] Task Run Time evlistcomb 0.212244033813477s
#
# # [INFO] [2024-11-30T23:50:40] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:50:40] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:50:40] Matched comment: OUT_OF_FOV
# # [INFO] [2024-11-30T23:50:40] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:50:40] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:50:40] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:50:40] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:50:40] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:50:40] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:50:40] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:50:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:40]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:40]
evselect expression="(PATTERN==0) && #XMMEA_22 && ((FLAG & 0x760ba000) == 0)" makeratecolumn=Y maketimecolumn=Y \
rateset=intermediate/MOSEvents-emos1-1-Flare_rates_file-U00200000100000.fits \
table=intermediate/MOSEvents-emos1-1-Bad_pix_find_event_list-U00200000000000.fits timebinsize=26 timecolumn=TIME updateexposure=N \
withimageset=N withrateset=Y writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:50:40] ** evselect: warning (NoProductExp), No live time information available. Cannot write EXPOSURE\
#     keyword for output products. 
# # [INFO] [2024-11-30T23:50:40] Task Run Time evselect 0.0730078220367432s
#
# # [INFO] [2024-11-30T23:50:40] RUN: bkgoptrate fracexpstyle=auto\
#     tssettabname=intermediate/MOSEvents-emos1-1-Flare_rates_file-U00200000100000.fits:RATE withendtime=N withlowercutoffcount=N\
#     withmintimeratio=N ignorelowcnttail=Y withstarttime=N -w 10
# # [INFO] [2024-11-30T23:50:40] OPTRATE: 7.69242704E-01
# [COMMAND] [2024-11-30T23:50:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:40]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:40]
tabgtigen expression="RATE< 7.69242704E-01" gtiset=intermediate/MOSEvents-emos1-1-Bad_pix_flare_GTI-U00200000000000.fits \
mingtisize=0 table=intermediate/MOSEvents-emos1-1-Flare_rates_file-U00200000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:50:40]
# # [INFO] [2024-11-30T23:50:40] Task Run Time tabgtigen 0.0445091724395752s
#
# # [INFO] [2024-11-30T23:50:40] Flare screening GTI_Time: 1.06600000000000E+03, GTI_time_threshold: 1000
# # [INFO] [2024-11-30T23:50:40] Second pass of events for CCD 1, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:50:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:40]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:40]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00201000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:41]
# # [INFO] [2024-11-30T23:50:41] Task Run Time emeventsproj 0.140014171600342s
#
# [COMMAND] [2024-11-30T23:50:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:41]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:41]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00201000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00201000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:41]
# # [INFO] [2024-11-30T23:50:41] Task Run Time embadpixfind 0.0745580196380615s
#
# [COMMAND] [2024-11-30T23:50:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:41]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:41]
evselect expression="gti(intermediate/MOSEvents-emos1-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00201000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:50:41] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:41] Task Run Time evselect 0.0867090225219727s
#
# [COMMAND] [2024-11-30T23:50:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:41]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:41]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00201000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:41]
# # [INFO] [2024-11-30T23:50:41] Task Run Time emeventsproj 0.204470872879028s
#
# [COMMAND] [2024-11-30T23:50:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:41]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:41]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00201000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00201000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:41]
# # [INFO] [2024-11-30T23:50:41] Task Run Time embadpixfind 0.153593063354492s
#
# [COMMAND] [2024-11-30T23:50:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:41]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:41]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00201000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:50:41] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:41] Task Run Time evselect 0.0791530609130859s
#
# [COMMAND] [2024-11-30T23:50:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:41]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:41]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00201000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:41]
# # [INFO] [2024-11-30T23:50:41] Task Run Time emeventsproj 0.116542100906372s
#
# [COMMAND] [2024-11-30T23:50:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:41]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:41]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00201000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00201000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:41]
# # [INFO] [2024-11-30T23:50:41] Task Run Time embadpixfind 0.116051197052002s
#
# [COMMAND] [2024-11-30T23:50:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:41]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:41]
badpix badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00201000000000.fits \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:42]
# # [INFO] [2024-11-30T23:50:42] Task Run Time badpix 0.120416164398193s
#
# [COMMAND] [2024-11-30T23:50:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:42]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:42]
emevents eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000400000.fits \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00201000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:50:42]
# # [INFO] [2024-11-30T23:50:42] Task Run Time emevents 0.324940919876099s
#
# [COMMAND] [2024-11-30T23:50:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:42]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:42]
gtialign eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000400000.fits \
gtitable=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00201000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:50:42] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:50:42] Task Run Time gtialign 0.102953910827637s
#
# [COMMAND] [2024-11-30T23:50:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:42]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:42]
gtimerge gtitable=intermediate/MOSEvents-emos1-1-CCD_GTI-U00201000200000.fits:STDGTI01 mergemode=and \
tables="intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00201000000000.fits \
intermediate/MOSEvents-emos1-1-CCD_GTI-U00201000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:50:42]
# # [INFO] [2024-11-30T23:50:42] Task Run Time gtimerge 0.067641019821167s
#
# [COMMAND] [2024-11-30T23:50:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:42]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:42]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:50:42]
# # [INFO] [2024-11-30T23:50:42] Task Run Time attcalc 0.180230855941772s
#
# [COMMAND] [2024-11-30T23:50:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:42]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:42]
emenergy ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00201000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:43]
# # [INFO] [2024-11-30T23:50:43] Task Run Time emenergy 0.836980104446411s
#
# # [INFO] [2024-11-30T23:50:43] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:50:43] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:50:43] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:50:43] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:50:43] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:50:43] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:50:43] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:50:43] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:50:43] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:50:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:43]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:43]
evselect destruct=Y expression="(FLAG & 0x762a8000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00201000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:43] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:43] Task Run Time evselect 0.12029504776001s
#
# # [INFO] [2024-11-30T23:50:43] Second pass of events for CCD 2, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:50:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:43]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:43]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00202000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:43]
# # [INFO] [2024-11-30T23:50:43] Task Run Time emeventsproj 0.111563920974731s
#
# [COMMAND] [2024-11-30T23:50:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:43]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:43]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00202000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00202000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:44]
# # [INFO] [2024-11-30T23:50:44] Task Run Time embadpixfind 0.419712066650391s
#
# [COMMAND] [2024-11-30T23:50:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:44]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:44]
evselect expression="gti(intermediate/MOSEvents-emos1-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00202000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:50:44] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:44] Task Run Time evselect 0.0895249843597412s
#
# [COMMAND] [2024-11-30T23:50:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:44]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:44]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00202000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:44]
# # [INFO] [2024-11-30T23:50:44] Task Run Time emeventsproj 0.156237840652466s
#
# [COMMAND] [2024-11-30T23:50:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:44]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:44]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00202000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00202000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:45]
# # [INFO] [2024-11-30T23:50:45] Task Run Time embadpixfind 0.598298788070679s
#
# [COMMAND] [2024-11-30T23:50:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:45]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:45]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00202000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:50:45] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:45] Task Run Time evselect 0.0641789436340332s
#
# [COMMAND] [2024-11-30T23:50:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:45]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:45]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00202000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:45]
# # [INFO] [2024-11-30T23:50:45] Task Run Time emeventsproj 0.136725902557373s
#
# [COMMAND] [2024-11-30T23:50:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:45]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:45]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00202000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00202000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:45]
# # [INFO] [2024-11-30T23:50:45] Task Run Time embadpixfind 0.426681995391846s
#
# [COMMAND] [2024-11-30T23:50:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:45]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:45]
badpix badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00202000000000.fits \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:45]
# # [INFO] [2024-11-30T23:50:45] Task Run Time badpix 0.110615968704224s
#
# [COMMAND] [2024-11-30T23:50:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:45]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:45]
emevents eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000400000.fits \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00202000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:50:46] ** emevents: warning (rejectFlickering13), The number of frames 384 is not large enough compared\
#     to the frame tolerance 5 . The flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:50:46] Task Run Time emevents 0.229496002197266s
#
# [COMMAND] [2024-11-30T23:50:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:46]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:46]
gtialign eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000400000.fits \
gtitable=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00202000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:50:46] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:50:46] Task Run Time gtialign 0.0766289234161377s
#
# [COMMAND] [2024-11-30T23:50:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:46]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:46]
gtimerge gtitable=intermediate/MOSEvents-emos1-1-CCD_GTI-U00202000200000.fits:STDGTI02 mergemode=and \
tables="intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00202000000000.fits \
intermediate/MOSEvents-emos1-1-CCD_GTI-U00202000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:50:46]
# # [INFO] [2024-11-30T23:50:46] Task Run Time gtimerge 0.0606980323791504s
#
# [COMMAND] [2024-11-30T23:50:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:46]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:46]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:50:46]
# # [INFO] [2024-11-30T23:50:46] Task Run Time attcalc 0.227866888046265s
#
# [COMMAND] [2024-11-30T23:50:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:46]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:46]
emenergy ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00202000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:47]
# # [INFO] [2024-11-30T23:50:47] Task Run Time emenergy 1.01687383651733s
#
# # [INFO] [2024-11-30T23:50:47] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:50:47] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:50:47] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:50:47] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:50:47] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:50:47] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:50:47] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:50:47] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:50:47] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:50:47] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:50:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:47]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:47]
evselect destruct=Y expression="(FLAG & 0x762aa000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00202000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:47] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:47] Task Run Time evselect 0.102972984313965s
#
# # [INFO] [2024-11-30T23:50:47] Second pass of events for CCD 3, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:50:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:47]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:47]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00203000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:47]
# # [INFO] [2024-11-30T23:50:47] Task Run Time emeventsproj 0.13205099105835s
#
# [COMMAND] [2024-11-30T23:50:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:47]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:47]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00203000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00203000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:48]
# # [INFO] [2024-11-30T23:50:48] Task Run Time embadpixfind 0.389639854431152s
#
# [COMMAND] [2024-11-30T23:50:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:48]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:48]
evselect expression="gti(intermediate/MOSEvents-emos1-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00203000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:50:48] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:48] Task Run Time evselect 0.0798490047454834s
#
# [COMMAND] [2024-11-30T23:50:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:48]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:48]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00203000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:48]
# # [INFO] [2024-11-30T23:50:48] Task Run Time emeventsproj 0.146185874938965s
#
# [COMMAND] [2024-11-30T23:50:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:48]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:48]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00203000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00203000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:48]
# # [INFO] [2024-11-30T23:50:48] Task Run Time embadpixfind 0.425742864608765s
#
# [COMMAND] [2024-11-30T23:50:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:48]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:48]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00203000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:50:48] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:48] Task Run Time evselect 0.112775087356567s
#
# [COMMAND] [2024-11-30T23:50:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:48]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:48]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00203000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:48]
# # [INFO] [2024-11-30T23:50:48] Task Run Time emeventsproj 0.109310150146484s
#
# [COMMAND] [2024-11-30T23:50:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:48]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:48]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00203000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00203000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:49]
# # [INFO] [2024-11-30T23:50:49] Task Run Time embadpixfind 0.394595861434937s
#
# [COMMAND] [2024-11-30T23:50:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:49]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:49]
badpix badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00203000000000.fits \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:49]
# # [INFO] [2024-11-30T23:50:49] Task Run Time badpix 0.122279167175293s
#
# [COMMAND] [2024-11-30T23:50:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:49]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:49]
emevents eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000400000.fits \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00203000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:50:49] ** emevents: warning (rejectFlickering13), The number of frames 384 is not large enough compared\
#     to the frame tolerance 5 . The flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:50:49] Task Run Time emevents 0.29944896697998s
#
# [COMMAND] [2024-11-30T23:50:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:49]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:49]
gtialign eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000400000.fits \
gtitable=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00203000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:50:49] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:50:49] Task Run Time gtialign 0.099916934967041s
#
# [COMMAND] [2024-11-30T23:50:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:49]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:49]
gtimerge gtitable=intermediate/MOSEvents-emos1-1-CCD_GTI-U00203000200000.fits:STDGTI03 mergemode=and \
tables="intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00203000000000.fits \
intermediate/MOSEvents-emos1-1-CCD_GTI-U00203000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:50:49]
# # [INFO] [2024-11-30T23:50:49] Task Run Time gtimerge 0.0945870876312256s
#
# [COMMAND] [2024-11-30T23:50:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:49]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:49]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:50:50]
# # [INFO] [2024-11-30T23:50:50] Task Run Time attcalc 0.21418285369873s
#
# [COMMAND] [2024-11-30T23:50:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:50]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:50]
emenergy ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00203000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:51]
# # [INFO] [2024-11-30T23:50:51] Task Run Time emenergy 1.02195191383362s
#
# # [INFO] [2024-11-30T23:50:51] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:50:51] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:50:51] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:50:51] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:50:51] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:50:51] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:50:51] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:50:51] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:50:51] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:50:51] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:50:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:51]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:51]
evselect destruct=Y expression="(FLAG & 0x762aa000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00203000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:51] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:51] Task Run Time evselect 0.0857110023498535s
#
# # [INFO] [2024-11-30T23:50:51] Second pass of events for CCD 4, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:50:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:51]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:51]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00204000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:51]
# # [INFO] [2024-11-30T23:50:51] Task Run Time emeventsproj 0.117499113082886s
#
# [COMMAND] [2024-11-30T23:50:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:51]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:51]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00204000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00204000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:51]
# # [INFO] [2024-11-30T23:50:51] Task Run Time embadpixfind 0.454649925231934s
#
# [COMMAND] [2024-11-30T23:50:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:51]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:51]
evselect expression="gti(intermediate/MOSEvents-emos1-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00204000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:50:51] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:51] Task Run Time evselect 0.0833261013031006s
#
# [COMMAND] [2024-11-30T23:50:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:51]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:51]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00204000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:52]
# # [INFO] [2024-11-30T23:50:52] Task Run Time emeventsproj 0.112040042877197s
#
# [COMMAND] [2024-11-30T23:50:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:52]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:52]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00204000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00204000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:52]
# # [INFO] [2024-11-30T23:50:52] Task Run Time embadpixfind 0.450896978378296s
#
# [COMMAND] [2024-11-30T23:50:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:52]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:52]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00204000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:50:52] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:52] Task Run Time evselect 0.0764908790588379s
#
# [COMMAND] [2024-11-30T23:50:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:52]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:52]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00204000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:52]
# # [INFO] [2024-11-30T23:50:52] Task Run Time emeventsproj 0.121233940124512s
#
# [COMMAND] [2024-11-30T23:50:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:52]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:52]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00204000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00204000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:53]
# # [INFO] [2024-11-30T23:50:53] Task Run Time embadpixfind 0.402523994445801s
#
# [COMMAND] [2024-11-30T23:50:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:53]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:53]
badpix badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00204000000000.fits \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:53]
# # [INFO] [2024-11-30T23:50:53] Task Run Time badpix 0.145632028579712s
#
# [COMMAND] [2024-11-30T23:50:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:53]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:53]
emevents eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000400000.fits \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00204000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:50:53] ** emevents: warning (rejectFlickering13), The number of frames 384 is not large enough compared\
#     to the frame tolerance 5 . The flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:50:53] Task Run Time emevents 0.225496053695679s
#
# [COMMAND] [2024-11-30T23:50:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:53]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:53]
gtialign eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000400000.fits \
gtitable=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00204000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:50:53] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:50:53] Task Run Time gtialign 0.066849946975708s
#
# [COMMAND] [2024-11-30T23:50:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:53]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:53]
gtimerge gtitable=intermediate/MOSEvents-emos1-1-CCD_GTI-U00204000200000.fits:STDGTI04 mergemode=and \
tables="intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00204000000000.fits \
intermediate/MOSEvents-emos1-1-CCD_GTI-U00204000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:50:53]
# # [INFO] [2024-11-30T23:50:53] Task Run Time gtimerge 0.0558300018310547s
#
# [COMMAND] [2024-11-30T23:50:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:53]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:53]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:50:53]
# # [INFO] [2024-11-30T23:50:53] Task Run Time attcalc 0.248559951782227s
#
# [COMMAND] [2024-11-30T23:50:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:53]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:53]
emenergy ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00204000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:54]
# # [INFO] [2024-11-30T23:50:54] Task Run Time emenergy 0.976851940155029s
#
# # [INFO] [2024-11-30T23:50:54] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:50:54] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:50:54] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:50:54] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:50:54] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:50:54] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:50:54] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:50:54] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:50:54] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:50:54] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:50:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:54]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:54]
evselect destruct=Y expression="(FLAG & 0x762aa000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00204000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:54] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:54] Task Run Time evselect 0.0894467830657959s
#
# # [INFO] [2024-11-30T23:50:54] Second pass of events for CCD 5, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:50:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:54]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:54]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00205000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:55]
# # [INFO] [2024-11-30T23:50:55] Task Run Time emeventsproj 0.120955944061279s
#
# [COMMAND] [2024-11-30T23:50:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:55]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:55]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00205000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00205000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:55]
# # [INFO] [2024-11-30T23:50:55] Task Run Time embadpixfind 0.462472915649414s
#
# [COMMAND] [2024-11-30T23:50:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:55]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:55]
evselect expression="gti(intermediate/MOSEvents-emos1-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00205000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:50:55] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:55] Task Run Time evselect 0.0669779777526855s
#
# [COMMAND] [2024-11-30T23:50:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:55]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:55]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00205000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:55]
# # [INFO] [2024-11-30T23:50:55] Task Run Time emeventsproj 0.128641128540039s
#
# [COMMAND] [2024-11-30T23:50:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:55]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:55]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00205000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00205000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:56]
# # [INFO] [2024-11-30T23:50:56] Task Run Time embadpixfind 0.451915979385376s
#
# [COMMAND] [2024-11-30T23:50:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:56]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:56]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00205000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:50:56] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:56] Task Run Time evselect 0.131556034088135s
#
# [COMMAND] [2024-11-30T23:50:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:56]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:56]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00205000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:56]
# # [INFO] [2024-11-30T23:50:56] Task Run Time emeventsproj 0.189803123474121s
#
# [COMMAND] [2024-11-30T23:50:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:56]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:56]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00205000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00205000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:56]
# # [INFO] [2024-11-30T23:50:56] Task Run Time embadpixfind 0.455692052841187s
#
# [COMMAND] [2024-11-30T23:50:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:56]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:57]
badpix badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00205000000000.fits \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:57]
# # [INFO] [2024-11-30T23:50:57] Task Run Time badpix 0.118771076202393s
#
# [COMMAND] [2024-11-30T23:50:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:57]
emevents eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000400000.fits \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00205000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:50:57] ** emevents: warning (rejectFlickering13), The number of frames 384 is not large enough compared\
#     to the frame tolerance 5 . The flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:50:57] Task Run Time emevents 0.244978904724121s
#
# [COMMAND] [2024-11-30T23:50:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:57]
gtialign eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000400000.fits \
gtitable=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00205000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:50:57] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:50:57] Task Run Time gtialign 0.0835850238800049s
#
# [COMMAND] [2024-11-30T23:50:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:57]
gtimerge gtitable=intermediate/MOSEvents-emos1-1-CCD_GTI-U00205000200000.fits:STDGTI05 mergemode=and \
tables="intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00205000000000.fits \
intermediate/MOSEvents-emos1-1-CCD_GTI-U00205000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:50:57]
# # [INFO] [2024-11-30T23:50:57] Task Run Time gtimerge 0.059257984161377s
#
# [COMMAND] [2024-11-30T23:50:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:57]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:50:57]
# # [INFO] [2024-11-30T23:50:57] Task Run Time attcalc 0.337953805923462s
#
# [COMMAND] [2024-11-30T23:50:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:57]
emenergy ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00205000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:58]
# # [INFO] [2024-11-30T23:50:58] Task Run Time emenergy 1.0560200214386s
#
# # [INFO] [2024-11-30T23:50:58] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:50:58] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:50:58] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:50:58] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:50:58] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:50:58] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:50:58] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:50:58] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:50:58] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:50:58] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:50:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:58]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:58]
evselect destruct=Y expression="(FLAG & 0x762aa000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00205000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:59] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:59] Task Run Time evselect 0.100659132003784s
#
# # [INFO] [2024-11-30T23:50:59] Second pass of events for CCD 6, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:50:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:59]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00206000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:59]
# # [INFO] [2024-11-30T23:50:59] Task Run Time emeventsproj 0.131145000457764s
#
# [COMMAND] [2024-11-30T23:50:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:59]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00206000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00206000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:59] ** embadpixfind: warning (getCalBadpix10), Bright pixel at 89 81 is declared uplinked in the CCF\
#     but is present in the data. 
# # [INFO] [2024-11-30T23:50:59] Task Run Time embadpixfind 0.432239055633545s
#
# [COMMAND] [2024-11-30T23:50:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:59]
evselect expression="gti(intermediate/MOSEvents-emos1-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00206000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:50:59] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:50:59] Task Run Time evselect 0.0913629531860352s
#
# [COMMAND] [2024-11-30T23:50:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:59]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00206000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:50:59]
# # [INFO] [2024-11-30T23:50:59] Task Run Time emeventsproj 0.114103078842163s
#
# [COMMAND] [2024-11-30T23:50:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:50:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:50:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:50:59]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00206000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00206000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:00] ** embadpixfind: warning (getCalBadpix10), Bright pixel at 89 81 is declared uplinked in the CCF\
#     but is present in the data. 
# # [INFO] [2024-11-30T23:51:00] Task Run Time embadpixfind 0.427993059158325s
#
# [COMMAND] [2024-11-30T23:51:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:00]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:00]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00206000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:51:00] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:51:00] Task Run Time evselect 0.0954658985137939s
#
# [COMMAND] [2024-11-30T23:51:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:00]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:00]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00206000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:00]
# # [INFO] [2024-11-30T23:51:00] Task Run Time emeventsproj 0.175570011138916s
#
# [COMMAND] [2024-11-30T23:51:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:00]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:00]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00206000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00206000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:00] ** embadpixfind: warning (getCalBadpix10), Bright pixel at 89 81 is declared uplinked in the CCF\
#     but is present in the data. 
# # [INFO] [2024-11-30T23:51:00] Task Run Time embadpixfind 0.408030986785889s
#
# [COMMAND] [2024-11-30T23:51:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:00]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:00]
badpix badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00206000000000.fits \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:01]
# # [INFO] [2024-11-30T23:51:01] Task Run Time badpix 0.146745204925537s
#
# [COMMAND] [2024-11-30T23:51:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:01]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:01]
emevents eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000400000.fits \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00206000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:51:01] ** emevents: warning (rejectFlickering13), The number of frames 384 is not large enough compared\
#     to the frame tolerance 5 . The flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:51:01] Task Run Time emevents 0.313169956207275s
#
# [COMMAND] [2024-11-30T23:51:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:01]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:01]
gtialign eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000400000.fits \
gtitable=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00206000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:51:01] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:51:01] Task Run Time gtialign 0.170032024383545s
#
# [COMMAND] [2024-11-30T23:51:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:01]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:01]
gtimerge gtitable=intermediate/MOSEvents-emos1-1-CCD_GTI-U00206000200000.fits:STDGTI06 mergemode=and \
tables="intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00206000000000.fits \
intermediate/MOSEvents-emos1-1-CCD_GTI-U00206000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:51:01]
# # [INFO] [2024-11-30T23:51:01] Task Run Time gtimerge 0.115514993667603s
#
# [COMMAND] [2024-11-30T23:51:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:01]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:01]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:51:02]
# # [INFO] [2024-11-30T23:51:02] Task Run Time attcalc 0.372640132904053s
#
# [COMMAND] [2024-11-30T23:51:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:02]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:02]
emenergy ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00206000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:03]
# # [INFO] [2024-11-30T23:51:03] Task Run Time emenergy 0.981966972351074s
#
# # [INFO] [2024-11-30T23:51:03] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:51:03] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:51:03] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:51:03] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:51:03] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:51:03] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:51:03] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:51:03] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:51:03] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:51:03] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:51:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:03]
evselect destruct=Y expression="(FLAG & 0x762aa000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00206000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:03] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:51:03] Task Run Time evselect 0.0998189449310303s
#
# # [INFO] [2024-11-30T23:51:03] Second pass of events for CCD 7, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:51:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:03]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00207000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:03]
# # [INFO] [2024-11-30T23:51:03] Task Run Time emeventsproj 0.1629958152771s
#
# [COMMAND] [2024-11-30T23:51:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:03]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00207000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00207000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:03]
# # [INFO] [2024-11-30T23:51:03] Task Run Time embadpixfind 0.378850936889648s
#
# [COMMAND] [2024-11-30T23:51:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:03]
evselect expression="gti(intermediate/MOSEvents-emos1-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00207000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:51:03] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:51:03] Task Run Time evselect 0.103542804718018s
#
# [COMMAND] [2024-11-30T23:51:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:03]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00207000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:03]
# # [INFO] [2024-11-30T23:51:03] Task Run Time emeventsproj 0.178918123245239s
#
# [COMMAND] [2024-11-30T23:51:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:03]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00207000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00207000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:04]
# # [INFO] [2024-11-30T23:51:04] Task Run Time embadpixfind 0.469675064086914s
#
# [COMMAND] [2024-11-30T23:51:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:04]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:04]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00207000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:51:04] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:51:04] Task Run Time evselect 0.0953068733215332s
#
# [COMMAND] [2024-11-30T23:51:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:04]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:04]
emeventsproj eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000200000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00207000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:04]
# # [INFO] [2024-11-30T23:51:04] Task Run Time emeventsproj 0.16280198097229s
#
# [COMMAND] [2024-11-30T23:51:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:04]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:04]
embadpixfind badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00207000000000.fits \
evimageset=intermediate/MOSEvents-emos1-1-Projected_image-U00207000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:05]
# # [INFO] [2024-11-30T23:51:05] Task Run Time embadpixfind 0.499135971069336s
#
# [COMMAND] [2024-11-30T23:51:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:05]
badpix badpixset=intermediate/MOSEvents-emos1-1-Bad_pixel_list-U00207000000000.fits \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:05]
# # [INFO] [2024-11-30T23:51:05] Task Run Time badpix 0.151465892791748s
#
# [COMMAND] [2024-11-30T23:51:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:05]
emevents eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000400000.fits \
frameset=intermediate/MOSEvents-emos1-1-Rectified_frames-U00207000000000.fits \
odfeventset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:51:05] ** emevents: warning (rejectFlickering13), The number of frames 384 is not large enough compared\
#     to the frame tolerance 5 . The flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:51:05] Task Run Time emevents 0.278071165084839s
#
# [COMMAND] [2024-11-30T23:51:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:05]
gtialign eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000400000.fits \
gtitable=intermediate/InstrumentHK-emos1-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00207000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:51:05] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:51:05] Task Run Time gtialign 0.0745761394500732s
#
# [COMMAND] [2024-11-30T23:51:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:05]
gtimerge gtitable=intermediate/MOSEvents-emos1-1-CCD_GTI-U00207000200000.fits:STDGTI07 mergemode=and \
tables="intermediate/MOSEvents-emos1-1-Aligned_HK_GTI-U00207000000000.fits \
intermediate/MOSEvents-emos1-1-CCD_GTI-U00207000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:51:05]
# # [INFO] [2024-11-30T23:51:05] Task Run Time gtimerge 0.106828212738037s
#
# [COMMAND] [2024-11-30T23:51:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:05]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:51:06]
# # [INFO] [2024-11-30T23:51:06] Task Run Time attcalc 0.261714935302734s
#
# [COMMAND] [2024-11-30T23:51:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:06]
emenergy ineventset=intermediate/MOSEvents-emos1-1-Processed_events-U00207000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:07]
# # [INFO] [2024-11-30T23:51:07] Task Run Time emenergy 1.04401898384094s
#
# # [INFO] [2024-11-30T23:51:07] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:51:07] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:51:07] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:51:07] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:51:07] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:51:07] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:51:07] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:51:07] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:51:07] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:51:07] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:51:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:07]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:07]
evselect destruct=Y expression="(FLAG & 0x762aa000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-Processed_events-U00207000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:07] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:51:07] Task Run Time evselect 0.128022909164429s
#
# [COMMAND] [2024-11-30T23:51:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:07]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:07]
evlistcomb eventsets="intermediate/MOSEvents-emos1-1-Processed_events-U00201000400000.fits \
intermediate/MOSEvents-emos1-1-Processed_events-U00202000400000.fits \
intermediate/MOSEvents-emos1-1-Processed_events-U00203000400000.fits \
intermediate/MOSEvents-emos1-1-Processed_events-U00204000400000.fits \
intermediate/MOSEvents-emos1-1-Processed_events-U00205000400000.fits \
intermediate/MOSEvents-emos1-1-Processed_events-U00206000400000.fits \
intermediate/MOSEvents-emos1-1-Processed_events-U00207000400000.fits" \
imagingset=intermediate/MOSEvents-emos1-1-imaging_mode_event_list-U00200000000000.fits instrument=emos maintable="EVENTS OFFSETS" \
othertables="EXPOSURE STDGTI BADPIX" timingset=intermediate/MOSEvents-emos1-1-timing_mode_event_list-U00200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:51:07]
# # [INFO] [2024-11-30T23:51:07] Task Run Time evlistcomb 0.319061994552612s
#
# # [INFO] [2024-11-30T23:51:07] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:51:07] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:51:07] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:51:07] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:51:07] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:51:07] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:51:07] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:51:07] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:51:07] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:51:07] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:51:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:07]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:07]
evselect cleandss=true destruct=true expression="((CCDNR==01 && \
GTI(intermediate/MOSEvents-emos1-1-CCD_GTI-U00201000200000.fits,TIME))||(CCDNR==02 && \
GTI(intermediate/MOSEvents-emos1-1-CCD_GTI-U00202000200000.fits,TIME))||(CCDNR==03 && \
GTI(intermediate/MOSEvents-emos1-1-CCD_GTI-U00203000200000.fits,TIME))||(CCDNR==04 && \
GTI(intermediate/MOSEvents-emos1-1-CCD_GTI-U00204000200000.fits,TIME))||(CCDNR==05 && \
GTI(intermediate/MOSEvents-emos1-1-CCD_GTI-U00205000200000.fits,TIME))||(CCDNR==06 && \
GTI(intermediate/MOSEvents-emos1-1-CCD_GTI-U00206000200000.fits,TIME))||(CCDNR==07 && \
GTI(intermediate/MOSEvents-emos1-1-CCD_GTI-U00207000200000.fits,TIME))) && (FLAG & 0x762aa000)==0" \
filteredset=product/P0201950201M1U002MIEVLI0000.FIT:EVENTS keepfilteroutput=true \
table=intermediate/MOSEvents-emos1-1-imaging_mode_event_list-U00200000000000.fits updateexposure=true withfilteredset=true \
withimageset=N writedss=true -w 10
# # [OUTPUT] [2024-11-30T23:51:07]
# # [INFO] [2024-11-30T23:51:07] Task Run Time evselect 0.194093942642212s
#
# [COMMAND] [2024-11-30T23:51:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:07]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:07]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf calctlmax=yes \
eventset=product/P0201950201M1U002MIEVLI0000.FIT refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:51:08]
# IN CALCTLMIN 
# # [INFO] [2024-11-30T23:51:08] Task Run Time attcalc 0.2833251953125s
#
# [COMMAND] [2024-11-30T23:51:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:08]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:08]
evselect expression="GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME)" \
filteredset=intermediate/MOSEvents-emos1-1-Att_GTI_filtered_events-U00200000000000.fits \
table=product/P0201950201M1U002MIEVLI0000.FIT withfilteredset=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:08]
# # [INFO] [2024-11-30T23:51:08] Task Run Time evselect 0.140214920043945s
#
# [COMMAND] [2024-11-30T23:51:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:08]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:08]
attcalc -w=10 atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf calctlmax=yes \
eventset=intermediate/MOSEvents-emos1-1-Att_GTI_filtered_events-U00200000000000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:08]
# IN CALCTLMIN 
# # [INFO] [2024-11-30T23:51:08] Task Run Time attcalc 0.353413105010986s
#
# # [INFO] [2024-11-30T23:51:08] Imaging mode for emos1 , exposure: U002 : PrimePartialW2. Producing FWC data...
# [COMMAND] [2024-11-30T23:51:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:08]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:08]
evqpb attfile=product/P0201950201OBX000ATTTSR0000.FIT calctlmax=Y exposurefactor=4 \
outset=intermediate/MOSEvents-emos1-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.fits overwritesubmode=Y \
table=product/P0201950201M1U002MIEVLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:51:23] ** evqpb: warning (SubmodeCheckingDisabled), Observing mode checking disabled. This task should\
#     only be used on full frame and extended full frame data
# IN CALCTLMIN 
# # [INFO] [2024-11-30T23:51:23] Task Run Time evqpb 14.5108020305634s
#
# [COMMAND] [2024-11-30T23:51:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:23]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:23]
dscopyblock blocks=product/P0201950201OBX000CALIND0000.FIT:CALINDEX to=product/P0201950201M1U002MIEVLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:51:23]
# # [INFO] [2024-11-30T23:51:23] Task Run Time dscopyblock 0.135272979736328s
#
# # [INFO] [2024-11-30T23:51:23] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:51:23] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:51:23] Matched comment: OUT_OF_FOV
# # [INFO] [2024-11-30T23:51:23] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:51:23] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:51:23] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:51:23] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:51:23] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:51:23] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:51:23] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:51:23] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:51:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:23]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:23]
evselect expression="(PATTERN==0) && #XMMEA_22 && ((FLAG & 0x762ba000) == 0)" maketimecolumn=Y \
rateset=intermediate/MOSEvents-emos1-1-Flare_background_timeseries-U00200000000000.fits \
table=product/P0201950201M1U002MIEVLI0000.FIT timebinsize=26 timecolumn=TIME updateexposure=N withimageset=N withrateset=Y \
writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:23]
# # [INFO] [2024-11-30T23:51:23] Task Run Time evselect 0.169057846069336s
#
# [COMMAND] [2024-11-30T23:51:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:23]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:23]
tabcalc column=RATE columntype=real64 expression="1000*COUNTS/(26*500.882945537567)" \
tables=intermediate/MOSEvents-emos1-1-Flare_background_timeseries-U00200000000000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:51:23]
# # [INFO] [2024-11-30T23:51:23] Task Run Time tabcalc 0.065093994140625s
#
# [COMMAND] [2024-11-30T23:51:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:23]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:23]
tabcalc column=T_ELAPSED columntype=real64 expression=TIME-2.23472389449567E+08 \
tables=intermediate/MOSEvents-emos1-1-Flare_background_timeseries-U00200000000000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:51:23]
# # [INFO] [2024-11-30T23:51:23] Task Run Time tabcalc 0.0752720832824707s
#
# [COMMAND] [2024-11-30T23:51:23]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:51:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:23]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:23]
fplot device=intermediate/MOSEvents-emos1-1-F_bkg_ts-U00200000000000.ps/cps \
infile=intermediate/MOSEvents-emos1-1-Flare_background_timeseries-U00200000000000.fits \
pltcmd="@intermediate/MOSEvents-all-1-Flare_bkg_ts_pco_file-X00000000000000.pco" rows=- xparm=T_ELAPSED yparm=RATE
# # [OUTPUT] [2024-11-30T23:51:23]
# # [INFO] [2024-11-30T23:51:23] Task Run Time fplot 0.132331848144531s
#
# # [INFO] [2024-11-30T23:51:23] CMD: bkgoptrate fracexpstyle=auto\
#     tssettabname=intermediate/MOSEvents-emos1-1-Flare_background_timeseries-U00200000000000.fits:RATE withendtime=N\
#     withlowercutoffcount=N withmintimeratio=N ignorelowcnttail=Y withstarttime=N -w 10
# # [INFO] [2024-11-30T23:51:23] OPTRATE: 1.61254895E+00
# # [INFO] [2024-11-30T23:51:23] Performing second optimised GTI filter < 1.61254895E+00
# [COMMAND] [2024-11-30T23:51:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:23]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:23]
tabgtigen expression="RATE< 1.61254895E+00" gtiset=intermediate/MOSEvents-emos1-1-flare_GTI-U00200000000000.fits mingtisize=0 \
table=intermediate/MOSEvents-emos1-1-Flare_background_timeseries-U00200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:51:23]
# # [INFO] [2024-11-30T23:51:23] Task Run Time tabgtigen 0.107911109924316s
#
# # [INFO] [2024-11-30T23:51:23] ==== starting source-free background flare lightcurve processing===
# [COMMAND] [2024-11-30T23:51:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:23]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:23]
evselect expression="(GTI(intermediate/MOSEvents-emos1-1-flare_GTI-U00200000000000.fits, TIME) && \
GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && PATTERN <= 12 && PI in (500:7500] && (FLAG & \
0x766aa000)==0)" imagebinning=binSize imagedatatype=Int32 \
imageset=intermediate/MOSEvents-emos1-1-SFBLC_input_image-U00200000080000.fits keepfilteroutput=false \
table=product/P0201950201M1U002MIEVLI0000.FIT updateexposure=true withimagedatatype=true writedss=true xcolumn=DETX ximagebinsize=80 \
ycolumn=DETY yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:51:24]
# # [INFO] [2024-11-30T23:51:24] Task Run Time evselect 0.250216960906982s
#
# # [INFO] [2024-11-30T23:51:24] Creating vignetted exposure map
# [COMMAND] [2024-11-30T23:51:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:24]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:24]
eexpmap attitudeset=product/P0201950201OBX000ATTTSR0000.FIT attrebin=2 eventset=product/P0201950201M1U002MIEVLI0000.FIT \
expimageset=intermediate/MOSEvents-emos1-1-SFBLC_exposure_map-U00200000080000.fits \
imageset=intermediate/MOSEvents-emos1-1-SFBLC_input_image-U00200000080000.fits pimax=7500 pimin=500 withdetcoords=yes \
withvignetting=yes -w 10
# # [OUTPUT] [2024-11-30T23:51:28] eexpmap:- CCF constituents accessed by the calibration server:
# CifEntry{EMOS1, LINCOORD, 19, /lhome/pcms/archive/ccf/21.51/EMOS1_LINCOORD_0019.CCF, 1998-01-01T00:00:00.000}
# CifEntry{EPN, LINCOORD, 9, /lhome/pcms/archive/ccf/21.51/EPN_LINCOORD_0009.CCF, 1998-01-01T00:00:00.000}
# CifEntry{RGS1, LINCOORD, 8, /lhome/pcms/archive/ccf/21.51/RGS1_LINCOORD_0008.CCF, 1998-01-01T00:00:00.000}
# CifEntry{XMM, BORESIGHT, 34, /lhome/pcms/archive/ccf/21.51/XMM_BORESIGHT_0034.CCF, 2000-01-01T00:00:00.000}
# CifEntry{XMM, MISCDATA, 22, /lhome/pcms/archive/ccf/21.51/XMM_MISCDATA_0022.CCF, 1999-01-01T00:00:00.000}
# CifEntry{XRT1, XAREAEF, 11, /lhome/pcms/archive/ccf/21.51/XRT1_XAREAEF_0011.CCF, 2000-01-13T00:00:00.000}
# CifEntry{XRT3, XAREAEF, 14, /lhome/pcms/archive/ccf/21.51/XRT3_XAREAEF_0014.CCF, 2000-01-13T00:00:00.000}
# # [INFO] [2024-11-30T23:51:28] Task Run Time eexpmap 4.41073703765869s
#
# [COMMAND] [2024-11-30T23:51:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:28]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:28]
eexpmap attitudeset=product/P0201950201OBX000ATTTSR0000.FIT attrebin=2 eventset=product/P0201950201M1U002MIEVLI0000.FIT \
expimageset=intermediate/MOSEvents-emos1-1-SFBLC_non-vig_exposure_map-U00200000080000.fits \
imageset=intermediate/MOSEvents-emos1-1-SFBLC_input_image-U00200000080000.fits pimax=7500 pimin=500 withdetcoords=yes \
withvignetting=no -w 10
# # [OUTPUT] [2024-11-30T23:51:32]
# # [INFO] [2024-11-30T23:51:32] Task Run Time eexpmap 4.01548600196838s
#
# [COMMAND] [2024-11-30T23:51:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:32]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:32]
emask detmaskset=intermediate/MOSEvents-emos1-1-SFBLC_detmask-U00200000080000.fits \
expimageset=intermediate/MOSEvents-emos1-1-SFBLC_non-vig_exposure_map-U00200000080000.fits threshold1=0.5 threshold2=1 -w 10
# # [OUTPUT] [2024-11-30T23:51:32]
# # [INFO] [2024-11-30T23:51:32] Task Run Time emask 0.0581622123718262s
#
# [COMMAND] [2024-11-30T23:51:32]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:51:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:32]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:32]
fimgstat clobber=Y infile=intermediate/MOSEvents-emos1-1-SFBLC_input_image-U00200000080000.fits max=0 mean=0 min=0 mode=ql num=0 \
outfile=/scratch/226330.1.all.q/2seMruhbLF rms=0 sum=0 threshlo=INDEF threshup=INDEF xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:51:32]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:51:32] Task Run Time fimgstat 0.0599730014801025s
#
# # [INFO] [2024-11-30T23:51:32] Running eboxdetect in local mode on MOS, exposure U002...
# [COMMAND] [2024-11-30T23:51:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:32]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:32]
eboxdetect boxlistset=intermediate/MOSEvents-emos1-1-SFBLC_box-local_source_list-U00200000080000.fits boxsize=5 \
detmasksets=intermediate/MOSEvents-emos1-1-SFBLC_detmask-U00200000080000.fits ecf=1.0 \
expimagesets=intermediate/MOSEvents-emos1-1-SFBLC_non-vig_exposure_map-U00200000080000.fits \
imagesets=intermediate/MOSEvents-emos1-1-SFBLC_input_image-U00200000080000.fits likemin=5 nruns=1 pimax=7500 pimin=500 usemap=false \
withdetmask=true -w 10
# # [OUTPUT] [2024-11-30T23:51:33] ** 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:51:33] Task Run Time eboxdetect 0.821369886398315s
#
# [COMMAND] [2024-11-30T23:51:33]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:51:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:33]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:33]
fselect expr="(RATE <= 0.35)" infile=intermediate/MOSEvents-emos1-1-SFBLC_box-local_source_list-U00200000080000.fits \
outfile=intermediate/MOSEvents-emos1-1-SFBLC_box-local_source_list_faint_subset-U00200000080000.fits
# # [OUTPUT] [2024-11-30T23:51:33]
# # [INFO] [2024-11-30T23:51:33] Task Run Time fselect 0.301596879959106s
#
# [COMMAND] [2024-11-30T23:51:33]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:51:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:33]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:33]
fselect expr="(RATE > 0.35)" infile=intermediate/MOSEvents-emos1-1-SFBLC_box-local_source_list-U00200000080000.fits \
outfile=intermediate/MOSEvents-emos1-1-SFBLC_box-local_source_list_bright_subset-U00200000080000.fits
# # [OUTPUT] [2024-11-30T23:51:33]
# # [INFO] [2024-11-30T23:51:33] Task Run Time fselect 0.102252960205078s
#
# [COMMAND] [2024-11-30T23:51:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:33]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:33]
region bkgregionset=intermediate/MOSEvents-emos1-1-SFBLC_reg_faint-U00200000080000.fits:REGION \
eventset=product/P0201950201M1U002MIEVLI0000.FIT:EVENTS expression="(ID_BAND == 1 && ID_INST == 2 && LIKE >= 50 && BOX_CTS > 0)" \
fixedradius=60 operationstyle=global outunit=detxy \
srclisttab=intermediate/MOSEvents-emos1-1-SFBLC_box-local_source_list_faint_subset-U00200000080000.fits \
tempset=intermediate/MOSEvents-emos1-1-SFBLC_temp_file-U00200000080000.fits -w 10
# # [OUTPUT] [2024-11-30T23:51:34] ** 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:51:34] Task Run Time region 0.220849990844727s
#
# [COMMAND] [2024-11-30T23:51:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:34]
region bkgregionset=intermediate/MOSEvents-emos1-1-SFBLC_reg_bright-U00200000080000.fits:REGION \
eventset=product/P0201950201M1U002MIEVLI0000.FIT:EVENTS expression="(ID_BAND == 1 && ID_INST == 2 && LIKE >= 50 && BOX_CTS > 0)" \
fixedradius=100 operationstyle=global outunit=detxy \
srclisttab=intermediate/MOSEvents-emos1-1-SFBLC_box-local_source_list_bright_subset-U00200000080000.fits \
tempset=intermediate/MOSEvents-emos1-1-SFBLC_temp_file-U00200000080000.fits -w 10
# # [OUTPUT] [2024-11-30T23:51:34] ** 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:51:34] Task Run Time region 0.157977104187012s
#
# [COMMAND] [2024-11-30T23:51:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:34]
evselect expression="((GTI(intermediate/MOSEvents-emos1-1-flare_GTI-U00200000000000.fits, TIME) && \
GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)) && PATTERN<=12 && PI in (500:7500] && (FLAG & \
0x766aa000)==0 && (region(intermediate/MOSEvents-emos1-1-SFBLC_reg_faint-U00200000080000.fits,DETX,DETY) && \
region(intermediate/MOSEvents-emos1-1-SFBLC_reg_bright-U00200000080000.fits,DETX,DETY)))" imagebinning=binSize imagedatatype=Int32 \
imageset=intermediate/MOSEvents-emos1-1-SFBLC_evaluation_image-U00200000080000.fits keepfilteroutput=false \
table=product/P0201950201M1U002MIEVLI0000.FIT updateexposure=true withimagedatatype=true withimageset=Y writedss=true xcolumn=DETX \
ximagebinsize=80 ycolumn=DETY yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:51:34] ** evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-SFBLC_reg_faint-U00200000080000.fits' is empty - filtering will have no effect
# ** evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-SFBLC_reg_bright-U00200000080000.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 (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot write data\
#     subspace. 
# # [INFO] [2024-11-30T23:51:34] Task Run Time evselect 0.221276998519897s
#
# [COMMAND] [2024-11-30T23:51:34]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:51:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:34]
fmerge columns=SHAPE,DETX,DETY,R,ROTANG,COMPONENT copyprime=Y history=Y \
infiles="intermediate/MOSEvents-emos1-1-SFBLC_reg_bright-U00200000080000.fits \
intermediate/MOSEvents-emos1-1-SFBLC_reg_faint-U00200000080000.fits" mextname=REGION \
outfile=intermediate/MOSEvents-emos1-1-SFBLC_reg_merged-U00200000080000.fits
# # [OUTPUT] [2024-11-30T23:51:34]
# # [INFO] [2024-11-30T23:51:34] Task Run Time fmerge 0.0959029197692871s
#
# [COMMAND] [2024-11-30T23:51:34]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:51:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:34]
fparkey add=Y fitsfile="intermediate/MOSEvents-emos1-1-SFBLC_reg_merged-U00200000080000.fits[REGION]" keyword=MTYPE1 value=pos
# # [OUTPUT] [2024-11-30T23:51:34]
# # [INFO] [2024-11-30T23:51:34] Task Run Time fparkey 0.0717399120330811s
#
# [COMMAND] [2024-11-30T23:51:34]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:51:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:34]
fparkey add=Y fitsfile="intermediate/MOSEvents-emos1-1-SFBLC_reg_merged-U00200000080000.fits[REGION]" keyword=MFORM1 value=DETX,DETY
# # [OUTPUT] [2024-11-30T23:51:34]
# # [INFO] [2024-11-30T23:51:34] Task Run Time fparkey 0.0611679553985596s
#
# # [INFO] [2024-11-30T23:51:34] DEBUG - intermediate/MOSEvents-emos1-1-SFBLC_reg_merged-U00200000080000.fits has 0 rows
# # [INFO] [2024-11-30T23:51:34] Creating source-free in band light curve for MOS
# [COMMAND] [2024-11-30T23:51:34]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:51:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:34]
fimgstat clobber=Y infile="intermediate/MOSEvents-emos1-1-SFBLC_detmask-U00200000080000.fits[MASK]" max=0 mean=0 min=0 mode=ql num=0 \
outfile=/scratch/226330.1.all.q/BPjAmKuzZ9 rms=0 sum=0 threshlo=INDEF threshup=INDEF xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:51:34]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:51:34] Task Run Time fimgstat 0.110411167144775s
#
# # [INFO] [2024-11-30T23:51:34] DEBUG - SFBLCBackScal = 713913600
# [COMMAND] [2024-11-30T23:51:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:34]
evselect expression="PATTERN<=12 && PI in (500:7500] && ((FLAG & 0x762ba000)==0) && \
(region(intermediate/MOSEvents-emos1-1-SFBLC_reg_merged-U00200000080000.fits,DETX,DETY))" makeratecolumn=Y maketimecolumn=Y \
rateset=product/P0201950201M1U002FBKTSR0000.FIT table=product/P0201950201M1U002MIEVLI0000.FIT timebinsize=26 timecolumn=TIME \
updateexposure=N withrateset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:35] ** evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-SFBLC_reg_merged-U00200000080000.fits' is empty - filtering will have no effect 
# # [INFO] [2024-11-30T23:51:35] Task Run Time evselect 0.167011022567749s
#
# [COMMAND] [2024-11-30T23:51:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:35]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:35]
epiclccorr allcamera=Y applyabsolutecorrections=N eventlist=product/P0201950201M1U002MIEVLI0000.FIT \
outset=intermediate/MOSEvents-emos1-1-Copy_EPIC_flare_background_timeseries-U00200000000000.fits \
srctslist=product/P0201950201M1U002FBKTSR0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:51:37] ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty - filtering will have no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty -\
#     filtering will have no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty -\
#     filtering will have no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty -\
#     filtering will have no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty -\
#     filtering will have no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty -\
#     filtering will have no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty -\
#     filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. Detector matrices can\
#     not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. Detector matrices can\
#     not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. Detector matrices can\
#     not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. Detector matrices can\
#     not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. Detector matrices can\
#     not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. Detector matrices can\
#     not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M1U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. 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. 
# # [INFO] [2024-11-30T23:51:37] Task Run Time epiclccorr 2.37629580497742s
#
# [COMMAND] [2024-11-30T23:51:37]
cp \
/scratch/226330.1.all.q/xmm/ppsprod/229475/intermediate/MOSEvents-emos1-1-Copy_EPIC_flare_background_timeseries-U00200000000000.fits \
/scratch/226330.1.all.q/xmm/ppsprod/229475/product/P0201950201M1U002FBKTSR0000.FIT
# # [INFO] [2024-11-30T23:51:37] System RV 0
# [COMMAND] [2024-11-30T23:51:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:37]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:37]
addattribute attributecomment="\"Backscale for flaring filtering\"" attributename=BACKSCAL attributetype=real realvalue=713913600 \
set=product/P0201950201M1U002FBKTSR0000.FIT:RATE -w 10
# # [OUTPUT] [2024-11-30T23:51:37]
# # [INFO] [2024-11-30T23:51:37] Task Run Time addattribute 0.0800778865814209s
#
# # [INFO] [2024-11-30T23:51:37] Adding column for T_ELAPSED, using observation start time 2.23472389449567E+08
# [COMMAND] [2024-11-30T23:51:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:37]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:37]
tabcalc column=T_ELAPSED columntype=real64 expression=TIME-2.23472389449567E+08 tables=product/P0201950201M1U002FBKTSR0000.FIT:RATE \
-w 10
# # [OUTPUT] [2024-11-30T23:51:37]
# # [INFO] [2024-11-30T23:51:37] Task Run Time tabcalc 0.0643608570098877s
#
# # [INFO] [2024-11-30T23:51:37] CMD: bkgoptrate -V 0 -w 0 tssettabname=product/P0201950201M1U002FBKTSR0000.FIT:RATE\
#     dooutputsntab=yes ignorelowcnttail=yes\
#     snsettabname=intermediate/MOSEvents-emos1-1-Flare_GTI_SN_diagnostic-U00200000080000.fits:SN_TO_BKGCUT
# # [INFO] [2024-11-30T23:51:37] bkgoptrate returns optimum cut threshold: 1.17284727E+00 
# [COMMAND] [2024-11-30T23:51:37]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:51:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:37]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:37]
ftappend infile="intermediate/MOSEvents-emos1-1-Flare_GTI_SN_diagnostic-U00200000080000.fits[SN_TO_BKGCUT]" \
outfile=product/P0201950201M1U002FBKTSR0000.FIT
# # [OUTPUT] [2024-11-30T23:51:37]
# # [INFO] [2024-11-30T23:51:37] Task Run Time ftappend 0.0756688117980957s
#
# [COMMAND] [2024-11-30T23:51:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:37]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:37]
addattribute attributecomment="\"Optimised flare cut threshold\"" attributename=FLCUTTHR attributetype=real \
realvalue="1.17284727E+00" set=product/P0201950201M1U002FBKTSR0000.FIT:RATE -w 10
# # [OUTPUT] [2024-11-30T23:51:38]
# # [INFO] [2024-11-30T23:51:38] Task Run Time addattribute 0.136262178421021s
#
# # [INFO] [2024-11-30T23:51:38] Creating GTI files with this threshold
# [COMMAND] [2024-11-30T23:51:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:38]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:38]
tabgtigen expression="RATE < 1.17284727E+00" gtiset=intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits \
mingtisize=100 table=product/P0201950201M1U002FBKTSR0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:51:38]
# # [INFO] [2024-11-30T23:51:38] Task Run Time tabgtigen 0.122720003128052s
#
# # [INFO] [2024-11-30T23:51:38] Make full in-band, source-free light curve plots
# # [INFO] [2024-11-30T23:51:38] DEBUG - doCommand fullcmd : plotFlrBkgTimeSeries.py\
#     --pdfplotfile=product/P0201950201M1U002FBKTSR0000.PDF --plotfile=product/P0201950201M1U002FBKTSR0000.PNG --plotformat=both\
#     --rateset=product/P0201950201M1U002FBKTSR0000.FIT
# [COMMAND] [2024-11-30T23:51:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:38]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:38]
plotFlrBkgTimeSeries.py --pdfplotfile=product/P0201950201M1U002FBKTSR0000.PDF --plotfile=product/P0201950201M1U002FBKTSR0000.PNG \
--plotformat=both --rateset=product/P0201950201M1U002FBKTSR0000.FIT
# # [OUTPUT] [2024-11-30T23:51:41] Saving files : product/P0201950201M1U002FBKTSR0000.PNG and\
#     product/P0201950201M1U002FBKTSR0000.PDF 
# # [INFO] [2024-11-30T23:51:41] Task Run Time plotFlrBkgTimeSeries.py 3.79197692871094s
#
# # [INFO] [2024-11-30T23:51:41] TESTING: Recreating light curves with only valid GTIs and regions left in
# [COMMAND] [2024-11-30T23:51:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:41]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:41]
evselect expression="GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && PATTERN<=12 && PI in (500:7500] && \
((FLAG & 0x762ba000)==0) && region(intermediate/MOSEvents-emos1-1-SFBLC_reg_faint-U00200000080000.fits,DETX,DETY) && \
region(intermediate/MOSEvents-emos1-1-SFBLC_reg_bright-U00200000080000.fits,DETX,DETY) && \
GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME)" makeratecolumn=Y maketimecolumn=Y \
rateset=intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits \
table=product/P0201950201M1U002MIEVLI0000.FIT timebinsize=26 updateexposure=N withrateset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:42] ** evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-SFBLC_reg_faint-U00200000080000.fits' is empty - filtering will have no effect
# ** evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-SFBLC_reg_bright-U00200000080000.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 (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot write data\
#     subspace. 
# # [INFO] [2024-11-30T23:51:42] Task Run Time evselect 0.213259935379028s
#
# [COMMAND] [2024-11-30T23:51:42]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:51:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:42]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:42]
fstatistic colname=RATE infile=intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits \
outfile=/scratch/226330.1.all.q/HN29giRplj rows=-
# # [OUTPUT] [2024-11-30T23:51:42]
# # [INFO] [2024-11-30T23:51:42] Task Run Time fstatistic 0.0972039699554443s
#
# [COMMAND] [2024-11-30T23:51:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:42]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:42]
epiclccorr allcamera=Y applyabsolutecorrections=N eventlist=product/P0201950201M1U002MIEVLI0000.FIT \
outset=intermediate/MOSEvents-emos1-1-Copy_optimised_flare_bkg_time_series-U00200000080000.fits \
srctslist=intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits -w 10
# # [OUTPUT] [2024-11-30T23:51:44] ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 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 (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 4 times 
# # [INFO] [2024-11-30T23:51:44] Task Run Time epiclccorr 2.59146595001221s
#
# [COMMAND] [2024-11-30T23:51:44]
cp \
/scratch/226330.1.all.q/xmm/ppsprod/229475/intermediate/MOSEvents-emos1-1-Copy_optimised_flare_bkg_time_series-U00200000080000.fits \
/scratch/226330.1.all.q/xmm/ppsprod/229475/intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits
# # [INFO] [2024-11-30T23:51:44] System RV 0
# [COMMAND] [2024-11-30T23:51:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:44]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:44]
tabcalc column=T_ELAPSED columntype=real64 expression=TIME-2.23472389449567E+08 \
tables=intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:51:45]
# # [INFO] [2024-11-30T23:51:45] Task Run Time tabcalc 0.108163833618164s
#
# [COMMAND] [2024-11-30T23:51:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:45]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:45]
addattribute attributecomment="\"Optimised flare cut threshold\"" attributename=FLCUTTHR attributetype=real \
realvalue="1.17284727E+00" set=intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:51:45]
# # [INFO] [2024-11-30T23:51:45] Task Run Time addattribute 0.113308906555176s
#
# # [INFO] [2024-11-30T23:51:45] DEBUG - doCommand fullcmd : plotFlrBkgTimeSeries.py\
#     --pdfplotfile=intermediate/MOSEvents-emos1-1-Opt_in-band_source-free_light_curve-U00200000080000.pdf --plotformat=pdf\
#     --rateset=intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits
# [COMMAND] [2024-11-30T23:51:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:45]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:45]
plotFlrBkgTimeSeries.py --pdfplotfile=intermediate/MOSEvents-emos1-1-Opt_in-band_source-free_light_curve-U00200000080000.pdf \
--plotformat=pdf --rateset=intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits
# # [OUTPUT] [2024-11-30T23:51:47] Rate file intermediate/MOSEvents-emos1-1-Optimised_flare_bkg_time_series-U00200000080000.fits\
#     does not have SN_TO_BKGCUT extension
# Saving file : intermediate/MOSEvents-emos1-1-Opt_in-band_source-free_light_curve-U00200000080000.pdf 
# # [INFO] [2024-11-30T23:51:47] Task Run Time plotFlrBkgTimeSeries.py 2.53573894500732s
#
# # [INFO] [2024-11-30T23:51:47] Module name: MOSEvents
# # [INFO] [2024-11-30T23:51:47] Instrument: emos2
# # [INFO] [2024-11-30T23:51:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:51:47] Module version number: 3.61
# # [INFO] [2024-11-30T23:51:47] Exposure ID: U002
# # [INFO] [2024-11-30T23:51:47] Filter: Thick
# # [INFO] [2024-11-30T23:51:47] Instrument mode: PrimePartialW2
# # [INFO] [2024-11-30T23:51:47] No counting cycle report found. Setting mingtisize=0
# # [INFO] [2024-11-30T23:51:47] First pass of events for CCD 1, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:51:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:47]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:47]
emframes auxiliaryset=odf/0942_0201950201_M2U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00201000000000.fits \
ingtiset=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M2U00210IME.FIT \
outeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000100000.fits \
outgtiset=intermediate/MOSEvents-emos2-1-CCD_GTI-U00201000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:47]
# # [INFO] [2024-11-30T23:51:47] Task Run Time emframes 0.269530057907104s
#
# [COMMAND] [2024-11-30T23:51:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:47]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:47]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00201000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:51:48]
# # [INFO] [2024-11-30T23:51:48] Task Run Time emevents 0.246953964233398s
#
# [COMMAND] [2024-11-30T23:51:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:48]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:48]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:51:48]
# # [INFO] [2024-11-30T23:51:48] Task Run Time emenergy 0.289908885955811s
#
# # [INFO] [2024-11-30T23:51:48] First pass of events for CCD 2, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:51:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:48]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:48]
emframes auxiliaryset=odf/0942_0201950201_M2U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00202000000000.fits \
ingtiset=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M2U00220IME.FIT \
outeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000100000.fits \
outgtiset=intermediate/MOSEvents-emos2-1-CCD_GTI-U00202000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:49]
# # [INFO] [2024-11-30T23:51:49] Task Run Time emframes 0.536087989807129s
#
# [COMMAND] [2024-11-30T23:51:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:49]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:49]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00202000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:51:49] ** emevents: warning (rejectFlickering13), The number of frames 375 is not large enough compared\
#     to the frame tolerance 5 . The flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:51:49] Task Run Time emevents 0.263201951980591s
#
# [COMMAND] [2024-11-30T23:51:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:49]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:49]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:51:49]
# # [INFO] [2024-11-30T23:51:49] Task Run Time emenergy 0.506011009216309s
#
# # [INFO] [2024-11-30T23:51:49] First pass of events for CCD 3, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:51:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:49]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:49]
emframes auxiliaryset=odf/0942_0201950201_M2U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00203000000000.fits \
ingtiset=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M2U00230IME.FIT \
outeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000100000.fits \
outgtiset=intermediate/MOSEvents-emos2-1-CCD_GTI-U00203000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:50]
# # [INFO] [2024-11-30T23:51:50] Task Run Time emframes 0.419925928115845s
#
# [COMMAND] [2024-11-30T23:51:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:50]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:50]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00203000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:51:50] ** emevents: warning (rejectRows12), Fraction of rejected frames 1.86666660E-02 exceeds 1% at\
#     some rows 3 in intermediate/MOSEvents-emos2-1-Processed_events-U00203000200000.fits:EVENTS
# ** emevents: warning (rejectFlickering13), The number of frames 375 is not large enough compared to the frame tolerance 5 . The\
#     flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:51:50] Task Run Time emevents 0.176392078399658s
#
# [COMMAND] [2024-11-30T23:51:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:50]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:50]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:51:50]
# # [INFO] [2024-11-30T23:51:50] Task Run Time emenergy 0.453185081481934s
#
# # [INFO] [2024-11-30T23:51:50] First pass of events for CCD 4, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:51:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:50]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:50]
emframes auxiliaryset=odf/0942_0201950201_M2U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00204000000000.fits \
ingtiset=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M2U00240IME.FIT \
outeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000100000.fits \
outgtiset=intermediate/MOSEvents-emos2-1-CCD_GTI-U00204000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:51]
# # [INFO] [2024-11-30T23:51:51] Task Run Time emframes 0.427877902984619s
#
# [COMMAND] [2024-11-30T23:51:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:51]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:51]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00204000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:51:51] ** emevents: warning (rejectRows12), Fraction of rejected frames 4.80000004E-02 exceeds 1% at\
#     some rows 2 in intermediate/MOSEvents-emos2-1-Processed_events-U00204000200000.fits:EVENTS
# ** emevents: warning (rejectFlickering13), The number of frames 375 is not large enough compared to the frame tolerance 5 . The\
#     flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:51:51] Task Run Time emevents 0.280261993408203s
#
# [COMMAND] [2024-11-30T23:51:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:51]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:51]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:51:51]
# # [INFO] [2024-11-30T23:51:51] Task Run Time emenergy 0.333837985992432s
#
# # [INFO] [2024-11-30T23:51:51] First pass of events for CCD 5, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:51:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:51]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:51]
emframes auxiliaryset=odf/0942_0201950201_M2U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00205000000000.fits \
ingtiset=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M2U00250IME.FIT \
outeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000100000.fits \
outgtiset=intermediate/MOSEvents-emos2-1-CCD_GTI-U00205000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:52]
# # [INFO] [2024-11-30T23:51:52] Task Run Time emframes 0.458035945892334s
#
# [COMMAND] [2024-11-30T23:51:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:52]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:52]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00205000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:51:52] ** emevents: warning (findBitFlip11), Not enough events to solve offsets at 258 257 .Everything\
#     set to 4095.
# ** emevents: warning (findBitFlip11), Not enough events to solve offsets at 530 530 .Everything set to 4095.
# ** emevents: warning (rejectFlickering13), The number of frames 375 is not large enough compared to the frame tolerance 5 . The\
#     flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:51:52] Task Run Time emevents 0.242778062820435s
#
# [COMMAND] [2024-11-30T23:51:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:52]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:52]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:51:53]
# # [INFO] [2024-11-30T23:51:53] Task Run Time emenergy 0.539956092834473s
#
# # [INFO] [2024-11-30T23:51:53] First pass of events for CCD 6, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:51:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:53]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:53]
emframes auxiliaryset=odf/0942_0201950201_M2U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00206000000000.fits \
ingtiset=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M2U00260IME.FIT \
outeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000100000.fits \
outgtiset=intermediate/MOSEvents-emos2-1-CCD_GTI-U00206000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:53]
# # [INFO] [2024-11-30T23:51:53] Task Run Time emframes 0.417023897171021s
#
# [COMMAND] [2024-11-30T23:51:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:53]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:53]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00206000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:51:53] ** emevents: warning (findBitFlip11), Not enough events to solve offsets at 599 600 .Everything\
#     set to 4095.
# ** emevents: warning (rejectFlickering13), The number of frames 375 is not large enough compared to the frame tolerance 5 . The\
#     flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:51:53] Task Run Time emevents 0.252653121948242s
#
# [COMMAND] [2024-11-30T23:51:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:53]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:53]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:51:54]
# # [INFO] [2024-11-30T23:51:54] Task Run Time emenergy 0.368111848831177s
#
# # [INFO] [2024-11-30T23:51:54] First pass of events for CCD 7, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:51:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:54]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:54]
emframes auxiliaryset=odf/0942_0201950201_M2U00200AUX.FIT flagbadtimes=yes \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00207000000000.fits \
ingtiset=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits neweventset=Y odfeventset=odf/0942_0201950201_M2U00270IME.FIT \
outeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000100000.fits \
outgtiset=intermediate/MOSEvents-emos2-1-CCD_GTI-U00207000100000.fits withodfeventset=Y writegtiset=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:54]
# # [INFO] [2024-11-30T23:51:54] Task Run Time emframes 0.583127021789551s
#
# [COMMAND] [2024-11-30T23:51:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:54]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:54]
emevents analysepatterns=N eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000200000.fits flagbadpixels=N \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00207000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000100000.fits randomizeposition=N splitdiagonals=N withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:51:55] ** emevents: warning (findBitFlip11), Not enough events to solve offsets at 15 16 .Everything set\
#     to 4095.
# ** emevents: warning (findBitFlip11), Not enough events to solve offsets at 467 468 .Everything set to 4095.
# ** emevents: warning (rejectFlickering13), The number of frames 375 is not large enough compared to the frame tolerance 5 . The\
#     flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:51:55] Task Run Time emevents 0.290467977523804s
#
# [COMMAND] [2024-11-30T23:51:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:55]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:55]
emenergy correctcti=N correctgain=N ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000200000.fits \
randomizeenergy=N -w 10
# # [OUTPUT] [2024-11-30T23:51:55]
# # [INFO] [2024-11-30T23:51:55] Task Run Time emenergy 0.336471080780029s
#
# [COMMAND] [2024-11-30T23:51:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:55]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:55]
evlistcomb emosdatamodes=IMAGING eventsets="intermediate/MOSEvents-emos2-1-Processed_events-U00201000200000.fits \
intermediate/MOSEvents-emos2-1-Processed_events-U00202000200000.fits \
intermediate/MOSEvents-emos2-1-Processed_events-U00203000200000.fits \
intermediate/MOSEvents-emos2-1-Processed_events-U00204000200000.fits \
intermediate/MOSEvents-emos2-1-Processed_events-U00205000200000.fits \
intermediate/MOSEvents-emos2-1-Processed_events-U00206000200000.fits \
intermediate/MOSEvents-emos2-1-Processed_events-U00207000200000.fits" \
imagingset=intermediate/MOSEvents-emos2-1-Bad_pix_find_event_list-U00200000000000.fits instrument=emos -w 10
# # [OUTPUT] [2024-11-30T23:51:55]
# # [INFO] [2024-11-30T23:51:55] Task Run Time evlistcomb 0.18079400062561s
#
# # [INFO] [2024-11-30T23:51:55] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:51:55] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:51:55] Matched comment: OUT_OF_FOV
# # [INFO] [2024-11-30T23:51:55] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:51:55] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:51:55] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:51:55] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:51:55] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:51:55] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:51:55] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:51:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:55]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:55]
evselect expression="(PATTERN==0) && #XMMEA_22 && ((FLAG & 0x760ba000) == 0)" makeratecolumn=Y maketimecolumn=Y \
rateset=intermediate/MOSEvents-emos2-1-Flare_rates_file-U00200000100000.fits \
table=intermediate/MOSEvents-emos2-1-Bad_pix_find_event_list-U00200000000000.fits timebinsize=26 timecolumn=TIME updateexposure=N \
withimageset=N withrateset=Y writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:51:55] ** evselect: warning (NoProductExp), No live time information available. Cannot write EXPOSURE\
#     keyword for output products. 
# # [INFO] [2024-11-30T23:51:55] Task Run Time evselect 0.116692781448364s
#
# # [INFO] [2024-11-30T23:51:55] RUN: bkgoptrate fracexpstyle=auto\
#     tssettabname=intermediate/MOSEvents-emos2-1-Flare_rates_file-U00200000100000.fits:RATE withendtime=N withlowercutoffcount=N\
#     withmintimeratio=N ignorelowcnttail=Y withstarttime=N -w 10
# # [INFO] [2024-11-30T23:51:55] OPTRATE: 7.69242704E-01
# [COMMAND] [2024-11-30T23:51:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:55]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:55]
tabgtigen expression="RATE< 7.69242704E-01" gtiset=intermediate/MOSEvents-emos2-1-Bad_pix_flare_GTI-U00200000000000.fits \
mingtisize=0 table=intermediate/MOSEvents-emos2-1-Flare_rates_file-U00200000100000.fits -w 10
# # [OUTPUT] [2024-11-30T23:51:55]
# # [INFO] [2024-11-30T23:51:55] Task Run Time tabgtigen 0.067730188369751s
#
# # [INFO] [2024-11-30T23:51:55] Flare screening GTI_Time: 1.04000000000000E+03, GTI_time_threshold: 1000
# # [INFO] [2024-11-30T23:51:55] Second pass of events for CCD 1, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:51:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:55]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:55]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00201000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:56]
# # [INFO] [2024-11-30T23:51:56] Task Run Time emeventsproj 0.140095949172974s
#
# [COMMAND] [2024-11-30T23:51:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:56]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:56]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00201000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00201000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:56]
# # [INFO] [2024-11-30T23:51:56] Task Run Time embadpixfind 0.134339094161987s
#
# [COMMAND] [2024-11-30T23:51:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:56]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:56]
evselect expression="gti(intermediate/MOSEvents-emos2-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00201000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:51:56] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:51:56] Task Run Time evselect 0.0873000621795654s
#
# [COMMAND] [2024-11-30T23:51:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:56]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:56]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00201000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:56]
# # [INFO] [2024-11-30T23:51:56] Task Run Time emeventsproj 0.170735836029053s
#
# [COMMAND] [2024-11-30T23:51:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:56]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:56]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00201000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00201000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:56]
# # [INFO] [2024-11-30T23:51:56] Task Run Time embadpixfind 0.0895600318908691s
#
# [COMMAND] [2024-11-30T23:51:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:56]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:56]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00201000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:51:56] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:51:56] Task Run Time evselect 0.0780379772186279s
#
# [COMMAND] [2024-11-30T23:51:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:56]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:56]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00201000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:56]
# # [INFO] [2024-11-30T23:51:56] Task Run Time emeventsproj 0.135955810546875s
#
# [COMMAND] [2024-11-30T23:51:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:56]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:56]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00201000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00201000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:56]
# # [INFO] [2024-11-30T23:51:56] Task Run Time embadpixfind 0.0864889621734619s
#
# [COMMAND] [2024-11-30T23:51:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:56]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:56]
badpix badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00201000000000.fits \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:56]
# # [INFO] [2024-11-30T23:51:56] Task Run Time badpix 0.116119861602783s
#
# [COMMAND] [2024-11-30T23:51:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:56]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:56]
emevents eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000400000.fits \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00201000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:51:57]
# # [INFO] [2024-11-30T23:51:57] Task Run Time emevents 0.265372037887573s
#
# [COMMAND] [2024-11-30T23:51:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:57]
gtialign eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000400000.fits \
gtitable=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00201000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:51:57] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:51:57] Task Run Time gtialign 0.0740549564361572s
#
# [COMMAND] [2024-11-30T23:51:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:57]
gtimerge gtitable=intermediate/MOSEvents-emos2-1-CCD_GTI-U00201000200000.fits:STDGTI01 mergemode=and \
tables="intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00201000000000.fits \
intermediate/MOSEvents-emos2-1-CCD_GTI-U00201000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:51:57]
# # [INFO] [2024-11-30T23:51:57] Task Run Time gtimerge 0.094120979309082s
#
# [COMMAND] [2024-11-30T23:51:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:57]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:51:57]
# # [INFO] [2024-11-30T23:51:57] Task Run Time attcalc 0.123095989227295s
#
# [COMMAND] [2024-11-30T23:51:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:57]
emenergy ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00201000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:58]
# # [INFO] [2024-11-30T23:51:58] Task Run Time emenergy 0.809659004211426s
#
# # [INFO] [2024-11-30T23:51:58] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:51:58] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:51:58] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:51:58] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:51:58] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:51:58] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:51:58] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:51:58] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:51:58] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:51:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:58]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:58]
evselect destruct=Y expression="(FLAG & 0x762a8000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00201000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:58] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:51:58] Task Run Time evselect 0.078139066696167s
#
# # [INFO] [2024-11-30T23:51:58] Second pass of events for CCD 2, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:51:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:58]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:58]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00202000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:58]
# # [INFO] [2024-11-30T23:51:58] Task Run Time emeventsproj 0.143921136856079s
#
# [COMMAND] [2024-11-30T23:51:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:58]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:58]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00202000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00202000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:59]
# # [INFO] [2024-11-30T23:51:59] Task Run Time embadpixfind 0.426685094833374s
#
# [COMMAND] [2024-11-30T23:51:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:59]
evselect expression="gti(intermediate/MOSEvents-emos2-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00202000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:51:59] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:51:59] Task Run Time evselect 0.0665030479431152s
#
# [COMMAND] [2024-11-30T23:51:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:59]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00202000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:59]
# # [INFO] [2024-11-30T23:51:59] Task Run Time emeventsproj 0.166100978851318s
#
# [COMMAND] [2024-11-30T23:51:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:59]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00202000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00202000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:59]
# # [INFO] [2024-11-30T23:51:59] Task Run Time embadpixfind 0.452881097793579s
#
# [COMMAND] [2024-11-30T23:51:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:59]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00202000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:51:59] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:51:59] Task Run Time evselect 0.114526033401489s
#
# [COMMAND] [2024-11-30T23:51:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:59]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00202000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:51:59]
# # [INFO] [2024-11-30T23:51:59] Task Run Time emeventsproj 0.117255926132202s
#
# [COMMAND] [2024-11-30T23:51:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:51:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:51:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:51:59]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00202000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00202000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:00]
# # [INFO] [2024-11-30T23:52:00] Task Run Time embadpixfind 0.404749870300293s
#
# [COMMAND] [2024-11-30T23:52:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:00]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:00]
badpix badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00202000000000.fits \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:00]
# # [INFO] [2024-11-30T23:52:00] Task Run Time badpix 0.14129900932312s
#
# [COMMAND] [2024-11-30T23:52:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:00]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:00]
emevents eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000400000.fits \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00202000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:52:00] ** emevents: warning (rejectRows12), Fraction of rejected frames 1.33333337E-02 exceeds 1% at\
#     some rows 2 in intermediate/MOSEvents-emos2-1-Processed_events-U00202000400000.fits:EVENTS
# ** emevents: warning (findBitFlip11), Not enough events to solve offsets at 1 2 .Everything set to 4095.
# ** emevents: warning (rejectFlickering13), The number of frames 375 is not large enough compared to the frame tolerance 5 . The\
#     flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:52:00] Task Run Time emevents 0.249696969985962s
#
# [COMMAND] [2024-11-30T23:52:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:00]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:00]
gtialign eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000400000.fits \
gtitable=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00202000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:52:00] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:52:00] Task Run Time gtialign 0.0873160362243652s
#
# [COMMAND] [2024-11-30T23:52:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:00]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:00]
gtimerge gtitable=intermediate/MOSEvents-emos2-1-CCD_GTI-U00202000200000.fits:STDGTI02 mergemode=and \
tables="intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00202000000000.fits \
intermediate/MOSEvents-emos2-1-CCD_GTI-U00202000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:52:00]
# # [INFO] [2024-11-30T23:52:00] Task Run Time gtimerge 0.0649847984313965s
#
# [COMMAND] [2024-11-30T23:52:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:00]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:00]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:52:01]
# # [INFO] [2024-11-30T23:52:01] Task Run Time attcalc 0.21801495552063s
#
# [COMMAND] [2024-11-30T23:52:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:01]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:01]
emenergy ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00202000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:01]
# # [INFO] [2024-11-30T23:52:01] Task Run Time emenergy 0.828958988189697s
#
# # [INFO] [2024-11-30T23:52:01] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:52:01] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:52:01] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:52:01] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:52:01] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:52:01] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:52:01] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:52:01] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:52:01] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:52:01] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:52:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:01]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:01]
evselect destruct=Y expression="(FLAG & 0x762aa000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00202000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:02] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:02] Task Run Time evselect 0.0793008804321289s
#
# # [INFO] [2024-11-30T23:52:02] Second pass of events for CCD 3, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:52:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:02]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:02]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00203000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:02]
# # [INFO] [2024-11-30T23:52:02] Task Run Time emeventsproj 0.12702488899231s
#
# [COMMAND] [2024-11-30T23:52:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:02]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:02]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00203000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00203000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:02]
# # [INFO] [2024-11-30T23:52:02] Task Run Time embadpixfind 0.3665931224823s
#
# [COMMAND] [2024-11-30T23:52:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:02]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:02]
evselect expression="gti(intermediate/MOSEvents-emos2-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00203000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:52:02] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:02] Task Run Time evselect 0.105926990509033s
#
# [COMMAND] [2024-11-30T23:52:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:02]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:02]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00203000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:02]
# # [INFO] [2024-11-30T23:52:02] Task Run Time emeventsproj 0.138543128967285s
#
# [COMMAND] [2024-11-30T23:52:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:02]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:02]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00203000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00203000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:03]
# # [INFO] [2024-11-30T23:52:03] Task Run Time embadpixfind 0.341819047927856s
#
# [COMMAND] [2024-11-30T23:52:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:03]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00203000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:52:03] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:03] Task Run Time evselect 0.0970041751861572s
#
# [COMMAND] [2024-11-30T23:52:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:03]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00203000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:03]
# # [INFO] [2024-11-30T23:52:03] Task Run Time emeventsproj 0.0843830108642578s
#
# [COMMAND] [2024-11-30T23:52:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:03]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00203000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00203000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:03]
# # [INFO] [2024-11-30T23:52:03] Task Run Time embadpixfind 0.401865005493164s
#
# [COMMAND] [2024-11-30T23:52:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:03]
badpix badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00203000000000.fits \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:03]
# # [INFO] [2024-11-30T23:52:03] Task Run Time badpix 0.152653932571411s
#
# [COMMAND] [2024-11-30T23:52:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:03]
emevents eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000400000.fits \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00203000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:52:04] ** emevents: warning (rejectRows12), Fraction of rejected frames 1.86666660E-02 exceeds 1% at\
#     some rows 3 in intermediate/MOSEvents-emos2-1-Processed_events-U00203000400000.fits:EVENTS
# ** emevents: warning (rejectFlickering13), The number of frames 375 is not large enough compared to the frame tolerance 5 . The\
#     flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:52:04] Task Run Time emevents 0.172440052032471s
#
# [COMMAND] [2024-11-30T23:52:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:04]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:04]
gtialign eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000400000.fits \
gtitable=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00203000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:52:04] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:52:04] Task Run Time gtialign 0.0624840259552002s
#
# [COMMAND] [2024-11-30T23:52:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:04]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:04]
gtimerge gtitable=intermediate/MOSEvents-emos2-1-CCD_GTI-U00203000200000.fits:STDGTI03 mergemode=and \
tables="intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00203000000000.fits \
intermediate/MOSEvents-emos2-1-CCD_GTI-U00203000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:52:04]
# # [INFO] [2024-11-30T23:52:04] Task Run Time gtimerge 0.0471329689025879s
#
# [COMMAND] [2024-11-30T23:52:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:04]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:04]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:52:04]
# # [INFO] [2024-11-30T23:52:04] Task Run Time attcalc 0.157685041427612s
#
# [COMMAND] [2024-11-30T23:52:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:04]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:04]
emenergy ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00203000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:05]
# # [INFO] [2024-11-30T23:52:05] Task Run Time emenergy 0.808330059051514s
#
# # [INFO] [2024-11-30T23:52:05] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:52:05] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:52:05] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:52:05] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:52:05] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:52:05] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:52:05] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:52:05] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:52:05] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:52:05] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:52:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:05]
evselect destruct=Y expression="(FLAG & 0x762aa000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00203000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:05] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:05] Task Run Time evselect 0.0641930103302002s
#
# # [INFO] [2024-11-30T23:52:05] Second pass of events for CCD 4, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:52:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:05]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00204000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:05]
# # [INFO] [2024-11-30T23:52:05] Task Run Time emeventsproj 0.0823540687561035s
#
# [COMMAND] [2024-11-30T23:52:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:05]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00204000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00204000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:05]
# # [INFO] [2024-11-30T23:52:05] Task Run Time embadpixfind 0.378382921218872s
#
# [COMMAND] [2024-11-30T23:52:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:05]
evselect expression="gti(intermediate/MOSEvents-emos2-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00204000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:52:05] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:05] Task Run Time evselect 0.0489439964294434s
#
# [COMMAND] [2024-11-30T23:52:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:05]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00204000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:05]
# # [INFO] [2024-11-30T23:52:05] Task Run Time emeventsproj 0.0967509746551514s
#
# [COMMAND] [2024-11-30T23:52:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:05]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00204000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00204000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:06]
# # [INFO] [2024-11-30T23:52:06] Task Run Time embadpixfind 0.31128191947937s
#
# [COMMAND] [2024-11-30T23:52:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:06]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00204000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:52:06] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:06] Task Run Time evselect 0.0451459884643555s
#
# [COMMAND] [2024-11-30T23:52:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:06]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00204000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:06]
# # [INFO] [2024-11-30T23:52:06] Task Run Time emeventsproj 0.0885071754455566s
#
# [COMMAND] [2024-11-30T23:52:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:06]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00204000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00204000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:06]
# # [INFO] [2024-11-30T23:52:06] Task Run Time embadpixfind 0.340295076370239s
#
# [COMMAND] [2024-11-30T23:52:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:06]
badpix badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00204000000000.fits \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:06]
# # [INFO] [2024-11-30T23:52:06] Task Run Time badpix 0.0685350894927979s
#
# [COMMAND] [2024-11-30T23:52:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:06]
emevents eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000400000.fits \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00204000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:52:06] ** emevents: warning (rejectRows12), Fraction of rejected frames 4.80000004E-02 exceeds 1% at\
#     some rows 2 in intermediate/MOSEvents-emos2-1-Processed_events-U00204000400000.fits:EVENTS
# ** emevents: warning (rejectFlickering13), The number of frames 375 is not large enough compared to the frame tolerance 5 . The\
#     flickering rejection will not work optimally.
# ** emevents: warning (checkRejected10), the fraction of good events 8.92896876E-02 is less than 0.100000001 
# # [INFO] [2024-11-30T23:52:06] Task Run Time emevents 0.243275880813599s
#
# [COMMAND] [2024-11-30T23:52:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:06]
gtialign eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000400000.fits \
gtitable=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00204000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:52:06] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:52:06] Task Run Time gtialign 0.0310862064361572s
#
# [COMMAND] [2024-11-30T23:52:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:06]
gtimerge gtitable=intermediate/MOSEvents-emos2-1-CCD_GTI-U00204000200000.fits:STDGTI04 mergemode=and \
tables="intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00204000000000.fits \
intermediate/MOSEvents-emos2-1-CCD_GTI-U00204000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:52:07]
# # [INFO] [2024-11-30T23:52:07] Task Run Time gtimerge 0.0337281227111816s
#
# [COMMAND] [2024-11-30T23:52:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:07]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:07]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:52:07]
# # [INFO] [2024-11-30T23:52:07] Task Run Time attcalc 0.14873194694519s
#
# [COMMAND] [2024-11-30T23:52:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:07]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:07]
emenergy ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00204000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:07]
# # [INFO] [2024-11-30T23:52:07] Task Run Time emenergy 0.711287975311279s
#
# # [INFO] [2024-11-30T23:52:07] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:52:07] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:52:07] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:52:07] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:52:07] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:52:07] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:52:07] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:52:07] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:52:07] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:52:07] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:52:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:07]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:07]
evselect destruct=Y expression="(FLAG & 0x762aa000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00204000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:07] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:07] Task Run Time evselect 0.0399341583251953s
#
# # [INFO] [2024-11-30T23:52:07] Second pass of events for CCD 5, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:52:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:07]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:07]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00205000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:08]
# # [INFO] [2024-11-30T23:52:08] Task Run Time emeventsproj 0.0681240558624268s
#
# [COMMAND] [2024-11-30T23:52:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:08]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:08]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00205000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00205000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:08]
# # [INFO] [2024-11-30T23:52:08] Task Run Time embadpixfind 0.336793899536133s
#
# [COMMAND] [2024-11-30T23:52:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:08]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:08]
evselect expression="gti(intermediate/MOSEvents-emos2-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00205000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:52:08] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:08] Task Run Time evselect 0.0842978954315186s
#
# [COMMAND] [2024-11-30T23:52:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:08]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:08]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00205000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:08]
# # [INFO] [2024-11-30T23:52:08] Task Run Time emeventsproj 0.0766141414642334s
#
# [COMMAND] [2024-11-30T23:52:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:08]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:08]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00205000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00205000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:08]
# # [INFO] [2024-11-30T23:52:08] Task Run Time embadpixfind 0.331377029418945s
#
# [COMMAND] [2024-11-30T23:52:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:08]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:08]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00205000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:52:08] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:08] Task Run Time evselect 0.0581119060516357s
#
# [COMMAND] [2024-11-30T23:52:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:08]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:08]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00205000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:09]
# # [INFO] [2024-11-30T23:52:09] Task Run Time emeventsproj 0.0875260829925537s
#
# [COMMAND] [2024-11-30T23:52:09]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:09]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:09] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:09]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00205000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00205000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:09]
# # [INFO] [2024-11-30T23:52:09] Task Run Time embadpixfind 0.283058881759644s
#
# [COMMAND] [2024-11-30T23:52:09]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:09]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:09] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:09]
badpix badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00205000000000.fits \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:09]
# # [INFO] [2024-11-30T23:52:09] Task Run Time badpix 0.131414890289307s
#
# [COMMAND] [2024-11-30T23:52:09]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:09]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:09] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:09]
emevents eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000400000.fits \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00205000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:52:09] ** emevents: warning (findBitFlip11), Not enough events to solve offsets at 258 257 .Everything\
#     set to 4095.
# ** emevents: warning (findBitFlip11), Not enough events to solve offsets at 530 530 .Everything set to 4095.
# ** emevents: warning (rejectFlickering13), The number of frames 375 is not large enough compared to the frame tolerance 5 . The\
#     flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:52:09] Task Run Time emevents 0.179253101348877s
#
# [COMMAND] [2024-11-30T23:52:09]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:09]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:09] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:09]
gtialign eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000400000.fits \
gtitable=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00205000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:52:09] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:52:09] Task Run Time gtialign 0.0557169914245605s
#
# [COMMAND] [2024-11-30T23:52:09]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:09]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:09] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:09]
gtimerge gtitable=intermediate/MOSEvents-emos2-1-CCD_GTI-U00205000200000.fits:STDGTI05 mergemode=and \
tables="intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00205000000000.fits \
intermediate/MOSEvents-emos2-1-CCD_GTI-U00205000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:52:09]
# # [INFO] [2024-11-30T23:52:09] Task Run Time gtimerge 0.0415399074554443s
#
# [COMMAND] [2024-11-30T23:52:09]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:09]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:09] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:09]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:52:09]
# # [INFO] [2024-11-30T23:52:09] Task Run Time attcalc 0.180377006530762s
#
# [COMMAND] [2024-11-30T23:52:09]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:09]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:09] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:09]
emenergy ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00205000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:10]
# # [INFO] [2024-11-30T23:52:10] Task Run Time emenergy 0.935542106628418s
#
# # [INFO] [2024-11-30T23:52:10] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:52:10] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:52:10] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:52:10] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:52:10] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:52:10] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:52:10] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:52:10] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:52:10] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:52:10] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:52:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:10]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:10]
evselect destruct=Y expression="(FLAG & 0x762aa000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00205000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:10] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:10] Task Run Time evselect 0.0949349403381348s
#
# # [INFO] [2024-11-30T23:52:10] Second pass of events for CCD 6, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:52:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:10]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:10]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00206000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:11]
# # [INFO] [2024-11-30T23:52:11] Task Run Time emeventsproj 0.0591499805450439s
#
# [COMMAND] [2024-11-30T23:52:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:11]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:11]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00206000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00206000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:11]
# # [INFO] [2024-11-30T23:52:11] Task Run Time embadpixfind 0.3504478931427s
#
# [COMMAND] [2024-11-30T23:52:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:11]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:11]
evselect expression="gti(intermediate/MOSEvents-emos2-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00206000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:52:11] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:11] Task Run Time evselect 0.0581810474395752s
#
# [COMMAND] [2024-11-30T23:52:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:11]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:11]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00206000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:11]
# # [INFO] [2024-11-30T23:52:11] Task Run Time emeventsproj 0.0937080383300781s
#
# [COMMAND] [2024-11-30T23:52:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:11]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:11]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00206000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00206000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:11]
# # [INFO] [2024-11-30T23:52:11] Task Run Time embadpixfind 0.375197172164917s
#
# [COMMAND] [2024-11-30T23:52:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:11]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:11]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00206000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:52:11] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:11] Task Run Time evselect 0.0621259212493896s
#
# [COMMAND] [2024-11-30T23:52:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:11]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:11]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00206000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:12]
# # [INFO] [2024-11-30T23:52:12] Task Run Time emeventsproj 0.0813469886779785s
#
# [COMMAND] [2024-11-30T23:52:12]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:12]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:12] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:12]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00206000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00206000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:12]
# # [INFO] [2024-11-30T23:52:12] Task Run Time embadpixfind 0.325793027877808s
#
# [COMMAND] [2024-11-30T23:52:12]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:12]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:12] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:12]
badpix badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00206000000000.fits \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:12]
# # [INFO] [2024-11-30T23:52:12] Task Run Time badpix 0.0593240261077881s
#
# [COMMAND] [2024-11-30T23:52:12]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:12]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:12] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:12]
emevents eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000400000.fits \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00206000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:52:12] ** emevents: warning (findBitFlip11), Not enough events to solve offsets at 599 600 .Everything\
#     set to 4095.
# ** emevents: warning (rejectFlickering13), The number of frames 375 is not large enough compared to the frame tolerance 5 . The\
#     flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:52:12] Task Run Time emevents 0.125468969345093s
#
# [COMMAND] [2024-11-30T23:52:12]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:12]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:12] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:12]
gtialign eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000400000.fits \
gtitable=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00206000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:52:12] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:52:12] Task Run Time gtialign 0.0563640594482422s
#
# [COMMAND] [2024-11-30T23:52:12]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:12]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:12] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:12]
gtimerge gtitable=intermediate/MOSEvents-emos2-1-CCD_GTI-U00206000200000.fits:STDGTI06 mergemode=and \
tables="intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00206000000000.fits \
intermediate/MOSEvents-emos2-1-CCD_GTI-U00206000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:52:12]
# # [INFO] [2024-11-30T23:52:12] Task Run Time gtimerge 0.0853800773620605s
#
# [COMMAND] [2024-11-30T23:52:12]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:12]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:12] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:12]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:52:12]
# # [INFO] [2024-11-30T23:52:12] Task Run Time attcalc 0.145809173583984s
#
# [COMMAND] [2024-11-30T23:52:12]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:12]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:12] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:12]
emenergy ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00206000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:13]
# # [INFO] [2024-11-30T23:52:13] Task Run Time emenergy 0.755689144134521s
#
# # [INFO] [2024-11-30T23:52:13] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:52:13] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:52:13] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:52:13] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:52:13] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:52:13] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:52:13] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:52:13] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:52:13] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:52:13] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:52:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:13]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:13]
evselect destruct=Y expression="(FLAG & 0x762aa000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00206000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:13] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:13] Task Run Time evselect 0.0474550724029541s
#
# # [INFO] [2024-11-30T23:52:13] Second pass of events for CCD 7, node 0, mode=IMAGE.EL
# [COMMAND] [2024-11-30T23:52:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:13]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:13]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00207000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:13]
# # [INFO] [2024-11-30T23:52:13] Task Run Time emeventsproj 0.0513930320739746s
#
# [COMMAND] [2024-11-30T23:52:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:13]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:13]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00207000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00207000000000.fits findbright=N includedeadpixels=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:14]
# # [INFO] [2024-11-30T23:52:14] Task Run Time embadpixfind 0.308273077011108s
#
# [COMMAND] [2024-11-30T23:52:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:14]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:14]
evselect expression="gti(intermediate/MOSEvents-emos2-1-Bad_pix_flare_GTI-U00200000000000.fits:STDGTI,TIME)" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00207000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:52:14] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:14] Task Run Time evselect 0.038261890411377s
#
# [COMMAND] [2024-11-30T23:52:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:14]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:14]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00207000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:14]
# # [INFO] [2024-11-30T23:52:14] Task Run Time emeventsproj 0.0690970420837402s
#
# [COMMAND] [2024-11-30T23:52:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:14]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:14]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00207000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00207000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:14]
# # [INFO] [2024-11-30T23:52:14] Task Run Time embadpixfind 0.311173915863037s
#
# [COMMAND] [2024-11-30T23:52:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:14]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:14]
evselect destruct=Y expression="PHA < 150" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00207000200000.fits updateexposure=N withimageset=N writedss=N -w 10
# # [OUTPUT] [2024-11-30T23:52:14] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:14] Task Run Time evselect 0.0506930351257324s
#
# [COMMAND] [2024-11-30T23:52:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:14]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:14]
emeventsproj eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000200000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00207000000000.fits rejectbadevents=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:14]
# # [INFO] [2024-11-30T23:52:14] Task Run Time emeventsproj 0.0553100109100342s
#
# [COMMAND] [2024-11-30T23:52:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:14]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:14]
embadpixfind badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00207000000000.fits \
evimageset=intermediate/MOSEvents-emos2-1-Projected_image-U00207000000000.fits finddead=N incremental=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:14]
# # [INFO] [2024-11-30T23:52:14] Task Run Time embadpixfind 0.325959205627441s
#
# [COMMAND] [2024-11-30T23:52:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:14]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:14]
badpix badpixset=intermediate/MOSEvents-emos2-1-Bad_pixel_list-U00207000000000.fits \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000100000.fits getnewbadpix=Y getotherbadpix=Y getuplnkbadpix=Y \
outset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000300000.fits windowfilter=Y withoutset=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:14]
# # [INFO] [2024-11-30T23:52:14] Task Run Time badpix 0.0737400054931641s
#
# [COMMAND] [2024-11-30T23:52:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:14]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:14]
emevents eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000400000.fits \
frameset=intermediate/MOSEvents-emos2-1-Rectified_frames-U00207000000000.fits \
odfeventset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000300000.fits randomizeposition=Y randomizetime=Y withframeset=Y \
-w 10
# # [OUTPUT] [2024-11-30T23:52:15] ** emevents: warning (findBitFlip11), Not enough events to solve offsets at 15 16 .Everything set\
#     to 4095.
# ** emevents: warning (findBitFlip11), Not enough events to solve offsets at 467 468 .Everything set to 4095.
# ** emevents: warning (rejectFlickering13), The number of frames 375 is not large enough compared to the frame tolerance 5 . The\
#     flickering rejection will not work optimally. 
# # [INFO] [2024-11-30T23:52:15] Task Run Time emevents 0.138215065002441s
#
# [COMMAND] [2024-11-30T23:52:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:15]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:15]
gtialign eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000400000.fits \
gtitable=intermediate/InstrumentHK-emos2-1-HK_GTI-X00000000000000.fits:STDGTI \
outset=intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00207000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:52:15] ** gtialign: warning (OutsideFrames), Frame times do not span all GTIs. GTI times outside of\
#     frame times are not modified. 
# # [INFO] [2024-11-30T23:52:15] Task Run Time gtialign 0.0407590866088867s
#
# [COMMAND] [2024-11-30T23:52:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:15]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:15]
gtimerge gtitable=intermediate/MOSEvents-emos2-1-CCD_GTI-U00207000200000.fits:STDGTI07 mergemode=and \
tables="intermediate/MOSEvents-emos2-1-Aligned_HK_GTI-U00207000000000.fits \
intermediate/MOSEvents-emos2-1-CCD_GTI-U00207000100000.fits" -w 10
# # [OUTPUT] [2024-11-30T23:52:15]
# # [INFO] [2024-11-30T23:52:15] Task Run Time gtimerge 0.0281131267547607s
#
# [COMMAND] [2024-11-30T23:52:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:15]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:15]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf \
eventset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000400000.fits refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:52:15]
# # [INFO] [2024-11-30T23:52:15] Task Run Time attcalc 0.10115909576416s
#
# [COMMAND] [2024-11-30T23:52:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:15]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:15]
emenergy ineventset=intermediate/MOSEvents-emos2-1-Processed_events-U00207000400000.fits randomizeenergy=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:16]
# # [INFO] [2024-11-30T23:52:16] Task Run Time emenergy 0.739502906799316s
#
# # [INFO] [2024-11-30T23:52:16] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:52:16] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:52:16] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:52:16] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:52:16] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:52:16] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:52:16] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:52:16] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:52:16] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:52:16] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:52:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:16]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:16]
evselect destruct=Y expression="(FLAG & 0x762aa000)==0" keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-Processed_events-U00207000400000.fits:EVENTS updateexposure=N withimageset=N writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:16] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# # [INFO] [2024-11-30T23:52:16] Task Run Time evselect 0.0804829597473145s
#
# [COMMAND] [2024-11-30T23:52:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:16]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:16]
evlistcomb eventsets="intermediate/MOSEvents-emos2-1-Processed_events-U00201000400000.fits \
intermediate/MOSEvents-emos2-1-Processed_events-U00202000400000.fits \
intermediate/MOSEvents-emos2-1-Processed_events-U00203000400000.fits \
intermediate/MOSEvents-emos2-1-Processed_events-U00204000400000.fits \
intermediate/MOSEvents-emos2-1-Processed_events-U00205000400000.fits \
intermediate/MOSEvents-emos2-1-Processed_events-U00206000400000.fits \
intermediate/MOSEvents-emos2-1-Processed_events-U00207000400000.fits" \
imagingset=intermediate/MOSEvents-emos2-1-imaging_mode_event_list-U00200000000000.fits instrument=emos maintable="EVENTS OFFSETS" \
othertables="EXPOSURE STDGTI BADPIX" timingset=intermediate/MOSEvents-emos2-1-timing_mode_event_list-U00200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:52:16]
# # [INFO] [2024-11-30T23:52:16] Task Run Time evlistcomb 0.262120008468628s
#
# # [INFO] [2024-11-30T23:52:16] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:52:16] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:52:16] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:52:16] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:52:16] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:52:16] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:52:16] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:52:16] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:52:16] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:52:16] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:52:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:16]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:16]
evselect cleandss=true destruct=true expression="((CCDNR==01 && \
GTI(intermediate/MOSEvents-emos2-1-CCD_GTI-U00201000200000.fits,TIME))||(CCDNR==02 && \
GTI(intermediate/MOSEvents-emos2-1-CCD_GTI-U00202000200000.fits,TIME))||(CCDNR==03 && \
GTI(intermediate/MOSEvents-emos2-1-CCD_GTI-U00203000200000.fits,TIME))||(CCDNR==04 && \
GTI(intermediate/MOSEvents-emos2-1-CCD_GTI-U00204000200000.fits,TIME))||(CCDNR==05 && \
GTI(intermediate/MOSEvents-emos2-1-CCD_GTI-U00205000200000.fits,TIME))||(CCDNR==06 && \
GTI(intermediate/MOSEvents-emos2-1-CCD_GTI-U00206000200000.fits,TIME))||(CCDNR==07 && \
GTI(intermediate/MOSEvents-emos2-1-CCD_GTI-U00207000200000.fits,TIME))) && (FLAG & 0x762aa000)==0" \
filteredset=product/P0201950201M2U002MIEVLI0000.FIT:EVENTS keepfilteroutput=true \
table=intermediate/MOSEvents-emos2-1-imaging_mode_event_list-U00200000000000.fits updateexposure=true withfilteredset=true \
withimageset=N writedss=true -w 10
# # [OUTPUT] [2024-11-30T23:52:16]
# # [INFO] [2024-11-30T23:52:16] Task Run Time evselect 0.108865976333618s
#
# [COMMAND] [2024-11-30T23:52:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:16]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:16]
attcalc atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf calctlmax=yes \
eventset=product/P0201950201M2U002MIEVLI0000.FIT refpointlabel=pnt withmedianpnt=true -w 10
# # [OUTPUT] [2024-11-30T23:52:16]
# IN CALCTLMIN 
# # [INFO] [2024-11-30T23:52:16] Task Run Time attcalc 0.184391021728516s
#
# [COMMAND] [2024-11-30T23:52:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:16]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:16]
evselect expression="GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits,TIME)" \
filteredset=intermediate/MOSEvents-emos2-1-Att_GTI_filtered_events-U00200000000000.fits \
table=product/P0201950201M2U002MIEVLI0000.FIT withfilteredset=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:16]
# # [INFO] [2024-11-30T23:52:16] Task Run Time evselect 0.126617908477783s
#
# [COMMAND] [2024-11-30T23:52:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:16]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:16]
attcalc -w=10 atthkset=product/P0201950201OBX000ATTTSR0000.FIT attitudelabel=ahf calctlmax=yes \
eventset=intermediate/MOSEvents-emos2-1-Att_GTI_filtered_events-U00200000000000.fits refpointlabel=pnt withmedianpnt=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:17]
# IN CALCTLMIN 
# # [INFO] [2024-11-30T23:52:17] Task Run Time attcalc 0.215414047241211s
#
# # [INFO] [2024-11-30T23:52:17] Imaging mode for emos2 , exposure: U002 : PrimePartialW2. Producing FWC data...
# [COMMAND] [2024-11-30T23:52:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:17]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:17]
evqpb attfile=product/P0201950201OBX000ATTTSR0000.FIT calctlmax=Y exposurefactor=4 \
outset=intermediate/MOSEvents-emos2-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.fits overwritesubmode=Y \
table=product/P0201950201M2U002MIEVLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:52:34] ** evqpb: warning (SubmodeCheckingDisabled), Observing mode checking disabled. This task should\
#     only be used on full frame and extended full frame data
# IN CALCTLMIN 
# # [INFO] [2024-11-30T23:52:34] Task Run Time evqpb 17.1160879135132s
#
# [COMMAND] [2024-11-30T23:52:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:34]
dscopyblock blocks=product/P0201950201OBX000CALIND0000.FIT:CALINDEX to=product/P0201950201M2U002MIEVLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:52:34]
# # [INFO] [2024-11-30T23:52:34] Task Run Time dscopyblock 0.114938974380493s
#
# # [INFO] [2024-11-30T23:52:34] Matched comment: ON_BADOFFSET
# # [INFO] [2024-11-30T23:52:34] Matched comment: FLICKERING
# # [INFO] [2024-11-30T23:52:34] Matched comment: OUT_OF_FOV
# # [INFO] [2024-11-30T23:52:34] Matched comment: IN_BAD_FRAME
# # [INFO] [2024-11-30T23:52:34] Matched comment: COSMIC_RAY
# # [INFO] [2024-11-30T23:52:34] Matched comment: ON_BADPIX
# # [INFO] [2024-11-30T23:52:34] Matched comment: OUT_OF_CCD_WINDOW
# # [INFO] [2024-11-30T23:52:34] Matched comment: OUTSIDE_THRESHOLDS
# # [INFO] [2024-11-30T23:52:34] Matched comment: ON_BADROW
# # [INFO] [2024-11-30T23:52:34] Matched comment: BAD_E3E4
# # [INFO] [2024-11-30T23:52:34] Matched comment: UNDERSHOOT
# [COMMAND] [2024-11-30T23:52:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:34]
evselect expression="(PATTERN==0) && #XMMEA_22 && ((FLAG & 0x762ba000) == 0)" maketimecolumn=Y \
rateset=intermediate/MOSEvents-emos2-1-Flare_background_timeseries-U00200000000000.fits \
table=product/P0201950201M2U002MIEVLI0000.FIT timebinsize=26 timecolumn=TIME updateexposure=N withimageset=N withrateset=Y \
writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:34]
# # [INFO] [2024-11-30T23:52:34] Task Run Time evselect 0.150718927383423s
#
# [COMMAND] [2024-11-30T23:52:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:34]
tabcalc column=RATE columntype=real64 expression="1000*COUNTS/(26*495.819468975067)" \
tables=intermediate/MOSEvents-emos2-1-Flare_background_timeseries-U00200000000000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:52:34]
# # [INFO] [2024-11-30T23:52:34] Task Run Time tabcalc 0.0383491516113281s
#
# [COMMAND] [2024-11-30T23:52:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:34]
tabcalc column=T_ELAPSED columntype=real64 expression=TIME-2.23472418871992E+08 \
tables=intermediate/MOSEvents-emos2-1-Flare_background_timeseries-U00200000000000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:52:34]
# # [INFO] [2024-11-30T23:52:34] Task Run Time tabcalc 0.0310759544372559s
#
# [COMMAND] [2024-11-30T23:52:34]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:34]
fplot device=intermediate/MOSEvents-emos2-1-F_bkg_ts-U00200000000000.ps/cps \
infile=intermediate/MOSEvents-emos2-1-Flare_background_timeseries-U00200000000000.fits \
pltcmd="@intermediate/MOSEvents-all-1-Flare_bkg_ts_pco_file-X00000000000000.pco" rows=- xparm=T_ELAPSED yparm=RATE
# # [OUTPUT] [2024-11-30T23:52:34]
# # [INFO] [2024-11-30T23:52:34] Task Run Time fplot 0.0262470245361328s
#
# # [INFO] [2024-11-30T23:52:34] CMD: bkgoptrate fracexpstyle=auto\
#     tssettabname=intermediate/MOSEvents-emos2-1-Flare_background_timeseries-U00200000000000.fits:RATE withendtime=N\
#     withlowercutoffcount=N withmintimeratio=N ignorelowcnttail=Y withstarttime=N -w 10
# # [INFO] [2024-11-30T23:52:34] OPTRATE: 1.55144513E+00
# # [INFO] [2024-11-30T23:52:34] Performing second optimised GTI filter < 1.55144513E+00
# [COMMAND] [2024-11-30T23:52:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:34]
tabgtigen expression="RATE< 1.55144513E+00" gtiset=intermediate/MOSEvents-emos2-1-flare_GTI-U00200000000000.fits mingtisize=0 \
table=intermediate/MOSEvents-emos2-1-Flare_background_timeseries-U00200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:52:34]
# # [INFO] [2024-11-30T23:52:34] Task Run Time tabgtigen 0.0348432064056396s
#
# # [INFO] [2024-11-30T23:52:34] ==== starting source-free background flare lightcurve processing===
# [COMMAND] [2024-11-30T23:52:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:34]
evselect expression="(GTI(intermediate/MOSEvents-emos2-1-flare_GTI-U00200000000000.fits, TIME) && \
GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && PATTERN <= 12 && PI in (500:7500] && (FLAG & \
0x766aa000)==0)" imagebinning=binSize imagedatatype=Int32 \
imageset=intermediate/MOSEvents-emos2-1-SFBLC_input_image-U00200000080000.fits keepfilteroutput=false \
table=product/P0201950201M2U002MIEVLI0000.FIT updateexposure=true withimagedatatype=true writedss=true xcolumn=DETX ximagebinsize=80 \
ycolumn=DETY yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:52:34]
# # [INFO] [2024-11-30T23:52:34] Task Run Time evselect 0.216699123382568s
#
# # [INFO] [2024-11-30T23:52:34] Creating vignetted exposure map
# [COMMAND] [2024-11-30T23:52:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:34]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:34]
eexpmap attitudeset=product/P0201950201OBX000ATTTSR0000.FIT attrebin=2 eventset=product/P0201950201M2U002MIEVLI0000.FIT \
expimageset=intermediate/MOSEvents-emos2-1-SFBLC_exposure_map-U00200000080000.fits \
imageset=intermediate/MOSEvents-emos2-1-SFBLC_input_image-U00200000080000.fits pimax=7500 pimin=500 withdetcoords=yes \
withvignetting=yes -w 10
# # [OUTPUT] [2024-11-30T23:52:40] eexpmap:- CCF constituents accessed by the calibration server:
# CifEntry{EMOS2, LINCOORD, 19, /lhome/pcms/archive/ccf/21.51/EMOS2_LINCOORD_0019.CCF, 1998-01-01T00:00:00.000}
# CifEntry{EPN, LINCOORD, 9, /lhome/pcms/archive/ccf/21.51/EPN_LINCOORD_0009.CCF, 1998-01-01T00:00:00.000}
# CifEntry{RGS2, LINCOORD, 8, /lhome/pcms/archive/ccf/21.51/RGS2_LINCOORD_0008.CCF, 1998-01-01T00:00:00.000}
# CifEntry{XMM, BORESIGHT, 34, /lhome/pcms/archive/ccf/21.51/XMM_BORESIGHT_0034.CCF, 2000-01-01T00:00:00.000}
# CifEntry{XMM, MISCDATA, 22, /lhome/pcms/archive/ccf/21.51/XMM_MISCDATA_0022.CCF, 1999-01-01T00:00:00.000}
# CifEntry{XRT2, XAREAEF, 12, /lhome/pcms/archive/ccf/21.51/XRT2_XAREAEF_0012.CCF, 2000-01-13T00:00:00.000}
# CifEntry{XRT3, XAREAEF, 14, /lhome/pcms/archive/ccf/21.51/XRT3_XAREAEF_0014.CCF, 2000-01-13T00:00:00.000}
# # [INFO] [2024-11-30T23:52:40] Task Run Time eexpmap 5.4841890335083s
#
# [COMMAND] [2024-11-30T23:52:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:40]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:40]
eexpmap attitudeset=product/P0201950201OBX000ATTTSR0000.FIT attrebin=2 eventset=product/P0201950201M2U002MIEVLI0000.FIT \
expimageset=intermediate/MOSEvents-emos2-1-SFBLC_non-vig_exposure_map-U00200000080000.fits \
imageset=intermediate/MOSEvents-emos2-1-SFBLC_input_image-U00200000080000.fits pimax=7500 pimin=500 withdetcoords=yes \
withvignetting=no -w 10
# # [OUTPUT] [2024-11-30T23:52:45]
# # [INFO] [2024-11-30T23:52:45] Task Run Time eexpmap 5.48909187316895s
#
# [COMMAND] [2024-11-30T23:52:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:45]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:45]
emask detmaskset=intermediate/MOSEvents-emos2-1-SFBLC_detmask-U00200000080000.fits \
expimageset=intermediate/MOSEvents-emos2-1-SFBLC_non-vig_exposure_map-U00200000080000.fits threshold1=0.5 threshold2=1 -w 10
# # [OUTPUT] [2024-11-30T23:52:45]
# # [INFO] [2024-11-30T23:52:45] Task Run Time emask 0.0625901222229004s
#
# [COMMAND] [2024-11-30T23:52:45]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:45]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:45]
fimgstat clobber=Y infile=intermediate/MOSEvents-emos2-1-SFBLC_input_image-U00200000080000.fits max=0 mean=0 min=0 mode=ql num=0 \
outfile=/scratch/226330.1.all.q/kshsa_A5AV rms=0 sum=0 threshlo=INDEF threshup=INDEF xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:52:45]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:52:45] Task Run Time fimgstat 0.0275001525878906s
#
# # [INFO] [2024-11-30T23:52:45] Running eboxdetect in local mode on MOS, exposure U002...
# [COMMAND] [2024-11-30T23:52:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:45]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:45]
eboxdetect boxlistset=intermediate/MOSEvents-emos2-1-SFBLC_box-local_source_list-U00200000080000.fits boxsize=5 \
detmasksets=intermediate/MOSEvents-emos2-1-SFBLC_detmask-U00200000080000.fits ecf=1.0 \
expimagesets=intermediate/MOSEvents-emos2-1-SFBLC_non-vig_exposure_map-U00200000080000.fits \
imagesets=intermediate/MOSEvents-emos2-1-SFBLC_input_image-U00200000080000.fits likemin=5 nruns=1 pimax=7500 pimin=500 usemap=false \
withdetmask=true -w 10
# # [OUTPUT] [2024-11-30T23:52:46] ** 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:52:46] Task Run Time eboxdetect 0.688844919204712s
#
# [COMMAND] [2024-11-30T23:52:46]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:46]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:46]
fselect expr="(RATE <= 0.35)" infile=intermediate/MOSEvents-emos2-1-SFBLC_box-local_source_list-U00200000080000.fits \
outfile=intermediate/MOSEvents-emos2-1-SFBLC_box-local_source_list_faint_subset-U00200000080000.fits
# # [OUTPUT] [2024-11-30T23:52:46]
# # [INFO] [2024-11-30T23:52:46] Task Run Time fselect 0.106171846389771s
#
# [COMMAND] [2024-11-30T23:52:46]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:46]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:46]
fselect expr="(RATE > 0.35)" infile=intermediate/MOSEvents-emos2-1-SFBLC_box-local_source_list-U00200000080000.fits \
outfile=intermediate/MOSEvents-emos2-1-SFBLC_box-local_source_list_bright_subset-U00200000080000.fits
# # [OUTPUT] [2024-11-30T23:52:46]
# # [INFO] [2024-11-30T23:52:46] Task Run Time fselect 0.0925459861755371s
#
# [COMMAND] [2024-11-30T23:52:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:46]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:46]
region bkgregionset=intermediate/MOSEvents-emos2-1-SFBLC_reg_faint-U00200000080000.fits:REGION \
eventset=product/P0201950201M2U002MIEVLI0000.FIT:EVENTS expression="(ID_BAND == 1 && ID_INST == 3 && LIKE >= 50 && BOX_CTS > 0)" \
fixedradius=60 operationstyle=global outunit=detxy \
srclisttab=intermediate/MOSEvents-emos2-1-SFBLC_box-local_source_list_faint_subset-U00200000080000.fits \
tempset=intermediate/MOSEvents-emos2-1-SFBLC_temp_file-U00200000080000.fits -w 10
# # [OUTPUT] [2024-11-30T23:52:46] ** 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:52:46] Task Run Time region 0.101667881011963s
#
# [COMMAND] [2024-11-30T23:52:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:46]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:46]
region bkgregionset=intermediate/MOSEvents-emos2-1-SFBLC_reg_bright-U00200000080000.fits:REGION \
eventset=product/P0201950201M2U002MIEVLI0000.FIT:EVENTS expression="(ID_BAND == 1 && ID_INST == 3 && LIKE >= 50 && BOX_CTS > 0)" \
fixedradius=100 operationstyle=global outunit=detxy \
srclisttab=intermediate/MOSEvents-emos2-1-SFBLC_box-local_source_list_bright_subset-U00200000080000.fits \
tempset=intermediate/MOSEvents-emos2-1-SFBLC_temp_file-U00200000080000.fits -w 10
# # [OUTPUT] [2024-11-30T23:52:47] ** 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:52:47] Task Run Time region 0.0962910652160645s
#
# [COMMAND] [2024-11-30T23:52:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:47]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:47]
evselect expression="((GTI(intermediate/MOSEvents-emos2-1-flare_GTI-U00200000000000.fits, TIME) && \
GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)) && PATTERN<=12 && PI in (500:7500] && (FLAG & \
0x766aa000)==0 && (region(intermediate/MOSEvents-emos2-1-SFBLC_reg_faint-U00200000080000.fits,DETX,DETY) && \
region(intermediate/MOSEvents-emos2-1-SFBLC_reg_bright-U00200000080000.fits,DETX,DETY)))" imagebinning=binSize imagedatatype=Int32 \
imageset=intermediate/MOSEvents-emos2-1-SFBLC_evaluation_image-U00200000080000.fits keepfilteroutput=false \
table=product/P0201950201M2U002MIEVLI0000.FIT updateexposure=true withimagedatatype=true withimageset=Y writedss=true xcolumn=DETX \
ximagebinsize=80 ycolumn=DETY yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:52:47] ** evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-SFBLC_reg_faint-U00200000080000.fits' is empty - filtering will have no effect
# ** evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-SFBLC_reg_bright-U00200000080000.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 (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot write data\
#     subspace. 
# # [INFO] [2024-11-30T23:52:47] Task Run Time evselect 0.233938932418823s
#
# [COMMAND] [2024-11-30T23:52:47]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:47]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:47]
fmerge columns=SHAPE,DETX,DETY,R,ROTANG,COMPONENT copyprime=Y history=Y \
infiles="intermediate/MOSEvents-emos2-1-SFBLC_reg_bright-U00200000080000.fits \
intermediate/MOSEvents-emos2-1-SFBLC_reg_faint-U00200000080000.fits" mextname=REGION \
outfile=intermediate/MOSEvents-emos2-1-SFBLC_reg_merged-U00200000080000.fits
# # [OUTPUT] [2024-11-30T23:52:47]
# # [INFO] [2024-11-30T23:52:47] Task Run Time fmerge 0.0221800804138184s
#
# [COMMAND] [2024-11-30T23:52:47]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:47]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:47]
fparkey add=Y fitsfile="intermediate/MOSEvents-emos2-1-SFBLC_reg_merged-U00200000080000.fits[REGION]" keyword=MTYPE1 value=pos
# # [OUTPUT] [2024-11-30T23:52:47]
# # [INFO] [2024-11-30T23:52:47] Task Run Time fparkey 0.0187721252441406s
#
# [COMMAND] [2024-11-30T23:52:47]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:47]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:47]
fparkey add=Y fitsfile="intermediate/MOSEvents-emos2-1-SFBLC_reg_merged-U00200000080000.fits[REGION]" keyword=MFORM1 value=DETX,DETY
# # [OUTPUT] [2024-11-30T23:52:47]
# # [INFO] [2024-11-30T23:52:47] Task Run Time fparkey 0.0195081233978271s
#
# # [INFO] [2024-11-30T23:52:47] DEBUG - intermediate/MOSEvents-emos2-1-SFBLC_reg_merged-U00200000080000.fits has 0 rows
# # [INFO] [2024-11-30T23:52:47] Creating source-free in band light curve for MOS
# [COMMAND] [2024-11-30T23:52:47]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:47]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:47]
fimgstat clobber=Y infile="intermediate/MOSEvents-emos2-1-SFBLC_detmask-U00200000080000.fits[MASK]" max=0 mean=0 min=0 mode=ql num=0 \
outfile=/scratch/226330.1.all.q/UuZvUF4Zjg rms=0 sum=0 threshlo=INDEF threshup=INDEF xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:52:47]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:52:47] Task Run Time fimgstat 0.0198872089385986s
#
# # [INFO] [2024-11-30T23:52:47] DEBUG - SFBLCBackScal = 707225600
# [COMMAND] [2024-11-30T23:52:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:47]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:47]
evselect expression="PATTERN<=12 && PI in (500:7500] && ((FLAG & 0x762ba000)==0) && \
(region(intermediate/MOSEvents-emos2-1-SFBLC_reg_merged-U00200000080000.fits,DETX,DETY))" makeratecolumn=Y maketimecolumn=Y \
rateset=product/P0201950201M2U002FBKTSR0000.FIT table=product/P0201950201M2U002MIEVLI0000.FIT timebinsize=26 timecolumn=TIME \
updateexposure=N withrateset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:47] ** evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-SFBLC_reg_merged-U00200000080000.fits' is empty - filtering will have no effect 
# # [INFO] [2024-11-30T23:52:47] Task Run Time evselect 0.104341983795166s
#
# [COMMAND] [2024-11-30T23:52:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:47]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:47]
epiclccorr allcamera=Y applyabsolutecorrections=N eventlist=product/P0201950201M2U002MIEVLI0000.FIT \
outset=intermediate/MOSEvents-emos2-1-Copy_EPIC_flare_background_timeseries-U00200000000000.fits \
srctslist=product/P0201950201M2U002FBKTSR0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:52:49] ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty - filtering will have no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty -\
#     filtering will have no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty -\
#     filtering will have no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty -\
#     filtering will have no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty -\
#     filtering will have no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty -\
#     filtering will have no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty -\
#     filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. Detector matrices can\
#     not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. Detector matrices can\
#     not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. Detector matrices can\
#     not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. Detector matrices can\
#     not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. Detector matrices can\
#     not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. Detector matrices can\
#     not be created for this spectrum and spectral fitting will not be possible.
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in `product/P0201950201M2U002FBKTSR0000.FIT:REGION' is empty\
#     - filtering will have no effect
# ** epiclccorr::evselect: warning (NonStandardSpectrum), The standard PI channel range for MOS is 0-11999. Detector matrices can\
#     not be created for this spectrum and spectral fitting will not be possible. 
# # [INFO] [2024-11-30T23:52:49] Task Run Time epiclccorr 2.28272318840027s
#
# [COMMAND] [2024-11-30T23:52:49]
cp \
/scratch/226330.1.all.q/xmm/ppsprod/229475/intermediate/MOSEvents-emos2-1-Copy_EPIC_flare_background_timeseries-U00200000000000.fits \
/scratch/226330.1.all.q/xmm/ppsprod/229475/product/P0201950201M2U002FBKTSR0000.FIT
# # [INFO] [2024-11-30T23:52:49] System RV 0
# [COMMAND] [2024-11-30T23:52:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:49]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:49]
addattribute attributecomment="\"Backscale for flaring filtering\"" attributename=BACKSCAL attributetype=real realvalue=707225600 \
set=product/P0201950201M2U002FBKTSR0000.FIT:RATE -w 10
# # [OUTPUT] [2024-11-30T23:52:49]
# # [INFO] [2024-11-30T23:52:49] Task Run Time addattribute 0.0320651531219482s
#
# # [INFO] [2024-11-30T23:52:49] Adding column for T_ELAPSED, using observation start time 2.23472418871992E+08
# [COMMAND] [2024-11-30T23:52:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:49]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:49]
tabcalc column=T_ELAPSED columntype=real64 expression=TIME-2.23472418871992E+08 tables=product/P0201950201M2U002FBKTSR0000.FIT:RATE \
-w 10
# # [OUTPUT] [2024-11-30T23:52:49]
# # [INFO] [2024-11-30T23:52:49] Task Run Time tabcalc 0.0334358215332031s
#
# # [INFO] [2024-11-30T23:52:49] CMD: bkgoptrate -V 0 -w 0 tssettabname=product/P0201950201M2U002FBKTSR0000.FIT:RATE\
#     dooutputsntab=yes ignorelowcnttail=yes\
#     snsettabname=intermediate/MOSEvents-emos2-1-Flare_GTI_SN_diagnostic-U00200000080000.fits:SN_TO_BKGCUT
# # [INFO] [2024-11-30T23:52:49] bkgoptrate returns optimum cut threshold: 1.09094107E+00 
# [COMMAND] [2024-11-30T23:52:49]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:49]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:49]
ftappend infile="intermediate/MOSEvents-emos2-1-Flare_GTI_SN_diagnostic-U00200000080000.fits[SN_TO_BKGCUT]" \
outfile=product/P0201950201M2U002FBKTSR0000.FIT
# # [OUTPUT] [2024-11-30T23:52:49]
# # [INFO] [2024-11-30T23:52:49] Task Run Time ftappend 0.0325720310211182s
#
# [COMMAND] [2024-11-30T23:52:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:49]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:49]
addattribute attributecomment="\"Optimised flare cut threshold\"" attributename=FLCUTTHR attributetype=real \
realvalue="1.09094107E+00" set=product/P0201950201M2U002FBKTSR0000.FIT:RATE -w 10
# # [OUTPUT] [2024-11-30T23:52:49]
# # [INFO] [2024-11-30T23:52:49] Task Run Time addattribute 0.0425121784210205s
#
# # [INFO] [2024-11-30T23:52:49] Creating GTI files with this threshold
# [COMMAND] [2024-11-30T23:52:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:49]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:49]
tabgtigen expression="RATE < 1.09094107E+00" gtiset=intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits \
mingtisize=100 table=product/P0201950201M2U002FBKTSR0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:52:50]
# # [INFO] [2024-11-30T23:52:50] Task Run Time tabgtigen 0.0528678894042969s
#
# # [INFO] [2024-11-30T23:52:50] Make full in-band, source-free light curve plots
# # [INFO] [2024-11-30T23:52:50] DEBUG - doCommand fullcmd : plotFlrBkgTimeSeries.py\
#     --pdfplotfile=product/P0201950201M2U002FBKTSR0000.PDF --plotfile=product/P0201950201M2U002FBKTSR0000.PNG --plotformat=both\
#     --rateset=product/P0201950201M2U002FBKTSR0000.FIT
# [COMMAND] [2024-11-30T23:52:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:50]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:50]
plotFlrBkgTimeSeries.py --pdfplotfile=product/P0201950201M2U002FBKTSR0000.PDF --plotfile=product/P0201950201M2U002FBKTSR0000.PNG \
--plotformat=both --rateset=product/P0201950201M2U002FBKTSR0000.FIT
# # [OUTPUT] [2024-11-30T23:52:52] Saving files : product/P0201950201M2U002FBKTSR0000.PNG and\
#     product/P0201950201M2U002FBKTSR0000.PDF 
# # [INFO] [2024-11-30T23:52:52] Task Run Time plotFlrBkgTimeSeries.py 2.34105205535889s
#
# # [INFO] [2024-11-30T23:52:52] TESTING: Recreating light curves with only valid GTIs and regions left in
# [COMMAND] [2024-11-30T23:52:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:52]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:52]
evselect expression="GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && PATTERN<=12 && PI in (500:7500] && \
((FLAG & 0x762ba000)==0) && region(intermediate/MOSEvents-emos2-1-SFBLC_reg_faint-U00200000080000.fits,DETX,DETY) && \
region(intermediate/MOSEvents-emos2-1-SFBLC_reg_bright-U00200000080000.fits,DETX,DETY) && \
GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME)" makeratecolumn=Y maketimecolumn=Y \
rateset=intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits \
table=product/P0201950201M2U002MIEVLI0000.FIT timebinsize=26 updateexposure=N withrateset=Y writedss=Y -w 10
# # [OUTPUT] [2024-11-30T23:52:52] ** evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-SFBLC_reg_faint-U00200000080000.fits' is empty - filtering will have no effect
# ** evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-SFBLC_reg_bright-U00200000080000.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 (DssCompForm), Two 2-d filters with the name DET have been found to different components. Cannot write data\
#     subspace. 
# # [INFO] [2024-11-30T23:52:52] Task Run Time evselect 0.147379875183105s
#
# [COMMAND] [2024-11-30T23:52:52]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:52]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:52]
fstatistic colname=RATE infile=intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits \
outfile=/scratch/226330.1.all.q/Mg3TVY8uKh rows=-
# # [OUTPUT] [2024-11-30T23:52:52]
# # [INFO] [2024-11-30T23:52:52] Task Run Time fstatistic 0.0564451217651367s
#
# [COMMAND] [2024-11-30T23:52:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:52]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:52]
epiclccorr allcamera=Y applyabsolutecorrections=N eventlist=product/P0201950201M2U002MIEVLI0000.FIT \
outset=intermediate/MOSEvents-emos2-1-Copy_optimised_flare_bkg_time_series-U00200000080000.fits \
srctslist=intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits -w 10
# # [OUTPUT] [2024-11-30T23:52:55] ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 times
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' is empty - filtering will have\
#     no effect
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REGION' is empty - filtering will have no\
#     effectct
# ** epiclccorr::evselect: warning (EmptyRegionTable), The region table in\
#     `intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:REG00001' 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 MOS is 0-11999. 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 4 times
# ** 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 4 times 
# # [INFO] [2024-11-30T23:52:55] Task Run Time epiclccorr 2.60318803787231s
#
# [COMMAND] [2024-11-30T23:52:55]
cp \
/scratch/226330.1.all.q/xmm/ppsprod/229475/intermediate/MOSEvents-emos2-1-Copy_optimised_flare_bkg_time_series-U00200000080000.fits \
/scratch/226330.1.all.q/xmm/ppsprod/229475/intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits
# # [INFO] [2024-11-30T23:52:55] System RV 0
# [COMMAND] [2024-11-30T23:52:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:55]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:55]
tabcalc column=T_ELAPSED columntype=real64 expression=TIME-2.23472418871992E+08 \
tables=intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:52:55]
# # [INFO] [2024-11-30T23:52:55] Task Run Time tabcalc 0.0392229557037354s
#
# [COMMAND] [2024-11-30T23:52:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:55]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:55]
addattribute attributecomment="\"Optimised flare cut threshold\"" attributename=FLCUTTHR attributetype=real \
realvalue="1.09094107E+00" set=intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits:RATE -w 10
# # [OUTPUT] [2024-11-30T23:52:55]
# # [INFO] [2024-11-30T23:52:55] Task Run Time addattribute 0.0692939758300781s
#
# # [INFO] [2024-11-30T23:52:55] DEBUG - doCommand fullcmd : plotFlrBkgTimeSeries.py\
#     --pdfplotfile=intermediate/MOSEvents-emos2-1-Opt_in-band_source-free_light_curve-U00200000080000.pdf --plotformat=pdf\
#     --rateset=intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits
# [COMMAND] [2024-11-30T23:52:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:55]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:55]
plotFlrBkgTimeSeries.py --pdfplotfile=intermediate/MOSEvents-emos2-1-Opt_in-band_source-free_light_curve-U00200000080000.pdf \
--plotformat=pdf --rateset=intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits
# # [OUTPUT] [2024-11-30T23:52:56] Rate file intermediate/MOSEvents-emos2-1-Optimised_flare_bkg_time_series-U00200000080000.fits\
#     does not have SN_TO_BKGCUT extension
# Saving file : intermediate/MOSEvents-emos2-1-Opt_in-band_source-free_light_curve-U00200000080000.pdf 
# # [INFO] [2024-11-30T23:52:56] Task Run Time plotFlrBkgTimeSeries.py 1.67277789115906s
#
# # [INFO] [2024-11-30T23:52:57] Module name: EPICImageSize
# # [INFO] [2024-11-30T23:52:57] Instrument: epic
# # [INFO] [2024-11-30T23:52:57] Stream no.: 0001
# # [INFO] [2024-11-30T23:52:57] Module version number: 0.09
# # [INFO] [2024-11-30T23:52:57] global Attitude GTI File: intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits
# # [INFO] [2024-11-30T23:52:57] X,Y NULL values: -99999999 , -99999999 
# # [INFO] [2024-11-30T23:52:57] Initial: 27214 27214 25341 25341
# # [INFO] [2024-11-30T23:52:57] First pass product/P0201950201M1U002MIEVLI0000.FIT: xmin=4402 xmax=50686 ymin=4563 ymax=47779
# # [INFO] [2024-11-30T23:52:57] First pass product/P0201950201M1U002MIEVLI0000.FIT: tmin6=1 tmax6=51840 tmin7=1 tmax7=51840
# # [INFO] [2024-11-30T23:52:57] Current max ranges: 1 51840 1 51840
# # [INFO] [2024-11-30T23:52:57] X,Y NULL values: -99999999 , -99999999 
# # [INFO] [2024-11-30T23:52:57] Initial: 28456 28456 25459 25459
# # [INFO] [2024-11-30T23:52:57] First pass product/P0201950201M2U002MIEVLI0000.FIT: xmin=5773 xmax=49656 ymin=2778 ymax=49116
# # [INFO] [2024-11-30T23:52:57] First pass product/P0201950201M2U002MIEVLI0000.FIT: tmin6=1 tmax6=51840 tmin7=1 tmax7=51840
# # [INFO] [2024-11-30T23:52:57] Current max ranges: 1 51840 1 51840
# # [INFO] [2024-11-30T23:52:57] Full set of EPIC events encompassed by TLMIN6=1 TLMAX6=51840 TLMIN7=1 TLMAX7=51840
# # [INFO] [2024-11-30T23:52:57] Writing TLMIN/MAX{6,7} to product/P0201950201M1U002MIEVLI0000.FIT. TLMIN6=1 TLMAX6=51840 TLMIN7=1\
#     TLMAX7=51840
# # [INFO] [2024-11-30T23:52:57] Writing TLMIN/MAX{6,7} to product/P0201950201M2U002MIEVLI0000.FIT. TLMIN6=1 TLMAX6=51840 TLMIN7=1\
#     TLMAX7=51840
# # [INFO] [2024-11-30T23:52:57] Writing TLMIN/MAX{6,7} to\
#     intermediate/MOSEvents-emos1-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.fits. TLMIN6=1 TLMAX6=51840 TLMIN7=1\
#     TLMAX7=51840
# # [INFO] [2024-11-30T23:52:57] Writing TLMIN/MAX{6,7} to\
#     intermediate/MOSEvents-emos2-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.fits. TLMIN6=1 TLMAX6=51840 TLMIN7=1\
#     TLMAX7=51840
# # [INFO] [2024-11-30T23:52:57] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:52:57] Instrument: emos1
# # [INFO] [2024-11-30T23:52:57] Stream no.: 0001
# # [INFO] [2024-11-30T23:52:57] Module version number: 2.22
# # [INFO] [2024-11-30T23:52:57] GTI total time interval threshold is 1000.
# # [INFO] [2024-11-30T23:52:57] Flare screening GTI total time interval is 1.06600000000000E+03 /s.
# # [INFO] [2024-11-30T23:52:57] Band: 1
# # [INFO] [2024-11-30T23:52:57] expr = (PATTERN<=12)
# # [INFO] [2024-11-30T23:52:57] expr = GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)
# # [INFO] [2024-11-30T23:52:57] expr = GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME)
# # [INFO] [2024-11-30T23:52:57] locexpr = (PI in (200:500])
# # [INFO] [2024-11-30T23:52:57] locexpr = (FLAG & 0x766ba000)==0
# [COMMAND] [2024-11-30T23:52:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:57]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (200:500]) && (FLAG & 0x766ba000)==0" \
imagebinning=binSize imagedatatype=Real32 imageset=intermediate/MakeMOSImage-emos1-1-EPIC_FWC_image-U00200000010000.fits \
keepfilteroutput=N table=intermediate/MOSEvents-emos1-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.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:52:57]
# # [INFO] [2024-11-30T23:52:57] Task Run Time evselect 0.242904901504517s
#
# [COMMAND] [2024-11-30T23:52:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:57]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (200:500]) && (FLAG & 0x766ba000)==0" \
filteredset=intermediate/MakeMOSImage-emos1-1-image_event_list-U00200000010000.fits imagebinning=binSize imagedatatype=Int32 \
imageset=product/P0201950201M1U002IMAGE_1000.FIT keepfilteroutput=Y table=product/P0201950201M1U002MIEVLI0000.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:52:57]
# # [INFO] [2024-11-30T23:52:57] Task Run Time evselect 0.217094898223877s
#
# [COMMAND] [2024-11-30T23:52:57]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:57]
fimgstat clobber=Y infile=product/P0201950201M1U002IMAGE_1000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakeMOSImage-emos1-1-Filtered_image_statistics-U00200000010000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:52:57]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:52:57] Task Run Time fimgstat 0.0358719825744629s
#
# # [INFO] [2024-11-30T23:52:57] The image product/P0201950201M1U002IMAGE_1000.FIT is empty.
# # [INFO] [2024-11-30T23:52:57] Image product/P0201950201M1U002IMAGE_1000.FIT is empty.
# [COMMAND] [2024-11-30T23:52:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:57]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0201950201M1U002IMAGE_1000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:52:57]
# # [INFO] [2024-11-30T23:52:57] Task Run Time addattribute 0.0862948894500732s
#
# # [INFO] [2024-11-30T23:52:57] Band: 2
# # [INFO] [2024-11-30T23:52:57] expr = (PATTERN<=12)
# # [INFO] [2024-11-30T23:52:57] expr = GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)
# # [INFO] [2024-11-30T23:52:57] expr = GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME)
# # [INFO] [2024-11-30T23:52:57] locexpr = (PI in (500:1000])
# # [INFO] [2024-11-30T23:52:57] locexpr = (FLAG & 0x766ba000)==0
# [COMMAND] [2024-11-30T23:52:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:57]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (500:1000]) && (FLAG & 0x766ba000)==0" \
imagebinning=binSize imagedatatype=Real32 imageset=intermediate/MakeMOSImage-emos1-1-EPIC_FWC_image-U00200000020000.fits \
keepfilteroutput=N table=intermediate/MOSEvents-emos1-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.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:52:57]
# # [INFO] [2024-11-30T23:52:57] Task Run Time evselect 0.261416912078857s
#
# [COMMAND] [2024-11-30T23:52:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:57]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:57]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (500:1000]) && (FLAG & 0x766ba000)==0" \
filteredset=intermediate/MakeMOSImage-emos1-1-image_event_list-U00200000020000.fits imagebinning=binSize imagedatatype=Int32 \
imageset=product/P0201950201M1U002IMAGE_2000.FIT keepfilteroutput=Y table=product/P0201950201M1U002MIEVLI0000.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:52:58]
# # [INFO] [2024-11-30T23:52:58] Task Run Time evselect 0.200094223022461s
#
# [COMMAND] [2024-11-30T23:52:58]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:58]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:58]
fimgstat clobber=Y infile=product/P0201950201M1U002IMAGE_2000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakeMOSImage-emos1-1-Filtered_image_statistics-U00200000020000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:52:58]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:52:58] Task Run Time fimgstat 0.0165309906005859s
#
# [COMMAND] [2024-11-30T23:52:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:58]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:58]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0201950201M1U002IMAGE_2000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:52:58]
# # [INFO] [2024-11-30T23:52:58] Task Run Time addattribute 0.0634951591491699s
#
# # [INFO] [2024-11-30T23:52:58] Band: 3
# # [INFO] [2024-11-30T23:52:58] expr = (PATTERN<=12)
# # [INFO] [2024-11-30T23:52:58] expr = GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)
# # [INFO] [2024-11-30T23:52:58] expr = GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME)
# # [INFO] [2024-11-30T23:52:58] locexpr = (PI in (1000:2000])
# # [INFO] [2024-11-30T23:52:58] locexpr = (FLAG & 0x766ba000)==0
# [COMMAND] [2024-11-30T23:52:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:58]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:58]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (1000:2000]) && (FLAG & 0x766ba000)==0" \
imagebinning=binSize imagedatatype=Real32 imageset=intermediate/MakeMOSImage-emos1-1-EPIC_FWC_image-U00200000030000.fits \
keepfilteroutput=N table=intermediate/MOSEvents-emos1-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.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:52:58]
# # [INFO] [2024-11-30T23:52:58] Task Run Time evselect 0.284842967987061s
#
# [COMMAND] [2024-11-30T23:52:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:58]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:58]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (1000:2000]) && (FLAG & 0x766ba000)==0" \
filteredset=intermediate/MakeMOSImage-emos1-1-image_event_list-U00200000030000.fits imagebinning=binSize imagedatatype=Int32 \
imageset=product/P0201950201M1U002IMAGE_3000.FIT keepfilteroutput=Y table=product/P0201950201M1U002MIEVLI0000.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:52:58]
# # [INFO] [2024-11-30T23:52:58] Task Run Time evselect 0.215513944625854s
#
# [COMMAND] [2024-11-30T23:52:58]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:58]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:58]
fimgstat clobber=Y infile=product/P0201950201M1U002IMAGE_3000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakeMOSImage-emos1-1-Filtered_image_statistics-U00200000030000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:52:58]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:52:58] Task Run Time fimgstat 0.0196080207824707s
#
# [COMMAND] [2024-11-30T23:52:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:58]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:58]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0201950201M1U002IMAGE_3000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:52:58]
# # [INFO] [2024-11-30T23:52:58] Task Run Time addattribute 0.0579869747161865s
#
# # [INFO] [2024-11-30T23:52:58] Band: 4
# # [INFO] [2024-11-30T23:52:58] expr = (PATTERN<=12)
# # [INFO] [2024-11-30T23:52:58] expr = GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)
# # [INFO] [2024-11-30T23:52:58] expr = GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME)
# # [INFO] [2024-11-30T23:52:58] locexpr = (PI in (2000:4500])
# # [INFO] [2024-11-30T23:52:58] locexpr = (FLAG & 0x766ba000)==0
# [COMMAND] [2024-11-30T23:52:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:58]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:58]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (2000:4500]) && (FLAG & 0x766ba000)==0" \
imagebinning=binSize imagedatatype=Real32 imageset=intermediate/MakeMOSImage-emos1-1-EPIC_FWC_image-U00200000040000.fits \
keepfilteroutput=N table=intermediate/MOSEvents-emos1-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.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:52:59]
# # [INFO] [2024-11-30T23:52:59] Task Run Time evselect 0.268505811691284s
#
# [COMMAND] [2024-11-30T23:52:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:59]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (2000:4500]) && (FLAG & 0x766ba000)==0" \
filteredset=intermediate/MakeMOSImage-emos1-1-image_event_list-U00200000040000.fits imagebinning=binSize imagedatatype=Int32 \
imageset=product/P0201950201M1U002IMAGE_4000.FIT keepfilteroutput=Y table=product/P0201950201M1U002MIEVLI0000.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:52:59]
# # [INFO] [2024-11-30T23:52:59] Task Run Time evselect 0.12934398651123s
#
# [COMMAND] [2024-11-30T23:52:59]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:59]
fimgstat clobber=Y infile=product/P0201950201M1U002IMAGE_4000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakeMOSImage-emos1-1-Filtered_image_statistics-U00200000040000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:52:59]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:52:59] Task Run Time fimgstat 0.0191071033477783s
#
# [COMMAND] [2024-11-30T23:52:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:59]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0201950201M1U002IMAGE_4000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:52:59]
# # [INFO] [2024-11-30T23:52:59] Task Run Time addattribute 0.0934178829193115s
#
# # [INFO] [2024-11-30T23:52:59] Band: 5
# # [INFO] [2024-11-30T23:52:59] expr = (PATTERN<=12)
# # [INFO] [2024-11-30T23:52:59] expr = GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)
# # [INFO] [2024-11-30T23:52:59] expr = GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME)
# # [INFO] [2024-11-30T23:52:59] locexpr = (PI in (4500:12000])
# # [INFO] [2024-11-30T23:52:59] locexpr = (FLAG & 0x766ba000)==0
# [COMMAND] [2024-11-30T23:52:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:59]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (4500:12000]) && (FLAG & 0x766ba000)==0" \
imagebinning=binSize imagedatatype=Real32 imageset=intermediate/MakeMOSImage-emos1-1-EPIC_FWC_image-U00200000050000.fits \
keepfilteroutput=N table=intermediate/MOSEvents-emos1-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.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:52:59]
# # [INFO] [2024-11-30T23:52:59] Task Run Time evselect 0.221432209014893s
#
# [COMMAND] [2024-11-30T23:52:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:59]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (4500:12000]) && (FLAG & 0x766ba000)==0" \
filteredset=intermediate/MakeMOSImage-emos1-1-image_event_list-U00200000050000.fits imagebinning=binSize imagedatatype=Int32 \
imageset=product/P0201950201M1U002IMAGE_5000.FIT keepfilteroutput=Y table=product/P0201950201M1U002MIEVLI0000.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:52:59]
# # [INFO] [2024-11-30T23:52:59] Task Run Time evselect 0.193936824798584s
#
# [COMMAND] [2024-11-30T23:52:59]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:52:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:59]
fimgstat clobber=Y infile=product/P0201950201M1U002IMAGE_5000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakeMOSImage-emos1-1-Filtered_image_statistics-U00200000050000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:52:59]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:52:59] Task Run Time fimgstat 0.0171589851379395s
#
# [COMMAND] [2024-11-30T23:52:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:59]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0201950201M1U002IMAGE_5000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:52:59]
# # [INFO] [2024-11-30T23:52:59] Task Run Time addattribute 0.0651099681854248s
#
# # [INFO] [2024-11-30T23:52:59] Band: 8
# # [INFO] [2024-11-30T23:52:59] expr = (PATTERN<=12)
# # [INFO] [2024-11-30T23:52:59] expr = GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)
# # [INFO] [2024-11-30T23:52:59] expr = GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME)
# # [INFO] [2024-11-30T23:52:59] locexpr = (PI in (200:12000])
# # [INFO] [2024-11-30T23:52:59] locexpr = (FLAG & 0x766aa000)==0
# [COMMAND] [2024-11-30T23:52:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:52:59]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:52:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:52:59]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (200:12000]) && (FLAG & 0x766aa000)==0" \
filteredset=intermediate/MakeMOSImage-emos1-1-FWC_image_event_list-U00200000080000.fits imagebinning=binSize imagedatatype=Real32 \
imageset=intermediate/MakeMOSImage-emos1-1-EPIC_FWC_image-U00200000080000.fits keepfilteroutput=Y \
table=intermediate/MOSEvents-emos1-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.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:53:00]
# # [INFO] [2024-11-30T23:53:00] Task Run Time evselect 0.270822048187256s
#
# [COMMAND] [2024-11-30T23:53:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:00]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:00]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos1-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (200:12000]) && (FLAG & 0x766aa000)==0" \
filteredset=intermediate/MakeMOSImage-emos1-1-image_event_list-U00200000080000.fits imagebinning=binSize imagedatatype=Int32 \
imageset=product/P0201950201M1U002IMAGE_8000.FIT keepfilteroutput=true table=product/P0201950201M1U002MIEVLI0000.FIT:EVENTS \
updateexposure=true withfilteredset=true withimagedatatype=true withimageset=Y writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:53:00]
# # [INFO] [2024-11-30T23:53:00] Task Run Time evselect 0.176285028457642s
#
# [COMMAND] [2024-11-30T23:53:00]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:53:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:00]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:00]
fimgstat clobber=Y infile=product/P0201950201M1U002IMAGE_8000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakeMOSImage-emos1-1-Filtered_image_statistics-U00200000080000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:53:00]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:53:00] Task Run Time fimgstat 0.0455479621887207s
#
# # [INFO] [2024-11-30T23:53:00] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0201950201M1U002IMAGE_8000.FIT\
#     --outfile=product/P0201950201M1U002IMAGE_8000.PNG
# [COMMAND] [2024-11-30T23:53:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:00]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:00]
implot.py --fitsImage=product/P0201950201M1U002IMAGE_8000.FIT --outfile=product/P0201950201M1U002IMAGE_8000.PNG
# # [OUTPUT] [2024-11-30T23:53:03] Image shape. y,x: (648, 648) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (528, 574) x/y ratio: 1.09 
# # [INFO] [2024-11-30T23:53:03] Task Run Time implot.py 2.92194104194641s
#
# [COMMAND] [2024-11-30T23:53:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:03]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0201950201M1U002IMAGE_8000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:53:03]
# # [INFO] [2024-11-30T23:53:03] Task Run Time addattribute 0.101902008056641s
#
# # [INFO] [2024-11-30T23:53:03] Ignoring further processing due to empty images.
# # [INFO] [2024-11-30T23:53:03] Module name: MakeMOSImage
# # [INFO] [2024-11-30T23:53:03] Instrument: emos2
# # [INFO] [2024-11-30T23:53:03] Stream no.: 0001
# # [INFO] [2024-11-30T23:53:03] Module version number: 2.22
# # [INFO] [2024-11-30T23:53:03] GTI total time interval threshold is 1000.
# # [INFO] [2024-11-30T23:53:03] Flare screening GTI total time interval is 1.04000000000000E+03 /s.
# # [INFO] [2024-11-30T23:53:03] Band: 1
# # [INFO] [2024-11-30T23:53:03] expr = (PATTERN<=12)
# # [INFO] [2024-11-30T23:53:03] expr = GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)
# # [INFO] [2024-11-30T23:53:03] expr = GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME)
# # [INFO] [2024-11-30T23:53:03] locexpr = (PI in (200:500])
# # [INFO] [2024-11-30T23:53:03] locexpr = (FLAG & 0x766ba000)==0
# [COMMAND] [2024-11-30T23:53:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:03]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (200:500]) && (FLAG & 0x766ba000)==0" \
imagebinning=binSize imagedatatype=Real32 imageset=intermediate/MakeMOSImage-emos2-1-EPIC_FWC_image-U00200000010000.fits \
keepfilteroutput=N table=intermediate/MOSEvents-emos2-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.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:53:03]
# # [INFO] [2024-11-30T23:53:03] Task Run Time evselect 0.148770809173584s
#
# [COMMAND] [2024-11-30T23:53:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:03]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (200:500]) && (FLAG & 0x766ba000)==0" \
filteredset=intermediate/MakeMOSImage-emos2-1-image_event_list-U00200000010000.fits imagebinning=binSize imagedatatype=Int32 \
imageset=product/P0201950201M2U002IMAGE_1000.FIT keepfilteroutput=Y table=product/P0201950201M2U002MIEVLI0000.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:53:03]
# # [INFO] [2024-11-30T23:53:03] Task Run Time evselect 0.21546196937561s
#
# [COMMAND] [2024-11-30T23:53:03]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:53:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:03]
fimgstat clobber=Y infile=product/P0201950201M2U002IMAGE_1000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakeMOSImage-emos2-1-Filtered_image_statistics-U00200000010000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:53:03]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:53:03] Task Run Time fimgstat 0.0367560386657715s
#
# [COMMAND] [2024-11-30T23:53:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:03]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0201950201M2U002IMAGE_1000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:53:03]
# # [INFO] [2024-11-30T23:53:03] Task Run Time addattribute 0.0756769180297852s
#
# # [INFO] [2024-11-30T23:53:03] Band: 2
# # [INFO] [2024-11-30T23:53:03] expr = (PATTERN<=12)
# # [INFO] [2024-11-30T23:53:03] expr = GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)
# # [INFO] [2024-11-30T23:53:03] expr = GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME)
# # [INFO] [2024-11-30T23:53:03] locexpr = (PI in (500:1000])
# # [INFO] [2024-11-30T23:53:03] locexpr = (FLAG & 0x766ba000)==0
# [COMMAND] [2024-11-30T23:53:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:03]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:03]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (500:1000]) && (FLAG & 0x766ba000)==0" \
imagebinning=binSize imagedatatype=Real32 imageset=intermediate/MakeMOSImage-emos2-1-EPIC_FWC_image-U00200000020000.fits \
keepfilteroutput=N table=intermediate/MOSEvents-emos2-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.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:53:04]
# # [INFO] [2024-11-30T23:53:04] Task Run Time evselect 0.153965950012207s
#
# [COMMAND] [2024-11-30T23:53:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:04]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:04]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (500:1000]) && (FLAG & 0x766ba000)==0" \
filteredset=intermediate/MakeMOSImage-emos2-1-image_event_list-U00200000020000.fits imagebinning=binSize imagedatatype=Int32 \
imageset=product/P0201950201M2U002IMAGE_2000.FIT keepfilteroutput=Y table=product/P0201950201M2U002MIEVLI0000.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:53:04]
# # [INFO] [2024-11-30T23:53:04] Task Run Time evselect 0.238200902938843s
#
# [COMMAND] [2024-11-30T23:53:04]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:53:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:04]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:04]
fimgstat clobber=Y infile=product/P0201950201M2U002IMAGE_2000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakeMOSImage-emos2-1-Filtered_image_statistics-U00200000020000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:53:04]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:53:04] Task Run Time fimgstat 0.0247578620910645s
#
# # [INFO] [2024-11-30T23:53:04] The image product/P0201950201M2U002IMAGE_2000.FIT is empty.
# # [INFO] [2024-11-30T23:53:04] Image product/P0201950201M2U002IMAGE_2000.FIT is empty.
# [COMMAND] [2024-11-30T23:53:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:04]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:04]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0201950201M2U002IMAGE_2000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:53:04]
# # [INFO] [2024-11-30T23:53:04] Task Run Time addattribute 0.101003885269165s
#
# # [INFO] [2024-11-30T23:53:04] Band: 3
# # [INFO] [2024-11-30T23:53:04] expr = (PATTERN<=12)
# # [INFO] [2024-11-30T23:53:04] expr = GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)
# # [INFO] [2024-11-30T23:53:04] expr = GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME)
# # [INFO] [2024-11-30T23:53:04] locexpr = (PI in (1000:2000])
# # [INFO] [2024-11-30T23:53:04] locexpr = (FLAG & 0x766ba000)==0
# [COMMAND] [2024-11-30T23:53:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:04]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:04]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (1000:2000]) && (FLAG & 0x766ba000)==0" \
imagebinning=binSize imagedatatype=Real32 imageset=intermediate/MakeMOSImage-emos2-1-EPIC_FWC_image-U00200000030000.fits \
keepfilteroutput=N table=intermediate/MOSEvents-emos2-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.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:53:04]
# # [INFO] [2024-11-30T23:53:04] Task Run Time evselect 0.259600877761841s
#
# [COMMAND] [2024-11-30T23:53:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:04]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:04]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (1000:2000]) && (FLAG & 0x766ba000)==0" \
filteredset=intermediate/MakeMOSImage-emos2-1-image_event_list-U00200000030000.fits imagebinning=binSize imagedatatype=Int32 \
imageset=product/P0201950201M2U002IMAGE_3000.FIT keepfilteroutput=Y table=product/P0201950201M2U002MIEVLI0000.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:53:04]
# # [INFO] [2024-11-30T23:53:04] Task Run Time evselect 0.210423946380615s
#
# [COMMAND] [2024-11-30T23:53:04]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:53:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:04]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:04]
fimgstat clobber=Y infile=product/P0201950201M2U002IMAGE_3000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakeMOSImage-emos2-1-Filtered_image_statistics-U00200000030000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:53:05]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:53:05] Task Run Time fimgstat 0.0547399520874023s
#
# [COMMAND] [2024-11-30T23:53:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:05]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0201950201M2U002IMAGE_3000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:53:05]
# # [INFO] [2024-11-30T23:53:05] Task Run Time addattribute 0.0880899429321289s
#
# # [INFO] [2024-11-30T23:53:05] Band: 4
# # [INFO] [2024-11-30T23:53:05] expr = (PATTERN<=12)
# # [INFO] [2024-11-30T23:53:05] expr = GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)
# # [INFO] [2024-11-30T23:53:05] expr = GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME)
# # [INFO] [2024-11-30T23:53:05] locexpr = (PI in (2000:4500])
# # [INFO] [2024-11-30T23:53:05] locexpr = (FLAG & 0x766ba000)==0
# [COMMAND] [2024-11-30T23:53:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:05]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (2000:4500]) && (FLAG & 0x766ba000)==0" \
imagebinning=binSize imagedatatype=Real32 imageset=intermediate/MakeMOSImage-emos2-1-EPIC_FWC_image-U00200000040000.fits \
keepfilteroutput=N table=intermediate/MOSEvents-emos2-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.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:53:05]
# # [INFO] [2024-11-30T23:53:05] Task Run Time evselect 0.291157960891724s
#
# [COMMAND] [2024-11-30T23:53:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:05]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (2000:4500]) && (FLAG & 0x766ba000)==0" \
filteredset=intermediate/MakeMOSImage-emos2-1-image_event_list-U00200000040000.fits imagebinning=binSize imagedatatype=Int32 \
imageset=product/P0201950201M2U002IMAGE_4000.FIT keepfilteroutput=Y table=product/P0201950201M2U002MIEVLI0000.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:53:05]
# # [INFO] [2024-11-30T23:53:05] Task Run Time evselect 0.163270950317383s
#
# [COMMAND] [2024-11-30T23:53:05]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:53:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:05]
fimgstat clobber=Y infile=product/P0201950201M2U002IMAGE_4000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakeMOSImage-emos2-1-Filtered_image_statistics-U00200000040000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:53:05]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:53:05] Task Run Time fimgstat 0.0218350887298584s
#
# # [INFO] [2024-11-30T23:53:05] The image product/P0201950201M2U002IMAGE_4000.FIT is empty.
# # [INFO] [2024-11-30T23:53:05] Image product/P0201950201M2U002IMAGE_4000.FIT is empty.
# [COMMAND] [2024-11-30T23:53:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:05]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0201950201M2U002IMAGE_4000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:53:05]
# # [INFO] [2024-11-30T23:53:05] Task Run Time addattribute 0.0781421661376953s
#
# # [INFO] [2024-11-30T23:53:05] Band: 5
# # [INFO] [2024-11-30T23:53:05] expr = (PATTERN<=12)
# # [INFO] [2024-11-30T23:53:05] expr = GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)
# # [INFO] [2024-11-30T23:53:05] expr = GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME)
# # [INFO] [2024-11-30T23:53:05] locexpr = (PI in (4500:12000])
# # [INFO] [2024-11-30T23:53:05] locexpr = (FLAG & 0x766ba000)==0
# [COMMAND] [2024-11-30T23:53:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:05]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (4500:12000]) && (FLAG & 0x766ba000)==0" \
imagebinning=binSize imagedatatype=Real32 imageset=intermediate/MakeMOSImage-emos2-1-EPIC_FWC_image-U00200000050000.fits \
keepfilteroutput=N table=intermediate/MOSEvents-emos2-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.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:53:05]
# # [INFO] [2024-11-30T23:53:05] Task Run Time evselect 0.242592096328735s
#
# [COMMAND] [2024-11-30T23:53:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:05]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:05]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (4500:12000]) && (FLAG & 0x766ba000)==0" \
filteredset=intermediate/MakeMOSImage-emos2-1-image_event_list-U00200000050000.fits imagebinning=binSize imagedatatype=Int32 \
imageset=product/P0201950201M2U002IMAGE_5000.FIT keepfilteroutput=Y table=product/P0201950201M2U002MIEVLI0000.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:53:06]
# # [INFO] [2024-11-30T23:53:06] Task Run Time evselect 0.222763061523438s
#
# [COMMAND] [2024-11-30T23:53:06]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:53:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:06]
fimgstat clobber=Y infile=product/P0201950201M2U002IMAGE_5000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakeMOSImage-emos2-1-Filtered_image_statistics-U00200000050000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:53:06]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:53:06] Task Run Time fimgstat 0.0222828388214111s
#
# # [INFO] [2024-11-30T23:53:06] The image product/P0201950201M2U002IMAGE_5000.FIT is empty.
# # [INFO] [2024-11-30T23:53:06] Image product/P0201950201M2U002IMAGE_5000.FIT is empty.
# [COMMAND] [2024-11-30T23:53:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:06]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0201950201M2U002IMAGE_5000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:53:06]
# # [INFO] [2024-11-30T23:53:06] Task Run Time addattribute 0.108771085739136s
#
# # [INFO] [2024-11-30T23:53:06] Band: 8
# # [INFO] [2024-11-30T23:53:06] expr = (PATTERN<=12)
# # [INFO] [2024-11-30T23:53:06] expr = GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME)
# # [INFO] [2024-11-30T23:53:06] expr = GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME)
# # [INFO] [2024-11-30T23:53:06] locexpr = (PI in (200:12000])
# # [INFO] [2024-11-30T23:53:06] locexpr = (FLAG & 0x766aa000)==0
# [COMMAND] [2024-11-30T23:53:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:06]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (200:12000]) && (FLAG & 0x766aa000)==0" \
filteredset=intermediate/MakeMOSImage-emos2-1-FWC_image_event_list-U00200000080000.fits imagebinning=binSize imagedatatype=Real32 \
imageset=intermediate/MakeMOSImage-emos2-1-EPIC_FWC_image-U00200000080000.fits keepfilteroutput=Y \
table=intermediate/MOSEvents-emos2-1-EPIC_MOS_imaging_mode_FWC_event_list-U00200000000000.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:53:06]
# # [INFO] [2024-11-30T23:53:06] Task Run Time evselect 0.230332851409912s
#
# [COMMAND] [2024-11-30T23:53:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:06]
evselect expression="(PATTERN<=12) && GTI(intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits, TIME) && \
GTI(intermediate/MOSEvents-emos2-1-Optimised_flare_GTI-U00200000080000.fits,TIME) && (PI in (200:12000]) && (FLAG & 0x766aa000)==0" \
filteredset=intermediate/MakeMOSImage-emos2-1-image_event_list-U00200000080000.fits imagebinning=binSize imagedatatype=Int32 \
imageset=product/P0201950201M2U002IMAGE_8000.FIT keepfilteroutput=true table=product/P0201950201M2U002MIEVLI0000.FIT:EVENTS \
updateexposure=true withfilteredset=true withimagedatatype=true withimageset=Y writedss=true xcolumn=X ximagebinsize=80 ycolumn=Y \
yimagebinsize=80 -w 10
# # [OUTPUT] [2024-11-30T23:53:06]
# # [INFO] [2024-11-30T23:53:06] Task Run Time evselect 0.202183961868286s
#
# [COMMAND] [2024-11-30T23:53:06]
export \
PFILES=/scratch/226330.1.all.q/xmm/ppsprod/229475/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:53:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:06]
fimgstat clobber=Y infile=product/P0201950201M2U002IMAGE_8000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/MakeMOSImage-emos2-1-Filtered_image_statistics-U00200000080000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:53:06]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:53:06] Task Run Time fimgstat 0.018496036529541s
#
# # [INFO] [2024-11-30T23:53:06] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0201950201M2U002IMAGE_8000.FIT\
#     --outfile=product/P0201950201M2U002IMAGE_8000.PNG
# [COMMAND] [2024-11-30T23:53:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:06]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:06]
implot.py --fitsImage=product/P0201950201M2U002IMAGE_8000.FIT --outfile=product/P0201950201M2U002IMAGE_8000.PNG
# # [OUTPUT] [2024-11-30T23:53:09] Image shape. y,x: (648, 648) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (567, 536) x/y ratio: 0.95 
# # [INFO] [2024-11-30T23:53:09] Task Run Time implot.py 2.69513297080994s
#
# [COMMAND] [2024-11-30T23:53:09]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:53:09]
export SAS_RAND_SEED=0201950201
# # [INFO] [2024-11-30T23:53:09] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0201950201
# [COMMAND] [2024-11-30T23:53:09]
addattribute attributecomment="\"Was background screening of the eventlist applied?\"" attributename=BKGDSCRN attributetype=boolean \
booleanvalue=T set=product/P0201950201M2U002IMAGE_8000.FIT:PRIMARY -w 10
# # [OUTPUT] [2024-11-30T23:53:09]
# # [INFO] [2024-11-30T23:53:09] Task Run Time addattribute 0.0825419425964355s
#
# # [INFO] [2024-11-30T23:53:09] Ignoring further processing due to empty images.
