
#!/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:54:06] Module name: VerifyODF
# # [INFO] [2024-11-30T23:54:06] Instrument: all
# # [INFO] [2024-11-30T23:54:06] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:06] Module version number: 1.18
# # [INFO] [2024-11-30T23:54:06] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:54:06] Module name: MakeCIF
# # [INFO] [2024-11-30T23:54:06] Instrument: all
# # [INFO] [2024-11-30T23:54:06] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:06] Module version number: 1.23
# # [INFO] [2024-11-30T23:54:06] Observation start defined as >2012-02-29T10:08:31.000<
# # [INFO] [2024-11-30T23:54:06] Processing date defined as >2024-12-01T00:54:06<
# [COMMAND] [2024-11-30T23:54:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:06]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:06]
cifbuild analysisdate=2024-12-01T00:54:06 calindexset=product/P0672160801OBX000CALIND0000.FIT fullpath=no \
observationdate=2012-02-29T10:08:31.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:54:34]
# # [INFO] [2024-11-30T23:54:34] Task Run Time cifbuild 27.4058918952942s
#
# [COMMAND] [2024-11-30T23:54:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:34]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:34]
addattribute attributecomment="\"Telescope (mission) name\" \"Date observations were made\" \"RA of instrument pointing (degrees)\" \
\"Name of observed object\" \"DEC of instrument pointing\" \"Observation identifier\" \"Date observations ended\" \"Name of PI\" \
\"Observation mode (pointing or slew)\"" attributename="TELESCOP DATE-OBS RA_PNT OBJECT DEC_PNT OBS_ID DATE-END OBSERVER OBS_MODE" \
attributetype="string string real string real string string string string" realvalue="\"232.0225005\" \"65.6250000\"" \
set=product/P0672160801OBX000CALIND0000.FIT stringvalue="\"XMM\" \"2012-02-29T10:08:31.000\" \"C\" \"0672160801\" \
\"2012-02-29T11:21:58.000\" \"Dr Dennis Bodewits\" \"POINTED\"" -w 10
# # [OUTPUT] [2024-11-30T23:54:40]
# # [INFO] [2024-11-30T23:54:40] Task Run Time addattribute 5.97250199317932s
#
# [COMMAND] [2024-11-30T23:54:40]
cp /scratch/226687.1.all.q/xmm/ppsprod/229833/product/P0672160801OBX000CALIND0000.FIT \
/scratch/226687.1.all.q/xmm/ppsprod/229833/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:54:40] System RV 0
# # [INFO] [2024-11-30T23:54:44] Module name: GlobalHK
# # [INFO] [2024-11-30T23:54:44] Instrument: all
# # [INFO] [2024-11-30T23:54:44] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:44] Module version number: 1.81
# [COMMAND] [2024-11-30T23:54:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:44]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:44]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:54:44] ** preqgti: warning (TemporalOverlapInAHF), Temporal overlap of 0.700012s between AHF entries 155\
#     (2012-02-29T13:43:16.999) and 156 (2012-02-29T13:52:47.999) - adjusting duration of entry 155 accordingly
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 446902360.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.9999999404 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 446902360.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.9999999404 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 446902361.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.9999999404 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 446902361.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.9999999404 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 446902362.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.9999999404 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 446902362.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.9999999404 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 446902363.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.9999999404 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 446902363.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.9999999404 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 446902364.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21.9999999404 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 446902364.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21.9999999404 s away).
# ** preqgti: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 17014 times 
# # [INFO] [2024-11-30T23:54:44] Task Run Time preqgti 0.651798009872437s
#
# [COMMAND] [2024-11-30T23:54:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:44]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:44]
atthkgen atthkset=product/P0672160801OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:54:44]
# # [INFO] [2024-11-30T23:54:44] Task Run Time atthkgen 0.189836025238037s
#
# [COMMAND] [2024-11-30T23:54:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:44]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:44]
orbit outfile=product/P0672160801OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:54:45] orbit:- Output FITS Orbit timeseries: product/P0672160801OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:54:45] Task Run Time orbit 0.191834926605225s
#
# [COMMAND] [2024-11-30T23:54:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:45]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:45]
radmonfix output=product/P0672160801OBX000RADMON0000.FIT radmonlist="odf/2239_0672160801_RMX00100ECX.FIT \
odf/2239_0672160801_RMX00200ECX.FIT" withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:54:45] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=368131013.9 which\
#     is outside the time correlation data abscissa range [368131651.1, 368137812.9] - result of extrapolation might be afflicted\
#     with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=368131017.9 which is outside the time correlation\
#     data abscissa range [368131651.1, 368137812.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=368131021.9 which is outside the time correlation\
#     data abscissa range [368131651.1, 368137812.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=368131025.9 which is outside the time correlation\
#     data abscissa range [368131651.1, 368137812.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=368131029.9 which is outside the time correlation\
#     data abscissa range [368131651.1, 368137812.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=368131033.9 which is outside the time correlation\
#     data abscissa range [368131651.1, 368137812.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=368131037.9 which is outside the time correlation\
#     data abscissa range [368131651.1, 368137812.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=368131041.9 which is outside the time correlation\
#     data abscissa range [368131651.1, 368137812.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=368131045.9 which is outside the time correlation\
#     data abscissa range [368131651.1, 368137812.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=368131049.9 which is outside the time correlation\
#     data abscissa range [368131651.1, 368137812.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Adding 1536 counts rows from row 301
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 237 times 
# # [INFO] [2024-11-30T23:54:45] Task Run Time radmonfix 0.108029842376709s
#
# [COMMAND] [2024-11-30T23:54:45]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/226687.1.all.q/xmm/ppsprod/229833/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:54:45] System RV 0
# # [INFO] [2024-11-30T23:54:45] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:54:45]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/226687.1.all.q/xmm/ppsprod/229833/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:54:45] System RV 0
# [COMMAND] [2024-11-30T23:54:45]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/226687.1.all.q/xmm/ppsprod/229833/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:54:45] System RV 0
# [COMMAND] [2024-11-30T23:54:45]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/226687.1.all.q/xmm/ppsprod/229833/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:54:45] System RV 0
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: emos1
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure S001 for processability
# # [INFO] [2024-11-30T23:54:45] Filter: CalClosed
# # [INFO] [2024-11-30T23:54:45] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:54:45] Exposure duration: 4200
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: emos2
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure S002 for processability
# # [INFO] [2024-11-30T23:54:45] Filter: CalClosed
# # [INFO] [2024-11-30T23:54:45] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:54:45] Exposure duration: 4214
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure S003 for processability
# # [INFO] [2024-11-30T23:54:45] Filter: CalClosed
# # [INFO] [2024-11-30T23:54:45] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:54:45] Exposure duration: 2620
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0002
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure U002 for processability
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0003
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure U003 for processability
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0004
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure U004 for processability
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0005
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure U005 for processability
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0006
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure U006 for processability
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0007
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure U007 for processability
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0008
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure U008 for processability
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0009
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure U009 for processability
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0010
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure U010 for processability
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0011
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure U011 for processability
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0012
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure U012 for processability
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0013
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure U013 for processability
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: epn
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0014
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure U801 for processability
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: om
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure S004 for processability
# # [INFO] [2024-11-30T23:54:45] Filter: UVW1
# # [INFO] [2024-11-30T23:54:45] Instrument mode: Image
# # [INFO] [2024-11-30T23:54:45] Exposure duration: 900
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: om
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0002
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure S005 for processability
# # [INFO] [2024-11-30T23:54:45] Filter: UVW1
# # [INFO] [2024-11-30T23:54:45] Instrument mode: Image
# # [INFO] [2024-11-30T23:54:45] Exposure duration: 899
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: om
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0003
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure S006 for processability
# # [INFO] [2024-11-30T23:54:45] Filter: UVW1
# # [INFO] [2024-11-30T23:54:45] Instrument mode: Image
# # [INFO] [2024-11-30T23:54:45] Exposure duration: 899
# # [INFO] [2024-11-30T23:54:45] Module name: ExpChooser
# # [INFO] [2024-11-30T23:54:45] Instrument: om
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0004
# # [INFO] [2024-11-30T23:54:45] Module version number: 1.38
# # [INFO] [2024-11-30T23:54:45] Checking exposure S400 for processability
# # [INFO] [2024-11-30T23:54:45] Filter: UVW1
# # [INFO] [2024-11-30T23:54:45] Instrument mode: UNDEFINED
# # [INFO] [2024-11-30T23:54:45] Exposure duration: 900
# # [INFO] [2024-11-30T23:54:45] OM datamode=
# # [INFO] [2024-11-30T23:54:45] Exposure ignored due to invalid or unsupported instrument mode
# # [INFO] [2024-11-30T23:54:45] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:54:45] Instrument: om
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:45] Module version number: 2.01
# # [INFO] [2024-11-30T23:54:45] Module name: USNOExtract
# # [INFO] [2024-11-30T23:54:45] Instrument: all
# # [INFO] [2024-11-30T23:54:45] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:45] Module version number: 0.07
# [COMMAND] [2024-11-30T23:54:45]
export \
PFILES=/scratch/226687.1.all.q/xmm/ppsprod/229833/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:54:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:45]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:45]
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:54:45] Written the output image ......... 
# # [INFO] [2024-11-30T23:54:45] Task Run Time fimgcreate 0.0258858203887939s
#
# [COMMAND] [2024-11-30T23:54:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:45]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:45]
catprep catextract=intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
srclistset=product/P0672160801OBX000CALIND0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:54:46]
# # [INFO] [2024-11-30T23:54:46] Task Run Time catprep 0.579302072525024s
#
# [COMMAND] [2024-11-30T23:54:46]
cp /scratch/226687.1.all.q/xmm/ppsprod/229833/intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
/scratch/226687.1.all.q/xmm/ppsprod/229833/product/P0672160801OBX000REFCAT0000.FIT
# # [INFO] [2024-11-30T23:54:46] System RV 0
# # [INFO] [2024-11-30T23:54:46] Reading keyword DATE-END value 2012-02-29T11:21:58.000 comment Date observations ended
# # [INFO] [2024-11-30T23:54:46] Reading keyword DEC_OBJ value 6.56250000000000E+01 comment [deg] Dec of the observed object
# # [INFO] [2024-11-30T23:54:46] Reading keyword OBS_MODE value POINTING comment Observation mode (pointing or slew)
# # [INFO] [2024-11-30T23:54:46] Reading keyword DATE-OBS value 2012-02-29T10:08:31.000 comment Date observations were made
# # [INFO] [2024-11-30T23:54:46] Reading keyword RA_OBJ value 2.32022500500000E+02 comment [deg] Ra of the observed object
# # [INFO] [2024-11-30T23:54:46] Reading keyword OBS_ID value 0672160801 comment Observation identifier
# # [INFO] [2024-11-30T23:54:46] Reading keyword TELESCOP value XMM comment Telescope (mission) name
# [COMMAND] [2024-11-30T23:54:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:46]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:46]
addattribute attributecomment="\"Date observations ended\" \"[deg] Dec of the observed object\" \"Observation mode (pointing or \
slew)\" \"Date observations were made\" \"[deg] Ra of the observed object\" \"Observation identifier\" \"Telescope (mission) name\"" \
attributename="DATE-END DEC_OBJ OBS_MODE DATE-OBS RA_OBJ OBS_ID TELESCOP" attributetype="\"string\" \"real\" \"string\" \"string\" \
\"real\" \"string\" \"string\"" realvalue="6.56250000000000E+01 2.32022500500000E+02" set=product/P0672160801OBX000REFCAT0000.FIT \
stringvalue="2012-02-29T11:21:58.000 POINTING 2012-02-29T10:08:31.000 0672160801 XMM" -w 10
# # [OUTPUT] [2024-11-30T23:54:46] ** addattribute: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in\
#     dataset with name 'product/P0672160801OBX000REFCAT0000.FIT'
# ** addattribute: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name\
#     'product/P0672160801OBX000REFCAT0000.FIT' 
# # [INFO] [2024-11-30T23:54:46] Task Run Time addattribute 0.0311369895935059s
#
# # [INFO] [2024-11-30T23:54:46] Module name: OMgetFlat
# # [INFO] [2024-11-30T23:54:46] Instrument: om
# # [INFO] [2024-11-30T23:54:46] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:46] Module version number: 1.07
# [COMMAND] [2024-11-30T23:54:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:46]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:46]
omflatgen outset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:54:46] ** omflatgen: warning (ArgumentIgnored), Warning: countRateFrameRatio argument in small-scale\
#     flatfield retrieval currently ignored 
# # [INFO] [2024-11-30T23:54:46] Task Run Time omflatgen 0.137061834335327s
#
# # [INFO] [2024-11-30T23:54:46] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:54:46] Instrument: om
# # [INFO] [2024-11-30T23:54:46] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:46] Module version number: 1.06
# [COMMAND] [2024-11-30T23:54:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:46]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:46]
omprep modeset=3 nphset=odf/2239_0672160801_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00400000000000.fits pehset=odf/2239_0672160801_OMX00000PEH.FIT \
set=DUMMYTHX.FIT wdxset=odf/2239_0672160801_OMS00400WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:54:46] ** omprep: warning ( Missing OM Tracking History Data Auxiliary File. Using ZERODRIFT option),\
#     ZERODRIFT 
# # [INFO] [2024-11-30T23:54:46] Task Run Time omprep 0.0707681179046631s
#
# # [INFO] [2024-11-30T23:54:46] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:54:46] Instrument: om
# # [INFO] [2024-11-30T23:54:46] Stream no.: 0002
# # [INFO] [2024-11-30T23:54:46] Module version number: 1.06
# [COMMAND] [2024-11-30T23:54:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:46]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:46]
omprep modeset=3 nphset=odf/2239_0672160801_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00500000000000.fits pehset=odf/2239_0672160801_OMX00000PEH.FIT \
set=DUMMYTHX.FIT wdxset=odf/2239_0672160801_OMS00500WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:54:46] ** omprep: warning ( Missing OM Tracking History Data Auxiliary File. Using ZERODRIFT option),\
#     ZERODRIFT 
# # [INFO] [2024-11-30T23:54:46] Task Run Time omprep 0.0652351379394531s
#
# # [INFO] [2024-11-30T23:54:46] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:54:46] Instrument: om
# # [INFO] [2024-11-30T23:54:46] Stream no.: 0003
# # [INFO] [2024-11-30T23:54:46] Module version number: 1.06
# [COMMAND] [2024-11-30T23:54:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:46]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:46]
omprep modeset=3 nphset=odf/2239_0672160801_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00600000000000.fits pehset=odf/2239_0672160801_OMX00000PEH.FIT \
set=odf/2239_0672160801_OMS00600THX.FIT wdxset=odf/2239_0672160801_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:54:46]
# # [INFO] [2024-11-30T23:54:46] Task Run Time omprep 0.0829999446868896s
#
# [COMMAND] [2024-11-30T23:54:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:46]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:46]
omthconv nphset=odf/2239_0672160801_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-3-OM_TRACKING_STAR_TIMESERIES-S00600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:54:46]
# # [INFO] [2024-11-30T23:54:46] Task Run Time omthconv 0.0831530094146729s
#
# [COMMAND] [2024-11-30T23:54:46]
cp /scratch/226687.1.all.q/xmm/ppsprod/229833/intermediate/OMExpAnalyse-om-3-OM_TRACKING_STAR_TIMESERIES-S00600000000000.fits \
/scratch/226687.1.all.q/xmm/ppsprod/229833/product/P0672160801OMS006TSTRTS0000.FIT
# # [INFO] [2024-11-30T23:54:46] System RV 0
# [COMMAND] [2024-11-30T23:54:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:46]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:46]
omdrifthist plotfile=intermediate/OMExpAnalyse-om-3-OM_TRACKING_HISTORY_PLOT-S00600000000000.ps \
set=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:54:47]
# # [INFO] [2024-11-30T23:54:47] Task Run Time omdrifthist 0.562499046325684s
#
# [COMMAND] [2024-11-30T23:54:47]
pstopdf intermediate/OMExpAnalyse-om-3-OM_TRACKING_HISTORY_PLOT-S00600000000000.ps product/P0672160801OMS006TSHPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:54:47]
# # [INFO] [2024-11-30T23:54:47] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:54:47] Instrument: om
# # [INFO] [2024-11-30T23:54:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:47] Module version number: 1.36
# # [INFO] [2024-11-30T23:54:47] DEBUG --- exp_id: S004, filter: UVW1
# # [INFO] [2024-11-30T23:54:47] No Fast Mode Windows to process
# # [INFO] [2024-11-30T23:54:47] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:54:47] Instrument: om
# # [INFO] [2024-11-30T23:54:47] Stream no.: 0002
# # [INFO] [2024-11-30T23:54:47] Module version number: 1.36
# # [INFO] [2024-11-30T23:54:47] DEBUG --- exp_id: S005, filter: UVW1
# # [INFO] [2024-11-30T23:54:47] No Fast Mode Windows to process
# # [INFO] [2024-11-30T23:54:47] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:54:47] Instrument: om
# # [INFO] [2024-11-30T23:54:47] Stream no.: 0003
# # [INFO] [2024-11-30T23:54:47] Module version number: 1.36
# # [INFO] [2024-11-30T23:54:47] DEBUG --- exp_id: S006, filter: UVW1
# # [INFO] [2024-11-30T23:54:47] No Fast Mode Windows to process
# # [INFO] [2024-11-30T23:54:47] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:54:47] Instrument: om
# # [INFO] [2024-11-30T23:54:47] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:47] Module version number: 3.28
# # [INFO] [2024-11-30T23:54:47] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:54:47] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:54:47] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:54:47] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:54:47] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:54:47] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:54:47] Analysing odf/2239_0672160801_OMS00400IMI.FIT for image identification
# # [INFO] [2024-11-30T23:54:47] Identified mode: USER
# # [INFO] [2024-11-30T23:54:47] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:54:47] Processing USER Images.
# # [INFO] [2024-11-30T23:54:47] 1 images to process.
# # [INFO] [2024-11-30T23:54:47] Processing S004:0:odf/2239_0672160801_OMS00400IMI.FIT
# [COMMAND] [2024-11-30T23:54:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:47]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:47]
omprep modeset=0 nphset=odf/2239_0672160801_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-1-Raw_Image-S00400000000000.fits \
pehset=odf/2239_0672160801_OMX00000PEH.FIT set=odf/2239_0672160801_OMS00400IMI.FIT wdxset=odf/2239_0672160801_OMS00400WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:54:47] ** omprep: warning (NoSuchIPPV), There is no IPPV `DATA_MODE_1' in the actual exposure 
# # [INFO] [2024-11-30T23:54:47] Task Run Time omprep 0.0850338935852051s
#
# # [INFO] [2024-11-30T23:54:47] Retrieving FILTER value
# # [INFO] [2024-11-30T23:54:47] FILTER = L
# # [INFO] [2024-11-30T23:54:47] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:54:47] EXPOSURE = 9.00000000000000E+02
# [COMMAND] [2024-11-30T23:54:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:47]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:47]
omcosflag set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00400000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00400000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:54:47]
# # [INFO] [2024-11-30T23:54:47] Task Run Time omcosflag 0.184813976287842s
#
# [COMMAND] [2024-11-30T23:54:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:47]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:47]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00400000000000.fits \
set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00400000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00400000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Field-S00400000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:54:48]
# # [INFO] [2024-11-30T23:54:48] Task Run Time omflatfield 0.0806179046630859s
#
# [COMMAND] [2024-11-30T23:54:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:48]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:48]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-1-OSW_MODULO_8_IMAGE-S00400000000000.fits nbox=16 nsig=6 \
outset=product/P0672160801OMS004IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00400000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:54:51]
# # [INFO] [2024-11-30T23:54:51] Task Run Time ommodmap 3.44147396087646s
#
# [COMMAND] [2024-11-30T23:54:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:51]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:51]
omqualitymap mode=setqualityimage outset=product/P0672160801OMS004IMAGE_0000.FIT set=product/P0672160801OMS004IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:54:51] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0672160801OMS004IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:54:51] Task Run Time omqualitymap 0.0673210620880127s
#
# [COMMAND] [2024-11-30T23:54:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:51]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:51]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0672160801OMS004SWSRLI0000.FIT \
regionfile=product/P0672160801OMS004SWSREG0000.ASC set=product/P0672160801OMS004IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:54:57]
# # [INFO] [2024-11-30T23:54:57] Task Run Time omdetect 6.38135313987732s
#
# [COMMAND] [2024-11-30T23:54:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:57]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:57]
omqualitymap mode=setqualityimage outset=product/P0672160801OMS004IMAGE_0000.FIT set=product/P0672160801OMS004IMAGE_0000.FIT \
srclistset=product/P0672160801OMS004SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:54:58] ** omqualitymap: warning (parameter), srclistset = product/P0672160801OMS004SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0672160801OMS004IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0672160801OMS004SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:54:58] Task Run Time omqualitymap 0.141608953475952s
#
# [COMMAND] [2024-11-30T23:54:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:58]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:58]
ommag set=product/P0672160801OMS004SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:54:58]
# TDP corr factor is: 1.12295806 
# L265 tdpCorrFactor= 1.12295806 
# L348 getting the column data
# In: 265.783081 17.0114212 2 1057
# X,Y,pdepcorr: 1588.56616 1107.02283 1.00000000 
# In: 252.730652 25.2250862 2 1057
# X,Y,pdepcorr: 1562.46130 1123.45020 1.00000000 
# In: 259.980713 153.725082 2 1057
# X,Y,pdepcorr: 1576.96143 1380.45020 1.00000000 
# In: 244.753799 340.046783 2 1057
# X,Y,pdepcorr: 1546.50757 1753.09351 1.00000000 
# In: 236.871811 216.371048 2 1057
# X,Y,pdepcorr: 1530.74365 1505.74207 1.00000000 
# In: 466.032928 458.046722 2 1057
# X,Y,pdepcorr: 1989.06592 1989.09351 1.00000000 
# In: 105.121017 436.840637 2 1057
# X,Y,pdepcorr: 1267.24207 1946.68127 1.00000000 
# In: 13.9199800 265.494019 2 1057
# X,Y,pdepcorr: 1084.83997 1603.98804 1.00000000 
# In: 109.782021 178.582352 2 1057
# X,Y,pdepcorr: 1276.56409 1430.16467 1.00000000 
# In: 386.541992 267.552979 2 1057
# X,Y,pdepcorr: 1830.08398 1608.10596 1.00000000 
# # [INFO] [2024-11-30T23:54:58] Task Run Time ommag 0.057668924331665s
#
# [COMMAND] [2024-11-30T23:54:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:58]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:54:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:54:58]
omatt catfile=product/P0672160801OBX000REFCAT0000.FIT ppsoswset=product/P0672160801OMS004SIMAGE0000.FIT \
set=product/P0672160801OMS004IMAGE_0000.FIT sourcelistset=product/P0672160801OMS004SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:55:00]
# # [INFO] [2024-11-30T23:55:00] Task Run Time omatt 2.58964014053345s
#
# [COMMAND] [2024-11-30T23:55:00]
export \
PFILES=/scratch/226687.1.all.q/xmm/ppsprod/229833/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:55:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:00]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:00]
fimgstat clobber=Y infile=product/P0672160801OMS004SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-1-OSW_0_sky_image_statistics-S00400000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:55:00]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:55:00] Task Run Time fimgstat 0.051318883895874s
#
# # [INFO] [2024-11-30T23:55:00] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0672160801OMS004SIMAGE0000.FIT\
#     --outfile=product/P0672160801OMS004SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:55:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:00]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:00]
implot.py --fitsImage=product/P0672160801OMS004SIMAGE0000.FIT --outfile=product/P0672160801OMS004SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:55:03] Image shape. y,x: (523, 498) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (522, 497) x/y ratio: 0.95 
# # [INFO] [2024-11-30T23:55:03] Task Run Time implot.py 3.03159213066101s
#
# # [INFO] [2024-11-30T23:55:03] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:55:03] 0 images to process.
# # [INFO] [2024-11-30T23:55:03] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:55:03] 0 images to process.
# # [INFO] [2024-11-30T23:55:03] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:55:03] 0 images to process.
# # [INFO] [2024-11-30T23:55:03] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:55:03] 0 images to process.
# # [INFO] [2024-11-30T23:55:03] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:55:03] 0 images to process.
# # [INFO] [2024-11-30T23:55:03] All images processed
# # [INFO] [2024-11-30T23:55:03] Writing accounting information
# # [INFO] [2024-11-30T23:55:03] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0672160801OMS004SWSRLI0000.FIT|USER|L '
# ]; 
# # [INFO] [2024-11-30T23:55:03] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0672160801OMS004SIMAGE0000.FIT|USER|L|9.00000000000000E+02|S004 '
# ]; 
# # [INFO] [2024-11-30T23:55:03] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:55:03] Instrument: om
# # [INFO] [2024-11-30T23:55:03] Stream no.: 0002
# # [INFO] [2024-11-30T23:55:03] Module version number: 3.28
# # [INFO] [2024-11-30T23:55:03] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:55:03] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:55:03] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:55:03] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:55:03] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:55:03] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:55:03] Analysing odf/2239_0672160801_OMS00500IMI.FIT for image identification
# # [INFO] [2024-11-30T23:55:03] Identified mode: USER
# # [INFO] [2024-11-30T23:55:03] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:55:03] Processing USER Images.
# # [INFO] [2024-11-30T23:55:03] 1 images to process.
# # [INFO] [2024-11-30T23:55:03] Processing S005:0:odf/2239_0672160801_OMS00500IMI.FIT
# [COMMAND] [2024-11-30T23:55:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:03]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:03]
omprep modeset=0 nphset=odf/2239_0672160801_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-2-Raw_Image-S00500000000000.fits \
pehset=odf/2239_0672160801_OMX00000PEH.FIT set=odf/2239_0672160801_OMS00500IMI.FIT wdxset=odf/2239_0672160801_OMS00500WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:04] ** omprep: warning (NoSuchIPPV), There is no IPPV `DATA_MODE_1' in the actual exposure 
# # [INFO] [2024-11-30T23:55:04] Task Run Time omprep 0.138565063476562s
#
# # [INFO] [2024-11-30T23:55:04] Retrieving FILTER value
# # [INFO] [2024-11-30T23:55:04] FILTER = L
# # [INFO] [2024-11-30T23:55:04] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:55:04] EXPOSURE = 9.00000000000000E+02
# [COMMAND] [2024-11-30T23:55:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:04]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:04]
omcosflag set=intermediate/OMImageAnalyse-om-2-Raw_Image-S00500000000000.fits \
thxset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:04]
# # [INFO] [2024-11-30T23:55:04] Task Run Time omcosflag 0.189465045928955s
#
# [COMMAND] [2024-11-30T23:55:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:04]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:04]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-2-OSW_Flat_Fielded_Image-S00500000000000.fits \
set=intermediate/OMImageAnalyse-om-2-Raw_Image-S00500000000000.fits \
thxset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00500000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-2-OSW_Flat_Field-S00500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:04]
# # [INFO] [2024-11-30T23:55:04] Task Run Time omflatfield 0.0713200569152832s
#
# [COMMAND] [2024-11-30T23:55:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:04]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:04]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-2-OSW_MODULO_8_IMAGE-S00500000000000.fits nbox=16 nsig=6 \
outset=product/P0672160801OMS005IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-2-OSW_Flat_Fielded_Image-S00500000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:55:07]
# # [INFO] [2024-11-30T23:55:07] Task Run Time ommodmap 2.98769497871399s
#
# [COMMAND] [2024-11-30T23:55:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:07]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:07]
omqualitymap mode=setqualityimage outset=product/P0672160801OMS005IMAGE_0000.FIT set=product/P0672160801OMS005IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:55:07] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0672160801OMS005IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:55:07] Task Run Time omqualitymap 0.0600888729095459s
#
# [COMMAND] [2024-11-30T23:55:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:07]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:07]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0672160801OMS005SWSRLI0000.FIT \
regionfile=product/P0672160801OMS005SWSREG0000.ASC set=product/P0672160801OMS005IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:13]
# # [INFO] [2024-11-30T23:55:13] Task Run Time omdetect 5.72248196601868s
#
# [COMMAND] [2024-11-30T23:55:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:13]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:13]
omqualitymap mode=setqualityimage outset=product/P0672160801OMS005IMAGE_0000.FIT set=product/P0672160801OMS005IMAGE_0000.FIT \
srclistset=product/P0672160801OMS005SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:13] ** omqualitymap: warning (parameter), srclistset = product/P0672160801OMS005SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0672160801OMS005IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0672160801OMS005SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:55:13] Task Run Time omqualitymap 0.069633960723877s
#
# [COMMAND] [2024-11-30T23:55:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:13]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:13]
ommag set=product/P0672160801OMS005SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:13]
# TDP corr factor is: 1.12295830 
# L265 tdpCorrFactor= 1.12295830 
# L348 getting the column data
# In: 265.700287 17.1500912 2 1057
# X,Y,pdepcorr: 1588.40063 1107.30017 1.00000000 
# In: 252.410629 25.3008728 2 1057
# X,Y,pdepcorr: 1561.82129 1123.60181 1.00000000 
# In: 259.848450 153.801132 2 1057
# X,Y,pdepcorr: 1576.69690 1380.60229 1.00000000 
# In: 237.232346 216.450821 2 1057
# X,Y,pdepcorr: 1531.46472 1505.90161 1.00000000 
# In: 244.666351 339.990936 2 1057
# X,Y,pdepcorr: 1546.33276 1752.98193 1.00000000 
# In: 104.972633 436.885712 2 1057
# X,Y,pdepcorr: 1266.94531 1946.77148 1.00000000 
# In: 13.5879087 265.435455 2 1057
# X,Y,pdepcorr: 1084.17578 1603.87085 1.00000000 
# In: 335.420471 229.570663 2 1057
# X,Y,pdepcorr: 1727.84094 1532.14136 1.00000000 
# # [INFO] [2024-11-30T23:55:13] Task Run Time ommag 0.125096082687378s
#
# [COMMAND] [2024-11-30T23:55:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:13]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:13]
omatt catfile=product/P0672160801OBX000REFCAT0000.FIT ppsoswset=product/P0672160801OMS005SIMAGE0000.FIT \
set=product/P0672160801OMS005IMAGE_0000.FIT sourcelistset=product/P0672160801OMS005SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:55:15]
# # [INFO] [2024-11-30T23:55:15] Task Run Time omatt 2.17133593559265s
#
# [COMMAND] [2024-11-30T23:55:15]
export \
PFILES=/scratch/226687.1.all.q/xmm/ppsprod/229833/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:55:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:15]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:15]
fimgstat clobber=Y infile=product/P0672160801OMS005SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-2-OSW_0_sky_image_statistics-S00500000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:55:15]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:55:15] Task Run Time fimgstat 0.0257530212402344s
#
# # [INFO] [2024-11-30T23:55:15] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0672160801OMS005SIMAGE0000.FIT\
#     --outfile=product/P0672160801OMS005SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:55:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:15]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:15]
implot.py --fitsImage=product/P0672160801OMS005SIMAGE0000.FIT --outfile=product/P0672160801OMS005SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:55:17] Image shape. y,x: (523, 498) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (522, 497) x/y ratio: 0.95 
# # [INFO] [2024-11-30T23:55:17] Task Run Time implot.py 2.37643003463745s
#
# # [INFO] [2024-11-30T23:55:17] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:55:17] 0 images to process.
# # [INFO] [2024-11-30T23:55:17] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:55:17] 0 images to process.
# # [INFO] [2024-11-30T23:55:17] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:55:17] 0 images to process.
# # [INFO] [2024-11-30T23:55:17] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:55:17] 0 images to process.
# # [INFO] [2024-11-30T23:55:17] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:55:17] 0 images to process.
# # [INFO] [2024-11-30T23:55:17] All images processed
# # [INFO] [2024-11-30T23:55:17] Writing accounting information
# # [INFO] [2024-11-30T23:55:17] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0672160801OMS005SWSRLI0000.FIT|USER|L '
# ]; 
# # [INFO] [2024-11-30T23:55:17] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0672160801OMS005SIMAGE0000.FIT|USER|L|9.00000000000000E+02|S005 '
# ]; 
# # [INFO] [2024-11-30T23:55:17] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:55:17] Instrument: om
# # [INFO] [2024-11-30T23:55:17] Stream no.: 0003
# # [INFO] [2024-11-30T23:55:17] Module version number: 3.28
# # [INFO] [2024-11-30T23:55:17] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:55:17] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:55:17] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:55:17] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:55:17] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:55:17] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:55:17] Analysing odf/2239_0672160801_OMS00600IMI.FIT for image identification
# # [INFO] [2024-11-30T23:55:17] Identified mode: USER
# # [INFO] [2024-11-30T23:55:17] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:55:17] Processing USER Images.
# # [INFO] [2024-11-30T23:55:17] 1 images to process.
# # [INFO] [2024-11-30T23:55:17] Processing S006:0:odf/2239_0672160801_OMS00600IMI.FIT
# [COMMAND] [2024-11-30T23:55:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:17]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:17]
omprep modeset=0 nphset=odf/2239_0672160801_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-3-Raw_Image-S00600000000000.fits \
pehset=odf/2239_0672160801_OMX00000PEH.FIT set=odf/2239_0672160801_OMS00600IMI.FIT wdxset=odf/2239_0672160801_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:18] ** omprep: warning (NoSuchIPPV), There is no IPPV `DATA_MODE_1' in the actual exposure 
# # [INFO] [2024-11-30T23:55:18] Task Run Time omprep 0.175374031066895s
#
# # [INFO] [2024-11-30T23:55:18] Retrieving FILTER value
# # [INFO] [2024-11-30T23:55:18] FILTER = L
# # [INFO] [2024-11-30T23:55:18] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:55:18] EXPOSURE = 9.00000000000000E+02
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:18]
omcosflag set=intermediate/OMImageAnalyse-om-3-Raw_Image-S00600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:18]
# # [INFO] [2024-11-30T23:55:18] Task Run Time omcosflag 0.550023078918457s
#
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:18]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S00600000000000.fits \
set=intermediate/OMImageAnalyse-om-3-Raw_Image-S00600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00600000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Field-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:18]
# # [INFO] [2024-11-30T23:55:18] Task Run Time omflatfield 0.0691139698028564s
#
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:18]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-3-OSW_MODULO_8_IMAGE-S00600000000000.fits nbox=16 nsig=6 \
outset=product/P0672160801OMS006IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S00600000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:55:22]
# # [INFO] [2024-11-30T23:55:22] Task Run Time ommodmap 3.39282417297363s
#
# [COMMAND] [2024-11-30T23:55:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:22]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:22]
omqualitymap mode=setqualityimage outset=product/P0672160801OMS006IMAGE_0000.FIT set=product/P0672160801OMS006IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:55:22] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0672160801OMS006IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:55:22] Task Run Time omqualitymap 0.142838001251221s
#
# [COMMAND] [2024-11-30T23:55:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:22]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:22]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0672160801OMS006SWSRLI0000.FIT \
regionfile=product/P0672160801OMS006SWSREG0000.ASC set=product/P0672160801OMS006IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:29]
# # [INFO] [2024-11-30T23:55:29] Task Run Time omdetect 6.88686394691467s
#
# [COMMAND] [2024-11-30T23:55:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:29]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:29]
omqualitymap mode=setqualityimage outset=product/P0672160801OMS006IMAGE_0000.FIT set=product/P0672160801OMS006IMAGE_0000.FIT \
srclistset=product/P0672160801OMS006SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:29] ** omqualitymap: warning (parameter), srclistset = product/P0672160801OMS006SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0672160801OMS006IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0672160801OMS006SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:55:29] Task Run Time omqualitymap 0.140233039855957s
#
# [COMMAND] [2024-11-30T23:55:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:29]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:29]
ommag set=product/P0672160801OMS006SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:29]
# TDP corr factor is: 1.12295842 
# L265 tdpCorrFactor= 1.12295842 
# L348 getting the column data
# In: 265.251617 16.8647671 2 1057
# X,Y,pdepcorr: 1587.50317 1106.72949 1.00000000 
# In: 259.222168 153.312088 2 1057
# X,Y,pdepcorr: 1575.44434 1379.62415 1.00000000 
# In: 252.153015 25.0550022 2 1057
# X,Y,pdepcorr: 1561.30603 1123.10999 1.00000000 
# In: 244.154922 339.770355 2 1057
# X,Y,pdepcorr: 1545.30981 1752.54077 1.00000000 
# In: 13.2515345 265.118744 2 1057
# X,Y,pdepcorr: 1083.50305 1603.23755 1.00000000 
# In: 422.082184 45.8173561 2 1057
# X,Y,pdepcorr: 1901.16431 1164.63477 1.00000000 
# In: 104.765198 436.924133 2 1057
# X,Y,pdepcorr: 1266.53040 1946.84827 1.00000000 
# In: 228.026535 440.589661 2 1057
# X,Y,pdepcorr: 1513.05310 1954.17932 1.00000000 
# In: 281.851929 189.638641 2 1057
# X,Y,pdepcorr: 1620.70386 1452.27734 1.00000000 
# # [INFO] [2024-11-30T23:55:29] Task Run Time ommag 0.166449069976807s
#
# [COMMAND] [2024-11-30T23:55:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:29]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:29]
omatt catfile=product/P0672160801OBX000REFCAT0000.FIT ppsoswset=product/P0672160801OMS006SIMAGE0000.FIT \
set=product/P0672160801OMS006IMAGE_0000.FIT sourcelistset=product/P0672160801OMS006SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:55:32]
# # [INFO] [2024-11-30T23:55:32] Task Run Time omatt 2.87117910385132s
#
# [COMMAND] [2024-11-30T23:55:32]
export \
PFILES=/scratch/226687.1.all.q/xmm/ppsprod/229833/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:55:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:32]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:32]
fimgstat clobber=Y infile=product/P0672160801OMS006SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-3-OSW_0_sky_image_statistics-S00600000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:55:32]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:55:32] Task Run Time fimgstat 0.0415420532226562s
#
# # [INFO] [2024-11-30T23:55:32] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0672160801OMS006SIMAGE0000.FIT\
#     --outfile=product/P0672160801OMS006SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:55:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:32]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:32]
implot.py --fitsImage=product/P0672160801OMS006SIMAGE0000.FIT --outfile=product/P0672160801OMS006SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:55:35] Image shape. y,x: (523, 498) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (522, 497) x/y ratio: 0.95 
# # [INFO] [2024-11-30T23:55:35] Task Run Time implot.py 3.34500002861023s
#
# # [INFO] [2024-11-30T23:55:35] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:55:35] 0 images to process.
# # [INFO] [2024-11-30T23:55:35] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:55:35] 0 images to process.
# # [INFO] [2024-11-30T23:55:35] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:55:35] 0 images to process.
# # [INFO] [2024-11-30T23:55:35] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:55:35] 0 images to process.
# # [INFO] [2024-11-30T23:55:35] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:55:35] 0 images to process.
# # [INFO] [2024-11-30T23:55:35] All images processed
# # [INFO] [2024-11-30T23:55:35] Writing accounting information
# # [INFO] [2024-11-30T23:55:35] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0672160801OMS006SWSRLI0000.FIT|USER|L '
# ]; 
# # [INFO] [2024-11-30T23:55:35] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0672160801OMS006SIMAGE0000.FIT|USER|L|9.00000000000000E+02|S006 '
# ]; 
# # [INFO] [2024-11-30T23:55:35] Module name: OMMosaic
# # [INFO] [2024-11-30T23:55:35] Instrument: om
# # [INFO] [2024-11-30T23:55:35] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:35] Module version number: 2.39
# # [INFO] [2024-11-30T23:55:35] Looking For Images to Mosaic...
# # [INFO] [2024-11-30T23:55:35] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00400000000000.ascii
# # [INFO] [2024-11-30T23:55:35] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00400000000000.ascii
# [COMMAND] [2024-11-30T23:55:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:35]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:35]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00400000000000.ascii
# # [OUTPUT] [2024-11-30T23:55:37] intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00400000000000.ascii
# ['product/P0672160801OMS004SIMAGE0000.FIT|USER|L|9.00000000000000E+02|S004|1\n'] 
# # [INFO] [2024-11-30T23:55:37] Task Run Time addtomosaic.py 1.40794205665588s
#
# # [INFO] [2024-11-30T23:55:37] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00500000000000.ascii
# # [INFO] [2024-11-30T23:55:37] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00500000000000.ascii
# [COMMAND] [2024-11-30T23:55:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:37]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:37]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00500000000000.ascii
# # [OUTPUT] [2024-11-30T23:55:38] intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00500000000000.ascii
# ['product/P0672160801OMS005SIMAGE0000.FIT|USER|L|9.00000000000000E+02|S005|1\n'] 
# # [INFO] [2024-11-30T23:55:38] Task Run Time addtomosaic.py 1.05727195739746s
#
# # [INFO] [2024-11-30T23:55:38] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:55:38] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# [COMMAND] [2024-11-30T23:55:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:38]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:38]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [OUTPUT] [2024-11-30T23:55:39] intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# ['product/P0672160801OMS006SIMAGE0000.FIT|USER|L|9.00000000000000E+02|S006|1\n'] 
# # [INFO] [2024-11-30T23:55:39] Task Run Time addtomosaic.py 1.25895118713379s
#
# # [INFO] [2024-11-30T23:55:39] Found 3 Images
# # [INFO] [2024-11-30T23:55:39] Grouping Images by Mode then Filter
# # [INFO] [2024-11-30T23:55:39] Mode: ALL
# # [INFO] [2024-11-30T23:55:39] Filter: L
# # [INFO] [2024-11-30T23:55:39] Image File : product/P0672160801OMS004SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:55:39] Image File : product/P0672160801OMS005SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:55:39] Image File : product/P0672160801OMS006SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:55:39] Creating Images...
# # [INFO] [2024-11-30T23:55:39] MODE: ALL
# # [INFO] [2024-11-30T23:55:39] FILTER: L
# # [INFO] [2024-11-30T23:55:39] CREATING: product/P0672160801OMX000XSIMAGL000.FIT, Duration: 2700
# [COMMAND] [2024-11-30T23:55:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:39]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:39]
ommosaic imagesets="product/P0672160801OMS004SIMAGE0000.FIT product/P0672160801OMS005SIMAGE0000.FIT \
product/P0672160801OMS006SIMAGE0000.FIT" mincorr=0 mosaicedset=product/P0672160801OMX000XSIMAGL000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:49] L1109 c3 xLeft=232.334756 xRight=232.015163 
# 90.6813 232.007 65.6194 
# # [INFO] [2024-11-30T23:55:49] Task Run Time ommosaic 9.78246688842773s
#
# [COMMAND] [2024-11-30T23:55:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:49]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:49]
omdetect backgroundmethod=1 detectextended=Y minsignificance=3 neighboursforpsfphotometry=1 nsigma=2 \
outset=product/P0672160801OMX000XSISWSL000.FIT psfphotometryenabled=N regionfile=product/P0672160801OMX000XSISWSL000.ASC \
set=product/P0672160801OMX000XSIMAGL000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:55]
# # [INFO] [2024-11-30T23:55:55] Task Run Time omdetect 6.57830405235291s
#
# # [INFO] [2024-11-30T23:55:55] DEBUG - doCommand fullcmd : cleanommos.py --image=product/P0672160801OMX000XSIMAGL000.FIT\
#     --srcList=product/P0672160801OMX000XSISWSL000.FIT
# [COMMAND] [2024-11-30T23:55:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:55]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:55]
cleanommos.py --image=product/P0672160801OMX000XSIMAGL000.FIT --srcList=product/P0672160801OMX000XSISWSL000.FIT
# # [OUTPUT] [2024-11-30T23:55:57] Image file: product/P0672160801OMX000XSIMAGL000.FIT
# Nr. of sources in product/P0672160801OMX000XSISWSL000.FIT: 25
# 25 input sources ; 25 output sources 
# # [INFO] [2024-11-30T23:55:57] Task Run Time cleanommos.py 1.24607992172241s
#
# # [INFO] [2024-11-30T23:55:57] DEBUG: writing product/P0672160801OMX000XSISWSL000.FIT in file\
#     intermediate/OMMosaic-om-1-MOSAIC_SOURCE_LISTS-X00000000000000.ascii
# [COMMAND] [2024-11-30T23:55:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:57]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:57]
ommag set=product/P0672160801OMX000XSISWSL000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:57]
# TDP corr factor is: 1.12295806 
# L265 tdpCorrFactor= 1.12295806 
# L348 getting the column data
# ra,dec,x,y: 232.18319673864639 65.606867490807090 1588.08484 1106.96069 
# X,Y,pdepcorr: 1588.08484 1106.96069 1.00000000 
# ra,dec,x,y: 232.17483701835005 65.604718945747706 1561.92578 1123.34167 
# X,Y,pdepcorr: 1561.92578 1123.34167 1.00000000 
# ra,dec,x,y: 232.18005192680297 65.569308420372977 1576.48413 1380.22522 
# X,Y,pdepcorr: 1576.48413 1380.22522 1.00000000 
# ra,dec,x,y: 232.17196659469559 65.516854731776448 1546.02148 1752.90979 
# X,Y,pdepcorr: 1546.02148 1752.90979 1.00000000 
# ra,dec,x,y: 232.02487103093313 65.539866769200160 1084.31934 1603.66602 
# X,Y,pdepcorr: 1084.31934 1603.66602 1.00000000 
# ra,dec,x,y: 232.16593143045773 65.552074205834700 1531.01672 1505.25891 
# X,Y,pdepcorr: 1531.01672 1505.25891 1.00000000 
# ra,dec,x,y: 232.14032308119900 65.568491408333571 1452.04529 1390.01404 
# X,Y,pdepcorr: 1452.04529 1390.01404 1.00000000 
# ra,dec,x,y: 232.25328151173539 65.500272856459688 1792.50598 1858.54285 
# X,Y,pdepcorr: 1792.50598 1858.54285 1.00000000 
# ra,dec,x,y: 232.08492551813407 65.563627480696425 1276.16370 1429.78284 
# X,Y,pdepcorr: 1276.16370 1429.78284 1.00000000 
# ra,dec,x,y: 232.08283201312955 65.490071325633835 1267.09387 1946.84875 
# X,Y,pdepcorr: 1267.09387 1946.84875 1.00000000 
# ra,dec,x,y: 232.16197692576469 65.487805655216690 1512.14355 1955.43225 
# X,Y,pdepcorr: 1512.14355 1955.43225 1.00000000 
# ra,dec,x,y: 232.25096746454534 65.490485410614355 1784.37097 1927.01453 
# X,Y,pdepcorr: 1784.37097 1927.01453 1.00000000 
# ra,dec,x,y: 232.30775602417097 65.600922631686728 1968.30457 1139.31812 
# X,Y,pdepcorr: 1968.30457 1139.31812 1.00000000 
# ra,dec,x,y: 232.11224026752981 65.574071082241375 1363.45642 1352.05994 
# X,Y,pdepcorr: 1363.45642 1352.05994 1.00000000 
# ra,dec,x,y: 232.03912501087444 65.517485160367983 1130.08447 1760.19348 
# X,Y,pdepcorr: 1130.08447 1760.19348 1.00000000 
# ra,dec,x,y: 232.10519830963122 65.603890378926906 1341.47461 1134.41516 
# X,Y,pdepcorr: 1341.47461 1134.41516 1.00000000 
# ra,dec,x,y: 232.03214390804624 65.492886608057191 1108.58105 1930.53992 
# X,Y,pdepcorr: 1108.58105 1930.53992 1.00000000 
# ra,dec,x,y: 232.20220541256293 65.504269926843065 1637.44312 1836.90613 
# X,Y,pdepcorr: 1637.44312 1836.90613 1.00000000 
# ra,dec,x,y: 232.28560189583663 65.597701963236375 1901.60278 1164.60632 
# X,Y,pdepcorr: 1901.60278 1164.60632 1.00000000 
# ra,dec,x,y: 232.26399032705521 65.535812841797451 1829.68970 1608.56384 
# X,Y,pdepcorr: 1829.68970 1608.56384 1.00000000 
# ra,dec,x,y: 232.22983613133783 65.547141864338656 1727.49963 1532.86755 
# X,Y,pdepcorr: 1727.49963 1532.86755 1.00000000 
# ra,dec,x,y: 232.19411508770094 65.559083496759612 1619.16858 1452.09155 
# X,Y,pdepcorr: 1619.16858 1452.09155 1.00000000 
# ra,dec,x,y: 232.31356560635018 65.478813750946941 1974.13110 2003.20483 
# X,Y,pdepcorr: 1974.13110 2003.20483 1.00000000 
# ra,dec,x,y: 232.31927901232740 65.481957916995853 1991.64941 1980.54199 
# X,Y,pdepcorr: 1991.64941 1980.54199 1.00000000 
# ra,dec,x,y: 232.32366123098006 65.482753608890278 2005.06787 1974.62000 
# X,Y,pdepcorr: 2005.06787 1974.62000 1.00000000 
# # [INFO] [2024-11-30T23:55:57] Task Run Time ommag 0.54587721824646s
#
# [COMMAND] [2024-11-30T23:55:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:57]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:57]
omqualitymap mode=usequalityimage outset=product/P0672160801OMX000XSISWSL000.FIT set=product/P0672160801OMX000XSIMAGL000.FIT \
srclistset=product/P0672160801OMX000XSISWSL000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:57] ** omqualitymap: warning (parameter), srclistset = product/P0672160801OMX000XSISWSL000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0672160801OMX000XSISWSL000.FIT will be overwritten 
# # [INFO] [2024-11-30T23:55:57] Task Run Time omqualitymap 0.0565540790557861s
#
# # [INFO] [2024-11-30T23:55:57] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0672160801OMX000XSIMAGL000.FIT\
#     --outfile=product/P0672160801OMX000XSIMAGL000.PNG
# [COMMAND] [2024-11-30T23:55:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:57]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:55:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:55:57]
implot.py --fitsImage=product/P0672160801OMX000XSIMAGL000.FIT --outfile=product/P0672160801OMX000XSIMAGL000.PNG
# # [OUTPUT] [2024-11-30T23:56:00] Image shape. y,x: (524, 502) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (523, 501) x/y ratio: 0.96 
# # [INFO] [2024-11-30T23:56:00] Task Run Time implot.py 2.63635802268982s
#
# # [INFO] [2024-11-30T23:56:00] Done: ALL
# # [INFO] [2024-11-30T23:56:00] Module name: OMSourceCombine
# # [INFO] [2024-11-30T23:56:00] Instrument: om
# # [INFO] [2024-11-30T23:56:00] Stream no.: 0001
# # [INFO] [2024-11-30T23:56:00] Module version number: 3.9
# # [INFO] [2024-11-30T23:56:00] Looking For Source Lists to Combine...
# # [INFO] [2024-11-30T23:56:00] DEBUG: file: intermediate/OMImageAnalyse-om-1-OM_SRC_IMAGE_DETAILS-S00400000000000.ascii
# # [INFO] [2024-11-30T23:56:00] DEBUG: line product/P0672160801OMS004SWSRLI0000.FIT|USER|L
# # [INFO] [2024-11-30T23:56:00] DEBUG: split to tmp: $VAR1 = [
# 'product/P0672160801OMS004SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:56:00] DEBUG: file: intermediate/OMImageAnalyse-om-2-OM_SRC_IMAGE_DETAILS-S00500000000000.ascii
# # [INFO] [2024-11-30T23:56:00] DEBUG: line product/P0672160801OMS005SWSRLI0000.FIT|USER|L
# # [INFO] [2024-11-30T23:56:00] DEBUG: split to tmp: $VAR1 = [
# 'product/P0672160801OMS005SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:56:00] DEBUG: file: intermediate/OMImageAnalyse-om-3-OM_SRC_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:56:00] DEBUG: line product/P0672160801OMS006SWSRLI0000.FIT|USER|L
# # [INFO] [2024-11-30T23:56:00] DEBUG: split to tmp: $VAR1 = [
# 'product/P0672160801OMS006SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:56:00] DEBUG: SrcLstDetails: $VAR1 = [
# [
# 'product/P0672160801OMS004SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0672160801OMS005SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0672160801OMS006SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]
# ]; 
# # [INFO] [2024-11-30T23:56:00] Found 3 Lists
# # [INFO] [2024-11-30T23:56:00] Grouping Lists by Mode then Filter
# # [INFO] [2024-11-30T23:56:00] DEBUG: SortedSrcLstDetails: $VAR1 = [
# [
# 'product/P0672160801OMS004SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0672160801OMS005SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0672160801OMS006SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]
# ]; 
# # [INFO] [2024-11-30T23:56:00] Mode: USER
# # [INFO] [2024-11-30T23:56:00] DEBUG: Src: ARRAY(0x698b188)
# # [INFO] [2024-11-30T23:56:00] DEBUG: mode_p: 1
# # [INFO] [2024-11-30T23:56:00] DEBUG: SSrc[modep]: USER
# # [INFO] [2024-11-30T23:56:00] DEBUG: SSrc[filterp]: L
# # [INFO] [2024-11-30T23:56:00] Filter: L
# # [INFO] [2024-11-30T23:56:00] Image File : product/P0672160801OMS004SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:56:00] Image File : product/P0672160801OMS005SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:56:00] Image File : product/P0672160801OMS006SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:56:00] Creating Combined Lists...
# # [INFO] [2024-11-30T23:56:00] MODE: USER
# # [INFO] [2024-11-30T23:56:00] FILTER: L
# # [INFO] [2024-11-30T23:56:00] Done: USER
# # [INFO] [2024-11-30T23:56:00] CREATING: product/P0672160801OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:56:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:00]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:56:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:56:00]
omsrclistcomb catfile=product/P0672160801OBX000REFCAT0000.FIT outset=product/P0672160801OMX000OBSMLI0000.FIT \
sourcelistsets="product/P0672160801OMS004SWSRLI0000.FIT product/P0672160801OMS005SWSRLI0000.FIT \
product/P0672160801OMS006SWSRLI0000.FIT" usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:56:01]
# # [INFO] [2024-11-30T23:56:01] Task Run Time omsrclistcomb 0.770224094390869s
#
# # [INFO] [2024-11-30T23:56:01] reading file intermediate/OMMosaic-om-1-MOSAIC_SOURCE_LISTS-X00000000000000.ascii
# # [INFO] [2024-11-30T23:56:01] CREATING: product/P0672160801OMX000OBSMOS0000.FIT
# [COMMAND] [2024-11-30T23:56:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:01]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:56:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:56:01]
omsrclistcomb catfile=product/P0672160801OBX000REFCAT0000.FIT outset=product/P0672160801OMX000OBSMOS0000.FIT \
sourcelistsets=product/P0672160801OMX000XSISWSL000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:56:02]
# # [INFO] [2024-11-30T23:56:02] Task Run Time omsrclistcomb 0.977329969406128s
#
# [COMMAND] [2024-11-30T23:56:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:02]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:56:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:56:02]
ommergelists maxrawrate=5 outset=intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits \
srclist1=product/P0672160801OMX000OBSMLI0000.FIT srclist2=product/P0672160801OMX000OBSMOS0000.FIT tolerance=2 -w 10
# # [OUTPUT] [2024-11-30T23:56:02]
# # [INFO] [2024-11-30T23:56:02] Task Run Time ommergelists 0.114234924316406s
#
# # [INFO] [2024-11-30T23:56:02] DEBUG Copy intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits to\
#     product/P0672160801OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:56:02]
cp /scratch/226687.1.all.q/xmm/ppsprod/229833/intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits \
/scratch/226687.1.all.q/xmm/ppsprod/229833/product/P0672160801OMX000OBSMLI0000.FIT
# # [INFO] [2024-11-30T23:56:02] System RV 0
# [COMMAND] [2024-11-30T23:56:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:02]
export SAS_RAND_SEED=0672160801
# # [INFO] [2024-11-30T23:56:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0672160801
# [COMMAND] [2024-11-30T23:56:02]
omregion bkginner=1.2 bkgouter=1.8 nfwhm=3 set=intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits \
srcfile=product/P0672160801OMX000OBSMLI0000.ASC srcnumber=1 srcradius=3 -w 10
# # [OUTPUT] [2024-11-30T23:56:02]
# # [INFO] [2024-11-30T23:56:02] Task Run Time omregion 0.0346689224243164s
#
