
#!/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:39:54] Module name: VerifyODF
# # [INFO] [2024-11-30T23:39:54] Instrument: all
# # [INFO] [2024-11-30T23:39:54] Stream no.: 0001
# # [INFO] [2024-11-30T23:39:54] Module version number: 1.18
# # [INFO] [2024-11-30T23:39:54] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:39:54] Module name: MakeCIF
# # [INFO] [2024-11-30T23:39:54] Instrument: all
# # [INFO] [2024-11-30T23:39:54] Stream no.: 0001
# # [INFO] [2024-11-30T23:39:54] Module version number: 1.23
# # [INFO] [2024-11-30T23:39:54] Observation start defined as >2001-05-12T06:00:29.000<
# # [INFO] [2024-11-30T23:39:54] Processing date defined as >2024-12-01T00:39:53<
# [COMMAND] [2024-11-30T23:39:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:54]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:39:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:39:54]
cifbuild analysisdate=2024-12-01T00:39:53 calindexset=product/P0009650301OBX000CALIND0000.FIT fullpath=no \
observationdate=2001-05-12T06:00:29.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:40:22]
# # [INFO] [2024-11-30T23:40:22] Task Run Time cifbuild 28.468003988266s
#
# [COMMAND] [2024-11-30T23:40:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:22]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:22]
addattribute attributecomment="\"Telescope (mission) name\" \"Date observations ended\" \"RA of instrument pointing (degrees)\" \
\"Date observations were made\" \"Name of PI\" \"Name of observed object\" \"Observation mode (pointing or slew)\" \"DEC of \
instrument pointing\" \"Observation identifier\"" attributename="TELESCOP DATE-END RA_PNT DATE-OBS OBSERVER OBJECT OBS_MODE DEC_PNT \
OBS_ID" attributetype="string string real string string string string real string" realvalue="\"334.48125\" \"-8.3514167\"" \
set=product/P0009650301OBX000CALIND0000.FIT stringvalue="\"XMM\" \"2001-05-12T08:52:45.000\" \"2001-05-12T06:00:29.000\" \"Dr Coel \
Hellier\" \"FO Aqr\" \"POINTED\" \"0009650301\"" -w 10
# # [OUTPUT] [2024-11-30T23:40:22]
# # [INFO] [2024-11-30T23:40:22] Task Run Time addattribute 0.0519371032714844s
#
# [COMMAND] [2024-11-30T23:40:22]
cp /scratch/225627.1.all.q/xmm/ppsprod/228772/product/P0009650301OBX000CALIND0000.FIT \
/scratch/225627.1.all.q/xmm/ppsprod/228772/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:40:22] System RV 0
# # [INFO] [2024-11-30T23:40:22] Module name: GlobalHK
# # [INFO] [2024-11-30T23:40:22] Instrument: all
# # [INFO] [2024-11-30T23:40:22] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:22] Module version number: 1.81
# [COMMAND] [2024-11-30T23:40:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:22]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:22]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:24] ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 106030484.184\
#     which is more than 20 s outside the period for which the attitude is known (closest time is -30.9999999851 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 106030484.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -30.9999999851 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 106030485.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -29.9999999851 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 106030485.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -29.9999999851 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 106030486.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -28.9999999851 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 106030486.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -28.9999999851 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 106030487.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -27.9999999851 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 106030487.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -27.9999999851 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 106030488.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -26.9999999851 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 106030488.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -26.9999999851 s away).
# ** preqgti: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 67014 times 
# # [INFO] [2024-11-30T23:40:24] Task Run Time preqgti 1.54645299911499s
#
# [COMMAND] [2024-11-30T23:40:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:24]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:24]
atthkgen atthkset=product/P0009650301OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:40:24]
# # [INFO] [2024-11-30T23:40:24] Task Run Time atthkgen 0.292088031768799s
#
# [COMMAND] [2024-11-30T23:40:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:24]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:24]
orbit outfile=product/P0009650301OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:40:25] orbit:- Output FITS Orbit timeseries: product/P0009650301OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:40:25] Task Run Time orbit 0.45137095451355s
#
# [COMMAND] [2024-11-30T23:40:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:25]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:25]
radmonfix output=product/P0009650301OBX000RADMON0000.FIT radmonlist="odf/0261_0009650301_RMX00100ECX.FIT \
odf/0261_0009650301_RMX00200ECX.FIT" withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:40:25] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=27271937.95 which\
#     is outside the time correlation data abscissa range [27272349.83, 27283949.49] - result of extrapolation might be afflicted\
#     with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=27271941.95 which is outside the time correlation\
#     data abscissa range [27272349.83, 27283949.49] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=27271945.95 which is outside the time correlation\
#     data abscissa range [27272349.83, 27283949.49] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=27271949.95 which is outside the time correlation\
#     data abscissa range [27272349.83, 27283949.49] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=27271953.95 which is outside the time correlation\
#     data abscissa range [27272349.83, 27283949.49] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=27271957.95 which is outside the time correlation\
#     data abscissa range [27272349.83, 27283949.49] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=27271961.95 which is outside the time correlation\
#     data abscissa range [27272349.83, 27283949.49] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=27271965.95 which is outside the time correlation\
#     data abscissa range [27272349.83, 27283949.49] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=27271969.95 which is outside the time correlation\
#     data abscissa range [27272349.83, 27283949.49] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=27271973.95 which is outside the time correlation\
#     data abscissa range [27272349.83, 27283949.49] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Adding 1409 counts rows from row 1346
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 871 times 
# # [INFO] [2024-11-30T23:40:25] Task Run Time radmonfix 0.113646984100342s
#
# [COMMAND] [2024-11-30T23:40:25]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/225627.1.all.q/xmm/ppsprod/228772/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:40:25] System RV 0
# # [INFO] [2024-11-30T23:40:25] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:40:25]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/225627.1.all.q/xmm/ppsprod/228772/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:40:25] System RV 0
# [COMMAND] [2024-11-30T23:40:25]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/225627.1.all.q/xmm/ppsprod/228772/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:40:25] System RV 0
# [COMMAND] [2024-11-30T23:40:25]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/225627.1.all.q/xmm/ppsprod/228772/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:40:25] System RV 0
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: emos2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure S002 for processability
# # [INFO] [2024-11-30T23:40:25] Filter: CalClosed
# # [INFO] [2024-11-30T23:40:25] Instrument mode: PrimePartialW3
# # [INFO] [2024-11-30T23:40:25] Exposure duration: 10138
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: epn
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure S003 for processability
# # [INFO] [2024-11-30T23:40:25] Filter: CalClosed
# # [INFO] [2024-11-30T23:40:25] Instrument mode: PrimeSmallWindow
# # [INFO] [2024-11-30T23:40:25] Exposure duration: 9241
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U002 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0002
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U003 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0003
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U004 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0004
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U005 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0005
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U006 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0006
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U007 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0007
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U008 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0008
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U009 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0009
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U010 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0010
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U011 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0011
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U012 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0012
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U013 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0013
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U014 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0014
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U015 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0015
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U016 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0016
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U017 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0017
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U018 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0018
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U019 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0019
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U020 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0020
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U021 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0021
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U022 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0022
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U023 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0023
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U024 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: rgs2
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0024
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure U025 for processability
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: om
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure S019 for processability
# # [INFO] [2024-11-30T23:40:25] Filter: UVM2
# # [INFO] [2024-11-30T23:40:25] Instrument mode: Image
# # [INFO] [2024-11-30T23:40:25] Exposure duration: 1800
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: om
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0002
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure S400 for processability
# # [INFO] [2024-11-30T23:40:25] Filter: UVM2
# # [INFO] [2024-11-30T23:40:25] Instrument mode: UNDEFINED
# # [INFO] [2024-11-30T23:40:25] Exposure duration: 1800
# # [INFO] [2024-11-30T23:40:25] OM datamode=
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to invalid or unsupported instrument mode
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: om
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0003
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure S415 for processability
# # [INFO] [2024-11-30T23:40:25] Filter: UVM2
# # [INFO] [2024-11-30T23:40:25] Instrument mode: Image
# # [INFO] [2024-11-30T23:40:25] Exposure duration: 1799
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: om
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0004
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure S416 for processability
# # [INFO] [2024-11-30T23:40:25] Filter: UVM2
# # [INFO] [2024-11-30T23:40:25] Instrument mode: Image
# # [INFO] [2024-11-30T23:40:25] Exposure duration: 1800
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: om
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0005
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure S417 for processability
# # [INFO] [2024-11-30T23:40:25] Filter: UVM2
# # [INFO] [2024-11-30T23:40:25] Instrument mode: Image
# # [INFO] [2024-11-30T23:40:25] Exposure duration: 1799
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: om
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0006
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure S418 for processability
# # [INFO] [2024-11-30T23:40:25] Filter: UVM2
# # [INFO] [2024-11-30T23:40:25] Instrument mode: Image
# # [INFO] [2024-11-30T23:40:25] Exposure duration: 1799
# # [INFO] [2024-11-30T23:40:25] Module name: ExpChooser
# # [INFO] [2024-11-30T23:40:25] Instrument: emos1
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:25] Module version number: 1.38
# # [INFO] [2024-11-30T23:40:25] Checking exposure S001 for processability
# # [INFO] [2024-11-30T23:40:25] Filter: CalClosed
# # [INFO] [2024-11-30T23:40:25] Instrument mode: PrimePartialW3
# # [INFO] [2024-11-30T23:40:25] Exposure duration: 10049
# # [INFO] [2024-11-30T23:40:25] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:40:25] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:40:25] Instrument: om
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:25] Module version number: 2.01
# # [INFO] [2024-11-30T23:40:25] Module name: USNOExtract
# # [INFO] [2024-11-30T23:40:25] Instrument: all
# # [INFO] [2024-11-30T23:40:25] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:25] Module version number: 0.07
# [COMMAND] [2024-11-30T23:40:25]
export \
PFILES=/scratch/225627.1.all.q/xmm/ppsprod/228772/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:40:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:25]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:25]
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:40:26] Written the output image ......... 
# # [INFO] [2024-11-30T23:40:26] Task Run Time fimgcreate 0.0974581241607666s
#
# [COMMAND] [2024-11-30T23:40:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:26]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:26]
catprep catextract=intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
srclistset=product/P0009650301OBX000CALIND0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:27]
# # [INFO] [2024-11-30T23:40:27] Task Run Time catprep 1.73291802406311s
#
# [COMMAND] [2024-11-30T23:40:27]
cp /scratch/225627.1.all.q/xmm/ppsprod/228772/intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
/scratch/225627.1.all.q/xmm/ppsprod/228772/product/P0009650301OBX000REFCAT0000.FIT
# # [INFO] [2024-11-30T23:40:27] System RV 0
# # [INFO] [2024-11-30T23:40:27] Reading keyword TELESCOP value XMM comment Telescope (mission) name
# # [INFO] [2024-11-30T23:40:27] Reading keyword DATE-END value 2001-05-12T08:52:45.000 comment Date observations ended
# # [INFO] [2024-11-30T23:40:27] Reading keyword OBS_ID value 0009650301 comment Observation identifier
# # [INFO] [2024-11-30T23:40:27] Reading keyword OBS_MODE value POINTING comment Observation mode (pointing or slew)
# # [INFO] [2024-11-30T23:40:27] Reading keyword RA_OBJ value 3.34481250000000E+02 comment [deg] Ra of the observed object
# # [INFO] [2024-11-30T23:40:27] Reading keyword DEC_OBJ value -8.35141670000000E+00 comment [deg] Dec of the observed object
# # [INFO] [2024-11-30T23:40:27] Reading keyword DATE-OBS value 2001-05-12T06:00:29.000 comment Date observations were made
# [COMMAND] [2024-11-30T23:40:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:27]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:27]
addattribute attributecomment="\"Telescope (mission) name\" \"Date observations ended\" \"Observation identifier\" \"Observation \
mode (pointing or slew)\" \"[deg] Ra of the observed object\" \"[deg] Dec of the observed object\" \"Date observations were made\"" \
attributename="TELESCOP DATE-END OBS_ID OBS_MODE RA_OBJ DEC_OBJ DATE-OBS" attributetype="\"string\" \"string\" \"string\" \"string\" \
\"real\" \"real\" \"string\"" realvalue="3.34481250000000E+02 -8.35141670000000E+00" set=product/P0009650301OBX000REFCAT0000.FIT \
stringvalue="XMM 2001-05-12T08:52:45.000 0009650301 POINTING 2001-05-12T06:00:29.000" -w 10
# # [OUTPUT] [2024-11-30T23:40:27] ** addattribute: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in\
#     dataset with name 'product/P0009650301OBX000REFCAT0000.FIT'
# ** addattribute: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name\
#     'product/P0009650301OBX000REFCAT0000.FIT' 
# # [INFO] [2024-11-30T23:40:27] Task Run Time addattribute 0.035181999206543s
#
# # [INFO] [2024-11-30T23:40:27] Module name: OMgetFlat
# # [INFO] [2024-11-30T23:40:27] Instrument: om
# # [INFO] [2024-11-30T23:40:27] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:27] Module version number: 1.07
# [COMMAND] [2024-11-30T23:40:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:27]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:27]
omflatgen outset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:28] ** omflatgen: warning (ArgumentIgnored), Warning: countRateFrameRatio argument in small-scale\
#     flatfield retrieval currently ignored 
# # [INFO] [2024-11-30T23:40:28] Task Run Time omflatgen 0.15487003326416s
#
# # [INFO] [2024-11-30T23:40:28] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:40:28] Instrument: om
# # [INFO] [2024-11-30T23:40:28] Stream no.: 0003
# # [INFO] [2024-11-30T23:40:28] Module version number: 1.06
# [COMMAND] [2024-11-30T23:40:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:28]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:28]
omprep modeset=3 nphset=odf/0261_0009650301_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S41500000000000.fits pehset=odf/0261_0009650301_OMX00000PEH.FIT \
set=DUMMYTHX.FIT wdxset=odf/0261_0009650301_OMS41500WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:28] ** omprep: warning ( Missing OM Tracking History Data Auxiliary File. Using ZERODRIFT option),\
#     ZERODRIFT 
# # [INFO] [2024-11-30T23:40:28] Task Run Time omprep 0.120415925979614s
#
# # [INFO] [2024-11-30T23:40:28] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:40:28] Instrument: om
# # [INFO] [2024-11-30T23:40:28] Stream no.: 0004
# # [INFO] [2024-11-30T23:40:28] Module version number: 1.06
# [COMMAND] [2024-11-30T23:40:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:28]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:28]
omprep modeset=3 nphset=odf/0261_0009650301_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S41600000000000.fits pehset=odf/0261_0009650301_OMX00000PEH.FIT \
set=DUMMYTHX.FIT wdxset=odf/0261_0009650301_OMS41600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:28] ** omprep: warning ( Missing OM Tracking History Data Auxiliary File. Using ZERODRIFT option),\
#     ZERODRIFT 
# # [INFO] [2024-11-30T23:40:28] Task Run Time omprep 0.109315872192383s
#
# # [INFO] [2024-11-30T23:40:28] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:40:28] Instrument: om
# # [INFO] [2024-11-30T23:40:28] Stream no.: 0005
# # [INFO] [2024-11-30T23:40:28] Module version number: 1.06
# [COMMAND] [2024-11-30T23:40:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:28]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:28]
omprep modeset=3 nphset=odf/0261_0009650301_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S41700000000000.fits pehset=odf/0261_0009650301_OMX00000PEH.FIT \
set=DUMMYTHX.FIT wdxset=odf/0261_0009650301_OMS41700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:28] ** omprep: warning ( Missing OM Tracking History Data Auxiliary File. Using ZERODRIFT option),\
#     ZERODRIFT 
# # [INFO] [2024-11-30T23:40:28] Task Run Time omprep 0.123157024383545s
#
# # [INFO] [2024-11-30T23:40:28] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:40:28] Instrument: om
# # [INFO] [2024-11-30T23:40:28] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:28] Module version number: 1.06
# [COMMAND] [2024-11-30T23:40:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:28]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:28]
omprep modeset=3 nphset=odf/0261_0009650301_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S01900000000000.fits pehset=odf/0261_0009650301_OMX00000PEH.FIT \
set=DUMMYTHX.FIT wdxset=odf/0261_0009650301_OMS01900WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:28] ** omprep: warning ( Missing OM Tracking History Data Auxiliary File. Using ZERODRIFT option),\
#     ZERODRIFT 
# # [INFO] [2024-11-30T23:40:28] Task Run Time omprep 0.0844597816467285s
#
# # [INFO] [2024-11-30T23:40:28] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:40:28] Instrument: om
# # [INFO] [2024-11-30T23:40:28] Stream no.: 0006
# # [INFO] [2024-11-30T23:40:28] Module version number: 1.06
# [COMMAND] [2024-11-30T23:40:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:28]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:28]
omprep modeset=3 nphset=odf/0261_0009650301_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S41800000000000.fits pehset=odf/0261_0009650301_OMX00000PEH.FIT \
set=DUMMYTHX.FIT wdxset=odf/0261_0009650301_OMS41800WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:28] ** omprep: warning ( Missing OM Tracking History Data Auxiliary File. Using ZERODRIFT option),\
#     ZERODRIFT 
# # [INFO] [2024-11-30T23:40:28] Task Run Time omprep 0.0831108093261719s
#
# # [INFO] [2024-11-30T23:40:28] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:40:28] Instrument: om
# # [INFO] [2024-11-30T23:40:28] Stream no.: 0003
# # [INFO] [2024-11-30T23:40:28] Module version number: 1.36
# # [INFO] [2024-11-30T23:40:28] DEBUG --- exp_id: S415, filter: UVM2
# # [INFO] [2024-11-30T23:40:28] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:40:28] Processing OSW 1
# # [INFO] [2024-11-30T23:40:28] Start omprep
# [COMMAND] [2024-11-30T23:40:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:28]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:28]
omprep modeset=1 nphset=odf/0261_0009650301_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S41500010000000.fits pehset=odf/0261_0009650301_OMX00000PEH.FIT \
set=odf/0261_0009650301_OMS41501FAE.FIT wdxset=odf/0261_0009650301_OMS41500WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:28]
# # [INFO] [2024-11-30T23:40:28] Task Run Time omprep 0.169089078903198s
#
# # [INFO] [2024-11-30T23:40:28] Start evselect(1)
# [COMMAND] [2024-11-30T23:40:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:28]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:28]
evselect imageset=intermediate/OMFastAnalyse-om-3-Fast_Mode_Raw_Image-S41500010000000.fits \
table=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S41500010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:40:29] ** evselect: warning (NoAttrib), The Attribute SLCTEXPR does not exist in the input event list.\
#     No value was copied.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWX.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWY. 
# # [INFO] [2024-11-30T23:40:29] Task Run Time evselect 0.0494470596313477s
#
# # [INFO] [2024-11-30T23:40:29] Start omfastshift
# [COMMAND] [2024-11-30T23:40:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:29]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:29]
omfastshift nphset=odf/0261_0009650301_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S41500010000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S41500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:29]
# # [INFO] [2024-11-30T23:40:29] Task Run Time omfastshift 0.0698390007019043s
#
# # [INFO] [2024-11-30T23:40:29] Start omfastflat
# [COMMAND] [2024-11-30T23:40:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:29]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:29]
omfastflat fastimgset=product/P0009650301OMS415IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-3-OM_OSW_Flat_Field-S41500010000000.fits \
set=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S41500010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:29]
# # [INFO] [2024-11-30T23:40:29] Task Run Time omfastflat 0.169333934783936s
#
# # [INFO] [2024-11-30T23:40:29] Start omdetect
# [COMMAND] [2024-11-30T23:40:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:29]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:29]
omdetect nsigma=3 outset=product/P0009650301OMS415SFSRLI1000.FIT regionfile=product/P0009650301OMS415SFSREG1000.ASC \
set=product/P0009650301OMS415IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:29]
# # [INFO] [2024-11-30T23:40:29] Task Run Time omdetect 0.566287994384766s
#
# # [INFO] [2024-11-30T23:40:29] Start omatt
# [COMMAND] [2024-11-30T23:40:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:29]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:29]
omatt ppsoswset=product/P0009650301OMS415SIMAGF1000.FIT set=product/P0009650301OMS415IMAGEF1000.FIT \
sourcelistset=product/P0009650301OMS415SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:40:30]
# # [INFO] [2024-11-30T23:40:30] Task Run Time omatt 0.555777072906494s
#
# # [INFO] [2024-11-30T23:40:30] Sky image found 
# # [INFO] [2024-11-30T23:40:30] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS415SIMAGF1000.FIT\
#     --outfile=product/P0009650301OMS415SIMAGF1000.PNG --srclisttab=product/P0009650301OMS415SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:40:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:30]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:30]
implot.py --fitsImage=product/P0009650301OMS415SIMAGF1000.FIT --outfile=product/P0009650301OMS415SIMAGF1000.PNG \
--srclisttab=product/P0009650301OMS415SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:40:32] Image shape. y,x: (29, 27) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (28, 26) x/y ratio: 0.93
# Plotting source regions from product/P0009650301OMS415SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:40:32] Task Run Time implot.py 2.17879390716553s
#
# # [INFO] [2024-11-30T23:40:32] implot has created PNG with src list
# # [INFO] [2024-11-30T23:40:32] Per-Source Processing
# # [INFO] [2024-11-30T23:40:32] Number of sources from region file product/P0009650301OMS415SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:40:32] Sources in sourcelist product/P0009650301OMS415SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:40:32] Source Number : 1
# # [INFO] [2024-11-30T23:40:32] Start omregion
# [COMMAND] [2024-11-30T23:40:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:32]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:32]
omregion bkgfile=intermediate/OMFastAnalyse-om-3-OM_Background_Region_File-S41500010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0009650301OMS415SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-3-OM_Source_Region_File-S41500010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:40:32]
# # [INFO] [2024-11-30T23:40:32] Task Run Time omregion 0.04500412940979s
#
# # [INFO] [2024-11-30T23:40:32] Sampling timebinsize of product/P0009650301OMS415IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:40:32] Start evselect (2)
# # [INFO] [2024-11-30T23:40:32] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:40:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:32]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:32]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-3-OM_Source_Region_File-S41500010000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-3-OM_Source_Rates_File-S41500010000001.fits \
table=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S41500010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:40:32] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:40:32] Task Run Time evselect 0.0781769752502441s
#
# # [INFO] [2024-11-30T23:40:32] Start evselect (3)
# [COMMAND] [2024-11-30T23:40:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:32]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:32]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-3-OM_Background_Region_File-S41500010000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-3-OM_Background_Rates_File-S41500010000001.fits \
table=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S41500010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:40:32] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:40:32] Task Run Time evselect 0.053354024887085s
#
# # [INFO] [2024-11-30T23:40:32] Start omlcbuild
# # [INFO] [2024-11-30T23:40:32] Imaging mode image for determining background S415:odf/0261_0009650301_OMS41500IMI.FIT
# [COMMAND] [2024-11-30T23:40:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:32]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:32]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-3-OM_Background_Rates_File-S41500010000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-3-OM_Background_Region_File-S41500010000001.fits \
imageset=odf/0261_0009650301_OMS41500IMI.FIT outset=product/P0009650301OMS415TIMESR1001.FIT \
sourcelistset=product/P0009650301OMS415SFSRLI1000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-3-OM_Source_Rates_File-S41500010000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-3-OM_Source_Region_File-S41500010000001.fits wdxset=odf/0261_0009650301_OMS41500WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:40:37]
# TDP corr factor is: 1.04326105 
# # [INFO] [2024-11-30T23:40:37] Task Run Time omlcbuild 4.45605683326721s
#
# # [INFO] [2024-11-30T23:40:37] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0009650301OMS415TIMESR1001.FIT
# # [INFO] [2024-11-30T23:40:37] DEBUG ++ TIMESR file product/P0009650301OMS415TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:40:37] Start lcplot
# [COMMAND] [2024-11-30T23:40:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:37]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:37]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-3-OM_OSW_SOURCE_TIMESERIES-S41500010000001.ps \
set=product/P0009650301OMS415TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:40:38] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:40:38] Task Run Time lcplot 1.43727111816406s
#
# # [INFO] [2024-11-30T23:40:38] Start PStoPDF
# [COMMAND] [2024-11-30T23:40:38]
pstopdf intermediate/OMFastAnalyse-om-3-OM_OSW_SOURCE_TIMESERIES-S41500010000001.ps product/P0009650301OMS415TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:40:38]
# # [INFO] [2024-11-30T23:40:38] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:40:38] Instrument: om
# # [INFO] [2024-11-30T23:40:38] Stream no.: 0004
# # [INFO] [2024-11-30T23:40:38] Module version number: 1.36
# # [INFO] [2024-11-30T23:40:38] DEBUG --- exp_id: S416, filter: UVM2
# # [INFO] [2024-11-30T23:40:38] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:40:38] Processing OSW 1
# # [INFO] [2024-11-30T23:40:38] Start omprep
# [COMMAND] [2024-11-30T23:40:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:38]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:38]
omprep modeset=1 nphset=odf/0261_0009650301_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-4-PPS_Event_List_File-S41600010000000.fits pehset=odf/0261_0009650301_OMX00000PEH.FIT \
set=odf/0261_0009650301_OMS41601FAE.FIT wdxset=odf/0261_0009650301_OMS41600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:38]
# # [INFO] [2024-11-30T23:40:38] Task Run Time omprep 0.0894789695739746s
#
# # [INFO] [2024-11-30T23:40:38] Start evselect(1)
# [COMMAND] [2024-11-30T23:40:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:38]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:38]
evselect imageset=intermediate/OMFastAnalyse-om-4-Fast_Mode_Raw_Image-S41600010000000.fits \
table=intermediate/OMFastAnalyse-om-4-PPS_Event_List_File-S41600010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:40:38] ** evselect: warning (NoAttrib), The Attribute SLCTEXPR does not exist in the input event list.\
#     No value was copied.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWX.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWY. 
# # [INFO] [2024-11-30T23:40:38] Task Run Time evselect 0.0537929534912109s
#
# # [INFO] [2024-11-30T23:40:38] Start omfastshift
# [COMMAND] [2024-11-30T23:40:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:38]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:38]
omfastshift nphset=odf/0261_0009650301_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-4-PPS_Event_List_File-S41600010000000.fits \
thxset=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S41600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:39]
# # [INFO] [2024-11-30T23:40:39] Task Run Time omfastshift 0.116582870483398s
#
# # [INFO] [2024-11-30T23:40:39] Start omfastflat
# [COMMAND] [2024-11-30T23:40:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:39]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:39]
omfastflat fastimgset=product/P0009650301OMS416IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-4-OM_OSW_Flat_Field-S41600010000000.fits \
set=intermediate/OMFastAnalyse-om-4-PPS_Event_List_File-S41600010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:39]
# # [INFO] [2024-11-30T23:40:39] Task Run Time omfastflat 0.285767078399658s
#
# # [INFO] [2024-11-30T23:40:39] Start omdetect
# [COMMAND] [2024-11-30T23:40:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:39]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:39]
omdetect nsigma=3 outset=product/P0009650301OMS416SFSRLI1000.FIT regionfile=product/P0009650301OMS416SFSREG1000.ASC \
set=product/P0009650301OMS416IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:39]
# # [INFO] [2024-11-30T23:40:39] Task Run Time omdetect 0.557793855667114s
#
# # [INFO] [2024-11-30T23:40:39] Start omatt
# [COMMAND] [2024-11-30T23:40:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:39]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:39]
omatt ppsoswset=product/P0009650301OMS416SIMAGF1000.FIT set=product/P0009650301OMS416IMAGEF1000.FIT \
sourcelistset=product/P0009650301OMS416SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:40:40]
# # [INFO] [2024-11-30T23:40:40] Task Run Time omatt 0.491742134094238s
#
# # [INFO] [2024-11-30T23:40:40] Sky image found 
# # [INFO] [2024-11-30T23:40:40] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS416SIMAGF1000.FIT\
#     --outfile=product/P0009650301OMS416SIMAGF1000.PNG --srclisttab=product/P0009650301OMS416SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:40:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:40]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:40]
implot.py --fitsImage=product/P0009650301OMS416SIMAGF1000.FIT --outfile=product/P0009650301OMS416SIMAGF1000.PNG \
--srclisttab=product/P0009650301OMS416SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:40:42] Image shape. y,x: (29, 27) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (28, 26) x/y ratio: 0.93
# Plotting source regions from product/P0009650301OMS416SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:40:42] Task Run Time implot.py 1.89768886566162s
#
# # [INFO] [2024-11-30T23:40:42] implot has created PNG with src list
# # [INFO] [2024-11-30T23:40:42] Per-Source Processing
# # [INFO] [2024-11-30T23:40:42] Number of sources from region file product/P0009650301OMS416SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:40:42] Sources in sourcelist product/P0009650301OMS416SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:40:42] Source Number : 1
# # [INFO] [2024-11-30T23:40:42] Start omregion
# [COMMAND] [2024-11-30T23:40:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:42]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:42]
omregion bkgfile=intermediate/OMFastAnalyse-om-4-OM_Background_Region_File-S41600010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0009650301OMS416SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-4-OM_Source_Region_File-S41600010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:40:42]
# # [INFO] [2024-11-30T23:40:42] Task Run Time omregion 0.0384271144866943s
#
# # [INFO] [2024-11-30T23:40:42] Sampling timebinsize of product/P0009650301OMS416IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:40:42] Start evselect (2)
# # [INFO] [2024-11-30T23:40:42] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:40:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:42]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:42]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-4-OM_Source_Region_File-S41600010000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-4-OM_Source_Rates_File-S41600010000001.fits \
table=intermediate/OMFastAnalyse-om-4-PPS_Event_List_File-S41600010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:40:42] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:40:42] Task Run Time evselect 0.0595269203186035s
#
# # [INFO] [2024-11-30T23:40:42] Start evselect (3)
# [COMMAND] [2024-11-30T23:40:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:42]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:42]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-4-OM_Background_Region_File-S41600010000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-4-OM_Background_Rates_File-S41600010000001.fits \
table=intermediate/OMFastAnalyse-om-4-PPS_Event_List_File-S41600010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:40:42] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:40:42] Task Run Time evselect 0.0616600513458252s
#
# # [INFO] [2024-11-30T23:40:42] Start omlcbuild
# # [INFO] [2024-11-30T23:40:42] Imaging mode image for determining background S416:odf/0261_0009650301_OMS41600IMI.FIT
# [COMMAND] [2024-11-30T23:40:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:42]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:42]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-4-OM_Background_Rates_File-S41600010000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-4-OM_Background_Region_File-S41600010000001.fits \
imageset=odf/0261_0009650301_OMS41600IMI.FIT outset=product/P0009650301OMS416TIMESR1001.FIT \
sourcelistset=product/P0009650301OMS416SFSRLI1000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-4-OM_Source_Rates_File-S41600010000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-4-OM_Source_Region_File-S41600010000001.fits wdxset=odf/0261_0009650301_OMS41600WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:40:50]
# TDP corr factor is: 1.04326308 
# # [INFO] [2024-11-30T23:40:50] Task Run Time omlcbuild 7.61510705947876s
#
# # [INFO] [2024-11-30T23:40:50] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0009650301OMS416TIMESR1001.FIT
# # [INFO] [2024-11-30T23:40:50] DEBUG ++ TIMESR file product/P0009650301OMS416TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:40:50] Start lcplot
# [COMMAND] [2024-11-30T23:40:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:50]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:50]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-4-OM_OSW_SOURCE_TIMESERIES-S41600010000001.ps \
set=product/P0009650301OMS416TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:40:52] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:40:52] Task Run Time lcplot 2.04870104789734s
#
# # [INFO] [2024-11-30T23:40:52] Start PStoPDF
# [COMMAND] [2024-11-30T23:40:52]
pstopdf intermediate/OMFastAnalyse-om-4-OM_OSW_SOURCE_TIMESERIES-S41600010000001.ps product/P0009650301OMS416TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:40:52]
# # [INFO] [2024-11-30T23:40:52] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:40:52] Instrument: om
# # [INFO] [2024-11-30T23:40:52] Stream no.: 0005
# # [INFO] [2024-11-30T23:40:52] Module version number: 1.36
# # [INFO] [2024-11-30T23:40:52] DEBUG --- exp_id: S417, filter: UVM2
# # [INFO] [2024-11-30T23:40:52] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:40:52] Processing OSW 1
# # [INFO] [2024-11-30T23:40:52] Start omprep
# [COMMAND] [2024-11-30T23:40:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:52]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:52]
omprep modeset=1 nphset=odf/0261_0009650301_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-5-PPS_Event_List_File-S41700010000000.fits pehset=odf/0261_0009650301_OMX00000PEH.FIT \
set=odf/0261_0009650301_OMS41701FAE.FIT wdxset=odf/0261_0009650301_OMS41700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:52]
# # [INFO] [2024-11-30T23:40:52] Task Run Time omprep 0.0910468101501465s
#
# # [INFO] [2024-11-30T23:40:52] Start evselect(1)
# [COMMAND] [2024-11-30T23:40:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:52]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:52]
evselect imageset=intermediate/OMFastAnalyse-om-5-Fast_Mode_Raw_Image-S41700010000000.fits \
table=intermediate/OMFastAnalyse-om-5-PPS_Event_List_File-S41700010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:40:52] ** evselect: warning (NoAttrib), The Attribute SLCTEXPR does not exist in the input event list.\
#     No value was copied.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWX.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWY. 
# # [INFO] [2024-11-30T23:40:52] Task Run Time evselect 0.0380029678344727s
#
# # [INFO] [2024-11-30T23:40:52] Start omfastshift
# [COMMAND] [2024-11-30T23:40:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:52]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:52]
omfastshift nphset=odf/0261_0009650301_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-5-PPS_Event_List_File-S41700010000000.fits \
thxset=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S41700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:52]
# # [INFO] [2024-11-30T23:40:52] Task Run Time omfastshift 0.0565249919891357s
#
# # [INFO] [2024-11-30T23:40:52] Start omfastflat
# [COMMAND] [2024-11-30T23:40:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:52]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:52]
omfastflat fastimgset=product/P0009650301OMS417IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-5-OM_OSW_Flat_Field-S41700010000000.fits \
set=intermediate/OMFastAnalyse-om-5-PPS_Event_List_File-S41700010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:52]
# # [INFO] [2024-11-30T23:40:52] Task Run Time omfastflat 0.24556303024292s
#
# # [INFO] [2024-11-30T23:40:52] Start omdetect
# [COMMAND] [2024-11-30T23:40:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:52]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:52]
omdetect nsigma=3 outset=product/P0009650301OMS417SFSRLI1000.FIT regionfile=product/P0009650301OMS417SFSREG1000.ASC \
set=product/P0009650301OMS417IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:53]
# # [INFO] [2024-11-30T23:40:53] Task Run Time omdetect 0.61913800239563s
#
# # [INFO] [2024-11-30T23:40:53] Start omatt
# [COMMAND] [2024-11-30T23:40:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:53]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:53]
omatt ppsoswset=product/P0009650301OMS417SIMAGF1000.FIT set=product/P0009650301OMS417IMAGEF1000.FIT \
sourcelistset=product/P0009650301OMS417SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:40:53]
# # [INFO] [2024-11-30T23:40:53] Task Run Time omatt 0.517957925796509s
#
# # [INFO] [2024-11-30T23:40:53] Sky image found 
# # [INFO] [2024-11-30T23:40:53] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS417SIMAGF1000.FIT\
#     --outfile=product/P0009650301OMS417SIMAGF1000.PNG --srclisttab=product/P0009650301OMS417SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:40:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:53]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:53]
implot.py --fitsImage=product/P0009650301OMS417SIMAGF1000.FIT --outfile=product/P0009650301OMS417SIMAGF1000.PNG \
--srclisttab=product/P0009650301OMS417SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:40:55] Image shape. y,x: (29, 27) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (28, 26) x/y ratio: 0.93
# Plotting source regions from product/P0009650301OMS417SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:40:55] Task Run Time implot.py 2.08747887611389s
#
# # [INFO] [2024-11-30T23:40:55] implot has created PNG with src list
# # [INFO] [2024-11-30T23:40:55] Per-Source Processing
# # [INFO] [2024-11-30T23:40:55] Number of sources from region file product/P0009650301OMS417SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:40:55] Sources in sourcelist product/P0009650301OMS417SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:40:55] Source Number : 1
# # [INFO] [2024-11-30T23:40:55] Start omregion
# [COMMAND] [2024-11-30T23:40:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:55]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:55]
omregion bkgfile=intermediate/OMFastAnalyse-om-5-OM_Background_Region_File-S41700010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0009650301OMS417SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-5-OM_Source_Region_File-S41700010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:40:56]
# # [INFO] [2024-11-30T23:40:56] Task Run Time omregion 0.0853838920593262s
#
# # [INFO] [2024-11-30T23:40:56] Sampling timebinsize of product/P0009650301OMS417IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:40:56] Start evselect (2)
# # [INFO] [2024-11-30T23:40:56] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:40:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:56]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:56]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-5-OM_Source_Region_File-S41700010000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-5-OM_Source_Rates_File-S41700010000001.fits \
table=intermediate/OMFastAnalyse-om-5-PPS_Event_List_File-S41700010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:40:56] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:40:56] Task Run Time evselect 0.0616939067840576s
#
# # [INFO] [2024-11-30T23:40:56] Start evselect (3)
# [COMMAND] [2024-11-30T23:40:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:56]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:56]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-5-OM_Background_Region_File-S41700010000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-5-OM_Background_Rates_File-S41700010000001.fits \
table=intermediate/OMFastAnalyse-om-5-PPS_Event_List_File-S41700010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:40:56] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:40:56] Task Run Time evselect 0.0632529258728027s
#
# # [INFO] [2024-11-30T23:40:56] Start omlcbuild
# # [INFO] [2024-11-30T23:40:56] Imaging mode image for determining background S417:odf/0261_0009650301_OMS41700IMI.FIT
# [COMMAND] [2024-11-30T23:40:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:56]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:40:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:40:56]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-5-OM_Background_Rates_File-S41700010000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-5-OM_Background_Region_File-S41700010000001.fits \
imageset=odf/0261_0009650301_OMS41700IMI.FIT outset=product/P0009650301OMS417TIMESR1001.FIT \
sourcelistset=product/P0009650301OMS417SFSRLI1000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-5-OM_Source_Rates_File-S41700010000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-5-OM_Source_Region_File-S41700010000001.fits wdxset=odf/0261_0009650301_OMS41700WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:41:00]
# TDP corr factor is: 1.04326510 
# # [INFO] [2024-11-30T23:41:00] Task Run Time omlcbuild 4.67393398284912s
#
# # [INFO] [2024-11-30T23:41:00] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0009650301OMS417TIMESR1001.FIT
# # [INFO] [2024-11-30T23:41:00] DEBUG ++ TIMESR file product/P0009650301OMS417TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:41:00] Start lcplot
# [COMMAND] [2024-11-30T23:41:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:00]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:00]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-5-OM_OSW_SOURCE_TIMESERIES-S41700010000001.ps \
set=product/P0009650301OMS417TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:41:02] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:41:02] Task Run Time lcplot 1.59578680992126s
#
# # [INFO] [2024-11-30T23:41:02] Start PStoPDF
# [COMMAND] [2024-11-30T23:41:02]
pstopdf intermediate/OMFastAnalyse-om-5-OM_OSW_SOURCE_TIMESERIES-S41700010000001.ps product/P0009650301OMS417TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:41:02]
# # [INFO] [2024-11-30T23:41:02] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:41:02] Instrument: om
# # [INFO] [2024-11-30T23:41:02] Stream no.: 0006
# # [INFO] [2024-11-30T23:41:02] Module version number: 1.36
# # [INFO] [2024-11-30T23:41:02] DEBUG --- exp_id: S418, filter: UVM2
# # [INFO] [2024-11-30T23:41:02] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:41:02] Processing OSW 1
# # [INFO] [2024-11-30T23:41:02] Start omprep
# [COMMAND] [2024-11-30T23:41:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:02]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:02]
omprep modeset=1 nphset=odf/0261_0009650301_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-6-PPS_Event_List_File-S41800010000000.fits pehset=odf/0261_0009650301_OMX00000PEH.FIT \
set=odf/0261_0009650301_OMS41801FAE.FIT wdxset=odf/0261_0009650301_OMS41800WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:02]
# # [INFO] [2024-11-30T23:41:02] Task Run Time omprep 0.137713193893433s
#
# # [INFO] [2024-11-30T23:41:02] Start evselect(1)
# [COMMAND] [2024-11-30T23:41:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:02]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:02]
evselect imageset=intermediate/OMFastAnalyse-om-6-Fast_Mode_Raw_Image-S41800010000000.fits \
table=intermediate/OMFastAnalyse-om-6-PPS_Event_List_File-S41800010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:41:02] ** evselect: warning (NoAttrib), The Attribute SLCTEXPR does not exist in the input event list.\
#     No value was copied.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWX.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWY. 
# # [INFO] [2024-11-30T23:41:02] Task Run Time evselect 0.0427799224853516s
#
# # [INFO] [2024-11-30T23:41:02] Start omfastshift
# [COMMAND] [2024-11-30T23:41:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:02]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:02]
omfastshift nphset=odf/0261_0009650301_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-6-PPS_Event_List_File-S41800010000000.fits \
thxset=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S41800000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:02]
# # [INFO] [2024-11-30T23:41:02] Task Run Time omfastshift 0.0962381362915039s
#
# # [INFO] [2024-11-30T23:41:02] Start omfastflat
# [COMMAND] [2024-11-30T23:41:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:02]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:02]
omfastflat fastimgset=product/P0009650301OMS418IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-6-OM_OSW_Flat_Field-S41800010000000.fits \
set=intermediate/OMFastAnalyse-om-6-PPS_Event_List_File-S41800010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:03]
# # [INFO] [2024-11-30T23:41:03] Task Run Time omfastflat 0.180718898773193s
#
# # [INFO] [2024-11-30T23:41:03] Start omdetect
# [COMMAND] [2024-11-30T23:41:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:03]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:03]
omdetect nsigma=3 outset=product/P0009650301OMS418SFSRLI1000.FIT regionfile=product/P0009650301OMS418SFSREG1000.ASC \
set=product/P0009650301OMS418IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:03]
# # [INFO] [2024-11-30T23:41:03] Task Run Time omdetect 0.645509004592896s
#
# # [INFO] [2024-11-30T23:41:03] Start omatt
# [COMMAND] [2024-11-30T23:41:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:03]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:03]
omatt ppsoswset=product/P0009650301OMS418SIMAGF1000.FIT set=product/P0009650301OMS418IMAGEF1000.FIT \
sourcelistset=product/P0009650301OMS418SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:41:04]
# # [INFO] [2024-11-30T23:41:04] Task Run Time omatt 0.59040093421936s
#
# # [INFO] [2024-11-30T23:41:04] Sky image found 
# # [INFO] [2024-11-30T23:41:04] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS418SIMAGF1000.FIT\
#     --outfile=product/P0009650301OMS418SIMAGF1000.PNG --srclisttab=product/P0009650301OMS418SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:41:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:04]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:04]
implot.py --fitsImage=product/P0009650301OMS418SIMAGF1000.FIT --outfile=product/P0009650301OMS418SIMAGF1000.PNG \
--srclisttab=product/P0009650301OMS418SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:41:06] Image shape. y,x: (29, 27) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (28, 26) x/y ratio: 0.93
# Plotting source regions from product/P0009650301OMS418SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:41:06] Task Run Time implot.py 2.24214506149292s
#
# # [INFO] [2024-11-30T23:41:06] implot has created PNG with src list
# # [INFO] [2024-11-30T23:41:06] Per-Source Processing
# # [INFO] [2024-11-30T23:41:06] Number of sources from region file product/P0009650301OMS418SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:41:06] Sources in sourcelist product/P0009650301OMS418SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:41:06] Source Number : 1
# # [INFO] [2024-11-30T23:41:06] Start omregion
# [COMMAND] [2024-11-30T23:41:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:06]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:06]
omregion bkgfile=intermediate/OMFastAnalyse-om-6-OM_Background_Region_File-S41800010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0009650301OMS418SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-6-OM_Source_Region_File-S41800010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:41:06]
# # [INFO] [2024-11-30T23:41:06] Task Run Time omregion 0.0443639755249023s
#
# # [INFO] [2024-11-30T23:41:06] Sampling timebinsize of product/P0009650301OMS418IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:41:06] Start evselect (2)
# # [INFO] [2024-11-30T23:41:06] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:41:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:06]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:06]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-6-OM_Source_Region_File-S41800010000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-6-OM_Source_Rates_File-S41800010000001.fits \
table=intermediate/OMFastAnalyse-om-6-PPS_Event_List_File-S41800010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:41:06] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:41:06] Task Run Time evselect 0.0603160858154297s
#
# # [INFO] [2024-11-30T23:41:06] Start evselect (3)
# [COMMAND] [2024-11-30T23:41:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:06]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:06]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-6-OM_Background_Region_File-S41800010000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-6-OM_Background_Rates_File-S41800010000001.fits \
table=intermediate/OMFastAnalyse-om-6-PPS_Event_List_File-S41800010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:41:06] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:41:06] Task Run Time evselect 0.051224946975708s
#
# # [INFO] [2024-11-30T23:41:06] Start omlcbuild
# # [INFO] [2024-11-30T23:41:06] Imaging mode image for determining background S418:odf/0261_0009650301_OMS41800IMI.FIT
# [COMMAND] [2024-11-30T23:41:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:06]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:06]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-6-OM_Background_Rates_File-S41800010000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-6-OM_Background_Region_File-S41800010000001.fits \
imageset=odf/0261_0009650301_OMS41800IMI.FIT outset=product/P0009650301OMS418TIMESR1001.FIT \
sourcelistset=product/P0009650301OMS418SFSRLI1000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-6-OM_Source_Rates_File-S41800010000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-6-OM_Source_Region_File-S41800010000001.fits wdxset=odf/0261_0009650301_OMS41800WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:41:13]
# TDP corr factor is: 1.04326713 
# # [INFO] [2024-11-30T23:41:13] Task Run Time omlcbuild 7.26447296142578s
#
# # [INFO] [2024-11-30T23:41:13] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0009650301OMS418TIMESR1001.FIT
# # [INFO] [2024-11-30T23:41:13] DEBUG ++ TIMESR file product/P0009650301OMS418TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:41:13] Start lcplot
# [COMMAND] [2024-11-30T23:41:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:13]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:13]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-6-OM_OSW_SOURCE_TIMESERIES-S41800010000001.ps \
set=product/P0009650301OMS418TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:41:15] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:41:15] Task Run Time lcplot 2.03194808959961s
#
# # [INFO] [2024-11-30T23:41:15] Start PStoPDF
# [COMMAND] [2024-11-30T23:41:15]
pstopdf intermediate/OMFastAnalyse-om-6-OM_OSW_SOURCE_TIMESERIES-S41800010000001.ps product/P0009650301OMS418TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:41:16]
# # [INFO] [2024-11-30T23:41:16] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:41:16] Instrument: om
# # [INFO] [2024-11-30T23:41:16] Stream no.: 0001
# # [INFO] [2024-11-30T23:41:16] Module version number: 1.36
# # [INFO] [2024-11-30T23:41:16] DEBUG --- exp_id: S019, filter: UVM2
# # [INFO] [2024-11-30T23:41:16] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:41:16] Processing OSW 1
# # [INFO] [2024-11-30T23:41:16] Start omprep
# [COMMAND] [2024-11-30T23:41:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:16]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:16]
omprep modeset=1 nphset=odf/0261_0009650301_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S01900010000000.fits pehset=odf/0261_0009650301_OMX00000PEH.FIT \
set=odf/0261_0009650301_OMS01901FAE.FIT wdxset=odf/0261_0009650301_OMS01900WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:16]
# # [INFO] [2024-11-30T23:41:16] Task Run Time omprep 0.104094982147217s
#
# # [INFO] [2024-11-30T23:41:16] Start evselect(1)
# [COMMAND] [2024-11-30T23:41:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:16]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:16]
evselect imageset=intermediate/OMFastAnalyse-om-1-Fast_Mode_Raw_Image-S01900010000000.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S01900010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:41:16] ** evselect: warning (NoAttrib), The Attribute SLCTEXPR does not exist in the input event list.\
#     No value was copied.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWX.
# ** evselect: warning (NoWCS), No WCS information available for image column RAWY. 
# # [INFO] [2024-11-30T23:41:16] Task Run Time evselect 0.04899001121521s
#
# # [INFO] [2024-11-30T23:41:16] Start omfastshift
# [COMMAND] [2024-11-30T23:41:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:16]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:16]
omfastshift nphset=odf/0261_0009650301_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S01900010000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S01900000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:16]
# # [INFO] [2024-11-30T23:41:16] Task Run Time omfastshift 0.0703260898590088s
#
# # [INFO] [2024-11-30T23:41:16] Start omfastflat
# [COMMAND] [2024-11-30T23:41:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:16]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:16]
omfastflat fastimgset=product/P0009650301OMS019IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-1-OM_OSW_Flat_Field-S01900010000000.fits \
set=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S01900010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:16]
# # [INFO] [2024-11-30T23:41:16] Task Run Time omfastflat 0.220839023590088s
#
# # [INFO] [2024-11-30T23:41:16] Start omdetect
# [COMMAND] [2024-11-30T23:41:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:16]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:16]
omdetect nsigma=3 outset=product/P0009650301OMS019SFSRLI1000.FIT regionfile=product/P0009650301OMS019SFSREG1000.ASC \
set=product/P0009650301OMS019IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:17]
# # [INFO] [2024-11-30T23:41:17] Task Run Time omdetect 0.616162776947021s
#
# # [INFO] [2024-11-30T23:41:17] Start omatt
# [COMMAND] [2024-11-30T23:41:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:17]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:17]
omatt ppsoswset=product/P0009650301OMS019SIMAGF1000.FIT set=product/P0009650301OMS019IMAGEF1000.FIT \
sourcelistset=product/P0009650301OMS019SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:41:17]
# # [INFO] [2024-11-30T23:41:17] Task Run Time omatt 0.553730010986328s
#
# # [INFO] [2024-11-30T23:41:17] Sky image found 
# # [INFO] [2024-11-30T23:41:17] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS019SIMAGF1000.FIT\
#     --outfile=product/P0009650301OMS019SIMAGF1000.PNG --srclisttab=product/P0009650301OMS019SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:41:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:17]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:17]
implot.py --fitsImage=product/P0009650301OMS019SIMAGF1000.FIT --outfile=product/P0009650301OMS019SIMAGF1000.PNG \
--srclisttab=product/P0009650301OMS019SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:41:20] Image shape. y,x: (29, 27) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (28, 26) x/y ratio: 0.93
# Plotting source regions from product/P0009650301OMS019SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:41:20] Task Run Time implot.py 2.47039914131165s
#
# # [INFO] [2024-11-30T23:41:20] implot has created PNG with src list
# # [INFO] [2024-11-30T23:41:20] Per-Source Processing
# # [INFO] [2024-11-30T23:41:20] Number of sources from region file product/P0009650301OMS019SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:41:20] Sources in sourcelist product/P0009650301OMS019SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:41:20] Source Number : 1
# # [INFO] [2024-11-30T23:41:20] Start omregion
# [COMMAND] [2024-11-30T23:41:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:20]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:20]
omregion bkgfile=intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S01900010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0009650301OMS019SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S01900010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:41:20]
# # [INFO] [2024-11-30T23:41:20] Task Run Time omregion 0.0433859825134277s
#
# # [INFO] [2024-11-30T23:41:20] Sampling timebinsize of product/P0009650301OMS019IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:41:20] Start evselect (2)
# # [INFO] [2024-11-30T23:41:20] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:41:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:20]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:20]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S01900010000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-1-OM_Source_Rates_File-S01900010000001.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S01900010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:41:20] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:41:20] Task Run Time evselect 0.0923070907592773s
#
# # [INFO] [2024-11-30T23:41:20] Start evselect (3)
# [COMMAND] [2024-11-30T23:41:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:20]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:20]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S01900010000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-1-OM_Background_Rates_File-S01900010000001.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S01900010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:41:20] ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update\
#     exposure information. 
# ** evselect: warning (NoCCDcolumn), Event list does not have a CCDNR column. Cannot update exposure information. 
# # [INFO] [2024-11-30T23:41:20] Task Run Time evselect 0.0686378479003906s
#
# # [INFO] [2024-11-30T23:41:20] Start omlcbuild
# # [INFO] [2024-11-30T23:41:20] Imaging mode image for determining background S019:odf/0261_0009650301_OMS01900IMI.FIT
# [COMMAND] [2024-11-30T23:41:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:20]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:20]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-1-OM_Background_Rates_File-S01900010000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S01900010000001.fits \
imageset=odf/0261_0009650301_OMS01900IMI.FIT outset=product/P0009650301OMS019TIMESR1001.FIT \
sourcelistset=product/P0009650301OMS019SFSRLI1000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-1-OM_Source_Rates_File-S01900010000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S01900010000001.fits wdxset=odf/0261_0009650301_OMS01900WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:41:27]
# TDP corr factor is: 1.04325902 
# # [INFO] [2024-11-30T23:41:27] Task Run Time omlcbuild 6.89759993553162s
#
# # [INFO] [2024-11-30T23:41:27] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0009650301OMS019TIMESR1001.FIT
# # [INFO] [2024-11-30T23:41:27] DEBUG ++ TIMESR file product/P0009650301OMS019TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:41:27] Start lcplot
# [COMMAND] [2024-11-30T23:41:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:27]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:27]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S01900010000001.ps \
set=product/P0009650301OMS019TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:41:29] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:41:29] Task Run Time lcplot 2.15185594558716s
#
# # [INFO] [2024-11-30T23:41:29] Start PStoPDF
# [COMMAND] [2024-11-30T23:41:29]
pstopdf intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S01900010000001.ps product/P0009650301OMS019TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:41:29]
# # [INFO] [2024-11-30T23:41:29] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:41:29] Instrument: om
# # [INFO] [2024-11-30T23:41:29] Stream no.: 0001
# # [INFO] [2024-11-30T23:41:29] Module version number: 3.28
# # [INFO] [2024-11-30T23:41:29] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:41:29] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:41:29] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:41:29] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:41:29] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:41:29] Found 2 Image mode images.
# # [INFO] [2024-11-30T23:41:29] Analysing odf/0261_0009650301_OMS01900IMI.FIT for image identification
# # [INFO] [2024-11-30T23:41:29] Identified mode: USER
# # [INFO] [2024-11-30T23:41:29] Analysing odf/0261_0009650301_OMS01902IMI.FIT for image identification
# # [INFO] [2024-11-30T23:41:29] Identified mode: USER
# # [INFO] [2024-11-30T23:41:29] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:41:29] Processing USER Images.
# # [INFO] [2024-11-30T23:41:29] 2 images to process.
# # [INFO] [2024-11-30T23:41:29] Processing S019:0:odf/0261_0009650301_OMS01900IMI.FIT
# [COMMAND] [2024-11-30T23:41:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:29]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:29]
omprep modeset=0 nphset=odf/0261_0009650301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-1-Raw_Image-S01900000000000.fits \
pehset=odf/0261_0009650301_OMX00000PEH.FIT set=odf/0261_0009650301_OMS01900IMI.FIT wdxset=odf/0261_0009650301_OMS01900WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:29]
# # [INFO] [2024-11-30T23:41:29] Task Run Time omprep 0.122619152069092s
#
# # [INFO] [2024-11-30T23:41:29] Retrieving FILTER value
# # [INFO] [2024-11-30T23:41:29] FILTER = M
# # [INFO] [2024-11-30T23:41:29] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:41:29] EXPOSURE = 1.80000000000000E+03
# [COMMAND] [2024-11-30T23:41:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:29]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:29]
omcosflag set=intermediate/OMImageAnalyse-om-1-Raw_Image-S01900000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S01900000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:30]
# # [INFO] [2024-11-30T23:41:30] Task Run Time omcosflag 0.209622144699097s
#
# [COMMAND] [2024-11-30T23:41:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:30]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:30]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S01900000000000.fits \
set=intermediate/OMImageAnalyse-om-1-Raw_Image-S01900000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S01900000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Field-S01900000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:30]
# # [INFO] [2024-11-30T23:41:30] Task Run Time omflatfield 0.0505421161651611s
#
# [COMMAND] [2024-11-30T23:41:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:30]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:30]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-1-OSW_MODULO_8_IMAGE-S01900000000000.fits nbox=16 nsig=6 \
outset=product/P0009650301OMS019IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S01900000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:41:30] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:41:30] Task Run Time ommodmap 0.664706945419312s
#
# [COMMAND] [2024-11-30T23:41:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:30]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:30]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS019IMAGE_0000.FIT set=product/P0009650301OMS019IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:41:30] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS019IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:41:30] Task Run Time omqualitymap 0.047109842300415s
#
# [COMMAND] [2024-11-30T23:41:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:30]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:30]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0009650301OMS019SWSRLI0000.FIT \
regionfile=product/P0009650301OMS019SWSREG0000.ASC set=product/P0009650301OMS019IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:33]
# # [INFO] [2024-11-30T23:41:33] Task Run Time omdetect 2.52651190757751s
#
# [COMMAND] [2024-11-30T23:41:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:33]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:33]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS019IMAGE_0000.FIT set=product/P0009650301OMS019IMAGE_0000.FIT \
srclistset=product/P0009650301OMS019SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:33] ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS019SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS019IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS019SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:41:33] Task Run Time omqualitymap 0.106981992721558s
#
# [COMMAND] [2024-11-30T23:41:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:33]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:33]
ommag set=product/P0009650301OMS019SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:33]
# TDP corr factor is: 1.04325902 
# L265 tdpCorrFactor= 1.04325902 
# L348 getting the column data
# In: 121.163025 110.411789 1 956
# X,Y,pdepcorr: 1077.16309 987.411804 1.00000000 
# # [INFO] [2024-11-30T23:41:33] Task Run Time ommag 0.120850086212158s
#
# [COMMAND] [2024-11-30T23:41:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:33]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:33]
omatt catfile=product/P0009650301OBX000REFCAT0000.FIT ppsoswset=product/P0009650301OMS019SIMAGE0000.FIT \
set=product/P0009650301OMS019IMAGE_0000.FIT sourcelistset=product/P0009650301OMS019SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:34] ** omatt: warning (Too few sources for astrometry (1)), Need at least 5 
# # [INFO] [2024-11-30T23:41:34] Task Run Time omatt 1.1093590259552s
#
# [COMMAND] [2024-11-30T23:41:34]
export \
PFILES=/scratch/225627.1.all.q/xmm/ppsprod/228772/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:41:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:34]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:34]
fimgstat clobber=Y infile=product/P0009650301OMS019SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-1-OSW_0_sky_image_statistics-S01900000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:41:34]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:41:34] Task Run Time fimgstat 0.0174989700317383s
#
# # [INFO] [2024-11-30T23:41:34] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS019SIMAGE0000.FIT\
#     --outfile=product/P0009650301OMS019SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:41:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:34]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:34]
implot.py --fitsImage=product/P0009650301OMS019SIMAGE0000.FIT --outfile=product/P0009650301OMS019SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:41:37] Image shape. y,x: (285, 280) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (284, 279) x/y ratio: 0.98 
# # [INFO] [2024-11-30T23:41:37] Task Run Time implot.py 2.77396297454834s
#
# # [INFO] [2024-11-30T23:41:37] Processing S019:2:odf/0261_0009650301_OMS01902IMI.FIT
# [COMMAND] [2024-11-30T23:41:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:37]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:37]
omprep modeset=0 nphset=odf/0261_0009650301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-1-Raw_Image-S01900020000000.fits \
pehset=odf/0261_0009650301_OMX00000PEH.FIT set=odf/0261_0009650301_OMS01902IMI.FIT wdxset=odf/0261_0009650301_OMS01900WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:37]
# # [INFO] [2024-11-30T23:41:37] Task Run Time omprep 0.175435066223145s
#
# # [INFO] [2024-11-30T23:41:37] Retrieving FILTER value
# # [INFO] [2024-11-30T23:41:37] FILTER = M
# # [INFO] [2024-11-30T23:41:37] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:41:37] EXPOSURE = 1.80000000000000E+03
# [COMMAND] [2024-11-30T23:41:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:37]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:37]
omcosflag set=intermediate/OMImageAnalyse-om-1-Raw_Image-S01900020000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S01900000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:37]
# # [INFO] [2024-11-30T23:41:37] Task Run Time omcosflag 0.189598083496094s
#
# [COMMAND] [2024-11-30T23:41:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:37]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:37]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S01900020000000.fits \
set=intermediate/OMImageAnalyse-om-1-Raw_Image-S01900020000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S01900000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Field-S01900020000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:37]
# # [INFO] [2024-11-30T23:41:37] Task Run Time omflatfield 0.0920429229736328s
#
# [COMMAND] [2024-11-30T23:41:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:37]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:37]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-1-OSW_MODULO_8_IMAGE-S01900020000000.fits nbox=16 nsig=6 \
outset=product/P0009650301OMS019IMAGE_2000.FIT set=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S01900020000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:41:41] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:41:41] Task Run Time ommodmap 3.4210569858551s
#
# [COMMAND] [2024-11-30T23:41:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:41]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:41]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS019IMAGE_2000.FIT set=product/P0009650301OMS019IMAGE_2000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:41:41] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS019IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:41:41] Task Run Time omqualitymap 0.0986099243164062s
#
# [COMMAND] [2024-11-30T23:41:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:41]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:41]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0009650301OMS019SWSRLI2000.FIT \
regionfile=product/P0009650301OMS019SWSREG2000.ASC set=product/P0009650301OMS019IMAGE_2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:45] ** omdetect: warning (Possible Error!), nsources ne liinked-list size!
# ** omdetect: warning (Possible Error!), nsources ne liinked-list size! 
# # [INFO] [2024-11-30T23:41:45] Task Run Time omdetect 4.35873699188232s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:45]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS019IMAGE_2000.FIT set=product/P0009650301OMS019IMAGE_2000.FIT \
srclistset=product/P0009650301OMS019SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:45] ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS019SWSRLI2000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS019IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS019SWSRLI2000.FIT; 
# # [INFO] [2024-11-30T23:41:45] Task Run Time omqualitymap 0.0799739360809326s
#
# [COMMAND] [2024-11-30T23:41:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:45]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:45]
ommag set=product/P0009650301OMS019SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:46]
# TDP corr factor is: 1.04325902 
# L265 tdpCorrFactor= 1.04325902 
# L348 getting the column data
# In: 276.899567 231.416458 2 524
# X,Y,pdepcorr: 1077.79907 987.832886 1.00000000 
# In: 367.181946 184.000977 2 524
# X,Y,pdepcorr: 1258.36389 893.001953 1.00000000 
# In: 310.077148 433.727295 2 524
# X,Y,pdepcorr: 1144.15430 1392.45459 1.00000000 
# In: -1.00000000 -1.00000000 2 524
# X,Y,pdepcorr: 522.000000 523.000000 1.00000000 
# In: 409.307129 121.972603 2 524
# X,Y,pdepcorr: 1342.61426 768.945190 1.00000000 
# # [INFO] [2024-11-30T23:41:46] Task Run Time ommag 0.118613004684448s
#
# [COMMAND] [2024-11-30T23:41:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:46]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:46]
omatt catfile=product/P0009650301OBX000REFCAT0000.FIT ppsoswset=product/P0009650301OMS019SIMAGE2000.FIT \
set=product/P0009650301OMS019IMAGE_2000.FIT sourcelistset=product/P0009650301OMS019SWSRLI2000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:49] ** omatt: warning (Too few sources matched for astrometry correction ( 0)), Need at least 5 
# # [INFO] [2024-11-30T23:41:49] Task Run Time omatt 3.53993797302246s
#
# [COMMAND] [2024-11-30T23:41:49]
export \
PFILES=/scratch/225627.1.all.q/xmm/ppsprod/228772/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:41:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:49]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:49]
fimgstat clobber=Y infile=product/P0009650301OMS019SIMAGE2000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-1-OSW_2_sky_image_statistics-S01900000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:41:49]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:41:49] Task Run Time fimgstat 0.0557260513305664s
#
# # [INFO] [2024-11-30T23:41:49] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS019SIMAGE2000.FIT\
#     --outfile=product/P0009650301OMS019SIMAGE2000.PNG
# [COMMAND] [2024-11-30T23:41:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:49]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:49]
implot.py --fitsImage=product/P0009650301OMS019SIMAGE2000.FIT --outfile=product/P0009650301OMS019SIMAGE2000.PNG
# # [OUTPUT] [2024-11-30T23:41:52] Image shape. y,x: (622, 618) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (621, 617) x/y ratio: 0.99 
# # [INFO] [2024-11-30T23:41:52] Task Run Time implot.py 2.70310401916504s
#
# # [INFO] [2024-11-30T23:41:52] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:41:52] 0 images to process.
# # [INFO] [2024-11-30T23:41:52] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:41:52] 0 images to process.
# # [INFO] [2024-11-30T23:41:52] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:41:52] 0 images to process.
# # [INFO] [2024-11-30T23:41:52] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:41:52] 0 images to process.
# # [INFO] [2024-11-30T23:41:52] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:41:52] 0 images to process.
# # [INFO] [2024-11-30T23:41:52] All images processed
# # [INFO] [2024-11-30T23:41:52] Writing accounting information
# # [INFO] [2024-11-30T23:41:52] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0009650301OMS019SWSRLI0000.FIT|USER|M ',
# 'product/P0009650301OMS019SWSRLI2000.FIT|USER|M '
# ]; 
# # [INFO] [2024-11-30T23:41:52] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0009650301OMS019SIMAGE0000.FIT|USER|M|1.80000000000000E+03|S019 ',
# 'product/P0009650301OMS019SIMAGE2000.FIT|USER|M|1.80000000000000E+03|S019 '
# ]; 
# # [INFO] [2024-11-30T23:41:52] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:41:52] Instrument: om
# # [INFO] [2024-11-30T23:41:52] Stream no.: 0003
# # [INFO] [2024-11-30T23:41:52] Module version number: 3.28
# # [INFO] [2024-11-30T23:41:52] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:41:52] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:41:52] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:41:52] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:41:52] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:41:52] Found 2 Image mode images.
# # [INFO] [2024-11-30T23:41:52] Analysing odf/0261_0009650301_OMS41500IMI.FIT for image identification
# # [INFO] [2024-11-30T23:41:52] Identified mode: USER
# # [INFO] [2024-11-30T23:41:52] Analysing odf/0261_0009650301_OMS41502IMI.FIT for image identification
# # [INFO] [2024-11-30T23:41:52] Identified mode: USER
# # [INFO] [2024-11-30T23:41:52] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:41:52] Processing USER Images.
# # [INFO] [2024-11-30T23:41:52] 2 images to process.
# # [INFO] [2024-11-30T23:41:52] Processing S415:0:odf/0261_0009650301_OMS41500IMI.FIT
# [COMMAND] [2024-11-30T23:41:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:52]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:52]
omprep modeset=0 nphset=odf/0261_0009650301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-3-Raw_Image-S41500000000000.fits \
pehset=odf/0261_0009650301_OMX00000PEH.FIT set=odf/0261_0009650301_OMS41500IMI.FIT wdxset=odf/0261_0009650301_OMS41500WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:52]
# # [INFO] [2024-11-30T23:41:52] Task Run Time omprep 0.164779186248779s
#
# # [INFO] [2024-11-30T23:41:52] Retrieving FILTER value
# # [INFO] [2024-11-30T23:41:52] FILTER = M
# # [INFO] [2024-11-30T23:41:52] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:41:52] EXPOSURE = 1.80000000000000E+03
# [COMMAND] [2024-11-30T23:41:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:52]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:52]
omcosflag set=intermediate/OMImageAnalyse-om-3-Raw_Image-S41500000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S41500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:52]
# # [INFO] [2024-11-30T23:41:52] Task Run Time omcosflag 0.209228038787842s
#
# [COMMAND] [2024-11-30T23:41:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:52]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:52]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S41500000000000.fits \
set=intermediate/OMImageAnalyse-om-3-Raw_Image-S41500000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S41500000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Field-S41500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:52]
# # [INFO] [2024-11-30T23:41:52] Task Run Time omflatfield 0.0401749610900879s
#
# [COMMAND] [2024-11-30T23:41:52]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:52]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:52] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:52]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-3-OSW_MODULO_8_IMAGE-S41500000000000.fits nbox=16 nsig=6 \
outset=product/P0009650301OMS415IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S41500000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:41:53] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:41:53] Task Run Time ommodmap 0.802647113800049s
#
# [COMMAND] [2024-11-30T23:41:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:53]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:53]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS415IMAGE_0000.FIT set=product/P0009650301OMS415IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:41:53] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS415IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:41:53] Task Run Time omqualitymap 0.0635669231414795s
#
# [COMMAND] [2024-11-30T23:41:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:53]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:53]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0009650301OMS415SWSRLI0000.FIT \
regionfile=product/P0009650301OMS415SWSREG0000.ASC set=product/P0009650301OMS415IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:56]
# # [INFO] [2024-11-30T23:41:56] Task Run Time omdetect 2.4151759147644s
#
# [COMMAND] [2024-11-30T23:41:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:56]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:56]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS415IMAGE_0000.FIT set=product/P0009650301OMS415IMAGE_0000.FIT \
srclistset=product/P0009650301OMS415SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:56] ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS415SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS415IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS415SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:41:56] Task Run Time omqualitymap 0.0821239948272705s
#
# [COMMAND] [2024-11-30T23:41:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:56]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:56]
ommag set=product/P0009650301OMS415SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:56]
# TDP corr factor is: 1.04326105 
# L265 tdpCorrFactor= 1.04326105 
# L348 getting the column data
# In: 122.020668 110.499092 1 956
# X,Y,pdepcorr: 1078.02063 987.499084 1.00000000 
# # [INFO] [2024-11-30T23:41:56] Task Run Time ommag 0.101598024368286s
#
# [COMMAND] [2024-11-30T23:41:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:56]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:56]
omatt catfile=product/P0009650301OBX000REFCAT0000.FIT ppsoswset=product/P0009650301OMS415SIMAGE0000.FIT \
set=product/P0009650301OMS415IMAGE_0000.FIT sourcelistset=product/P0009650301OMS415SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:57] ** omatt: warning (Too few sources for astrometry (1)), Need at least 5 
# # [INFO] [2024-11-30T23:41:57] Task Run Time omatt 1.15814900398254s
#
# [COMMAND] [2024-11-30T23:41:57]
export \
PFILES=/scratch/225627.1.all.q/xmm/ppsprod/228772/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:41:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:57]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:57]
fimgstat clobber=Y infile=product/P0009650301OMS415SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-3-OSW_0_sky_image_statistics-S41500000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:41:57]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:41:57] Task Run Time fimgstat 0.0214900970458984s
#
# # [INFO] [2024-11-30T23:41:57] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS415SIMAGE0000.FIT\
#     --outfile=product/P0009650301OMS415SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:41:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:57]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:57]
implot.py --fitsImage=product/P0009650301OMS415SIMAGE0000.FIT --outfile=product/P0009650301OMS415SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:41:59] Image shape. y,x: (285, 280) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (284, 279) x/y ratio: 0.98 
# # [INFO] [2024-11-30T23:41:59] Task Run Time implot.py 2.14150285720825s
#
# # [INFO] [2024-11-30T23:41:59] Processing S415:2:odf/0261_0009650301_OMS41502IMI.FIT
# [COMMAND] [2024-11-30T23:41:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:59]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:59]
omprep modeset=0 nphset=odf/0261_0009650301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-3-Raw_Image-S41500020000000.fits \
pehset=odf/0261_0009650301_OMX00000PEH.FIT set=odf/0261_0009650301_OMS41502IMI.FIT wdxset=odf/0261_0009650301_OMS41500WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:59]
# # [INFO] [2024-11-30T23:41:59] Task Run Time omprep 0.104356050491333s
#
# # [INFO] [2024-11-30T23:41:59] Retrieving FILTER value
# # [INFO] [2024-11-30T23:41:59] FILTER = M
# # [INFO] [2024-11-30T23:41:59] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:41:59] EXPOSURE = 1.80000000000000E+03
# [COMMAND] [2024-11-30T23:41:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:59]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:41:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:41:59]
omcosflag set=intermediate/OMImageAnalyse-om-3-Raw_Image-S41500020000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S41500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:00]
# # [INFO] [2024-11-30T23:42:00] Task Run Time omcosflag 0.290115118026733s
#
# [COMMAND] [2024-11-30T23:42:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:00]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:00]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S41500020000000.fits \
set=intermediate/OMImageAnalyse-om-3-Raw_Image-S41500020000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S41500000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Field-S41500020000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:00]
# # [INFO] [2024-11-30T23:42:00] Task Run Time omflatfield 0.139312982559204s
#
# [COMMAND] [2024-11-30T23:42:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:00]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:00]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-3-OSW_MODULO_8_IMAGE-S41500020000000.fits nbox=16 nsig=6 \
outset=product/P0009650301OMS415IMAGE_2000.FIT set=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S41500020000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:42:03] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:42:03] Task Run Time ommodmap 3.01582288742065s
#
# [COMMAND] [2024-11-30T23:42:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:03]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:03]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS415IMAGE_2000.FIT set=product/P0009650301OMS415IMAGE_2000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:42:03] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS415IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:42:03] Task Run Time omqualitymap 0.079876184463501s
#
# [COMMAND] [2024-11-30T23:42:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:03]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:03]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0009650301OMS415SWSRLI2000.FIT \
regionfile=product/P0009650301OMS415SWSREG2000.ASC set=product/P0009650301OMS415IMAGE_2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:07]
# # [INFO] [2024-11-30T23:42:07] Task Run Time omdetect 4.10427689552307s
#
# [COMMAND] [2024-11-30T23:42:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:07]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:07]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS415IMAGE_2000.FIT set=product/P0009650301OMS415IMAGE_2000.FIT \
srclistset=product/P0009650301OMS415SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:07] ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS415SWSRLI2000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS415IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS415SWSRLI2000.FIT; 
# # [INFO] [2024-11-30T23:42:07] Task Run Time omqualitymap 0.0836141109466553s
#
# [COMMAND] [2024-11-30T23:42:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:07]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:07]
ommag set=product/P0009650301OMS415SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:07]
# TDP corr factor is: 1.04326105 
# L265 tdpCorrFactor= 1.04326105 
# L348 getting the column data
# In: 30.1262589 421.250214 2 44
# X,Y,pdepcorr: 104.252518 855.500427 1.00000000 
# In: 37.1809120 266.270599 2 44
# X,Y,pdepcorr: 118.361824 545.541199 1.00000000 
# In: 182.975937 551.024780 2 44
# X,Y,pdepcorr: 409.951874 1115.04956 1.00000000 
# In: 9.00991821 336.630432 2 44
# X,Y,pdepcorr: 62.0198364 686.260864 1.00000000 
# In: 181.020691 437.172333 2 44
# X,Y,pdepcorr: 406.041382 887.344666 1.00000000 
# In: 60.6177254 191.107285 2 44
# X,Y,pdepcorr: 165.235443 395.214569 1.00000000 
# In: 115.201515 615.994080 2 44
# X,Y,pdepcorr: 274.403015 1244.98816 1.00000000 
# In: 230.105957 703.971497 2 44
# X,Y,pdepcorr: 504.211914 1420.94299 1.00000000 
# In: 203.621689 271.210175 2 44
# X,Y,pdepcorr: 451.243378 555.420349 1.00000000 
# In: 229.942947 371.735962 2 44
# X,Y,pdepcorr: 503.885895 756.471924 1.00000000 
# # [INFO] [2024-11-30T23:42:07] Task Run Time ommag 0.0959699153900146s
#
# [COMMAND] [2024-11-30T23:42:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:07]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:07]
omatt catfile=product/P0009650301OBX000REFCAT0000.FIT ppsoswset=product/P0009650301OMS415SIMAGE2000.FIT \
set=product/P0009650301OMS415IMAGE_2000.FIT sourcelistset=product/P0009650301OMS415SWSRLI2000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:42:11]
# # [INFO] [2024-11-30T23:42:11] Task Run Time omatt 4.25336503982544s
#
# [COMMAND] [2024-11-30T23:42:11]
export \
PFILES=/scratch/225627.1.all.q/xmm/ppsprod/228772/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:42:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:11]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:11]
fimgstat clobber=Y infile=product/P0009650301OMS415SIMAGE2000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-3-OSW_2_sky_image_statistics-S41500000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:42:11]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:42:11] Task Run Time fimgstat 0.0620219707489014s
#
# # [INFO] [2024-11-30T23:42:11] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS415SIMAGE2000.FIT\
#     --outfile=product/P0009650301OMS415SIMAGE2000.PNG
# [COMMAND] [2024-11-30T23:42:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:11]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:11]
implot.py --fitsImage=product/P0009650301OMS415SIMAGE2000.FIT --outfile=product/P0009650301OMS415SIMAGE2000.PNG
# # [OUTPUT] [2024-11-30T23:42:14] Image shape. y,x: (965, 534) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (964, 533) x/y ratio: 0.55 
# # [INFO] [2024-11-30T23:42:14] Task Run Time implot.py 2.52320313453674s
#
# # [INFO] [2024-11-30T23:42:14] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:42:14] 0 images to process.
# # [INFO] [2024-11-30T23:42:14] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:42:14] 0 images to process.
# # [INFO] [2024-11-30T23:42:14] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:42:14] 0 images to process.
# # [INFO] [2024-11-30T23:42:14] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:42:14] 0 images to process.
# # [INFO] [2024-11-30T23:42:14] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:42:14] 0 images to process.
# # [INFO] [2024-11-30T23:42:14] All images processed
# # [INFO] [2024-11-30T23:42:14] Writing accounting information
# # [INFO] [2024-11-30T23:42:14] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0009650301OMS415SWSRLI0000.FIT|USER|M ',
# 'product/P0009650301OMS415SWSRLI2000.FIT|USER|M '
# ]; 
# # [INFO] [2024-11-30T23:42:14] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0009650301OMS415SIMAGE0000.FIT|USER|M|1.80000000000000E+03|S415 ',
# 'product/P0009650301OMS415SIMAGE2000.FIT|USER|M|1.80000000000000E+03|S415 '
# ]; 
# # [INFO] [2024-11-30T23:42:14] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:42:14] Instrument: om
# # [INFO] [2024-11-30T23:42:14] Stream no.: 0004
# # [INFO] [2024-11-30T23:42:14] Module version number: 3.28
# # [INFO] [2024-11-30T23:42:14] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:42:14] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:42:14] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:42:14] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:42:14] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:42:14] Found 2 Image mode images.
# # [INFO] [2024-11-30T23:42:14] Analysing odf/0261_0009650301_OMS41600IMI.FIT for image identification
# # [INFO] [2024-11-30T23:42:14] Identified mode: USER
# # [INFO] [2024-11-30T23:42:14] Analysing odf/0261_0009650301_OMS41602IMI.FIT for image identification
# # [INFO] [2024-11-30T23:42:14] Identified mode: USER
# # [INFO] [2024-11-30T23:42:14] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:42:14] Processing USER Images.
# # [INFO] [2024-11-30T23:42:14] 2 images to process.
# # [INFO] [2024-11-30T23:42:14] Processing S416:0:odf/0261_0009650301_OMS41600IMI.FIT
# [COMMAND] [2024-11-30T23:42:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:14]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:14]
omprep modeset=0 nphset=odf/0261_0009650301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-4-Raw_Image-S41600000000000.fits \
pehset=odf/0261_0009650301_OMX00000PEH.FIT set=odf/0261_0009650301_OMS41600IMI.FIT wdxset=odf/0261_0009650301_OMS41600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:14]
# # [INFO] [2024-11-30T23:42:14] Task Run Time omprep 0.0923821926116943s
#
# # [INFO] [2024-11-30T23:42:14] Retrieving FILTER value
# # [INFO] [2024-11-30T23:42:14] FILTER = M
# # [INFO] [2024-11-30T23:42:14] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:42:14] EXPOSURE = 1.80000000000000E+03
# [COMMAND] [2024-11-30T23:42:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:14]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:14]
omcosflag set=intermediate/OMImageAnalyse-om-4-Raw_Image-S41600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S41600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:14]
# # [INFO] [2024-11-30T23:42:14] Task Run Time omcosflag 0.221012115478516s
#
# [COMMAND] [2024-11-30T23:42:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:14]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:14]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-4-OSW_Flat_Fielded_Image-S41600000000000.fits \
set=intermediate/OMImageAnalyse-om-4-Raw_Image-S41600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S41600000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-4-OSW_Flat_Field-S41600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:14]
# # [INFO] [2024-11-30T23:42:14] Task Run Time omflatfield 0.0400750637054443s
#
# [COMMAND] [2024-11-30T23:42:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:14]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:14]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-4-OSW_MODULO_8_IMAGE-S41600000000000.fits nbox=16 nsig=6 \
outset=product/P0009650301OMS416IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-4-OSW_Flat_Fielded_Image-S41600000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:42:15] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:42:15] Task Run Time ommodmap 0.661329030990601s
#
# [COMMAND] [2024-11-30T23:42:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:15]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:15]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS416IMAGE_0000.FIT set=product/P0009650301OMS416IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:42:15] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS416IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:42:15] Task Run Time omqualitymap 0.0470960140228271s
#
# [COMMAND] [2024-11-30T23:42:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:15]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:15]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0009650301OMS416SWSRLI0000.FIT \
regionfile=product/P0009650301OMS416SWSREG0000.ASC set=product/P0009650301OMS416IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:18]
# # [INFO] [2024-11-30T23:42:18] Task Run Time omdetect 2.46331286430359s
#
# [COMMAND] [2024-11-30T23:42:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:18]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:18]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS416IMAGE_0000.FIT set=product/P0009650301OMS416IMAGE_0000.FIT \
srclistset=product/P0009650301OMS416SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:18] ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS416SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS416IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS416SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:42:18] Task Run Time omqualitymap 0.04827880859375s
#
# [COMMAND] [2024-11-30T23:42:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:18]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:18]
ommag set=product/P0009650301OMS416SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:18]
# TDP corr factor is: 1.04326308 
# L265 tdpCorrFactor= 1.04326308 
# L348 getting the column data
# In: 122.925346 111.194244 1 956
# X,Y,pdepcorr: 1078.92529 988.194214 1.00000000 
# # [INFO] [2024-11-30T23:42:18] Task Run Time ommag 0.0508370399475098s
#
# [COMMAND] [2024-11-30T23:42:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:18]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:18]
omatt catfile=product/P0009650301OBX000REFCAT0000.FIT ppsoswset=product/P0009650301OMS416SIMAGE0000.FIT \
set=product/P0009650301OMS416IMAGE_0000.FIT sourcelistset=product/P0009650301OMS416SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:42:19] ** omatt: warning (Too few sources for astrometry (1)), Need at least 5 
# # [INFO] [2024-11-30T23:42:19] Task Run Time omatt 1.26557183265686s
#
# [COMMAND] [2024-11-30T23:42:19]
export \
PFILES=/scratch/225627.1.all.q/xmm/ppsprod/228772/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:42:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:19]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:19]
fimgstat clobber=Y infile=product/P0009650301OMS416SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-4-OSW_0_sky_image_statistics-S41600000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:42:19]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:42:19] Task Run Time fimgstat 0.023029088973999s
#
# # [INFO] [2024-11-30T23:42:19] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS416SIMAGE0000.FIT\
#     --outfile=product/P0009650301OMS416SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:42:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:19]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:19]
implot.py --fitsImage=product/P0009650301OMS416SIMAGE0000.FIT --outfile=product/P0009650301OMS416SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:42:21] Image shape. y,x: (285, 280) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (284, 279) x/y ratio: 0.98 
# # [INFO] [2024-11-30T23:42:21] Task Run Time implot.py 2.17209005355835s
#
# # [INFO] [2024-11-30T23:42:21] Processing S416:2:odf/0261_0009650301_OMS41602IMI.FIT
# [COMMAND] [2024-11-30T23:42:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:21]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:21]
omprep modeset=0 nphset=odf/0261_0009650301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-4-Raw_Image-S41600020000000.fits \
pehset=odf/0261_0009650301_OMX00000PEH.FIT set=odf/0261_0009650301_OMS41602IMI.FIT wdxset=odf/0261_0009650301_OMS41600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:21]
# # [INFO] [2024-11-30T23:42:21] Task Run Time omprep 0.20790696144104s
#
# # [INFO] [2024-11-30T23:42:21] Retrieving FILTER value
# # [INFO] [2024-11-30T23:42:21] FILTER = M
# # [INFO] [2024-11-30T23:42:21] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:42:21] EXPOSURE = 1.80000000000000E+03
# [COMMAND] [2024-11-30T23:42:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:21]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:21]
omcosflag set=intermediate/OMImageAnalyse-om-4-Raw_Image-S41600020000000.fits \
thxset=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S41600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:22]
# # [INFO] [2024-11-30T23:42:22] Task Run Time omcosflag 0.237205028533936s
#
# [COMMAND] [2024-11-30T23:42:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:22]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:22]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-4-OSW_Flat_Fielded_Image-S41600020000000.fits \
set=intermediate/OMImageAnalyse-om-4-Raw_Image-S41600020000000.fits \
thxset=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S41600000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-4-OSW_Flat_Field-S41600020000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:22]
# # [INFO] [2024-11-30T23:42:22] Task Run Time omflatfield 0.101783037185669s
#
# [COMMAND] [2024-11-30T23:42:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:22]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:22]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-4-OSW_MODULO_8_IMAGE-S41600020000000.fits nbox=16 nsig=6 \
outset=product/P0009650301OMS416IMAGE_2000.FIT set=intermediate/OMImageAnalyse-om-4-OSW_Flat_Fielded_Image-S41600020000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:42:25] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:42:25] Task Run Time ommodmap 3.06796407699585s
#
# [COMMAND] [2024-11-30T23:42:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:25]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:25]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS416IMAGE_2000.FIT set=product/P0009650301OMS416IMAGE_2000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:42:25] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS416IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:42:25] Task Run Time omqualitymap 0.117316961288452s
#
# [COMMAND] [2024-11-30T23:42:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:25]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:25]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0009650301OMS416SWSRLI2000.FIT \
regionfile=product/P0009650301OMS416SWSREG2000.ASC set=product/P0009650301OMS416IMAGE_2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:29]
# # [INFO] [2024-11-30T23:42:29] Task Run Time omdetect 3.99003601074219s
#
# [COMMAND] [2024-11-30T23:42:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:29]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:29]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS416IMAGE_2000.FIT set=product/P0009650301OMS416IMAGE_2000.FIT \
srclistset=product/P0009650301OMS416SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:29] ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS416SWSRLI2000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS416IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS416SWSRLI2000.FIT; 
# # [INFO] [2024-11-30T23:42:29] Task Run Time omqualitymap 0.116284847259521s
#
# [COMMAND] [2024-11-30T23:42:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:29]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:29]
ommag set=product/P0009650301OMS416SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:29]
# TDP corr factor is: 1.04326308 
# L265 tdpCorrFactor= 1.04326308 
# L348 getting the column data
# In: 407.257233 117.001297 2 220
# X,Y,pdepcorr: 1034.51440 279.002594 1.00000000 
# In: 473.736511 200.983566 2 220
# X,Y,pdepcorr: 1167.47302 446.967133 1.00000000 
# In: 772.317322 64.2869949 2 220
# X,Y,pdepcorr: 1764.63464 173.573990 1.00000000 
# In: 778.125427 193.124283 2 220
# X,Y,pdepcorr: 1776.25085 431.248566 1.00000000 
# # [INFO] [2024-11-30T23:42:29] Task Run Time ommag 0.0970139503479004s
#
# [COMMAND] [2024-11-30T23:42:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:29]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:29]
omatt catfile=product/P0009650301OBX000REFCAT0000.FIT ppsoswset=product/P0009650301OMS416SIMAGE2000.FIT \
set=product/P0009650301OMS416IMAGE_2000.FIT sourcelistset=product/P0009650301OMS416SWSRLI2000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:42:33] ** omatt: warning (Too few sources for astrometry (4)), Need at least 5 
# # [INFO] [2024-11-30T23:42:33] Task Run Time omatt 4.02114987373352s
#
# [COMMAND] [2024-11-30T23:42:33]
export \
PFILES=/scratch/225627.1.all.q/xmm/ppsprod/228772/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:42:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:33]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:33]
fimgstat clobber=Y infile=product/P0009650301OMS416SIMAGE2000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-4-OSW_2_sky_image_statistics-S41600000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:42:33]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:42:33] Task Run Time fimgstat 0.0774040222167969s
#
# # [INFO] [2024-11-30T23:42:33] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS416SIMAGE2000.FIT\
#     --outfile=product/P0009650301OMS416SIMAGE2000.PNG
# [COMMAND] [2024-11-30T23:42:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:33]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:33]
implot.py --fitsImage=product/P0009650301OMS416SIMAGE2000.FIT --outfile=product/P0009650301OMS416SIMAGE2000.PNG
# # [OUTPUT] [2024-11-30T23:42:35] Image shape. y,x: (522, 926) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (521, 925) x/y ratio: 1.78 
# # [INFO] [2024-11-30T23:42:35] Task Run Time implot.py 2.33589911460876s
#
# # [INFO] [2024-11-30T23:42:35] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:42:35] 0 images to process.
# # [INFO] [2024-11-30T23:42:35] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:42:35] 0 images to process.
# # [INFO] [2024-11-30T23:42:35] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:42:35] 0 images to process.
# # [INFO] [2024-11-30T23:42:35] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:42:35] 0 images to process.
# # [INFO] [2024-11-30T23:42:35] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:42:35] 0 images to process.
# # [INFO] [2024-11-30T23:42:35] All images processed
# # [INFO] [2024-11-30T23:42:35] Writing accounting information
# # [INFO] [2024-11-30T23:42:35] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0009650301OMS416SWSRLI0000.FIT|USER|M ',
# 'product/P0009650301OMS416SWSRLI2000.FIT|USER|M '
# ]; 
# # [INFO] [2024-11-30T23:42:35] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0009650301OMS416SIMAGE0000.FIT|USER|M|1.80000000000000E+03|S416 ',
# 'product/P0009650301OMS416SIMAGE2000.FIT|USER|M|1.80000000000000E+03|S416 '
# ]; 
# # [INFO] [2024-11-30T23:42:36] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:42:36] Instrument: om
# # [INFO] [2024-11-30T23:42:36] Stream no.: 0005
# # [INFO] [2024-11-30T23:42:36] Module version number: 3.28
# # [INFO] [2024-11-30T23:42:36] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:42:36] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:42:36] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:42:36] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:42:36] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:42:36] Found 2 Image mode images.
# # [INFO] [2024-11-30T23:42:36] Analysing odf/0261_0009650301_OMS41700IMI.FIT for image identification
# # [INFO] [2024-11-30T23:42:36] Identified mode: USER
# # [INFO] [2024-11-30T23:42:36] Analysing odf/0261_0009650301_OMS41702IMI.FIT for image identification
# # [INFO] [2024-11-30T23:42:36] Identified mode: USER
# # [INFO] [2024-11-30T23:42:36] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:42:36] Processing USER Images.
# # [INFO] [2024-11-30T23:42:36] 2 images to process.
# # [INFO] [2024-11-30T23:42:36] Processing S417:0:odf/0261_0009650301_OMS41700IMI.FIT
# [COMMAND] [2024-11-30T23:42:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:36]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:36]
omprep modeset=0 nphset=odf/0261_0009650301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-5-Raw_Image-S41700000000000.fits \
pehset=odf/0261_0009650301_OMX00000PEH.FIT set=odf/0261_0009650301_OMS41700IMI.FIT wdxset=odf/0261_0009650301_OMS41700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:36]
# # [INFO] [2024-11-30T23:42:36] Task Run Time omprep 0.0941970348358154s
#
# # [INFO] [2024-11-30T23:42:36] Retrieving FILTER value
# # [INFO] [2024-11-30T23:42:36] FILTER = M
# # [INFO] [2024-11-30T23:42:36] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:42:36] EXPOSURE = 1.80000000000000E+03
# [COMMAND] [2024-11-30T23:42:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:36]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:36]
omcosflag set=intermediate/OMImageAnalyse-om-5-Raw_Image-S41700000000000.fits \
thxset=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S41700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:36]
# # [INFO] [2024-11-30T23:42:36] Task Run Time omcosflag 0.219148874282837s
#
# [COMMAND] [2024-11-30T23:42:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:36]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:36]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-5-OSW_Flat_Fielded_Image-S41700000000000.fits \
set=intermediate/OMImageAnalyse-om-5-Raw_Image-S41700000000000.fits \
thxset=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S41700000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-5-OSW_Flat_Field-S41700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:36]
# # [INFO] [2024-11-30T23:42:36] Task Run Time omflatfield 0.0510790348052979s
#
# [COMMAND] [2024-11-30T23:42:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:36]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:36]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-5-OSW_MODULO_8_IMAGE-S41700000000000.fits nbox=16 nsig=6 \
outset=product/P0009650301OMS417IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-5-OSW_Flat_Fielded_Image-S41700000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:42:37] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:42:37] Task Run Time ommodmap 0.666137933731079s
#
# [COMMAND] [2024-11-30T23:42:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:37]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:37]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS417IMAGE_0000.FIT set=product/P0009650301OMS417IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:42:37] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS417IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:42:37] Task Run Time omqualitymap 0.0486431121826172s
#
# [COMMAND] [2024-11-30T23:42:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:37]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:37]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0009650301OMS417SWSRLI0000.FIT \
regionfile=product/P0009650301OMS417SWSREG0000.ASC set=product/P0009650301OMS417IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:39]
# # [INFO] [2024-11-30T23:42:39] Task Run Time omdetect 2.5236451625824s
#
# [COMMAND] [2024-11-30T23:42:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:39]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:39]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS417IMAGE_0000.FIT set=product/P0009650301OMS417IMAGE_0000.FIT \
srclistset=product/P0009650301OMS417SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:39] ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS417SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS417IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS417SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:42:39] Task Run Time omqualitymap 0.0679409503936768s
#
# [COMMAND] [2024-11-30T23:42:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:39]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:39]
ommag set=product/P0009650301OMS417SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:39]
# TDP corr factor is: 1.04326510 
# L265 tdpCorrFactor= 1.04326510 
# L348 getting the column data
# In: 123.773575 111.452606 1 956
# X,Y,pdepcorr: 1079.77356 988.452637 1.00000000 
# # [INFO] [2024-11-30T23:42:39] Task Run Time ommag 0.0684030055999756s
#
# [COMMAND] [2024-11-30T23:42:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:39]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:39]
omatt catfile=product/P0009650301OBX000REFCAT0000.FIT ppsoswset=product/P0009650301OMS417SIMAGE0000.FIT \
set=product/P0009650301OMS417IMAGE_0000.FIT sourcelistset=product/P0009650301OMS417SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:42:40] ** omatt: warning (Too few sources for astrometry (1)), Need at least 5 
# # [INFO] [2024-11-30T23:42:40] Task Run Time omatt 1.14908480644226s
#
# [COMMAND] [2024-11-30T23:42:40]
export \
PFILES=/scratch/225627.1.all.q/xmm/ppsprod/228772/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:42:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:40]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:40]
fimgstat clobber=Y infile=product/P0009650301OMS417SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-5-OSW_0_sky_image_statistics-S41700000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:42:40]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:42:40] Task Run Time fimgstat 0.0392999649047852s
#
# # [INFO] [2024-11-30T23:42:40] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS417SIMAGE0000.FIT\
#     --outfile=product/P0009650301OMS417SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:42:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:40]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:40]
implot.py --fitsImage=product/P0009650301OMS417SIMAGE0000.FIT --outfile=product/P0009650301OMS417SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:42:43] Image shape. y,x: (285, 280) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (284, 279) x/y ratio: 0.98 
# # [INFO] [2024-11-30T23:42:43] Task Run Time implot.py 2.05642604827881s
#
# # [INFO] [2024-11-30T23:42:43] Processing S417:2:odf/0261_0009650301_OMS41702IMI.FIT
# [COMMAND] [2024-11-30T23:42:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:43]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:43]
omprep modeset=0 nphset=odf/0261_0009650301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-5-Raw_Image-S41700020000000.fits \
pehset=odf/0261_0009650301_OMX00000PEH.FIT set=odf/0261_0009650301_OMS41702IMI.FIT wdxset=odf/0261_0009650301_OMS41700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:43]
# # [INFO] [2024-11-30T23:42:43] Task Run Time omprep 0.102857112884521s
#
# # [INFO] [2024-11-30T23:42:43] Retrieving FILTER value
# # [INFO] [2024-11-30T23:42:43] FILTER = M
# # [INFO] [2024-11-30T23:42:43] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:42:43] EXPOSURE = 1.80000000000000E+03
# [COMMAND] [2024-11-30T23:42:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:43]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:43]
omcosflag set=intermediate/OMImageAnalyse-om-5-Raw_Image-S41700020000000.fits \
thxset=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S41700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:43]
# # [INFO] [2024-11-30T23:42:43] Task Run Time omcosflag 0.264945983886719s
#
# [COMMAND] [2024-11-30T23:42:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:43]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:43]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-5-OSW_Flat_Fielded_Image-S41700020000000.fits \
set=intermediate/OMImageAnalyse-om-5-Raw_Image-S41700020000000.fits \
thxset=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S41700000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-5-OSW_Flat_Field-S41700020000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:43]
# # [INFO] [2024-11-30T23:42:43] Task Run Time omflatfield 0.0721321105957031s
#
# [COMMAND] [2024-11-30T23:42:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:43]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:43]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-5-OSW_MODULO_8_IMAGE-S41700020000000.fits nbox=16 nsig=6 \
outset=product/P0009650301OMS417IMAGE_2000.FIT set=intermediate/OMImageAnalyse-om-5-OSW_Flat_Fielded_Image-S41700020000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:42:46] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:42:46] Task Run Time ommodmap 3.00071907043457s
#
# [COMMAND] [2024-11-30T23:42:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:46]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:46]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS417IMAGE_2000.FIT set=product/P0009650301OMS417IMAGE_2000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:42:46] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS417IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:42:46] Task Run Time omqualitymap 0.103977918624878s
#
# [COMMAND] [2024-11-30T23:42:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:46]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:46]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0009650301OMS417SWSRLI2000.FIT \
regionfile=product/P0009650301OMS417SWSREG2000.ASC set=product/P0009650301OMS417IMAGE_2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:50]
# # [INFO] [2024-11-30T23:42:50] Task Run Time omdetect 3.98972702026367s
#
# [COMMAND] [2024-11-30T23:42:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:50]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:50]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS417IMAGE_2000.FIT set=product/P0009650301OMS417IMAGE_2000.FIT \
srclistset=product/P0009650301OMS417SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:50] ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS417SWSRLI2000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS417IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS417SWSRLI2000.FIT; 
# # [INFO] [2024-11-30T23:42:50] Task Run Time omqualitymap 0.0575418472290039s
#
# [COMMAND] [2024-11-30T23:42:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:50]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:50]
ommag set=product/P0009650301OMS417SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:50]
# TDP corr factor is: 1.04326510 
# L265 tdpCorrFactor= 1.04326510 
# L348 getting the column data
# In: 138.723648 535.039307 2 1500
# X,Y,pdepcorr: 1777.44727 1307.07861 1.00000000 
# In: 190.486038 537.644531 2 1500
# X,Y,pdepcorr: 1880.97205 1312.28906 1.00000000 
# In: 86.8439255 544.081055 2 1500
# X,Y,pdepcorr: 1673.68787 1325.16211 1.00000000 
# In: 174.111954 655.126221 2 1500
# X,Y,pdepcorr: 1848.22388 1547.25244 1.00000000 
# # [INFO] [2024-11-30T23:42:50] Task Run Time ommag 0.0546810626983643s
#
# [COMMAND] [2024-11-30T23:42:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:50]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:50]
omatt catfile=product/P0009650301OBX000REFCAT0000.FIT ppsoswset=product/P0009650301OMS417SIMAGE2000.FIT \
set=product/P0009650301OMS417IMAGE_2000.FIT sourcelistset=product/P0009650301OMS417SWSRLI2000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:42:54] ** omatt: warning (Too few sources for astrometry (4)), Need at least 5 
# # [INFO] [2024-11-30T23:42:54] Task Run Time omatt 3.90520906448364s
#
# [COMMAND] [2024-11-30T23:42:54]
export \
PFILES=/scratch/225627.1.all.q/xmm/ppsprod/228772/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:42:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:54]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:54]
fimgstat clobber=Y infile=product/P0009650301OMS417SIMAGE2000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-5-OSW_2_sky_image_statistics-S41700000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:42:54]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:42:54] Task Run Time fimgstat 0.0191011428833008s
#
# # [INFO] [2024-11-30T23:42:54] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS417SIMAGE2000.FIT\
#     --outfile=product/P0009650301OMS417SIMAGE2000.PNG
# [COMMAND] [2024-11-30T23:42:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:54]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:54]
implot.py --fitsImage=product/P0009650301OMS417SIMAGE2000.FIT --outfile=product/P0009650301OMS417SIMAGE2000.PNG
# # [OUTPUT] [2024-11-30T23:42:56] Image shape. y,x: (965, 549) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (964, 548) x/y ratio: 0.57 
# # [INFO] [2024-11-30T23:42:56] Task Run Time implot.py 2.00523090362549s
#
# # [INFO] [2024-11-30T23:42:56] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:42:56] 0 images to process.
# # [INFO] [2024-11-30T23:42:56] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:42:56] 0 images to process.
# # [INFO] [2024-11-30T23:42:56] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:42:56] 0 images to process.
# # [INFO] [2024-11-30T23:42:56] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:42:56] 0 images to process.
# # [INFO] [2024-11-30T23:42:56] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:42:56] 0 images to process.
# # [INFO] [2024-11-30T23:42:56] All images processed
# # [INFO] [2024-11-30T23:42:56] Writing accounting information
# # [INFO] [2024-11-30T23:42:56] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0009650301OMS417SWSRLI0000.FIT|USER|M ',
# 'product/P0009650301OMS417SWSRLI2000.FIT|USER|M '
# ]; 
# # [INFO] [2024-11-30T23:42:56] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0009650301OMS417SIMAGE0000.FIT|USER|M|1.80000000000000E+03|S417 ',
# 'product/P0009650301OMS417SIMAGE2000.FIT|USER|M|1.80000000000000E+03|S417 '
# ]; 
# # [INFO] [2024-11-30T23:42:56] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:42:56] Instrument: om
# # [INFO] [2024-11-30T23:42:56] Stream no.: 0006
# # [INFO] [2024-11-30T23:42:56] Module version number: 3.28
# # [INFO] [2024-11-30T23:42:56] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:42:56] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:42:56] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:42:56] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:42:56] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:42:56] Found 2 Image mode images.
# # [INFO] [2024-11-30T23:42:56] Analysing odf/0261_0009650301_OMS41800IMI.FIT for image identification
# # [INFO] [2024-11-30T23:42:56] Identified mode: USER
# # [INFO] [2024-11-30T23:42:56] Analysing odf/0261_0009650301_OMS41802IMI.FIT for image identification
# # [INFO] [2024-11-30T23:42:56] Identified mode: USER
# # [INFO] [2024-11-30T23:42:56] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:42:56] Processing USER Images.
# # [INFO] [2024-11-30T23:42:56] 2 images to process.
# # [INFO] [2024-11-30T23:42:56] Processing S418:0:odf/0261_0009650301_OMS41800IMI.FIT
# [COMMAND] [2024-11-30T23:42:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:56]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:56]
omprep modeset=0 nphset=odf/0261_0009650301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-6-Raw_Image-S41800000000000.fits \
pehset=odf/0261_0009650301_OMX00000PEH.FIT set=odf/0261_0009650301_OMS41800IMI.FIT wdxset=odf/0261_0009650301_OMS41800WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:56]
# # [INFO] [2024-11-30T23:42:56] Task Run Time omprep 0.108976125717163s
#
# # [INFO] [2024-11-30T23:42:56] Retrieving FILTER value
# # [INFO] [2024-11-30T23:42:56] FILTER = M
# # [INFO] [2024-11-30T23:42:56] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:42:56] EXPOSURE = 1.80000000000000E+03
# [COMMAND] [2024-11-30T23:42:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:56]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:56]
omcosflag set=intermediate/OMImageAnalyse-om-6-Raw_Image-S41800000000000.fits \
thxset=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S41800000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:57]
# # [INFO] [2024-11-30T23:42:57] Task Run Time omcosflag 0.225970983505249s
#
# [COMMAND] [2024-11-30T23:42:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:57]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:57]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-6-OSW_Flat_Fielded_Image-S41800000000000.fits \
set=intermediate/OMImageAnalyse-om-6-Raw_Image-S41800000000000.fits \
thxset=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S41800000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-6-OSW_Flat_Field-S41800000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:42:57]
# # [INFO] [2024-11-30T23:42:57] Task Run Time omflatfield 0.0644018650054932s
#
# [COMMAND] [2024-11-30T23:42:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:57]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:57]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-6-OSW_MODULO_8_IMAGE-S41800000000000.fits nbox=16 nsig=6 \
outset=product/P0009650301OMS418IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-6-OSW_Flat_Fielded_Image-S41800000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:42:57] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:42:57] Task Run Time ommodmap 0.722931861877441s
#
# [COMMAND] [2024-11-30T23:42:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:57]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:57]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS418IMAGE_0000.FIT set=product/P0009650301OMS418IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:42:57] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS418IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:42:57] Task Run Time omqualitymap 0.119453907012939s
#
# [COMMAND] [2024-11-30T23:42:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:57]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:42:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:42:57]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0009650301OMS418SWSRLI0000.FIT \
regionfile=product/P0009650301OMS418SWSREG0000.ASC set=product/P0009650301OMS418IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:00]
# # [INFO] [2024-11-30T23:43:00] Task Run Time omdetect 2.41482901573181s
#
# [COMMAND] [2024-11-30T23:43:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:00]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:00]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS418IMAGE_0000.FIT set=product/P0009650301OMS418IMAGE_0000.FIT \
srclistset=product/P0009650301OMS418SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:00] ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS418SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS418IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS418SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:43:00] Task Run Time omqualitymap 0.0848298072814941s
#
# [COMMAND] [2024-11-30T23:43:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:00]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:00]
ommag set=product/P0009650301OMS418SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:00]
# TDP corr factor is: 1.04326713 
# L265 tdpCorrFactor= 1.04326713 
# L348 getting the column data
# In: 123.928047 111.955238 1 956
# X,Y,pdepcorr: 1079.92810 988.955261 1.00000000 
# # [INFO] [2024-11-30T23:43:00] Task Run Time ommag 0.0542378425598145s
#
# [COMMAND] [2024-11-30T23:43:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:00]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:00]
omatt catfile=product/P0009650301OBX000REFCAT0000.FIT ppsoswset=product/P0009650301OMS418SIMAGE0000.FIT \
set=product/P0009650301OMS418IMAGE_0000.FIT sourcelistset=product/P0009650301OMS418SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:43:01] ** omatt: warning (Too few sources for astrometry (1)), Need at least 5 
# # [INFO] [2024-11-30T23:43:01] Task Run Time omatt 1.14662408828735s
#
# [COMMAND] [2024-11-30T23:43:01]
export \
PFILES=/scratch/225627.1.all.q/xmm/ppsprod/228772/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:43:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:01]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:01]
fimgstat clobber=Y infile=product/P0009650301OMS418SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-6-OSW_0_sky_image_statistics-S41800000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:43:01]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:43:01] Task Run Time fimgstat 0.024238109588623s
#
# # [INFO] [2024-11-30T23:43:01] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS418SIMAGE0000.FIT\
#     --outfile=product/P0009650301OMS418SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:43:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:01]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:01]
implot.py --fitsImage=product/P0009650301OMS418SIMAGE0000.FIT --outfile=product/P0009650301OMS418SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:43:04] Image shape. y,x: (285, 280) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (284, 279) x/y ratio: 0.98 
# # [INFO] [2024-11-30T23:43:04] Task Run Time implot.py 2.32744884490967s
#
# # [INFO] [2024-11-30T23:43:04] Processing S418:2:odf/0261_0009650301_OMS41802IMI.FIT
# [COMMAND] [2024-11-30T23:43:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:04]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:04]
omprep modeset=0 nphset=odf/0261_0009650301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-6-Raw_Image-S41800020000000.fits \
pehset=odf/0261_0009650301_OMX00000PEH.FIT set=odf/0261_0009650301_OMS41802IMI.FIT wdxset=odf/0261_0009650301_OMS41800WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:04]
# # [INFO] [2024-11-30T23:43:04] Task Run Time omprep 0.115564107894897s
#
# # [INFO] [2024-11-30T23:43:04] Retrieving FILTER value
# # [INFO] [2024-11-30T23:43:04] FILTER = M
# # [INFO] [2024-11-30T23:43:04] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:43:04] EXPOSURE = 1.80000000000000E+03
# [COMMAND] [2024-11-30T23:43:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:04]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:04]
omcosflag set=intermediate/OMImageAnalyse-om-6-Raw_Image-S41800020000000.fits \
thxset=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S41800000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:43:04]
# # [INFO] [2024-11-30T23:43:04] Task Run Time omcosflag 0.178588151931763s
#
# [COMMAND] [2024-11-30T23:43:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:04]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:04]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-6-OSW_Flat_Fielded_Image-S41800020000000.fits \
set=intermediate/OMImageAnalyse-om-6-Raw_Image-S41800020000000.fits \
thxset=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S41800000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-6-OSW_Flat_Field-S41800020000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:43:04]
# # [INFO] [2024-11-30T23:43:04] Task Run Time omflatfield 0.101557016372681s
#
# [COMMAND] [2024-11-30T23:43:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:04]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:04]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-6-OSW_MODULO_8_IMAGE-S41800020000000.fits nbox=16 nsig=6 \
outset=product/P0009650301OMS418IMAGE_2000.FIT set=intermediate/OMImageAnalyse-om-6-OSW_Flat_Fielded_Image-S41800020000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:43:07] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:43:07] Task Run Time ommodmap 3.1368260383606s
#
# [COMMAND] [2024-11-30T23:43:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:07]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:07]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS418IMAGE_2000.FIT set=product/P0009650301OMS418IMAGE_2000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:43:07] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS418IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:43:07] Task Run Time omqualitymap 0.0631849765777588s
#
# [COMMAND] [2024-11-30T23:43:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:07]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:07]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0009650301OMS418SWSRLI2000.FIT \
regionfile=product/P0009650301OMS418SWSREG2000.ASC set=product/P0009650301OMS418IMAGE_2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:11]
# # [INFO] [2024-11-30T23:43:11] Task Run Time omdetect 4.09542202949524s
#
# [COMMAND] [2024-11-30T23:43:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:11]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:11]
omqualitymap mode=setqualityimage outset=product/P0009650301OMS418IMAGE_2000.FIT set=product/P0009650301OMS418IMAGE_2000.FIT \
srclistset=product/P0009650301OMS418SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:11] ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS418SWSRLI2000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMS418IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMS418SWSRLI2000.FIT; 
# # [INFO] [2024-11-30T23:43:11] Task Run Time omqualitymap 0.104507923126221s
#
# [COMMAND] [2024-11-30T23:43:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:11]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:11]
ommag set=product/P0009650301OMS418SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:11]
# TDP corr factor is: 1.04326713 
# L265 tdpCorrFactor= 1.04326713 
# L348 getting the column data
# In: 729.155334 13.7932615 2 12
# X,Y,pdepcorr: 1470.31067 1512.58655 1.00000000 
# In: 587.720398 96.2541351 2 12
# X,Y,pdepcorr: 1187.44080 1677.50830 1.00000000 
# In: 406.898529 78.9106216 2 12
# X,Y,pdepcorr: 825.797058 1642.82129 1.00000000 
# In: 433.027161 103.049995 2 12
# X,Y,pdepcorr: 878.054321 1691.09998 1.00000000 
# In: 39.8640480 228.045715 2 12
# X,Y,pdepcorr: 91.7280960 1941.09143 1.00000000 
# # [INFO] [2024-11-30T23:43:11] Task Run Time ommag 0.056469202041626s
#
# [COMMAND] [2024-11-30T23:43:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:11]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:11]
omatt catfile=product/P0009650301OBX000REFCAT0000.FIT ppsoswset=product/P0009650301OMS418SIMAGE2000.FIT \
set=product/P0009650301OMS418IMAGE_2000.FIT sourcelistset=product/P0009650301OMS418SWSRLI2000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:43:16]
# # [INFO] [2024-11-30T23:43:16] Task Run Time omatt 4.32314896583557s
#
# [COMMAND] [2024-11-30T23:43:16]
export \
PFILES=/scratch/225627.1.all.q/xmm/ppsprod/228772/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:43:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:16]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:16]
fimgstat clobber=Y infile=product/P0009650301OMS418SIMAGE2000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-6-OSW_2_sky_image_statistics-S41800000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:43:16]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:43:16] Task Run Time fimgstat 0.0891709327697754s
#
# # [INFO] [2024-11-30T23:43:16] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMS418SIMAGE2000.FIT\
#     --outfile=product/P0009650301OMS418SIMAGE2000.PNG
# [COMMAND] [2024-11-30T23:43:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:16]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:16]
implot.py --fitsImage=product/P0009650301OMS418SIMAGE2000.FIT --outfile=product/P0009650301OMS418SIMAGE2000.PNG
# # [OUTPUT] [2024-11-30T23:43:19] Image shape. y,x: (537, 944) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (536, 943) x/y ratio: 1.76 
# # [INFO] [2024-11-30T23:43:19] Task Run Time implot.py 2.95158100128174s
#
# # [INFO] [2024-11-30T23:43:19] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:43:19] 0 images to process.
# # [INFO] [2024-11-30T23:43:19] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:43:19] 0 images to process.
# # [INFO] [2024-11-30T23:43:19] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:43:19] 0 images to process.
# # [INFO] [2024-11-30T23:43:19] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:43:19] 0 images to process.
# # [INFO] [2024-11-30T23:43:19] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:43:19] 0 images to process.
# # [INFO] [2024-11-30T23:43:19] All images processed
# # [INFO] [2024-11-30T23:43:19] Writing accounting information
# # [INFO] [2024-11-30T23:43:19] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0009650301OMS418SWSRLI0000.FIT|USER|M ',
# 'product/P0009650301OMS418SWSRLI2000.FIT|USER|M '
# ]; 
# # [INFO] [2024-11-30T23:43:19] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0009650301OMS418SIMAGE0000.FIT|USER|M|1.80000000000000E+03|S418 ',
# 'product/P0009650301OMS418SIMAGE2000.FIT|USER|M|1.80000000000000E+03|S418 '
# ]; 
# # [INFO] [2024-11-30T23:43:19] Module name: OMMosaic
# # [INFO] [2024-11-30T23:43:19] Instrument: om
# # [INFO] [2024-11-30T23:43:19] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:19] Module version number: 2.39
# # [INFO] [2024-11-30T23:43:19] Looking For Images to Mosaic...
# # [INFO] [2024-11-30T23:43:19] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S01900000000000.ascii
# # [INFO] [2024-11-30T23:43:19] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S01900000000000.ascii
# [COMMAND] [2024-11-30T23:43:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:19]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:19]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S01900000000000.ascii
# # [OUTPUT] [2024-11-30T23:43:20] intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S01900000000000.ascii
# ['product/P0009650301OMS019SIMAGE0000.FIT|USER|M|1.80000000000000E+03|S019|0\n',\
#     'product/P0009650301OMS019SIMAGE2000.FIT|USER|M|1.80000000000000E+03|S019|1\n'] 
# # [INFO] [2024-11-30T23:43:20] Task Run Time addtomosaic.py 1.10625720024109s
#
# # [INFO] [2024-11-30T23:43:20] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S41500000000000.ascii
# # [INFO] [2024-11-30T23:43:20] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S41500000000000.ascii
# [COMMAND] [2024-11-30T23:43:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:20]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:20]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S41500000000000.ascii
# # [OUTPUT] [2024-11-30T23:43:21] intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S41500000000000.ascii
# ['product/P0009650301OMS415SIMAGE0000.FIT|USER|M|1.80000000000000E+03|S415|1\n',\
#     'product/P0009650301OMS415SIMAGE2000.FIT|USER|M|1.80000000000000E+03|S415|1\n'] 
# # [INFO] [2024-11-30T23:43:21] Task Run Time addtomosaic.py 0.954916954040527s
#
# # [INFO] [2024-11-30T23:43:21] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-4-OM_SKY_IMAGE_DETAILS-S41600000000000.ascii
# # [INFO] [2024-11-30T23:43:21] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-4-OM_SKY_IMAGE_DETAILS-S41600000000000.ascii
# [COMMAND] [2024-11-30T23:43:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:21]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:21]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-4-OM_SKY_IMAGE_DETAILS-S41600000000000.ascii
# # [OUTPUT] [2024-11-30T23:43:22] intermediate/OMImageAnalyse-om-4-OM_SKY_IMAGE_DETAILS-S41600000000000.ascii
# ['product/P0009650301OMS416SIMAGE0000.FIT|USER|M|1.80000000000000E+03|S416|1\n',\
#     'product/P0009650301OMS416SIMAGE2000.FIT|USER|M|1.80000000000000E+03|S416|1\n'] 
# # [INFO] [2024-11-30T23:43:22] Task Run Time addtomosaic.py 1.10275602340698s
#
# # [INFO] [2024-11-30T23:43:22] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-5-OM_SKY_IMAGE_DETAILS-S41700000000000.ascii
# # [INFO] [2024-11-30T23:43:22] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-5-OM_SKY_IMAGE_DETAILS-S41700000000000.ascii
# [COMMAND] [2024-11-30T23:43:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:22]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:22]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-5-OM_SKY_IMAGE_DETAILS-S41700000000000.ascii
# # [OUTPUT] [2024-11-30T23:43:23] intermediate/OMImageAnalyse-om-5-OM_SKY_IMAGE_DETAILS-S41700000000000.ascii
# ['product/P0009650301OMS417SIMAGE0000.FIT|USER|M|1.80000000000000E+03|S417|1\n',\
#     'product/P0009650301OMS417SIMAGE2000.FIT|USER|M|1.80000000000000E+03|S417|1\n'] 
# # [INFO] [2024-11-30T23:43:23] Task Run Time addtomosaic.py 1.01492714881897s
#
# # [INFO] [2024-11-30T23:43:23] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-6-OM_SKY_IMAGE_DETAILS-S41800000000000.ascii
# # [INFO] [2024-11-30T23:43:23] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-6-OM_SKY_IMAGE_DETAILS-S41800000000000.ascii
# [COMMAND] [2024-11-30T23:43:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:23]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:23]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-6-OM_SKY_IMAGE_DETAILS-S41800000000000.ascii
# # [OUTPUT] [2024-11-30T23:43:24] intermediate/OMImageAnalyse-om-6-OM_SKY_IMAGE_DETAILS-S41800000000000.ascii
# ['product/P0009650301OMS418SIMAGE0000.FIT|USER|M|1.80000000000000E+03|S418|1\n',\
#     'product/P0009650301OMS418SIMAGE2000.FIT|USER|M|1.80000000000000E+03|S418|1\n'] 
# # [INFO] [2024-11-30T23:43:24] Task Run Time addtomosaic.py 0.983750104904175s
#
# # [INFO] [2024-11-30T23:43:24] Found 10 Images
# # [INFO] [2024-11-30T23:43:24] Grouping Images by Mode then Filter
# # [INFO] [2024-11-30T23:43:24] Mode: ALL
# # [INFO] [2024-11-30T23:43:24] Filter: M
# # [INFO] [2024-11-30T23:43:24] Image File : product/P0009650301OMS019SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:43:24] Image File : product/P0009650301OMS019SIMAGE2000.FIT
# # [INFO] [2024-11-30T23:43:24] Image File : product/P0009650301OMS415SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:43:24] Image File : product/P0009650301OMS415SIMAGE2000.FIT
# # [INFO] [2024-11-30T23:43:24] Image File : product/P0009650301OMS416SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:43:24] Image File : product/P0009650301OMS416SIMAGE2000.FIT
# # [INFO] [2024-11-30T23:43:24] Image File : product/P0009650301OMS417SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:43:24] Image File : product/P0009650301OMS417SIMAGE2000.FIT
# # [INFO] [2024-11-30T23:43:24] Image File : product/P0009650301OMS418SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:43:24] Image File : product/P0009650301OMS418SIMAGE2000.FIT
# # [INFO] [2024-11-30T23:43:24] Creating Images...
# # [INFO] [2024-11-30T23:43:24] MODE: ALL
# # [INFO] [2024-11-30T23:43:24] FILTER: M
# # [INFO] [2024-11-30T23:43:24] CREATING: product/P0009650301OMX000XSIMAGM000.FIT, Duration: 9000
# [COMMAND] [2024-11-30T23:43:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:24]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:43:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:43:24]
ommosaic imagesets="product/P0009650301OMS019SIMAGE2000.FIT product/P0009650301OMS415SIMAGE0000.FIT \
product/P0009650301OMS415SIMAGE2000.FIT product/P0009650301OMS416SIMAGE0000.FIT product/P0009650301OMS416SIMAGE2000.FIT \
product/P0009650301OMS417SIMAGE0000.FIT product/P0009650301OMS417SIMAGE2000.FIT product/P0009650301OMS418SIMAGE0000.FIT \
product/P0009650301OMS418SIMAGE2000.FIT" mincorr=0 mosaicedset=product/P0009650301OMX000XSIMAGM000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:07] L1109 c3 xLeft=334.646138 xRight=334.305897 
# 71.1378 334.476 -8.35742 
# # [INFO] [2024-11-30T23:44:07] Task Run Time ommosaic 43.24702501297s
#
# [COMMAND] [2024-11-30T23:44:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:07]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:44:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:44:07]
omdetect backgroundmethod=1 detectextended=Y minsignificance=3 neighboursforpsfphotometry=1 nsigma=2 \
outset=product/P0009650301OMX000XSISWSM000.FIT psfphotometryenabled=N regionfile=product/P0009650301OMX000XSISWSM000.ASC \
set=product/P0009650301OMX000XSIMAGM000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:25] ** omdetect: warning (Possible Error!), nsources ne liinked-list size!
# ** omdetect: warning (Possible Error!), nsources ne liinked-list size! 
# # [INFO] [2024-11-30T23:44:25] Task Run Time omdetect 18.2252540588379s
#
# # [INFO] [2024-11-30T23:44:25] DEBUG - doCommand fullcmd : cleanommos.py --image=product/P0009650301OMX000XSIMAGM000.FIT\
#     --srcList=product/P0009650301OMX000XSISWSM000.FIT
# [COMMAND] [2024-11-30T23:44:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:25]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:44:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:44:25]
cleanommos.py --image=product/P0009650301OMX000XSIMAGM000.FIT --srcList=product/P0009650301OMX000XSISWSM000.FIT
# # [OUTPUT] [2024-11-30T23:44:27] Image file: product/P0009650301OMX000XSIMAGM000.FIT
# Nr. of sources in product/P0009650301OMX000XSISWSM000.FIT: 38
# 38 input sources ; 3 output sources 
# # [INFO] [2024-11-30T23:44:27] Task Run Time cleanommos.py 1.14121294021606s
#
# # [INFO] [2024-11-30T23:44:27] DEBUG: writing product/P0009650301OMX000XSISWSM000.FIT in file\
#     intermediate/OMMosaic-om-1-MOSAIC_SOURCE_LISTS-X00000000000000.ascii
# [COMMAND] [2024-11-30T23:44:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:27]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:44:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:44:27]
ommag set=product/P0009650301OMX000XSISWSM000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:27]
# TDP corr factor is: 1.04325902 
# L265 tdpCorrFactor= 1.04325902 
# L348 getting the column data
# ra,dec,x,y: 334.48061398462346 -8.3508814135256468 1075.96008 989.593323 
# X,Y,pdepcorr: 1075.96008 989.593323 1.00000000 
# ra,dec,x,y: 334.59174832886032 -8.4272061455544520 1666.54578 1759.72375 
# X,Y,pdepcorr: 1666.54578 1759.72375 1.00000000 
# ra,dec,x,y: 334.56619288369353 -8.3969804082764945 1569.93494 1503.10083 
# X,Y,pdepcorr: 1569.93494 1503.10083 1.00000000 
# # [INFO] [2024-11-30T23:44:27] Task Run Time ommag 0.652704000473022s
#
# [COMMAND] [2024-11-30T23:44:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:27]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:44:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:44:27]
omqualitymap mode=usequalityimage outset=product/P0009650301OMX000XSISWSM000.FIT set=product/P0009650301OMX000XSIMAGM000.FIT \
srclistset=product/P0009650301OMX000XSISWSM000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:27] ** omqualitymap: warning (parameter), srclistset = product/P0009650301OMX000XSISWSM000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0009650301OMX000XSISWSM000.FIT will be overwritten 
# # [INFO] [2024-11-30T23:44:27] Task Run Time omqualitymap 0.166458129882812s
#
# # [INFO] [2024-11-30T23:44:27] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0009650301OMX000XSIMAGM000.FIT\
#     --outfile=product/P0009650301OMX000XSIMAGM000.PNG
# [COMMAND] [2024-11-30T23:44:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:27]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:44:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:44:27]
implot.py --fitsImage=product/P0009650301OMX000XSIMAGM000.FIT --outfile=product/P0009650301OMX000XSIMAGM000.PNG
# # [OUTPUT] [2024-11-30T23:44:30] Image shape. y,x: (1278, 1273) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (1277, 1272) x/y ratio: 1.00 
# # [INFO] [2024-11-30T23:44:30] Task Run Time implot.py 2.58542990684509s
#
# # [INFO] [2024-11-30T23:44:30] Done: ALL
# # [INFO] [2024-11-30T23:44:30] Module name: OMSourceCombine
# # [INFO] [2024-11-30T23:44:30] Instrument: om
# # [INFO] [2024-11-30T23:44:30] Stream no.: 0001
# # [INFO] [2024-11-30T23:44:30] Module version number: 3.9
# # [INFO] [2024-11-30T23:44:30] Looking For Source Lists to Combine...
# # [INFO] [2024-11-30T23:44:30] DEBUG: file: intermediate/OMImageAnalyse-om-1-OM_SRC_IMAGE_DETAILS-S01900000000000.ascii
# # [INFO] [2024-11-30T23:44:30] DEBUG: line product/P0009650301OMS019SWSRLI0000.FIT|USER|M
# # [INFO] [2024-11-30T23:44:30] DEBUG: split to tmp: $VAR1 = [
# 'product/P0009650301OMS019SWSRLI0000.FIT',
# 'USER',
# 'M'
# ]; 
# # [INFO] [2024-11-30T23:44:30] DEBUG: line product/P0009650301OMS019SWSRLI2000.FIT|USER|M
# # [INFO] [2024-11-30T23:44:30] DEBUG: split to tmp: $VAR1 = [
# 'product/P0009650301OMS019SWSRLI2000.FIT',
# 'USER',
# 'M'
# ]; 
# # [INFO] [2024-11-30T23:44:30] DEBUG: file: intermediate/OMImageAnalyse-om-3-OM_SRC_IMAGE_DETAILS-S41500000000000.ascii
# # [INFO] [2024-11-30T23:44:30] DEBUG: line product/P0009650301OMS415SWSRLI0000.FIT|USER|M
# # [INFO] [2024-11-30T23:44:30] DEBUG: split to tmp: $VAR1 = [
# 'product/P0009650301OMS415SWSRLI0000.FIT',
# 'USER',
# 'M'
# ]; 
# # [INFO] [2024-11-30T23:44:30] DEBUG: line product/P0009650301OMS415SWSRLI2000.FIT|USER|M
# # [INFO] [2024-11-30T23:44:30] DEBUG: split to tmp: $VAR1 = [
# 'product/P0009650301OMS415SWSRLI2000.FIT',
# 'USER',
# 'M'
# ]; 
# # [INFO] [2024-11-30T23:44:30] DEBUG: file: intermediate/OMImageAnalyse-om-4-OM_SRC_IMAGE_DETAILS-S41600000000000.ascii
# # [INFO] [2024-11-30T23:44:30] DEBUG: line product/P0009650301OMS416SWSRLI0000.FIT|USER|M
# # [INFO] [2024-11-30T23:44:30] DEBUG: split to tmp: $VAR1 = [
# 'product/P0009650301OMS416SWSRLI0000.FIT',
# 'USER',
# 'M'
# ]; 
# # [INFO] [2024-11-30T23:44:30] DEBUG: line product/P0009650301OMS416SWSRLI2000.FIT|USER|M
# # [INFO] [2024-11-30T23:44:30] DEBUG: split to tmp: $VAR1 = [
# 'product/P0009650301OMS416SWSRLI2000.FIT',
# 'USER',
# 'M'
# ]; 
# # [INFO] [2024-11-30T23:44:30] DEBUG: file: intermediate/OMImageAnalyse-om-5-OM_SRC_IMAGE_DETAILS-S41700000000000.ascii
# # [INFO] [2024-11-30T23:44:30] DEBUG: line product/P0009650301OMS417SWSRLI0000.FIT|USER|M
# # [INFO] [2024-11-30T23:44:30] DEBUG: split to tmp: $VAR1 = [
# 'product/P0009650301OMS417SWSRLI0000.FIT',
# 'USER',
# 'M'
# ]; 
# # [INFO] [2024-11-30T23:44:30] DEBUG: line product/P0009650301OMS417SWSRLI2000.FIT|USER|M
# # [INFO] [2024-11-30T23:44:30] DEBUG: split to tmp: $VAR1 = [
# 'product/P0009650301OMS417SWSRLI2000.FIT',
# 'USER',
# 'M'
# ]; 
# # [INFO] [2024-11-30T23:44:30] DEBUG: file: intermediate/OMImageAnalyse-om-6-OM_SRC_IMAGE_DETAILS-S41800000000000.ascii
# # [INFO] [2024-11-30T23:44:30] DEBUG: line product/P0009650301OMS418SWSRLI0000.FIT|USER|M
# # [INFO] [2024-11-30T23:44:30] DEBUG: split to tmp: $VAR1 = [
# 'product/P0009650301OMS418SWSRLI0000.FIT',
# 'USER',
# 'M'
# ]; 
# # [INFO] [2024-11-30T23:44:30] DEBUG: line product/P0009650301OMS418SWSRLI2000.FIT|USER|M
# # [INFO] [2024-11-30T23:44:30] DEBUG: split to tmp: $VAR1 = [
# 'product/P0009650301OMS418SWSRLI2000.FIT',
# 'USER',
# 'M'
# ]; 
# # [INFO] [2024-11-30T23:44:30] DEBUG: SrcLstDetails: $VAR1 = [
# [
# 'product/P0009650301OMS019SWSRLI0000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS019SWSRLI2000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS415SWSRLI0000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS415SWSRLI2000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS416SWSRLI0000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS416SWSRLI2000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS417SWSRLI0000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS417SWSRLI2000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS418SWSRLI0000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS418SWSRLI2000.FIT',
# 'USER',
# 'M'
# ]
# ]; 
# # [INFO] [2024-11-30T23:44:30] Found 10 Lists
# # [INFO] [2024-11-30T23:44:30] Grouping Lists by Mode then Filter
# # [INFO] [2024-11-30T23:44:30] DEBUG: SortedSrcLstDetails: $VAR1 = [
# [
# 'product/P0009650301OMS019SWSRLI0000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS019SWSRLI2000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS415SWSRLI0000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS415SWSRLI2000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS416SWSRLI0000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS416SWSRLI2000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS417SWSRLI0000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS417SWSRLI2000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS418SWSRLI0000.FIT',
# 'USER',
# 'M'
# ],
# [
# 'product/P0009650301OMS418SWSRLI2000.FIT',
# 'USER',
# 'M'
# ]
# ]; 
# # [INFO] [2024-11-30T23:44:30] Mode: USER
# # [INFO] [2024-11-30T23:44:30] DEBUG: Src: ARRAY(0x4ffcf78)
# # [INFO] [2024-11-30T23:44:30] DEBUG: mode_p: 1
# # [INFO] [2024-11-30T23:44:30] DEBUG: SSrc[modep]: USER
# # [INFO] [2024-11-30T23:44:30] DEBUG: SSrc[filterp]: M
# # [INFO] [2024-11-30T23:44:30] Filter: M
# # [INFO] [2024-11-30T23:44:30] Image File : product/P0009650301OMS019SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:44:30] Image File : product/P0009650301OMS019SWSRLI2000.FIT
# # [INFO] [2024-11-30T23:44:30] Image File : product/P0009650301OMS415SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:44:30] Image File : product/P0009650301OMS415SWSRLI2000.FIT
# # [INFO] [2024-11-30T23:44:30] Image File : product/P0009650301OMS416SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:44:30] Image File : product/P0009650301OMS416SWSRLI2000.FIT
# # [INFO] [2024-11-30T23:44:30] Image File : product/P0009650301OMS417SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:44:30] Image File : product/P0009650301OMS417SWSRLI2000.FIT
# # [INFO] [2024-11-30T23:44:30] Image File : product/P0009650301OMS418SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:44:30] Image File : product/P0009650301OMS418SWSRLI2000.FIT
# # [INFO] [2024-11-30T23:44:30] Creating Combined Lists...
# # [INFO] [2024-11-30T23:44:30] MODE: USER
# # [INFO] [2024-11-30T23:44:30] FILTER: M
# # [INFO] [2024-11-30T23:44:30] Done: USER
# # [INFO] [2024-11-30T23:44:30] CREATING: product/P0009650301OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:44:30]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:30]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:44:30] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:44:30]
omsrclistcomb catfile=product/P0009650301OBX000REFCAT0000.FIT outset=product/P0009650301OMX000OBSMLI0000.FIT \
sourcelistsets="product/P0009650301OMS019SWSRLI0000.FIT product/P0009650301OMS019SWSRLI2000.FIT \
product/P0009650301OMS415SWSRLI0000.FIT product/P0009650301OMS415SWSRLI2000.FIT product/P0009650301OMS416SWSRLI0000.FIT \
product/P0009650301OMS416SWSRLI2000.FIT product/P0009650301OMS417SWSRLI0000.FIT product/P0009650301OMS417SWSRLI2000.FIT \
product/P0009650301OMS418SWSRLI0000.FIT product/P0009650301OMS418SWSRLI2000.FIT" usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:44:31]
# # [INFO] [2024-11-30T23:44:31] Task Run Time omsrclistcomb 1.16833400726318s
#
# # [INFO] [2024-11-30T23:44:31] reading file intermediate/OMMosaic-om-1-MOSAIC_SOURCE_LISTS-X00000000000000.ascii
# # [INFO] [2024-11-30T23:44:31] CREATING: product/P0009650301OMX000OBSMOS0000.FIT
# [COMMAND] [2024-11-30T23:44:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:31]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:44:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:44:31]
omsrclistcomb catfile=product/P0009650301OBX000REFCAT0000.FIT outset=product/P0009650301OMX000OBSMOS0000.FIT \
sourcelistsets=product/P0009650301OMX000XSISWSM000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:44:32] ** omsrclistcomb: warning (Too few sources for astrometry (3)), Need at least 5 
# # [INFO] [2024-11-30T23:44:32] Task Run Time omsrclistcomb 0.71837592124939s
#
# [COMMAND] [2024-11-30T23:44:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:32]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:44:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:44:32]
ommergelists maxrawrate=5 outset=intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits \
srclist1=product/P0009650301OMX000OBSMLI0000.FIT srclist2=product/P0009650301OMX000OBSMOS0000.FIT tolerance=2 -w 10
# # [OUTPUT] [2024-11-30T23:44:32] ** ommergelists: warning (EqualCoordinates), Angle to compute angular distance is\
#     1.000000000000000222 which is greater than 1.0 but within tolerance, set to 1.0 
# # [INFO] [2024-11-30T23:44:32] Task Run Time ommergelists 0.0852129459381104s
#
# # [INFO] [2024-11-30T23:44:32] DEBUG Copy intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits to\
#     product/P0009650301OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:44:32]
cp /scratch/225627.1.all.q/xmm/ppsprod/228772/intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits \
/scratch/225627.1.all.q/xmm/ppsprod/228772/product/P0009650301OMX000OBSMLI0000.FIT
# # [INFO] [2024-11-30T23:44:32] System RV 0
# [COMMAND] [2024-11-30T23:44:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:32]
export SAS_RAND_SEED=0009650301
# # [INFO] [2024-11-30T23:44:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0009650301
# [COMMAND] [2024-11-30T23:44:32]
omregion bkginner=1.2 bkgouter=1.8 nfwhm=3 set=intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits \
srcfile=product/P0009650301OMX000OBSMLI0000.ASC srcnumber=1 srcradius=3 -w 10
# # [OUTPUT] [2024-11-30T23:44:32]
# # [INFO] [2024-11-30T23:44:32] Task Run Time omregion 0.0362949371337891s
#
