
#!/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:38:29] Module name: VerifyODF
# # [INFO] [2024-11-30T23:38:29] Instrument: all
# # [INFO] [2024-11-30T23:38:29] Stream no.: 0001
# # [INFO] [2024-11-30T23:38:29] Module version number: 1.18
# # [INFO] [2024-11-30T23:38:29] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:38:29] Module name: MakeCIF
# # [INFO] [2024-11-30T23:38:29] Instrument: all
# # [INFO] [2024-11-30T23:38:29] Stream no.: 0001
# # [INFO] [2024-11-30T23:38:29] Module version number: 1.23
# # [INFO] [2024-11-30T23:38:29] Observation start defined as >2006-05-02T22:40:03.000<
# # [INFO] [2024-11-30T23:38:29] Processing date defined as >2024-12-01T00:38:28<
# [COMMAND] [2024-11-30T23:38:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:38:29]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:38:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:38:29]
cifbuild analysisdate=2024-12-01T00:38:28 calindexset=product/P0400360401OBX000CALIND0000.FIT fullpath=no \
observationdate=2006-05-02T22:40:03.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:38:56]
# # [INFO] [2024-11-30T23:38:56] Task Run Time cifbuild 27.5447170734406s
#
# [COMMAND] [2024-11-30T23:38:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:38:56]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:38:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:38:56]
addattribute attributecomment="\"Telescope (mission) name\" \"Observation mode (pointing or slew)\" \"Name of PI\" \"Date \
observations ended\" \"Observation identifier\" \"Date observations were made\" \"Name of observed object\" \"RA of instrument \
pointing (degrees)\" \"DEC of instrument pointing\"" attributename="TELESCOP OBS_MODE OBSERVER DATE-END OBS_ID DATE-OBS OBJECT \
RA_PNT DEC_PNT" attributetype="string string string string string string string real real" realvalue="\"233.9679165\" \
\"57.9025000\"" set=product/P0400360401OBX000CALIND0000.FIT stringvalue="\"XMM\" \"POINTED\" \"Dr Giovanni Miniutti\" \
\"2006-05-03T01:12:13.000\" \"0400360401\" \"2006-05-02T22:40:03.000\" \"Mrk 290\"" -w 10
# # [OUTPUT] [2024-11-30T23:38:56]
# # [INFO] [2024-11-30T23:38:56] Task Run Time addattribute 0.0631558895111084s
#
# [COMMAND] [2024-11-30T23:38:56]
cp /scratch/225570.1.all.q/xmm/ppsprod/228715/product/P0400360401OBX000CALIND0000.FIT \
/scratch/225570.1.all.q/xmm/ppsprod/228715/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:38:56] System RV 0
# # [INFO] [2024-11-30T23:38:56] Module name: GlobalHK
# # [INFO] [2024-11-30T23:38:56] Instrument: all
# # [INFO] [2024-11-30T23:38:56] Stream no.: 0001
# # [INFO] [2024-11-30T23:38:56] Module version number: 1.81
# [COMMAND] [2024-11-30T23:38:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:38:56]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:38:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:38:56]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:38:57]
# # [INFO] [2024-11-30T23:38:57] Task Run Time preqgti 0.392905950546265s
#
# [COMMAND] [2024-11-30T23:38:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:38:57]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:38:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:38:57]
atthkgen atthkset=product/P0400360401OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:38:57]
# # [INFO] [2024-11-30T23:38:57] Task Run Time atthkgen 0.309037208557129s
#
# [COMMAND] [2024-11-30T23:38:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:38:57]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:38:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:38:57]
orbit outfile=product/P0400360401OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:38:58] orbit:- Output FITS Orbit timeseries: product/P0400360401OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:38:58] Task Run Time orbit 0.473351001739502s
#
# [COMMAND] [2024-11-30T23:38:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:38:58]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:38:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:38:58]
radmonfix output=product/P0400360401OBX000RADMON0000.FIT radmonlist=odf/1171_0400360401_RMX00100ECX.FIT withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:38:58] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=184232257.9 which\
#     is outside the time correlation data abscissa range [184232955.7, 184243828.9] - result of extrapolation might be afflicted\
#     with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=184232261.9 which is outside the time correlation\
#     data abscissa range [184232955.7, 184243828.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=184232265.9 which is outside the time correlation\
#     data abscissa range [184232955.7, 184243828.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=184232269.9 which is outside the time correlation\
#     data abscissa range [184232955.7, 184243828.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=184232273.9 which is outside the time correlation\
#     data abscissa range [184232955.7, 184243828.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=184232277.9 which is outside the time correlation\
#     data abscissa range [184232955.7, 184243828.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=184232281.9 which is outside the time correlation\
#     data abscissa range [184232955.7, 184243828.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=184232285.9 which is outside the time correlation\
#     data abscissa range [184232955.7, 184243828.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=184232289.9 which is outside the time correlation\
#     data abscissa range [184232955.7, 184243828.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=184232293.9 which is outside the time correlation\
#     data abscissa range [184232955.7, 184243828.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 158 times 
# # [INFO] [2024-11-30T23:38:58] Task Run Time radmonfix 0.184357881546021s
#
# [COMMAND] [2024-11-30T23:38:58]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/225570.1.all.q/xmm/ppsprod/228715/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:38:58] System RV 0
# # [INFO] [2024-11-30T23:38:58] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:38:58]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/225570.1.all.q/xmm/ppsprod/228715/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:38:58] System RV 0
# [COMMAND] [2024-11-30T23:38:58]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/225570.1.all.q/xmm/ppsprod/228715/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:38:58] System RV 0
# [COMMAND] [2024-11-30T23:38:58]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/225570.1.all.q/xmm/ppsprod/228715/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:38:58] System RV 0
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: emos1
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0001
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure S003 for processability
# # [INFO] [2024-11-30T23:38:58] Filter: CalClosed
# # [INFO] [2024-11-30T23:38:58] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:38:58] Exposure duration: 8972
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: emos2
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0001
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure S004 for processability
# # [INFO] [2024-11-30T23:38:58] Filter: CalClosed
# # [INFO] [2024-11-30T23:38:58] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:38:58] Exposure duration: 8981
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0001
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure S005 for processability
# # [INFO] [2024-11-30T23:38:58] Filter: CalClosed
# # [INFO] [2024-11-30T23:38:58] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:38:58] Exposure duration: 7338
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0002
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure U002 for processability
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0003
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure U003 for processability
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0004
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure U004 for processability
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0005
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure U005 for processability
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0006
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure U006 for processability
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0007
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure U007 for processability
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0008
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure U008 for processability
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0009
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure U009 for processability
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0010
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure U010 for processability
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0011
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure U011 for processability
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0012
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure U012 for processability
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0013
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure U013 for processability
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: epn
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0014
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure U401 for processability
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: om
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0001
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure S006 for processability
# # [INFO] [2024-11-30T23:38:58] Filter: UVW1
# # [INFO] [2024-11-30T23:38:58] Instrument mode: Image
# # [INFO] [2024-11-30T23:38:58] Exposure duration: 1461
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: om
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0002
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure S400 for processability
# # [INFO] [2024-11-30T23:38:58] Filter: UVW1
# # [INFO] [2024-11-30T23:38:58] Instrument mode: UNDEFINED
# # [INFO] [2024-11-30T23:38:58] Exposure duration: 1461
# # [INFO] [2024-11-30T23:38:58] OM datamode=
# # [INFO] [2024-11-30T23:38:58] Exposure ignored due to invalid or unsupported instrument mode
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: om
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0003
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure S401 for processability
# # [INFO] [2024-11-30T23:38:58] Filter: UVW1
# # [INFO] [2024-11-30T23:38:58] Instrument mode: Image
# # [INFO] [2024-11-30T23:38:58] Exposure duration: 1458
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: om
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0004
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure S402 for processability
# # [INFO] [2024-11-30T23:38:58] Filter: UVW1
# # [INFO] [2024-11-30T23:38:58] Instrument mode: Image
# # [INFO] [2024-11-30T23:38:58] Exposure duration: 1460
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: om
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0005
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure S403 for processability
# # [INFO] [2024-11-30T23:38:58] Filter: UVW1
# # [INFO] [2024-11-30T23:38:58] Instrument mode: Image
# # [INFO] [2024-11-30T23:38:58] Exposure duration: 1461
# # [INFO] [2024-11-30T23:38:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:38:58] Instrument: om
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0006
# # [INFO] [2024-11-30T23:38:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:38:58] Checking exposure S404 for processability
# # [INFO] [2024-11-30T23:38:58] Filter: UVW1
# # [INFO] [2024-11-30T23:38:58] Instrument mode: Image
# # [INFO] [2024-11-30T23:38:58] Exposure duration: 1461
# # [INFO] [2024-11-30T23:38:58] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:38:58] Instrument: om
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0001
# # [INFO] [2024-11-30T23:38:58] Module version number: 2.01
# # [INFO] [2024-11-30T23:38:58] Module name: USNOExtract
# # [INFO] [2024-11-30T23:38:58] Instrument: all
# # [INFO] [2024-11-30T23:38:58] Stream no.: 0001
# # [INFO] [2024-11-30T23:38:58] Module version number: 0.07
# [COMMAND] [2024-11-30T23:38:58]
export \
PFILES=/scratch/225570.1.all.q/xmm/ppsprod/228715/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:38:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:38:58]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:38:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:38:58]
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:38:58] Written the output image ......... 
# # [INFO] [2024-11-30T23:38:58] Task Run Time fimgcreate 0.0290858745574951s
#
# [COMMAND] [2024-11-30T23:38:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:38:58]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:38:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:38:58]
catprep catextract=intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
srclistset=product/P0400360401OBX000CALIND0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:38:59]
# # [INFO] [2024-11-30T23:38:59] Task Run Time catprep 0.737650871276855s
#
# [COMMAND] [2024-11-30T23:38:59]
cp /scratch/225570.1.all.q/xmm/ppsprod/228715/intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
/scratch/225570.1.all.q/xmm/ppsprod/228715/product/P0400360401OBX000REFCAT0000.FIT
# # [INFO] [2024-11-30T23:38:59] System RV 0
# # [INFO] [2024-11-30T23:38:59] Reading keyword DEC_OBJ value 5.79025000000000E+01 comment [deg] Dec of the observed object
# # [INFO] [2024-11-30T23:38:59] Reading keyword OBS_ID value 0400360401 comment Observation identifier
# # [INFO] [2024-11-30T23:38:59] Reading keyword DATE-OBS value 2006-05-02T22:40:03.000 comment Date observations were made
# # [INFO] [2024-11-30T23:38:59] Reading keyword TELESCOP value XMM comment Telescope (mission) name
# # [INFO] [2024-11-30T23:38:59] Reading keyword RA_OBJ value 2.33967916500000E+02 comment [deg] Ra of the observed object
# # [INFO] [2024-11-30T23:38:59] Reading keyword DATE-END value 2006-05-03T01:12:13.000 comment Date observations ended
# # [INFO] [2024-11-30T23:38:59] Reading keyword OBS_MODE value POINTING comment Observation mode (pointing or slew)
# [COMMAND] [2024-11-30T23:38:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:38:59]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:38:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:38:59]
addattribute attributecomment="\"[deg] Dec of the observed object\" \"Observation identifier\" \"Date observations were made\" \
\"Telescope (mission) name\" \"[deg] Ra of the observed object\" \"Date observations ended\" \"Observation mode (pointing or \
slew)\"" attributename="DEC_OBJ OBS_ID DATE-OBS TELESCOP RA_OBJ DATE-END OBS_MODE" attributetype="\"real\" \"string\" \"string\" \
\"string\" \"real\" \"string\" \"string\"" realvalue="5.79025000000000E+01 2.33967916500000E+02" \
set=product/P0400360401OBX000REFCAT0000.FIT stringvalue="0400360401 2006-05-02T22:40:03.000 XMM 2006-05-03T01:12:13.000 POINTING" -w \
10
# # [OUTPUT] [2024-11-30T23:38:59] ** addattribute: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in\
#     dataset with name 'product/P0400360401OBX000REFCAT0000.FIT'
# ** addattribute: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name\
#     'product/P0400360401OBX000REFCAT0000.FIT' 
# # [INFO] [2024-11-30T23:38:59] Task Run Time addattribute 0.0511820316314697s
#
# # [INFO] [2024-11-30T23:38:59] Module name: OMgetFlat
# # [INFO] [2024-11-30T23:38:59] Instrument: om
# # [INFO] [2024-11-30T23:38:59] Stream no.: 0001
# # [INFO] [2024-11-30T23:38:59] Module version number: 1.07
# [COMMAND] [2024-11-30T23:38:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:38:59]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:38:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:38:59]
omflatgen outset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:38:59] ** omflatgen: warning (ArgumentIgnored), Warning: countRateFrameRatio argument in small-scale\
#     flatfield retrieval currently ignored 
# # [INFO] [2024-11-30T23:38:59] Task Run Time omflatgen 0.168547868728638s
#
# # [INFO] [2024-11-30T23:38:59] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:38:59] Instrument: om
# # [INFO] [2024-11-30T23:38:59] Stream no.: 0003
# # [INFO] [2024-11-30T23:38:59] Module version number: 1.06
# [COMMAND] [2024-11-30T23:38:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:38:59]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:38:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:38:59]
omprep modeset=3 nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S40100000000000.fits pehset=odf/1171_0400360401_OMX00000PEH.FIT \
set=odf/1171_0400360401_OMS40100THX.FIT wdxset=odf/1171_0400360401_OMS40100WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:00]
# # [INFO] [2024-11-30T23:39:00] Task Run Time omprep 0.121511936187744s
#
# [COMMAND] [2024-11-30T23:39:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:00]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:00]
omthconv nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-3-OM_TRACKING_STAR_TIMESERIES-S40100000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S40100000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:00]
# # [INFO] [2024-11-30T23:39:00] Task Run Time omthconv 0.161870956420898s
#
# [COMMAND] [2024-11-30T23:39:00]
cp /scratch/225570.1.all.q/xmm/ppsprod/228715/intermediate/OMExpAnalyse-om-3-OM_TRACKING_STAR_TIMESERIES-S40100000000000.fits \
/scratch/225570.1.all.q/xmm/ppsprod/228715/product/P0400360401OMS401TSTRTS0000.FIT
# # [INFO] [2024-11-30T23:39:00] System RV 0
# [COMMAND] [2024-11-30T23:39:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:00]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:00]
omdrifthist plotfile=intermediate/OMExpAnalyse-om-3-OM_TRACKING_HISTORY_PLOT-S40100000000000.ps \
set=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S40100000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:00]
# # [INFO] [2024-11-30T23:39:00] Task Run Time omdrifthist 0.62062406539917s
#
# [COMMAND] [2024-11-30T23:39:00]
pstopdf intermediate/OMExpAnalyse-om-3-OM_TRACKING_HISTORY_PLOT-S40100000000000.ps product/P0400360401OMS401TSHPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:39:01]
# # [INFO] [2024-11-30T23:39:01] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:39:01] Instrument: om
# # [INFO] [2024-11-30T23:39:01] Stream no.: 0004
# # [INFO] [2024-11-30T23:39:01] Module version number: 1.06
# [COMMAND] [2024-11-30T23:39:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:01]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:01]
omprep modeset=3 nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S40200000000000.fits pehset=odf/1171_0400360401_OMX00000PEH.FIT \
set=odf/1171_0400360401_OMS40200THX.FIT wdxset=odf/1171_0400360401_OMS40200WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:01]
# # [INFO] [2024-11-30T23:39:01] Task Run Time omprep 0.201601028442383s
#
# [COMMAND] [2024-11-30T23:39:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:01]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:01]
omthconv nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-4-OM_TRACKING_STAR_TIMESERIES-S40200000000000.fits \
thxset=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S40200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:01]
# # [INFO] [2024-11-30T23:39:01] Task Run Time omthconv 0.134894132614136s
#
# [COMMAND] [2024-11-30T23:39:01]
cp /scratch/225570.1.all.q/xmm/ppsprod/228715/intermediate/OMExpAnalyse-om-4-OM_TRACKING_STAR_TIMESERIES-S40200000000000.fits \
/scratch/225570.1.all.q/xmm/ppsprod/228715/product/P0400360401OMS402TSTRTS0000.FIT
# # [INFO] [2024-11-30T23:39:01] System RV 0
# [COMMAND] [2024-11-30T23:39:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:01]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:01]
omdrifthist plotfile=intermediate/OMExpAnalyse-om-4-OM_TRACKING_HISTORY_PLOT-S40200000000000.ps \
set=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S40200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:02]
# # [INFO] [2024-11-30T23:39:02] Task Run Time omdrifthist 0.572976112365723s
#
# [COMMAND] [2024-11-30T23:39:02]
pstopdf intermediate/OMExpAnalyse-om-4-OM_TRACKING_HISTORY_PLOT-S40200000000000.ps product/P0400360401OMS402TSHPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:39:02]
# # [INFO] [2024-11-30T23:39:02] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:39:02] Instrument: om
# # [INFO] [2024-11-30T23:39:02] Stream no.: 0005
# # [INFO] [2024-11-30T23:39:02] Module version number: 1.06
# [COMMAND] [2024-11-30T23:39:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:02]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:02]
omprep modeset=3 nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S40300000000000.fits pehset=odf/1171_0400360401_OMX00000PEH.FIT \
set=odf/1171_0400360401_OMS40300THX.FIT wdxset=odf/1171_0400360401_OMS40300WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:02]
# # [INFO] [2024-11-30T23:39:02] Task Run Time omprep 0.127640008926392s
#
# [COMMAND] [2024-11-30T23:39:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:02]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:02]
omthconv nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-5-OM_TRACKING_STAR_TIMESERIES-S40300000000000.fits \
thxset=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S40300000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:02]
# # [INFO] [2024-11-30T23:39:02] Task Run Time omthconv 0.123967170715332s
#
# [COMMAND] [2024-11-30T23:39:02]
cp /scratch/225570.1.all.q/xmm/ppsprod/228715/intermediate/OMExpAnalyse-om-5-OM_TRACKING_STAR_TIMESERIES-S40300000000000.fits \
/scratch/225570.1.all.q/xmm/ppsprod/228715/product/P0400360401OMS403TSTRTS0000.FIT
# # [INFO] [2024-11-30T23:39:02] System RV 0
# [COMMAND] [2024-11-30T23:39:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:02]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:02]
omdrifthist plotfile=intermediate/OMExpAnalyse-om-5-OM_TRACKING_HISTORY_PLOT-S40300000000000.ps \
set=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S40300000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:03]
# # [INFO] [2024-11-30T23:39:03] Task Run Time omdrifthist 0.582072019577026s
#
# [COMMAND] [2024-11-30T23:39:03]
pstopdf intermediate/OMExpAnalyse-om-5-OM_TRACKING_HISTORY_PLOT-S40300000000000.ps product/P0400360401OMS403TSHPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:39:03]
# # [INFO] [2024-11-30T23:39:03] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:39:03] Instrument: om
# # [INFO] [2024-11-30T23:39:03] Stream no.: 0006
# # [INFO] [2024-11-30T23:39:03] Module version number: 1.06
# [COMMAND] [2024-11-30T23:39:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:03]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:03]
omprep modeset=3 nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S40400000000000.fits pehset=odf/1171_0400360401_OMX00000PEH.FIT \
set=odf/1171_0400360401_OMS40400THX.FIT wdxset=odf/1171_0400360401_OMS40400WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:03]
# # [INFO] [2024-11-30T23:39:03] Task Run Time omprep 0.199581146240234s
#
# [COMMAND] [2024-11-30T23:39:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:03]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:03]
omthconv nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-6-OM_TRACKING_STAR_TIMESERIES-S40400000000000.fits \
thxset=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S40400000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:03]
# # [INFO] [2024-11-30T23:39:03] Task Run Time omthconv 0.147429943084717s
#
# [COMMAND] [2024-11-30T23:39:03]
cp /scratch/225570.1.all.q/xmm/ppsprod/228715/intermediate/OMExpAnalyse-om-6-OM_TRACKING_STAR_TIMESERIES-S40400000000000.fits \
/scratch/225570.1.all.q/xmm/ppsprod/228715/product/P0400360401OMS404TSTRTS0000.FIT
# # [INFO] [2024-11-30T23:39:03] System RV 0
# [COMMAND] [2024-11-30T23:39:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:03]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:03]
omdrifthist plotfile=intermediate/OMExpAnalyse-om-6-OM_TRACKING_HISTORY_PLOT-S40400000000000.ps \
set=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S40400000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:04]
# # [INFO] [2024-11-30T23:39:04] Task Run Time omdrifthist 0.52072811126709s
#
# [COMMAND] [2024-11-30T23:39:04]
pstopdf intermediate/OMExpAnalyse-om-6-OM_TRACKING_HISTORY_PLOT-S40400000000000.ps product/P0400360401OMS404TSHPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:39:04]
# # [INFO] [2024-11-30T23:39:04] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:39:04] Instrument: om
# # [INFO] [2024-11-30T23:39:04] Stream no.: 0001
# # [INFO] [2024-11-30T23:39:04] Module version number: 1.06
# [COMMAND] [2024-11-30T23:39:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:04]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:04]
omprep modeset=3 nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits pehset=odf/1171_0400360401_OMX00000PEH.FIT \
set=odf/1171_0400360401_OMS00600THX.FIT wdxset=odf/1171_0400360401_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:04]
# # [INFO] [2024-11-30T23:39:04] Task Run Time omprep 0.11749005317688s
#
# [COMMAND] [2024-11-30T23:39:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:04]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:04]
omthconv nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-1-OM_TRACKING_STAR_TIMESERIES-S00600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:04]
# # [INFO] [2024-11-30T23:39:04] Task Run Time omthconv 0.152138948440552s
#
# [COMMAND] [2024-11-30T23:39:04]
cp /scratch/225570.1.all.q/xmm/ppsprod/228715/intermediate/OMExpAnalyse-om-1-OM_TRACKING_STAR_TIMESERIES-S00600000000000.fits \
/scratch/225570.1.all.q/xmm/ppsprod/228715/product/P0400360401OMS006TSTRTS0000.FIT
# # [INFO] [2024-11-30T23:39:04] System RV 0
# [COMMAND] [2024-11-30T23:39:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:04]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:04]
omdrifthist plotfile=intermediate/OMExpAnalyse-om-1-OM_TRACKING_HISTORY_PLOT-S00600000000000.ps \
set=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:05]
# # [INFO] [2024-11-30T23:39:05] Task Run Time omdrifthist 0.538090944290161s
#
# [COMMAND] [2024-11-30T23:39:05]
pstopdf intermediate/OMExpAnalyse-om-1-OM_TRACKING_HISTORY_PLOT-S00600000000000.ps product/P0400360401OMS006TSHPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:39:05]
# # [INFO] [2024-11-30T23:39:05] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:39:05] Instrument: om
# # [INFO] [2024-11-30T23:39:05] Stream no.: 0001
# # [INFO] [2024-11-30T23:39:05] Module version number: 1.36
# # [INFO] [2024-11-30T23:39:05] DEBUG --- exp_id: S006, filter: UVW1
# # [INFO] [2024-11-30T23:39:05] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:39:05] Processing OSW 1
# # [INFO] [2024-11-30T23:39:05] Start omprep
# [COMMAND] [2024-11-30T23:39:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:05]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:05]
omprep modeset=1 nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600010000000.fits pehset=odf/1171_0400360401_OMX00000PEH.FIT \
set=odf/1171_0400360401_OMS00601FAE.FIT wdxset=odf/1171_0400360401_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:05]
# # [INFO] [2024-11-30T23:39:05] Task Run Time omprep 0.23010516166687s
#
# # [INFO] [2024-11-30T23:39:05] Start evselect(1)
# [COMMAND] [2024-11-30T23:39:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:05]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:05]
evselect imageset=intermediate/OMFastAnalyse-om-1-Fast_Mode_Raw_Image-S00600010000000.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:39:05] ** 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:39:05] Task Run Time evselect 0.0573368072509766s
#
# # [INFO] [2024-11-30T23:39:05] Start omfastshift
# [COMMAND] [2024-11-30T23:39:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:05]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:05]
omfastshift nphset=odf/1171_0400360401_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600010000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:05]
# # [INFO] [2024-11-30T23:39:05] Task Run Time omfastshift 0.0556130409240723s
#
# # [INFO] [2024-11-30T23:39:05] Start omfastflat
# [COMMAND] [2024-11-30T23:39:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:05]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:05]
omfastflat fastimgset=product/P0400360401OMS006IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-1-OM_OSW_Flat_Field-S00600010000000.fits \
set=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:05]
# # [INFO] [2024-11-30T23:39:05] Task Run Time omfastflat 0.243490934371948s
#
# # [INFO] [2024-11-30T23:39:05] Start omdetect
# [COMMAND] [2024-11-30T23:39:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:05]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:05]
omdetect nsigma=3 outset=product/P0400360401OMS006SFSRLI1000.FIT regionfile=product/P0400360401OMS006SFSREG1000.ASC \
set=product/P0400360401OMS006IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:06]
# # [INFO] [2024-11-30T23:39:06] Task Run Time omdetect 0.818833112716675s
#
# # [INFO] [2024-11-30T23:39:06] Start omatt
# [COMMAND] [2024-11-30T23:39:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:06]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:06]
omatt ppsoswset=product/P0400360401OMS006SIMAGF1000.FIT set=product/P0400360401OMS006IMAGEF1000.FIT \
sourcelistset=product/P0400360401OMS006SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:39:07]
# # [INFO] [2024-11-30T23:39:07] Task Run Time omatt 0.537991046905518s
#
# # [INFO] [2024-11-30T23:39:07] Sky image found 
# # [INFO] [2024-11-30T23:39:07] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS006SIMAGF1000.FIT\
#     --outfile=product/P0400360401OMS006SIMAGF1000.PNG --srclisttab=product/P0400360401OMS006SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:39:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:07]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:07]
implot.py --fitsImage=product/P0400360401OMS006SIMAGF1000.FIT --outfile=product/P0400360401OMS006SIMAGF1000.PNG \
--srclisttab=product/P0400360401OMS006SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:39:10] Image shape. y,x: (27, 28) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (26, 27) x/y ratio: 1.04
# Plotting source regions from product/P0400360401OMS006SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:39:10] Task Run Time implot.py 2.83480381965637s
#
# # [INFO] [2024-11-30T23:39:10] implot has created PNG with src list
# # [INFO] [2024-11-30T23:39:10] Per-Source Processing
# # [INFO] [2024-11-30T23:39:10] Number of sources from region file product/P0400360401OMS006SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:39:10] Sources in sourcelist product/P0400360401OMS006SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:39:10] Source Number : 1
# # [INFO] [2024-11-30T23:39:10] Start omregion
# [COMMAND] [2024-11-30T23:39:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:10]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:10]
omregion bkgfile=intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0400360401OMS006SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:39:10]
# # [INFO] [2024-11-30T23:39:10] Task Run Time omregion 0.0605390071868896s
#
# # [INFO] [2024-11-30T23:39:10] Sampling timebinsize of product/P0400360401OMS006IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:39:10] Start evselect (2)
# # [INFO] [2024-11-30T23:39:10] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:39:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:10]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:10]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600010000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-1-OM_Source_Rates_File-S00600010000001.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:39:10] ** 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:39:10] Task Run Time evselect 0.0607571601867676s
#
# # [INFO] [2024-11-30T23:39:10] Start evselect (3)
# [COMMAND] [2024-11-30T23:39:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:10]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:10]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600010000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-1-OM_Background_Rates_File-S00600010000001.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:39:10] ** 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:39:10] Task Run Time evselect 0.117216110229492s
#
# # [INFO] [2024-11-30T23:39:10] Start omlcbuild
# # [INFO] [2024-11-30T23:39:10] Imaging mode image for determining background S006:odf/1171_0400360401_OMS00600IMI.FIT
# [COMMAND] [2024-11-30T23:39:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:10]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:10]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-1-OM_Background_Rates_File-S00600010000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600010000001.fits \
imageset=odf/1171_0400360401_OMS00600IMI.FIT outset=product/P0400360401OMS006TIMESR1001.FIT \
sourcelistset=product/P0400360401OMS006SFSRLI1000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-1-OM_Source_Rates_File-S00600010000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600010000001.fits wdxset=odf/1171_0400360401_OMS00600WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:39:16]
# TDP corr factor is: 1.08170080 
# # [INFO] [2024-11-30T23:39:16] Task Run Time omlcbuild 6.24955415725708s
#
# # [INFO] [2024-11-30T23:39:16] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0400360401OMS006TIMESR1001.FIT
# # [INFO] [2024-11-30T23:39:16] DEBUG ++ TIMESR file product/P0400360401OMS006TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:39:16] Start lcplot
# [COMMAND] [2024-11-30T23:39:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:16]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:16]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S00600010000001.ps \
set=product/P0400360401OMS006TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:39:19] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:39:19] Task Run Time lcplot 2.56768202781677s
#
# # [INFO] [2024-11-30T23:39:19] Start PStoPDF
# [COMMAND] [2024-11-30T23:39:19]
pstopdf intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S00600010000001.ps product/P0400360401OMS006TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:39:19]
# # [INFO] [2024-11-30T23:39:19] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:39:19] Instrument: om
# # [INFO] [2024-11-30T23:39:19] Stream no.: 0003
# # [INFO] [2024-11-30T23:39:19] Module version number: 1.36
# # [INFO] [2024-11-30T23:39:19] DEBUG --- exp_id: S401, filter: UVW1
# # [INFO] [2024-11-30T23:39:19] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:39:19] Processing OSW 1
# # [INFO] [2024-11-30T23:39:19] Start omprep
# [COMMAND] [2024-11-30T23:39:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:19]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:19]
omprep modeset=1 nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S40100010000000.fits pehset=odf/1171_0400360401_OMX00000PEH.FIT \
set=odf/1171_0400360401_OMS40101FAE.FIT wdxset=odf/1171_0400360401_OMS40100WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:19]
# # [INFO] [2024-11-30T23:39:19] Task Run Time omprep 0.200253009796143s
#
# # [INFO] [2024-11-30T23:39:19] Start evselect(1)
# [COMMAND] [2024-11-30T23:39:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:19]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:19]
evselect imageset=intermediate/OMFastAnalyse-om-3-Fast_Mode_Raw_Image-S40100010000000.fits \
table=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S40100010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:39:19] ** 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:39:19] Task Run Time evselect 0.0496439933776855s
#
# # [INFO] [2024-11-30T23:39:19] Start omfastshift
# [COMMAND] [2024-11-30T23:39:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:19]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:19]
omfastshift nphset=odf/1171_0400360401_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S40100010000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S40100000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:19]
# # [INFO] [2024-11-30T23:39:19] Task Run Time omfastshift 0.103147029876709s
#
# # [INFO] [2024-11-30T23:39:19] Start omfastflat
# [COMMAND] [2024-11-30T23:39:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:19]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:19]
omfastflat fastimgset=product/P0400360401OMS401IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-3-OM_OSW_Flat_Field-S40100010000000.fits \
set=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S40100010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:19]
# # [INFO] [2024-11-30T23:39:19] Task Run Time omfastflat 0.257927894592285s
#
# # [INFO] [2024-11-30T23:39:19] Start omdetect
# [COMMAND] [2024-11-30T23:39:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:19]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:19]
omdetect nsigma=3 outset=product/P0400360401OMS401SFSRLI1000.FIT regionfile=product/P0400360401OMS401SFSREG1000.ASC \
set=product/P0400360401OMS401IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:20]
# # [INFO] [2024-11-30T23:39:20] Task Run Time omdetect 0.628141164779663s
#
# # [INFO] [2024-11-30T23:39:20] Start omatt
# [COMMAND] [2024-11-30T23:39:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:20]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:20]
omatt ppsoswset=product/P0400360401OMS401SIMAGF1000.FIT set=product/P0400360401OMS401IMAGEF1000.FIT \
sourcelistset=product/P0400360401OMS401SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:39:21]
# # [INFO] [2024-11-30T23:39:21] Task Run Time omatt 0.678732872009277s
#
# # [INFO] [2024-11-30T23:39:21] Sky image found 
# # [INFO] [2024-11-30T23:39:21] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS401SIMAGF1000.FIT\
#     --outfile=product/P0400360401OMS401SIMAGF1000.PNG --srclisttab=product/P0400360401OMS401SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:39:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:21]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:21]
implot.py --fitsImage=product/P0400360401OMS401SIMAGF1000.FIT --outfile=product/P0400360401OMS401SIMAGF1000.PNG \
--srclisttab=product/P0400360401OMS401SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:39:24] Image shape. y,x: (27, 28) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (26, 27) x/y ratio: 1.04
# Plotting source regions from product/P0400360401OMS401SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:39:24] Task Run Time implot.py 2.87872195243835s
#
# # [INFO] [2024-11-30T23:39:24] implot has created PNG with src list
# # [INFO] [2024-11-30T23:39:24] Per-Source Processing
# # [INFO] [2024-11-30T23:39:24] Number of sources from region file product/P0400360401OMS401SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:39:24] Sources in sourcelist product/P0400360401OMS401SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:39:24] Source Number : 1
# # [INFO] [2024-11-30T23:39:24] Start omregion
# [COMMAND] [2024-11-30T23:39:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:24]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:24]
omregion bkgfile=intermediate/OMFastAnalyse-om-3-OM_Background_Region_File-S40100010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0400360401OMS401SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-3-OM_Source_Region_File-S40100010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:39:24]
# # [INFO] [2024-11-30T23:39:24] Task Run Time omregion 0.0456039905548096s
#
# # [INFO] [2024-11-30T23:39:24] Sampling timebinsize of product/P0400360401OMS401IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:39:24] Start evselect (2)
# # [INFO] [2024-11-30T23:39:24] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:39:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:24]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:24]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-3-OM_Source_Region_File-S40100010000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-3-OM_Source_Rates_File-S40100010000001.fits \
table=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S40100010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:39:24] ** 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:39:24] Task Run Time evselect 0.0583758354187012s
#
# # [INFO] [2024-11-30T23:39:24] Start evselect (3)
# [COMMAND] [2024-11-30T23:39:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:24]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:24]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-3-OM_Background_Region_File-S40100010000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-3-OM_Background_Rates_File-S40100010000001.fits \
table=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S40100010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:39:24] ** 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:39:24] Task Run Time evselect 0.0656778812408447s
#
# # [INFO] [2024-11-30T23:39:24] Start omlcbuild
# # [INFO] [2024-11-30T23:39:24] Imaging mode image for determining background S401:odf/1171_0400360401_OMS40100IMI.FIT
# [COMMAND] [2024-11-30T23:39:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:24]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:24]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-3-OM_Background_Rates_File-S40100010000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-3-OM_Background_Region_File-S40100010000001.fits \
imageset=odf/1171_0400360401_OMS40100IMI.FIT outset=product/P0400360401OMS401TIMESR1001.FIT \
sourcelistset=product/P0400360401OMS401SFSRLI1000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-3-OM_Source_Rates_File-S40100010000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-3-OM_Source_Region_File-S40100010000001.fits wdxset=odf/1171_0400360401_OMS40100WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:39:29]
# TDP corr factor is: 1.08170140 
# # [INFO] [2024-11-30T23:39:29] Task Run Time omlcbuild 5.23277592658997s
#
# # [INFO] [2024-11-30T23:39:29] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0400360401OMS401TIMESR1001.FIT
# # [INFO] [2024-11-30T23:39:29] DEBUG ++ TIMESR file product/P0400360401OMS401TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:39:29] Start lcplot
# [COMMAND] [2024-11-30T23:39:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:29]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:29]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-3-OM_OSW_SOURCE_TIMESERIES-S40100010000001.ps \
set=product/P0400360401OMS401TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:39:32] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:39:32] Task Run Time lcplot 2.69976592063904s
#
# # [INFO] [2024-11-30T23:39:32] Start PStoPDF
# [COMMAND] [2024-11-30T23:39:32]
pstopdf intermediate/OMFastAnalyse-om-3-OM_OSW_SOURCE_TIMESERIES-S40100010000001.ps product/P0400360401OMS401TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:39:32]
# # [INFO] [2024-11-30T23:39:32] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:39:32] Instrument: om
# # [INFO] [2024-11-30T23:39:32] Stream no.: 0004
# # [INFO] [2024-11-30T23:39:32] Module version number: 1.36
# # [INFO] [2024-11-30T23:39:32] DEBUG --- exp_id: S402, filter: UVW1
# # [INFO] [2024-11-30T23:39:32] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:39:32] Processing OSW 1
# # [INFO] [2024-11-30T23:39:32] Start omprep
# [COMMAND] [2024-11-30T23:39:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:32]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:32]
omprep modeset=1 nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-4-PPS_Event_List_File-S40200010000000.fits pehset=odf/1171_0400360401_OMX00000PEH.FIT \
set=odf/1171_0400360401_OMS40201FAE.FIT wdxset=odf/1171_0400360401_OMS40200WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:32]
# # [INFO] [2024-11-30T23:39:32] Task Run Time omprep 0.161339044570923s
#
# # [INFO] [2024-11-30T23:39:32] Start evselect(1)
# [COMMAND] [2024-11-30T23:39:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:32]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:32]
evselect imageset=intermediate/OMFastAnalyse-om-4-Fast_Mode_Raw_Image-S40200010000000.fits \
table=intermediate/OMFastAnalyse-om-4-PPS_Event_List_File-S40200010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:39:32] ** 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:39:32] Task Run Time evselect 0.097815990447998s
#
# # [INFO] [2024-11-30T23:39:32] Start omfastshift
# [COMMAND] [2024-11-30T23:39:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:32]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:32]
omfastshift nphset=odf/1171_0400360401_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-4-PPS_Event_List_File-S40200010000000.fits \
thxset=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S40200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:32]
# # [INFO] [2024-11-30T23:39:32] Task Run Time omfastshift 0.0884380340576172s
#
# # [INFO] [2024-11-30T23:39:32] Start omfastflat
# [COMMAND] [2024-11-30T23:39:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:32]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:32]
omfastflat fastimgset=product/P0400360401OMS402IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-4-OM_OSW_Flat_Field-S40200010000000.fits \
set=intermediate/OMFastAnalyse-om-4-PPS_Event_List_File-S40200010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:32]
# # [INFO] [2024-11-30T23:39:32] Task Run Time omfastflat 0.262984991073608s
#
# # [INFO] [2024-11-30T23:39:32] Start omdetect
# [COMMAND] [2024-11-30T23:39:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:32]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:32]
omdetect nsigma=3 outset=product/P0400360401OMS402SFSRLI1000.FIT regionfile=product/P0400360401OMS402SFSREG1000.ASC \
set=product/P0400360401OMS402IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:33]
# # [INFO] [2024-11-30T23:39:33] Task Run Time omdetect 0.691843032836914s
#
# # [INFO] [2024-11-30T23:39:33] Start omatt
# [COMMAND] [2024-11-30T23:39:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:33]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:33]
omatt ppsoswset=product/P0400360401OMS402SIMAGF1000.FIT set=product/P0400360401OMS402IMAGEF1000.FIT \
sourcelistset=product/P0400360401OMS402SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:39:34]
# # [INFO] [2024-11-30T23:39:34] Task Run Time omatt 0.588050842285156s
#
# # [INFO] [2024-11-30T23:39:34] Sky image found 
# # [INFO] [2024-11-30T23:39:34] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS402SIMAGF1000.FIT\
#     --outfile=product/P0400360401OMS402SIMAGF1000.PNG --srclisttab=product/P0400360401OMS402SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:39:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:34]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:34]
implot.py --fitsImage=product/P0400360401OMS402SIMAGF1000.FIT --outfile=product/P0400360401OMS402SIMAGF1000.PNG \
--srclisttab=product/P0400360401OMS402SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:39:37] Image shape. y,x: (27, 28) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (26, 27) x/y ratio: 1.04
# Plotting source regions from product/P0400360401OMS402SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:39:37] Task Run Time implot.py 2.89363813400269s
#
# # [INFO] [2024-11-30T23:39:37] implot has created PNG with src list
# # [INFO] [2024-11-30T23:39:37] Per-Source Processing
# # [INFO] [2024-11-30T23:39:37] Number of sources from region file product/P0400360401OMS402SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:39:37] Sources in sourcelist product/P0400360401OMS402SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:39:37] Source Number : 1
# # [INFO] [2024-11-30T23:39:37] Start omregion
# [COMMAND] [2024-11-30T23:39:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:37]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:37]
omregion bkgfile=intermediate/OMFastAnalyse-om-4-OM_Background_Region_File-S40200010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0400360401OMS402SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-4-OM_Source_Region_File-S40200010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:39:37]
# # [INFO] [2024-11-30T23:39:37] Task Run Time omregion 0.139539003372192s
#
# # [INFO] [2024-11-30T23:39:37] Sampling timebinsize of product/P0400360401OMS402IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:39:37] Start evselect (2)
# # [INFO] [2024-11-30T23:39:37] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:39:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:37]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:37]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-4-OM_Source_Region_File-S40200010000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-4-OM_Source_Rates_File-S40200010000001.fits \
table=intermediate/OMFastAnalyse-om-4-PPS_Event_List_File-S40200010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:39:37] ** 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:39:37] Task Run Time evselect 0.0939269065856934s
#
# # [INFO] [2024-11-30T23:39:37] Start evselect (3)
# [COMMAND] [2024-11-30T23:39:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:37]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:37]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-4-OM_Background_Region_File-S40200010000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-4-OM_Background_Rates_File-S40200010000001.fits \
table=intermediate/OMFastAnalyse-om-4-PPS_Event_List_File-S40200010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:39:37] ** 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:39:37] Task Run Time evselect 0.130434036254883s
#
# # [INFO] [2024-11-30T23:39:37] Start omlcbuild
# # [INFO] [2024-11-30T23:39:37] Imaging mode image for determining background S402:odf/1171_0400360401_OMS40200IMI.FIT
# [COMMAND] [2024-11-30T23:39:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:37]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:37]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-4-OM_Background_Rates_File-S40200010000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-4-OM_Background_Region_File-S40200010000001.fits \
imageset=odf/1171_0400360401_OMS40200IMI.FIT outset=product/P0400360401OMS402TIMESR1001.FIT \
sourcelistset=product/P0400360401OMS402SFSRLI1000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-4-OM_Source_Rates_File-S40200010000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-4-OM_Source_Region_File-S40200010000001.fits wdxset=odf/1171_0400360401_OMS40200WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:39:43]
# TDP corr factor is: 1.08170187 
# # [INFO] [2024-11-30T23:39:43] Task Run Time omlcbuild 5.85447883605957s
#
# # [INFO] [2024-11-30T23:39:43] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0400360401OMS402TIMESR1001.FIT
# # [INFO] [2024-11-30T23:39:43] DEBUG ++ TIMESR file product/P0400360401OMS402TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:39:43] Start lcplot
# [COMMAND] [2024-11-30T23:39:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:43]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:43]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-4-OM_OSW_SOURCE_TIMESERIES-S40200010000001.ps \
set=product/P0400360401OMS402TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:39:45] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:39:45] Task Run Time lcplot 2.19234299659729s
#
# # [INFO] [2024-11-30T23:39:45] Start PStoPDF
# [COMMAND] [2024-11-30T23:39:45]
pstopdf intermediate/OMFastAnalyse-om-4-OM_OSW_SOURCE_TIMESERIES-S40200010000001.ps product/P0400360401OMS402TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:39:45]
# # [INFO] [2024-11-30T23:39:45] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:39:45] Instrument: om
# # [INFO] [2024-11-30T23:39:45] Stream no.: 0005
# # [INFO] [2024-11-30T23:39:45] Module version number: 1.36
# # [INFO] [2024-11-30T23:39:45] DEBUG --- exp_id: S403, filter: UVW1
# # [INFO] [2024-11-30T23:39:45] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:39:45] Processing OSW 1
# # [INFO] [2024-11-30T23:39:45] Start omprep
# [COMMAND] [2024-11-30T23:39:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:45]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:45]
omprep modeset=1 nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-5-PPS_Event_List_File-S40300010000000.fits pehset=odf/1171_0400360401_OMX00000PEH.FIT \
set=odf/1171_0400360401_OMS40301FAE.FIT wdxset=odf/1171_0400360401_OMS40300WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:45]
# # [INFO] [2024-11-30T23:39:45] Task Run Time omprep 0.196401119232178s
#
# # [INFO] [2024-11-30T23:39:45] Start evselect(1)
# [COMMAND] [2024-11-30T23:39:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:45]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:45]
evselect imageset=intermediate/OMFastAnalyse-om-5-Fast_Mode_Raw_Image-S40300010000000.fits \
table=intermediate/OMFastAnalyse-om-5-PPS_Event_List_File-S40300010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:39:45] ** 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:39:45] Task Run Time evselect 0.10642409324646s
#
# # [INFO] [2024-11-30T23:39:45] Start omfastshift
# [COMMAND] [2024-11-30T23:39:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:45]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:45]
omfastshift nphset=odf/1171_0400360401_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-5-PPS_Event_List_File-S40300010000000.fits \
thxset=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S40300000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:46]
# # [INFO] [2024-11-30T23:39:46] Task Run Time omfastshift 0.0761690139770508s
#
# # [INFO] [2024-11-30T23:39:46] Start omfastflat
# [COMMAND] [2024-11-30T23:39:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:46]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:46]
omfastflat fastimgset=product/P0400360401OMS403IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-5-OM_OSW_Flat_Field-S40300010000000.fits \
set=intermediate/OMFastAnalyse-om-5-PPS_Event_List_File-S40300010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:46]
# # [INFO] [2024-11-30T23:39:46] Task Run Time omfastflat 0.241943120956421s
#
# # [INFO] [2024-11-30T23:39:46] Start omdetect
# [COMMAND] [2024-11-30T23:39:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:46]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:46]
omdetect nsigma=3 outset=product/P0400360401OMS403SFSRLI1000.FIT regionfile=product/P0400360401OMS403SFSREG1000.ASC \
set=product/P0400360401OMS403IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:46]
# # [INFO] [2024-11-30T23:39:46] Task Run Time omdetect 0.519191980361938s
#
# # [INFO] [2024-11-30T23:39:46] Start omatt
# [COMMAND] [2024-11-30T23:39:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:46]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:46]
omatt ppsoswset=product/P0400360401OMS403SIMAGF1000.FIT set=product/P0400360401OMS403IMAGEF1000.FIT \
sourcelistset=product/P0400360401OMS403SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:39:47]
# # [INFO] [2024-11-30T23:39:47] Task Run Time omatt 0.605755090713501s
#
# # [INFO] [2024-11-30T23:39:47] Sky image found 
# # [INFO] [2024-11-30T23:39:47] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS403SIMAGF1000.FIT\
#     --outfile=product/P0400360401OMS403SIMAGF1000.PNG --srclisttab=product/P0400360401OMS403SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:39:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:47]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:47]
implot.py --fitsImage=product/P0400360401OMS403SIMAGF1000.FIT --outfile=product/P0400360401OMS403SIMAGF1000.PNG \
--srclisttab=product/P0400360401OMS403SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:39:49] Image shape. y,x: (27, 28) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (26, 27) x/y ratio: 1.04
# Plotting source regions from product/P0400360401OMS403SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:39:49] Task Run Time implot.py 2.44391298294067s
#
# # [INFO] [2024-11-30T23:39:49] implot has created PNG with src list
# # [INFO] [2024-11-30T23:39:49] Per-Source Processing
# # [INFO] [2024-11-30T23:39:49] Number of sources from region file product/P0400360401OMS403SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:39:49] Sources in sourcelist product/P0400360401OMS403SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:39:49] Source Number : 1
# # [INFO] [2024-11-30T23:39:49] Start omregion
# [COMMAND] [2024-11-30T23:39:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:49]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:49]
omregion bkgfile=intermediate/OMFastAnalyse-om-5-OM_Background_Region_File-S40300010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0400360401OMS403SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-5-OM_Source_Region_File-S40300010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:39:49]
# # [INFO] [2024-11-30T23:39:49] Task Run Time omregion 0.0415961742401123s
#
# # [INFO] [2024-11-30T23:39:49] Sampling timebinsize of product/P0400360401OMS403IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:39:49] Start evselect (2)
# # [INFO] [2024-11-30T23:39:49] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:39:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:49]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:49]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-5-OM_Source_Region_File-S40300010000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-5-OM_Source_Rates_File-S40300010000001.fits \
table=intermediate/OMFastAnalyse-om-5-PPS_Event_List_File-S40300010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:39:49] ** 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:39:49] Task Run Time evselect 0.0657918453216553s
#
# # [INFO] [2024-11-30T23:39:49] Start evselect (3)
# [COMMAND] [2024-11-30T23:39:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:49]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:49]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-5-OM_Background_Region_File-S40300010000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-5-OM_Background_Rates_File-S40300010000001.fits \
table=intermediate/OMFastAnalyse-om-5-PPS_Event_List_File-S40300010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:39:50] ** 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:39:50] Task Run Time evselect 0.0652339458465576s
#
# # [INFO] [2024-11-30T23:39:50] Start omlcbuild
# # [INFO] [2024-11-30T23:39:50] Imaging mode image for determining background S403:odf/1171_0400360401_OMS40300IMI.FIT
# [COMMAND] [2024-11-30T23:39:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:50]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:50]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-5-OM_Background_Rates_File-S40300010000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-5-OM_Background_Region_File-S40300010000001.fits \
imageset=odf/1171_0400360401_OMS40300IMI.FIT outset=product/P0400360401OMS403TIMESR1001.FIT \
sourcelistset=product/P0400360401OMS403SFSRLI1000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-5-OM_Source_Rates_File-S40300010000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-5-OM_Source_Region_File-S40300010000001.fits wdxset=odf/1171_0400360401_OMS40300WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:39:54]
# TDP corr factor is: 1.08170247 
# # [INFO] [2024-11-30T23:39:54] Task Run Time omlcbuild 4.65404009819031s
#
# # [INFO] [2024-11-30T23:39:54] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0400360401OMS403TIMESR1001.FIT
# # [INFO] [2024-11-30T23:39:54] DEBUG ++ TIMESR file product/P0400360401OMS403TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:39:54] Start lcplot
# [COMMAND] [2024-11-30T23:39:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:54]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:54]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-5-OM_OSW_SOURCE_TIMESERIES-S40300010000001.ps \
set=product/P0400360401OMS403TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:39:56] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:39:56] Task Run Time lcplot 2.01901793479919s
#
# # [INFO] [2024-11-30T23:39:56] Start PStoPDF
# [COMMAND] [2024-11-30T23:39:56]
pstopdf intermediate/OMFastAnalyse-om-5-OM_OSW_SOURCE_TIMESERIES-S40300010000001.ps product/P0400360401OMS403TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:39:56]
# # [INFO] [2024-11-30T23:39:56] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:39:56] Instrument: om
# # [INFO] [2024-11-30T23:39:56] Stream no.: 0006
# # [INFO] [2024-11-30T23:39:56] Module version number: 1.36
# # [INFO] [2024-11-30T23:39:56] DEBUG --- exp_id: S404, filter: UVW1
# # [INFO] [2024-11-30T23:39:56] 1 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:39:56] Processing OSW 1
# # [INFO] [2024-11-30T23:39:56] Start omprep
# [COMMAND] [2024-11-30T23:39:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:56]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:56]
omprep modeset=1 nphset=odf/1171_0400360401_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-6-PPS_Event_List_File-S40400010000000.fits pehset=odf/1171_0400360401_OMX00000PEH.FIT \
set=odf/1171_0400360401_OMS40401FAE.FIT wdxset=odf/1171_0400360401_OMS40400WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:57]
# # [INFO] [2024-11-30T23:39:57] Task Run Time omprep 0.172331094741821s
#
# # [INFO] [2024-11-30T23:39:57] Start evselect(1)
# [COMMAND] [2024-11-30T23:39:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:57]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:57]
evselect imageset=intermediate/OMFastAnalyse-om-6-Fast_Mode_Raw_Image-S40400010000000.fits \
table=intermediate/OMFastAnalyse-om-6-PPS_Event_List_File-S40400010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:39:57] ** 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:39:57] Task Run Time evselect 0.122293949127197s
#
# # [INFO] [2024-11-30T23:39:57] Start omfastshift
# [COMMAND] [2024-11-30T23:39:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:57]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:57]
omfastshift nphset=odf/1171_0400360401_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-6-PPS_Event_List_File-S40400010000000.fits \
thxset=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S40400000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:57]
# # [INFO] [2024-11-30T23:39:57] Task Run Time omfastshift 0.0749411582946777s
#
# # [INFO] [2024-11-30T23:39:57] Start omfastflat
# [COMMAND] [2024-11-30T23:39:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:57]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:57]
omfastflat fastimgset=product/P0400360401OMS404IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-6-OM_OSW_Flat_Field-S40400010000000.fits \
set=intermediate/OMFastAnalyse-om-6-PPS_Event_List_File-S40400010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:39:57]
# # [INFO] [2024-11-30T23:39:57] Task Run Time omfastflat 0.185817956924438s
#
# # [INFO] [2024-11-30T23:39:57] Start omdetect
# [COMMAND] [2024-11-30T23:39:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:57]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:57]
omdetect nsigma=3 outset=product/P0400360401OMS404SFSRLI1000.FIT regionfile=product/P0400360401OMS404SFSREG1000.ASC \
set=product/P0400360401OMS404IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:39:57]
# # [INFO] [2024-11-30T23:39:57] Task Run Time omdetect 0.53129506111145s
#
# # [INFO] [2024-11-30T23:39:57] Start omatt
# [COMMAND] [2024-11-30T23:39:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:57]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:57]
omatt ppsoswset=product/P0400360401OMS404SIMAGF1000.FIT set=product/P0400360401OMS404IMAGEF1000.FIT \
sourcelistset=product/P0400360401OMS404SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:39:58]
# # [INFO] [2024-11-30T23:39:58] Task Run Time omatt 0.516041994094849s
#
# # [INFO] [2024-11-30T23:39:58] Sky image found 
# # [INFO] [2024-11-30T23:39:58] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS404SIMAGF1000.FIT\
#     --outfile=product/P0400360401OMS404SIMAGF1000.PNG --srclisttab=product/P0400360401OMS404SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:39:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:39:58]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:39:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:39:58]
implot.py --fitsImage=product/P0400360401OMS404SIMAGF1000.FIT --outfile=product/P0400360401OMS404SIMAGF1000.PNG \
--srclisttab=product/P0400360401OMS404SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:40:00] Image shape. y,x: (27, 28) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (26, 27) x/y ratio: 1.04
# Plotting source regions from product/P0400360401OMS404SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:40:00] Task Run Time implot.py 2.50440192222595s
#
# # [INFO] [2024-11-30T23:40:00] implot has created PNG with src list
# # [INFO] [2024-11-30T23:40:00] Per-Source Processing
# # [INFO] [2024-11-30T23:40:00] Number of sources from region file product/P0400360401OMS404SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:40:00] Sources in sourcelist product/P0400360401OMS404SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:40:00] Source Number : 1
# # [INFO] [2024-11-30T23:40:00] Start omregion
# [COMMAND] [2024-11-30T23:40:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:00]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:00]
omregion bkgfile=intermediate/OMFastAnalyse-om-6-OM_Background_Region_File-S40400010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0400360401OMS404SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-6-OM_Source_Region_File-S40400010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:40:01]
# # [INFO] [2024-11-30T23:40:01] Task Run Time omregion 0.0862081050872803s
#
# # [INFO] [2024-11-30T23:40:01] Sampling timebinsize of product/P0400360401OMS404IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:40:01] Start evselect (2)
# # [INFO] [2024-11-30T23:40:01] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:40:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:01]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:01]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-6-OM_Source_Region_File-S40400010000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-6-OM_Source_Rates_File-S40400010000001.fits \
table=intermediate/OMFastAnalyse-om-6-PPS_Event_List_File-S40400010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:40:01] ** 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:01] Task Run Time evselect 0.0724849700927734s
#
# # [INFO] [2024-11-30T23:40:01] Start evselect (3)
# [COMMAND] [2024-11-30T23:40:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:01]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:01]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-6-OM_Background_Region_File-S40400010000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-6-OM_Background_Rates_File-S40400010000001.fits \
table=intermediate/OMFastAnalyse-om-6-PPS_Event_List_File-S40400010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:40:01] ** 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:01] Task Run Time evselect 0.109416007995605s
#
# # [INFO] [2024-11-30T23:40:01] Start omlcbuild
# # [INFO] [2024-11-30T23:40:01] Imaging mode image for determining background S404:odf/1171_0400360401_OMS40400IMI.FIT
# [COMMAND] [2024-11-30T23:40:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:01]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:01]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-6-OM_Background_Rates_File-S40400010000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-6-OM_Background_Region_File-S40400010000001.fits \
imageset=odf/1171_0400360401_OMS40400IMI.FIT outset=product/P0400360401OMS404TIMESR1001.FIT \
sourcelistset=product/P0400360401OMS404SFSRLI1000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-6-OM_Source_Rates_File-S40400010000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-6-OM_Source_Region_File-S40400010000001.fits wdxset=odf/1171_0400360401_OMS40400WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:40:07]
# TDP corr factor is: 1.08170295 
# # [INFO] [2024-11-30T23:40:07] Task Run Time omlcbuild 6.46329593658447s
#
# # [INFO] [2024-11-30T23:40:07] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0400360401OMS404TIMESR1001.FIT
# # [INFO] [2024-11-30T23:40:07] DEBUG ++ TIMESR file product/P0400360401OMS404TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:40:07] Start lcplot
# [COMMAND] [2024-11-30T23:40:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:07]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:07]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-6-OM_OSW_SOURCE_TIMESERIES-S40400010000001.ps \
set=product/P0400360401OMS404TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:40:09] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:40:09] Task Run Time lcplot 2.1000280380249s
#
# # [INFO] [2024-11-30T23:40:09] Start PStoPDF
# [COMMAND] [2024-11-30T23:40:09]
pstopdf intermediate/OMFastAnalyse-om-6-OM_OSW_SOURCE_TIMESERIES-S40400010000001.ps product/P0400360401OMS404TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:40:09]
# # [INFO] [2024-11-30T23:40:09] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:40:09] Instrument: om
# # [INFO] [2024-11-30T23:40:09] Stream no.: 0001
# # [INFO] [2024-11-30T23:40:09] Module version number: 3.28
# # [INFO] [2024-11-30T23:40:09] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:40:09] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:40:09] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:40:09] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:40:09] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:40:09] Found 2 Image mode images.
# # [INFO] [2024-11-30T23:40:09] Analysing odf/1171_0400360401_OMS00600IMI.FIT for image identification
# # [INFO] [2024-11-30T23:40:09] Identified mode: USER
# # [INFO] [2024-11-30T23:40:09] Analysing odf/1171_0400360401_OMS00602IMI.FIT for image identification
# # [INFO] [2024-11-30T23:40:09] Identified mode: USER
# # [INFO] [2024-11-30T23:40:09] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:40:09] Processing USER Images.
# # [INFO] [2024-11-30T23:40:09] 2 images to process.
# # [INFO] [2024-11-30T23:40:09] Processing S006:0:odf/1171_0400360401_OMS00600IMI.FIT
# [COMMAND] [2024-11-30T23:40:09]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:09]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:09] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:09]
omprep modeset=0 nphset=odf/1171_0400360401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600000000000.fits \
pehset=odf/1171_0400360401_OMX00000PEH.FIT set=odf/1171_0400360401_OMS00600IMI.FIT wdxset=odf/1171_0400360401_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:10]
# # [INFO] [2024-11-30T23:40:10] Task Run Time omprep 0.184755086898804s
#
# # [INFO] [2024-11-30T23:40:10] Retrieving FILTER value
# # [INFO] [2024-11-30T23:40:10] FILTER = L
# # [INFO] [2024-11-30T23:40:10] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:40:10] EXPOSURE = 1.46000000000000E+03
# [COMMAND] [2024-11-30T23:40:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:10]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:10]
omcosflag set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:10]
# # [INFO] [2024-11-30T23:40:10] Task Run Time omcosflag 0.189497947692871s
#
# [COMMAND] [2024-11-30T23:40:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:10]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:10]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00600000000000.fits \
set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Field-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:10]
# # [INFO] [2024-11-30T23:40:10] Task Run Time omflatfield 0.0487771034240723s
#
# [COMMAND] [2024-11-30T23:40:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:10]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:10]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-1-OSW_MODULO_8_IMAGE-S00600000000000.fits nbox=16 nsig=6 \
outset=product/P0400360401OMS006IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00600000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:40:11] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:40:11] Task Run Time ommodmap 0.643743991851807s
#
# [COMMAND] [2024-11-30T23:40:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:11]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:11]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS006IMAGE_0000.FIT set=product/P0400360401OMS006IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:40:11] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS006IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:40:11] Task Run Time omqualitymap 0.0562291145324707s
#
# [COMMAND] [2024-11-30T23:40:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:11]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:11]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0400360401OMS006SWSRLI0000.FIT \
regionfile=product/P0400360401OMS006SWSREG0000.ASC set=product/P0400360401OMS006IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:13]
# # [INFO] [2024-11-30T23:40:13] Task Run Time omdetect 2.36621594429016s
#
# [COMMAND] [2024-11-30T23:40:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:13]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:13]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS006IMAGE_0000.FIT set=product/P0400360401OMS006IMAGE_0000.FIT \
srclistset=product/P0400360401OMS006SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:13] ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS006SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS006IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS006SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:40:13] Task Run Time omqualitymap 0.0475699901580811s
#
# [COMMAND] [2024-11-30T23:40:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:13]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:13]
ommag set=product/P0400360401OMS006SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:13]
# TDP corr factor is: 1.08170080 
# L265 tdpCorrFactor= 1.08170080 
# L348 getting the column data
# In: 122.935570 111.125870 1 948
# X,Y,pdepcorr: 1070.93555 985.125854 1.00000000 
# # [INFO] [2024-11-30T23:40:13] Task Run Time ommag 0.106564998626709s
#
# [COMMAND] [2024-11-30T23:40:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:13]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:13]
omatt catfile=product/P0400360401OBX000REFCAT0000.FIT ppsoswset=product/P0400360401OMS006SIMAGE0000.FIT \
set=product/P0400360401OMS006IMAGE_0000.FIT sourcelistset=product/P0400360401OMS006SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:40:14] ** omatt: warning (Too few sources for astrometry (1)), Need at least 5 
# # [INFO] [2024-11-30T23:40:14] Task Run Time omatt 1.06310105323792s
#
# [COMMAND] [2024-11-30T23:40:14]
export \
PFILES=/scratch/225570.1.all.q/xmm/ppsprod/228715/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:40:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:14]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:14]
fimgstat clobber=Y infile=product/P0400360401OMS006SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-1-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:40:14]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:40:14] Task Run Time fimgstat 0.0262739658355713s
#
# # [INFO] [2024-11-30T23:40:14] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS006SIMAGE0000.FIT\
#     --outfile=product/P0400360401OMS006SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:40:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:14]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:14]
implot.py --fitsImage=product/P0400360401OMS006SIMAGE0000.FIT --outfile=product/P0400360401OMS006SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:40:16] Image shape. y,x: (265, 276) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (264, 275) x/y ratio: 1.04 
# # [INFO] [2024-11-30T23:40:16] Task Run Time implot.py 2.20055794715881s
#
# # [INFO] [2024-11-30T23:40:16] Processing S006:2:odf/1171_0400360401_OMS00602IMI.FIT
# [COMMAND] [2024-11-30T23:40:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:16]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:16]
omprep modeset=0 nphset=odf/1171_0400360401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600020000000.fits \
pehset=odf/1171_0400360401_OMX00000PEH.FIT set=odf/1171_0400360401_OMS00602IMI.FIT wdxset=odf/1171_0400360401_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:17]
# # [INFO] [2024-11-30T23:40:17] Task Run Time omprep 0.203763008117676s
#
# # [INFO] [2024-11-30T23:40:17] Retrieving FILTER value
# # [INFO] [2024-11-30T23:40:17] FILTER = L
# # [INFO] [2024-11-30T23:40:17] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:40:17] EXPOSURE = 1.46000000000000E+03
# [COMMAND] [2024-11-30T23:40:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:17]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:17]
omcosflag set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600020000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:17]
# # [INFO] [2024-11-30T23:40:17] Task Run Time omcosflag 0.827927827835083s
#
# [COMMAND] [2024-11-30T23:40:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:17]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:17]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00600020000000.fits \
set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600020000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Field-S00600020000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:18]
# # [INFO] [2024-11-30T23:40:18] Task Run Time omflatfield 0.0979359149932861s
#
# [COMMAND] [2024-11-30T23:40:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:18]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:18]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-1-OSW_MODULO_8_IMAGE-S00600020000000.fits nbox=16 nsig=6 \
outset=product/P0400360401OMS006IMAGE_2000.FIT set=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00600020000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:40:22]
# # [INFO] [2024-11-30T23:40:22] Task Run Time ommodmap 4.00956106185913s
#
# [COMMAND] [2024-11-30T23:40:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:22]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:22]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS006IMAGE_2000.FIT set=product/P0400360401OMS006IMAGE_2000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:40:22] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS006IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:40:22] Task Run Time omqualitymap 0.062964916229248s
#
# [COMMAND] [2024-11-30T23:40:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:22]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:22]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0400360401OMS006SWSRLI2000.FIT \
regionfile=product/P0400360401OMS006SWSREG2000.ASC set=product/P0400360401OMS006IMAGE_2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:26] ** omdetect: warning (Possible Error!), nsources ne liinked-list size!
# ** omdetect: warning (Possible Error!), nsources ne liinked-list size! 
# # [INFO] [2024-11-30T23:40:26] Task Run Time omdetect 4.42857694625854s
#
# [COMMAND] [2024-11-30T23:40:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:26]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:26]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS006IMAGE_2000.FIT set=product/P0400360401OMS006IMAGE_2000.FIT \
srclistset=product/P0400360401OMS006SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:26] ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS006SWSRLI2000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS006IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS006SWSRLI2000.FIT; 
# # [INFO] [2024-11-30T23:40:26] Task Run Time omqualitymap 0.059589147567749s
#
# [COMMAND] [2024-11-30T23:40:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:26]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:26]
ommag set=product/P0400360401OMS006SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:26]
# TDP corr factor is: 1.08170080 
# L265 tdpCorrFactor= 1.08170080 
# L348 getting the column data
# In: 277.772583 231.877426 2 516
# X,Y,pdepcorr: 1071.54517 985.754883 1.00000000 
# In: 338.935455 411.130096 2 516
# X,Y,pdepcorr: 1193.87085 1344.26025 1.00000000 
# In: 180.865051 89.2170181 2 516
# X,Y,pdepcorr: 877.730103 700.434021 1.00000000 
# In: 418.314880 474.669952 2 516
# X,Y,pdepcorr: 1352.62976 1471.33984 1.00000000 
# In: 418.130768 112.131004 2 516
# X,Y,pdepcorr: 1352.26147 746.262024 1.00000000 
# In: 273.397858 29.8755112 2 516
# X,Y,pdepcorr: 1062.79565 581.751038 1.00000000 
# In: 463.016663 155.248810 2 516
# X,Y,pdepcorr: 1442.03333 832.497620 1.00000000 
# In: 378.915039 409.426880 2 516
# X,Y,pdepcorr: 1273.83008 1340.85376 1.00000000 
# In: 368.674103 230.024170 2 516
# X,Y,pdepcorr: 1253.34814 982.048340 1.00000000 
# In: 35.9955482 98.9229660 2 516
# X,Y,pdepcorr: 587.991089 719.845947 1.00000000 
# In: 418.989807 227.793137 2 516
# X,Y,pdepcorr: 1353.97961 977.586304 1.00000000 
# In: 463.363464 202.533478 2 516
# X,Y,pdepcorr: 1442.72693 927.066956 1.00000000 
# In: 391.667419 463.271179 2 516
# X,Y,pdepcorr: 1299.33484 1448.54236 1.00000000 
# In: 94.2901154 278.001984 2 516
# X,Y,pdepcorr: 704.580200 1078.00391 1.00000000 
# In: 306.939667 479.182037 2 516
# X,Y,pdepcorr: 1129.87939 1480.36401 1.00000000 
# In: 314.366028 359.431274 2 516
# X,Y,pdepcorr: 1144.73206 1240.86255 1.00000000 
# In: 11.6155043 127.691345 2 516
# X,Y,pdepcorr: 539.231018 777.382690 1.00000000 
# In: 411.544006 405.326874 2 516
# X,Y,pdepcorr: 1339.08801 1332.65381 1.00000000 
# In: 285.977264 477.514343 2 516
# X,Y,pdepcorr: 1087.95459 1477.02869 1.00000000 
# # [INFO] [2024-11-30T23:40:26] Task Run Time ommag 0.0494952201843262s
#
# [COMMAND] [2024-11-30T23:40:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:26]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:26]
omatt catfile=product/P0400360401OBX000REFCAT0000.FIT ppsoswset=product/P0400360401OMS006SIMAGE2000.FIT \
set=product/P0400360401OMS006IMAGE_2000.FIT sourcelistset=product/P0400360401OMS006SWSRLI2000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:40:29]
# # [INFO] [2024-11-30T23:40:29] Task Run Time omatt 2.89267110824585s
#
# [COMMAND] [2024-11-30T23:40:29]
export \
PFILES=/scratch/225570.1.all.q/xmm/ppsprod/228715/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:40:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:29]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:29]
fimgstat clobber=Y infile=product/P0400360401OMS006SIMAGE2000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-1-OSW_2_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:40:29]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:40:29] Task Run Time fimgstat 0.0234158039093018s
#
# # [INFO] [2024-11-30T23:40:29] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS006SIMAGE2000.FIT\
#     --outfile=product/P0400360401OMS006SIMAGE2000.PNG
# [COMMAND] [2024-11-30T23:40:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:29]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:29]
implot.py --fitsImage=product/P0400360401OMS006SIMAGE2000.FIT --outfile=product/P0400360401OMS006SIMAGE2000.PNG
# # [OUTPUT] [2024-11-30T23:40:31] Image shape. y,x: (586, 602) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (585, 601) x/y ratio: 1.03 
# # [INFO] [2024-11-30T23:40:31] Task Run Time implot.py 1.66812300682068s
#
# # [INFO] [2024-11-30T23:40:31] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:40:31] 0 images to process.
# # [INFO] [2024-11-30T23:40:31] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:40:31] 0 images to process.
# # [INFO] [2024-11-30T23:40:31] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:40:31] 0 images to process.
# # [INFO] [2024-11-30T23:40:31] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:40:31] 0 images to process.
# # [INFO] [2024-11-30T23:40:31] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:40:31] 0 images to process.
# # [INFO] [2024-11-30T23:40:31] All images processed
# # [INFO] [2024-11-30T23:40:31] Writing accounting information
# # [INFO] [2024-11-30T23:40:31] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0400360401OMS006SWSRLI0000.FIT|USER|L ',
# 'product/P0400360401OMS006SWSRLI2000.FIT|USER|L '
# ]; 
# # [INFO] [2024-11-30T23:40:31] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0400360401OMS006SIMAGE0000.FIT|USER|L|1.46000000000000E+03|S006 ',
# 'product/P0400360401OMS006SIMAGE2000.FIT|USER|L|1.46000000000000E+03|S006 '
# ]; 
# # [INFO] [2024-11-30T23:40:31] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:40:31] Instrument: om
# # [INFO] [2024-11-30T23:40:31] Stream no.: 0003
# # [INFO] [2024-11-30T23:40:31] Module version number: 3.28
# # [INFO] [2024-11-30T23:40:31] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:40:31] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:40:31] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:40:31] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:40:31] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:40:31] Found 2 Image mode images.
# # [INFO] [2024-11-30T23:40:31] Analysing odf/1171_0400360401_OMS40100IMI.FIT for image identification
# # [INFO] [2024-11-30T23:40:31] Identified mode: USER
# # [INFO] [2024-11-30T23:40:31] Analysing odf/1171_0400360401_OMS40102IMI.FIT for image identification
# # [INFO] [2024-11-30T23:40:31] Identified mode: USER
# # [INFO] [2024-11-30T23:40:31] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:40:31] Processing USER Images.
# # [INFO] [2024-11-30T23:40:31] 2 images to process.
# # [INFO] [2024-11-30T23:40:31] Processing S401:0:odf/1171_0400360401_OMS40100IMI.FIT
# [COMMAND] [2024-11-30T23:40:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:31]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:31]
omprep modeset=0 nphset=odf/1171_0400360401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-3-Raw_Image-S40100000000000.fits \
pehset=odf/1171_0400360401_OMX00000PEH.FIT set=odf/1171_0400360401_OMS40100IMI.FIT wdxset=odf/1171_0400360401_OMS40100WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:31]
# # [INFO] [2024-11-30T23:40:31] Task Run Time omprep 0.152913093566895s
#
# # [INFO] [2024-11-30T23:40:31] Retrieving FILTER value
# # [INFO] [2024-11-30T23:40:31] FILTER = L
# # [INFO] [2024-11-30T23:40:31] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:40:31] EXPOSURE = 1.46000000000000E+03
# [COMMAND] [2024-11-30T23:40:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:31]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:31]
omcosflag set=intermediate/OMImageAnalyse-om-3-Raw_Image-S40100000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S40100000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:31]
# # [INFO] [2024-11-30T23:40:31] Task Run Time omcosflag 0.241447925567627s
#
# [COMMAND] [2024-11-30T23:40:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:31]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:31]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S40100000000000.fits \
set=intermediate/OMImageAnalyse-om-3-Raw_Image-S40100000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S40100000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Field-S40100000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:31]
# # [INFO] [2024-11-30T23:40:31] Task Run Time omflatfield 0.0643460750579834s
#
# [COMMAND] [2024-11-30T23:40:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:31]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:31]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-3-OSW_MODULO_8_IMAGE-S40100000000000.fits nbox=16 nsig=6 \
outset=product/P0400360401OMS401IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S40100000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:40:32] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:40:32] Task Run Time ommodmap 0.609544992446899s
#
# [COMMAND] [2024-11-30T23:40:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:32]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:32]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS401IMAGE_0000.FIT set=product/P0400360401OMS401IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:40:32] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS401IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:40:32] Task Run Time omqualitymap 0.0482370853424072s
#
# [COMMAND] [2024-11-30T23:40:32]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:32]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:32] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:32]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0400360401OMS401SWSRLI0000.FIT \
regionfile=product/P0400360401OMS401SWSREG0000.ASC set=product/P0400360401OMS401IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:34]
# # [INFO] [2024-11-30T23:40:34] Task Run Time omdetect 2.10723209381104s
#
# [COMMAND] [2024-11-30T23:40:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:34]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:34]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS401IMAGE_0000.FIT set=product/P0400360401OMS401IMAGE_0000.FIT \
srclistset=product/P0400360401OMS401SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:34] ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS401SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS401IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS401SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:40:34] Task Run Time omqualitymap 0.0539319515228271s
#
# [COMMAND] [2024-11-30T23:40:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:34]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:34]
ommag set=product/P0400360401OMS401SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:34]
# TDP corr factor is: 1.08170140 
# L265 tdpCorrFactor= 1.08170140 
# L348 getting the column data
# In: 123.091156 111.486145 1 948
# X,Y,pdepcorr: 1071.09119 985.486145 1.00000000 
# # [INFO] [2024-11-30T23:40:34] Task Run Time ommag 0.0540180206298828s
#
# [COMMAND] [2024-11-30T23:40:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:34]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:34]
omatt catfile=product/P0400360401OBX000REFCAT0000.FIT ppsoswset=product/P0400360401OMS401SIMAGE0000.FIT \
set=product/P0400360401OMS401IMAGE_0000.FIT sourcelistset=product/P0400360401OMS401SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:40:35] ** omatt: warning (Too few sources for astrometry (1)), Need at least 5 
# # [INFO] [2024-11-30T23:40:35] Task Run Time omatt 0.957287073135376s
#
# [COMMAND] [2024-11-30T23:40:35]
export \
PFILES=/scratch/225570.1.all.q/xmm/ppsprod/228715/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:40:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:35]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:35]
fimgstat clobber=Y infile=product/P0400360401OMS401SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-3-OSW_0_sky_image_statistics-S40100000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:40:35]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:40:35] Task Run Time fimgstat 0.0174920558929443s
#
# # [INFO] [2024-11-30T23:40:35] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS401SIMAGE0000.FIT\
#     --outfile=product/P0400360401OMS401SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:40:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:35]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:35]
implot.py --fitsImage=product/P0400360401OMS401SIMAGE0000.FIT --outfile=product/P0400360401OMS401SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:40:37] Image shape. y,x: (265, 276) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (264, 275) x/y ratio: 1.04 
# # [INFO] [2024-11-30T23:40:37] Task Run Time implot.py 1.65767908096313s
#
# # [INFO] [2024-11-30T23:40:37] Processing S401:2:odf/1171_0400360401_OMS40102IMI.FIT
# [COMMAND] [2024-11-30T23:40:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:37]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:37]
omprep modeset=0 nphset=odf/1171_0400360401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-3-Raw_Image-S40100020000000.fits \
pehset=odf/1171_0400360401_OMX00000PEH.FIT set=odf/1171_0400360401_OMS40102IMI.FIT wdxset=odf/1171_0400360401_OMS40100WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:37]
# # [INFO] [2024-11-30T23:40:37] Task Run Time omprep 0.140293836593628s
#
# # [INFO] [2024-11-30T23:40:37] Retrieving FILTER value
# # [INFO] [2024-11-30T23:40:37] FILTER = L
# # [INFO] [2024-11-30T23:40:37] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:40:37] EXPOSURE = 1.46000000000000E+03
# [COMMAND] [2024-11-30T23:40:37]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:37]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:37] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:37]
omcosflag set=intermediate/OMImageAnalyse-om-3-Raw_Image-S40100020000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S40100000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:38]
# # [INFO] [2024-11-30T23:40:38] Task Run Time omcosflag 0.659435033798218s
#
# [COMMAND] [2024-11-30T23:40:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:38]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:38]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S40100020000000.fits \
set=intermediate/OMImageAnalyse-om-3-Raw_Image-S40100020000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S40100000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Field-S40100020000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:38]
# # [INFO] [2024-11-30T23:40:38] Task Run Time omflatfield 0.0633561611175537s
#
# [COMMAND] [2024-11-30T23:40:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:38]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:38]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-3-OSW_MODULO_8_IMAGE-S40100020000000.fits nbox=16 nsig=6 \
outset=product/P0400360401OMS401IMAGE_2000.FIT set=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S40100020000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:40:40] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:40:40] Task Run Time ommodmap 2.81354713439941s
#
# [COMMAND] [2024-11-30T23:40:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:40]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:40]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS401IMAGE_2000.FIT set=product/P0400360401OMS401IMAGE_2000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:40:41] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS401IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:40:41] Task Run Time omqualitymap 0.0620670318603516s
#
# [COMMAND] [2024-11-30T23:40:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:41]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:41]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0400360401OMS401SWSRLI2000.FIT \
regionfile=product/P0400360401OMS401SWSREG2000.ASC set=product/P0400360401OMS401IMAGE_2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:44]
# # [INFO] [2024-11-30T23:40:44] Task Run Time omdetect 3.67410802841187s
#
# [COMMAND] [2024-11-30T23:40:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:44]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:44]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS401IMAGE_2000.FIT set=product/P0400360401OMS401IMAGE_2000.FIT \
srclistset=product/P0400360401OMS401SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:44] ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS401SWSRLI2000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS401IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS401SWSRLI2000.FIT; 
# # [INFO] [2024-11-30T23:40:44] Task Run Time omqualitymap 0.0644431114196777s
#
# [COMMAND] [2024-11-30T23:40:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:44]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:44]
ommag set=product/P0400360401OMS401SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:44]
# TDP corr factor is: 1.08170140 
# L265 tdpCorrFactor= 1.08170140 
# L348 getting the column data
# In: 156.384735 413.717773 2 36
# X,Y,pdepcorr: 348.769470 837.435547 1.00000000 
# In: 177.358292 4.04838705 2 36
# X,Y,pdepcorr: 390.716583 18.0967751 1.00000000 
# In: 117.256775 804.692810 2 36
# X,Y,pdepcorr: 270.513550 1619.38562 1.00000000 
# In: 143.482010 377.688904 2 36
# X,Y,pdepcorr: 322.964020 765.377808 1.00000000 
# In: 41.9782867 335.136810 2 36
# X,Y,pdepcorr: 119.956573 680.273621 1.00000000 
# In: 209.102127 425.702057 2 36
# X,Y,pdepcorr: 454.204254 861.404114 1.00000000 
# In: 159.970520 278.860931 2 36
# X,Y,pdepcorr: 355.941040 567.721863 1.00000000 
# In: 233.830460 361.305115 2 36
# X,Y,pdepcorr: 503.660919 732.610229 1.00000000 
# In: 227.288940 731.261292 2 36
# X,Y,pdepcorr: 490.577881 1472.52258 1.00000000 
# In: 58.2913246 634.009705 2 36
# X,Y,pdepcorr: 152.582642 1278.01941 1.00000000 
# In: 222.212311 140.251831 2 36
# X,Y,pdepcorr: 480.424622 290.503662 1.00000000 
# In: 121.865379 61.9230690 2 36
# X,Y,pdepcorr: 279.730774 133.846130 1.00000000 
# In: 81.7314606 733.469055 2 36
# X,Y,pdepcorr: 199.462921 1476.93811 1.00000000 
# # [INFO] [2024-11-30T23:40:44] Task Run Time ommag 0.0549130439758301s
#
# [COMMAND] [2024-11-30T23:40:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:44]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:44]
omatt catfile=product/P0400360401OBX000REFCAT0000.FIT ppsoswset=product/P0400360401OMS401SIMAGE2000.FIT \
set=product/P0400360401OMS401IMAGE_2000.FIT sourcelistset=product/P0400360401OMS401SWSRLI2000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:40:48]
# # [INFO] [2024-11-30T23:40:48] Task Run Time omatt 3.52649283409119s
#
# [COMMAND] [2024-11-30T23:40:48]
export \
PFILES=/scratch/225570.1.all.q/xmm/ppsprod/228715/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:40:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:48]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:48]
fimgstat clobber=Y infile=product/P0400360401OMS401SIMAGE2000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-3-OSW_2_sky_image_statistics-S40100000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:40:48]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:40:48] Task Run Time fimgstat 0.0245499610900879s
#
# # [INFO] [2024-11-30T23:40:48] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS401SIMAGE2000.FIT\
#     --outfile=product/P0400360401OMS401SIMAGE2000.PNG
# [COMMAND] [2024-11-30T23:40:48]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:48]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:48] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:48]
implot.py --fitsImage=product/P0400360401OMS401SIMAGE2000.FIT --outfile=product/P0400360401OMS401SIMAGE2000.PNG
# # [OUTPUT] [2024-11-30T23:40:50] Image shape. y,x: (475, 964) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (474, 963) x/y ratio: 2.03 
# # [INFO] [2024-11-30T23:40:50] Task Run Time implot.py 1.78485107421875s
#
# # [INFO] [2024-11-30T23:40:50] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:40:50] 0 images to process.
# # [INFO] [2024-11-30T23:40:50] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:40:50] 0 images to process.
# # [INFO] [2024-11-30T23:40:50] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:40:50] 0 images to process.
# # [INFO] [2024-11-30T23:40:50] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:40:50] 0 images to process.
# # [INFO] [2024-11-30T23:40:50] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:40:50] 0 images to process.
# # [INFO] [2024-11-30T23:40:50] All images processed
# # [INFO] [2024-11-30T23:40:50] Writing accounting information
# # [INFO] [2024-11-30T23:40:50] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0400360401OMS401SWSRLI0000.FIT|USER|L ',
# 'product/P0400360401OMS401SWSRLI2000.FIT|USER|L '
# ]; 
# # [INFO] [2024-11-30T23:40:50] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0400360401OMS401SIMAGE0000.FIT|USER|L|1.46000000000000E+03|S401 ',
# 'product/P0400360401OMS401SIMAGE2000.FIT|USER|L|1.46000000000000E+03|S401 '
# ]; 
# # [INFO] [2024-11-30T23:40:50] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:40:50] Instrument: om
# # [INFO] [2024-11-30T23:40:50] Stream no.: 0004
# # [INFO] [2024-11-30T23:40:50] Module version number: 3.28
# # [INFO] [2024-11-30T23:40:50] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:40:50] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:40:50] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:40:50] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:40:50] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:40:50] Found 2 Image mode images.
# # [INFO] [2024-11-30T23:40:50] Analysing odf/1171_0400360401_OMS40200IMI.FIT for image identification
# # [INFO] [2024-11-30T23:40:50] Identified mode: USER
# # [INFO] [2024-11-30T23:40:50] Analysing odf/1171_0400360401_OMS40202IMI.FIT for image identification
# # [INFO] [2024-11-30T23:40:50] Identified mode: USER
# # [INFO] [2024-11-30T23:40:50] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:40:50] Processing USER Images.
# # [INFO] [2024-11-30T23:40:50] 2 images to process.
# # [INFO] [2024-11-30T23:40:50] Processing S402:0:odf/1171_0400360401_OMS40200IMI.FIT
# [COMMAND] [2024-11-30T23:40:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:50]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:50]
omprep modeset=0 nphset=odf/1171_0400360401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-4-Raw_Image-S40200000000000.fits \
pehset=odf/1171_0400360401_OMX00000PEH.FIT set=odf/1171_0400360401_OMS40200IMI.FIT wdxset=odf/1171_0400360401_OMS40200WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:50]
# # [INFO] [2024-11-30T23:40:50] Task Run Time omprep 0.187605857849121s
#
# # [INFO] [2024-11-30T23:40:50] Retrieving FILTER value
# # [INFO] [2024-11-30T23:40:50] FILTER = L
# # [INFO] [2024-11-30T23:40:50] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:40:50] EXPOSURE = 1.46000000000000E+03
# [COMMAND] [2024-11-30T23:40:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:50]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:50]
omcosflag set=intermediate/OMImageAnalyse-om-4-Raw_Image-S40200000000000.fits \
thxset=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S40200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:50]
# # [INFO] [2024-11-30T23:40:50] Task Run Time omcosflag 0.173117160797119s
#
# [COMMAND] [2024-11-30T23:40:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:50]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:50]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-4-OSW_Flat_Fielded_Image-S40200000000000.fits \
set=intermediate/OMImageAnalyse-om-4-Raw_Image-S40200000000000.fits \
thxset=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S40200000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-4-OSW_Flat_Field-S40200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:50]
# # [INFO] [2024-11-30T23:40:50] Task Run Time omflatfield 0.0418369770050049s
#
# [COMMAND] [2024-11-30T23:40:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:50]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:50]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-4-OSW_MODULO_8_IMAGE-S40200000000000.fits nbox=16 nsig=6 \
outset=product/P0400360401OMS402IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-4-OSW_Flat_Fielded_Image-S40200000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:40:51] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:40:51] Task Run Time ommodmap 0.661956071853638s
#
# [COMMAND] [2024-11-30T23:40:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:51]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:51]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS402IMAGE_0000.FIT set=product/P0400360401OMS402IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:40:51] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS402IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:40:51] Task Run Time omqualitymap 0.0491251945495605s
#
# [COMMAND] [2024-11-30T23:40:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:51]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:51]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0400360401OMS402SWSRLI0000.FIT \
regionfile=product/P0400360401OMS402SWSREG0000.ASC set=product/P0400360401OMS402IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:53]
# # [INFO] [2024-11-30T23:40:53] Task Run Time omdetect 2.36305904388428s
#
# [COMMAND] [2024-11-30T23:40:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:53]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:53]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS402IMAGE_0000.FIT set=product/P0400360401OMS402IMAGE_0000.FIT \
srclistset=product/P0400360401OMS402SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:53] ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS402SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS402IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS402SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:40:53] Task Run Time omqualitymap 0.050044059753418s
#
# [COMMAND] [2024-11-30T23:40:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:53]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:53]
ommag set=product/P0400360401OMS402SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:53]
# TDP corr factor is: 1.08170187 
# L265 tdpCorrFactor= 1.08170187 
# L348 getting the column data
# In: 122.688927 111.459152 1 948
# X,Y,pdepcorr: 1070.68896 985.459167 1.00000000 
# # [INFO] [2024-11-30T23:40:53] Task Run Time ommag 0.0614721775054932s
#
# [COMMAND] [2024-11-30T23:40:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:53]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:53]
omatt catfile=product/P0400360401OBX000REFCAT0000.FIT ppsoswset=product/P0400360401OMS402SIMAGE0000.FIT \
set=product/P0400360401OMS402IMAGE_0000.FIT sourcelistset=product/P0400360401OMS402SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:40:54] ** omatt: warning (Too few sources for astrometry (1)), Need at least 5 
# # [INFO] [2024-11-30T23:40:54] Task Run Time omatt 1.09582805633545s
#
# [COMMAND] [2024-11-30T23:40:54]
export \
PFILES=/scratch/225570.1.all.q/xmm/ppsprod/228715/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:40:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:54]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:54]
fimgstat clobber=Y infile=product/P0400360401OMS402SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-4-OSW_0_sky_image_statistics-S40200000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:40:54]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:40:54] Task Run Time fimgstat 0.0206878185272217s
#
# # [INFO] [2024-11-30T23:40:54] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS402SIMAGE0000.FIT\
#     --outfile=product/P0400360401OMS402SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:40:54]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:54]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:54] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:54]
implot.py --fitsImage=product/P0400360401OMS402SIMAGE0000.FIT --outfile=product/P0400360401OMS402SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:40:57] Image shape. y,x: (265, 276) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (264, 275) x/y ratio: 1.04 
# # [INFO] [2024-11-30T23:40:57] Task Run Time implot.py 2.1061429977417s
#
# # [INFO] [2024-11-30T23:40:57] Processing S402:2:odf/1171_0400360401_OMS40202IMI.FIT
# [COMMAND] [2024-11-30T23:40:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:57]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:57]
omprep modeset=0 nphset=odf/1171_0400360401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-4-Raw_Image-S40200020000000.fits \
pehset=odf/1171_0400360401_OMX00000PEH.FIT set=odf/1171_0400360401_OMS40202IMI.FIT wdxset=odf/1171_0400360401_OMS40200WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:40:57]
# # [INFO] [2024-11-30T23:40:57] Task Run Time omprep 0.156605005264282s
#
# # [INFO] [2024-11-30T23:40:57] Retrieving FILTER value
# # [INFO] [2024-11-30T23:40:57] FILTER = L
# # [INFO] [2024-11-30T23:40:57] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:40:57] EXPOSURE = 1.46000000000000E+03
# [COMMAND] [2024-11-30T23:40:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:57]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:57]
omcosflag set=intermediate/OMImageAnalyse-om-4-Raw_Image-S40200020000000.fits \
thxset=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S40200000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:58]
# # [INFO] [2024-11-30T23:40:58] Task Run Time omcosflag 0.829415082931519s
#
# [COMMAND] [2024-11-30T23:40:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:58]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:58]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-4-OSW_Flat_Fielded_Image-S40200020000000.fits \
set=intermediate/OMImageAnalyse-om-4-Raw_Image-S40200020000000.fits \
thxset=intermediate/OMExpAnalyse-om-4-omprep_tracking_history-S40200000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-4-OSW_Flat_Field-S40200020000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:40:58]
# # [INFO] [2024-11-30T23:40:58] Task Run Time omflatfield 0.0776011943817139s
#
# [COMMAND] [2024-11-30T23:40:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:40:58]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:40:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:40:58]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-4-OSW_MODULO_8_IMAGE-S40200020000000.fits nbox=16 nsig=6 \
outset=product/P0400360401OMS402IMAGE_2000.FIT set=intermediate/OMImageAnalyse-om-4-OSW_Flat_Fielded_Image-S40200020000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:41:01] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:41:01] Task Run Time ommodmap 2.91559600830078s
#
# [COMMAND] [2024-11-30T23:41:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:01]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:01]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS402IMAGE_2000.FIT set=product/P0400360401OMS402IMAGE_2000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:41:01] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS402IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:41:01] Task Run Time omqualitymap 0.101897954940796s
#
# [COMMAND] [2024-11-30T23:41:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:01]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:01]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0400360401OMS402SWSRLI2000.FIT \
regionfile=product/P0400360401OMS402SWSREG2000.ASC set=product/P0400360401OMS402IMAGE_2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:05]
# # [INFO] [2024-11-30T23:41:05] Task Run Time omdetect 4.58659410476685s
#
# [COMMAND] [2024-11-30T23:41:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:05]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:05]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS402IMAGE_2000.FIT set=product/P0400360401OMS402IMAGE_2000.FIT \
srclistset=product/P0400360401OMS402SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:05] ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS402SWSRLI2000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS402IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS402SWSRLI2000.FIT; 
# # [INFO] [2024-11-30T23:41:05] Task Run Time omqualitymap 0.0940167903900146s
#
# [COMMAND] [2024-11-30T23:41:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:05]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:05]
ommag set=product/P0400360401OMS402SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:05]
# TDP corr factor is: 1.08170187 
# L265 tdpCorrFactor= 1.08170187 
# L348 getting the column data
# In: 471.321228 144.699722 2 212
# X,Y,pdepcorr: 1154.64246 331.399445 1.00000000 
# In: 664.132812 95.1946030 2 212
# X,Y,pdepcorr: 1540.26562 232.389206 1.00000000 
# In: 527.676575 216.378342 2 212
# X,Y,pdepcorr: 1267.35315 474.756683 1.00000000 
# In: 418.288116 58.8030014 2 212
# X,Y,pdepcorr: 1048.57617 159.606003 1.00000000 
# In: 437.540741 4.13522243 2 212
# X,Y,pdepcorr: 1087.08154 50.2704468 1.00000000 
# In: 767.750671 132.730270 2 212
# X,Y,pdepcorr: 1747.50134 307.460541 1.00000000 
# In: 614.607727 25.3715076 2 212
# X,Y,pdepcorr: 1441.21545 92.7430115 1.00000000 
# In: 481.616791 171.247833 2 212
# X,Y,pdepcorr: 1175.23364 384.495667 1.00000000 
# In: 454.212860 13.1007776 2 212
# X,Y,pdepcorr: 1120.42578 68.2015533 1.00000000 
# In: 851.736023 72.4242477 2 212
# X,Y,pdepcorr: 1915.47205 186.848495 1.00000000 
# In: 750.531433 79.3805771 2 212
# X,Y,pdepcorr: 1713.06287 200.761154 1.00000000 
# In: 788.370361 183.508057 2 212
# X,Y,pdepcorr: 1788.74072 409.016113 1.00000000 
# In: 198.936218 196.783035 2 212
# X,Y,pdepcorr: 609.872437 435.566071 1.00000000 
# In: 309.378571 212.611374 2 212
# X,Y,pdepcorr: 830.757141 467.222748 1.00000000 
# In: 647.132324 29.6781998 2 212
# X,Y,pdepcorr: 1506.26465 101.356400 1.00000000 
# In: 249.789505 47.5644722 2 212
# X,Y,pdepcorr: 711.578979 137.128937 1.00000000 
# In: 371.271912 95.1552048 2 212
# X,Y,pdepcorr: 954.543823 232.310410 1.00000000 
# In: 245.015335 74.9868622 2 212
# X,Y,pdepcorr: 702.030640 191.973724 1.00000000 
# In: 440.003540 54.9188461 2 212
# X,Y,pdepcorr: 1092.00708 151.837692 1.00000000 
# In: 133.831833 124.429665 2 212
# X,Y,pdepcorr: 479.663666 290.859314 1.00000000 
# In: 710.224182 180.158615 2 212
# X,Y,pdepcorr: 1632.44836 402.317230 1.00000000 
# In: 639.902588 132.822586 2 212
# X,Y,pdepcorr: 1491.80518 307.645172 1.00000000 
# In: 854.201416 100.135910 2 212
# X,Y,pdepcorr: 1920.40283 242.271820 1.00000000 
# In: 846.084900 184.806046 2 212
# X,Y,pdepcorr: 1904.16980 411.612091 1.00000000 
# # [INFO] [2024-11-30T23:41:05] Task Run Time ommag 0.0623128414154053s
#
# [COMMAND] [2024-11-30T23:41:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:05]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:05]
omatt catfile=product/P0400360401OBX000REFCAT0000.FIT ppsoswset=product/P0400360401OMS402SIMAGE2000.FIT \
set=product/P0400360401OMS402IMAGE_2000.FIT sourcelistset=product/P0400360401OMS402SWSRLI2000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:10]
# # [INFO] [2024-11-30T23:41:10] Task Run Time omatt 4.18777513504028s
#
# [COMMAND] [2024-11-30T23:41:10]
export \
PFILES=/scratch/225570.1.all.q/xmm/ppsprod/228715/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:41:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:10]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:10]
fimgstat clobber=Y infile=product/P0400360401OMS402SIMAGE2000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-4-OSW_2_sky_image_statistics-S40200000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:41:10]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:41:10] Task Run Time fimgstat 0.0487010478973389s
#
# # [INFO] [2024-11-30T23:41:10] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS402SIMAGE2000.FIT\
#     --outfile=product/P0400360401OMS402SIMAGE2000.PNG
# [COMMAND] [2024-11-30T23:41:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:10]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:10]
implot.py --fitsImage=product/P0400360401OMS402SIMAGE2000.FIT --outfile=product/P0400360401OMS402SIMAGE2000.PNG
# # [OUTPUT] [2024-11-30T23:41:13] Image shape. y,x: (927, 469) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (926, 468) x/y ratio: 0.51 
# # [INFO] [2024-11-30T23:41:13] Task Run Time implot.py 3.34083700180054s
#
# # [INFO] [2024-11-30T23:41:13] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:41:13] 0 images to process.
# # [INFO] [2024-11-30T23:41:13] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:41:13] 0 images to process.
# # [INFO] [2024-11-30T23:41:13] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:41:13] 0 images to process.
# # [INFO] [2024-11-30T23:41:13] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:41:13] 0 images to process.
# # [INFO] [2024-11-30T23:41:13] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:41:13] 0 images to process.
# # [INFO] [2024-11-30T23:41:13] All images processed
# # [INFO] [2024-11-30T23:41:13] Writing accounting information
# # [INFO] [2024-11-30T23:41:13] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0400360401OMS402SWSRLI0000.FIT|USER|L ',
# 'product/P0400360401OMS402SWSRLI2000.FIT|USER|L '
# ]; 
# # [INFO] [2024-11-30T23:41:13] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0400360401OMS402SIMAGE0000.FIT|USER|L|1.46000000000000E+03|S402 ',
# 'product/P0400360401OMS402SIMAGE2000.FIT|USER|L|1.46000000000000E+03|S402 '
# ]; 
# # [INFO] [2024-11-30T23:41:13] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:41:13] Instrument: om
# # [INFO] [2024-11-30T23:41:13] Stream no.: 0005
# # [INFO] [2024-11-30T23:41:13] Module version number: 3.28
# # [INFO] [2024-11-30T23:41:13] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:41:13] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:41:13] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:41:13] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:41:13] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:41:13] Found 2 Image mode images.
# # [INFO] [2024-11-30T23:41:13] Analysing odf/1171_0400360401_OMS40300IMI.FIT for image identification
# # [INFO] [2024-11-30T23:41:13] Identified mode: USER
# # [INFO] [2024-11-30T23:41:13] Analysing odf/1171_0400360401_OMS40302IMI.FIT for image identification
# # [INFO] [2024-11-30T23:41:13] Identified mode: USER
# # [INFO] [2024-11-30T23:41:13] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:41:13] Processing USER Images.
# # [INFO] [2024-11-30T23:41:13] 2 images to process.
# # [INFO] [2024-11-30T23:41:13] Processing S403:0:odf/1171_0400360401_OMS40300IMI.FIT
# [COMMAND] [2024-11-30T23:41:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:13]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:13]
omprep modeset=0 nphset=odf/1171_0400360401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-5-Raw_Image-S40300000000000.fits \
pehset=odf/1171_0400360401_OMX00000PEH.FIT set=odf/1171_0400360401_OMS40300IMI.FIT wdxset=odf/1171_0400360401_OMS40300WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:13]
# # [INFO] [2024-11-30T23:41:13] Task Run Time omprep 0.242764949798584s
#
# # [INFO] [2024-11-30T23:41:13] Retrieving FILTER value
# # [INFO] [2024-11-30T23:41:13] FILTER = L
# # [INFO] [2024-11-30T23:41:13] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:41:13] EXPOSURE = 1.46000000000000E+03
# [COMMAND] [2024-11-30T23:41:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:13]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:13]
omcosflag set=intermediate/OMImageAnalyse-om-5-Raw_Image-S40300000000000.fits \
thxset=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S40300000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:14]
# # [INFO] [2024-11-30T23:41:14] Task Run Time omcosflag 0.215313911437988s
#
# [COMMAND] [2024-11-30T23:41:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:14]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:14]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-5-OSW_Flat_Fielded_Image-S40300000000000.fits \
set=intermediate/OMImageAnalyse-om-5-Raw_Image-S40300000000000.fits \
thxset=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S40300000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-5-OSW_Flat_Field-S40300000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:14]
# # [INFO] [2024-11-30T23:41:14] Task Run Time omflatfield 0.117785930633545s
#
# [COMMAND] [2024-11-30T23:41:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:14]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:14]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-5-OSW_MODULO_8_IMAGE-S40300000000000.fits nbox=16 nsig=6 \
outset=product/P0400360401OMS403IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-5-OSW_Flat_Fielded_Image-S40300000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:41:14] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:41:14] Task Run Time ommodmap 0.756884813308716s
#
# [COMMAND] [2024-11-30T23:41:14]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:14]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:14] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:14]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS403IMAGE_0000.FIT set=product/P0400360401OMS403IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:41:15] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS403IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:41:15] Task Run Time omqualitymap 0.0798008441925049s
#
# [COMMAND] [2024-11-30T23:41:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:15]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:15]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0400360401OMS403SWSRLI0000.FIT \
regionfile=product/P0400360401OMS403SWSREG0000.ASC set=product/P0400360401OMS403IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:17]
# # [INFO] [2024-11-30T23:41:17] Task Run Time omdetect 2.5647029876709s
#
# [COMMAND] [2024-11-30T23:41:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:17]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:17]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS403IMAGE_0000.FIT set=product/P0400360401OMS403IMAGE_0000.FIT \
srclistset=product/P0400360401OMS403SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:17] ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS403SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS403IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS403SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:41:17] Task Run Time omqualitymap 0.0459878444671631s
#
# [COMMAND] [2024-11-30T23:41:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:17]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:17]
ommag set=product/P0400360401OMS403SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:17]
# TDP corr factor is: 1.08170247 
# L265 tdpCorrFactor= 1.08170247 
# L348 getting the column data
# In: 122.919815 111.124054 1 948
# X,Y,pdepcorr: 1070.91980 985.124023 1.00000000 
# # [INFO] [2024-11-30T23:41:17] Task Run Time ommag 0.0734670162200928s
#
# [COMMAND] [2024-11-30T23:41:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:17]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:17]
omatt catfile=product/P0400360401OBX000REFCAT0000.FIT ppsoswset=product/P0400360401OMS403SIMAGE0000.FIT \
set=product/P0400360401OMS403IMAGE_0000.FIT sourcelistset=product/P0400360401OMS403SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:18] ** omatt: warning (Too few sources for astrometry (1)), Need at least 5 
# # [INFO] [2024-11-30T23:41:18] Task Run Time omatt 1.2377450466156s
#
# [COMMAND] [2024-11-30T23:41:18]
export \
PFILES=/scratch/225570.1.all.q/xmm/ppsprod/228715/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:41:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:18]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:18]
fimgstat clobber=Y infile=product/P0400360401OMS403SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-5-OSW_0_sky_image_statistics-S40300000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:41:19]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:41:19] Task Run Time fimgstat 0.058596134185791s
#
# # [INFO] [2024-11-30T23:41:19] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS403SIMAGE0000.FIT\
#     --outfile=product/P0400360401OMS403SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:41:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:19]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:19]
implot.py --fitsImage=product/P0400360401OMS403SIMAGE0000.FIT --outfile=product/P0400360401OMS403SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:41:22] Image shape. y,x: (265, 276) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (264, 275) x/y ratio: 1.04 
# # [INFO] [2024-11-30T23:41:22] Task Run Time implot.py 3.2225170135498s
#
# # [INFO] [2024-11-30T23:41:22] Processing S403:2:odf/1171_0400360401_OMS40302IMI.FIT
# [COMMAND] [2024-11-30T23:41:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:22]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:22]
omprep modeset=0 nphset=odf/1171_0400360401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-5-Raw_Image-S40300020000000.fits \
pehset=odf/1171_0400360401_OMX00000PEH.FIT set=odf/1171_0400360401_OMS40302IMI.FIT wdxset=odf/1171_0400360401_OMS40300WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:22]
# # [INFO] [2024-11-30T23:41:22] Task Run Time omprep 0.191819906234741s
#
# # [INFO] [2024-11-30T23:41:22] Retrieving FILTER value
# # [INFO] [2024-11-30T23:41:22] FILTER = L
# # [INFO] [2024-11-30T23:41:22] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:41:22] EXPOSURE = 1.46000000000000E+03
# [COMMAND] [2024-11-30T23:41:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:22]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:22]
omcosflag set=intermediate/OMImageAnalyse-om-5-Raw_Image-S40300020000000.fits \
thxset=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S40300000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:23]
# # [INFO] [2024-11-30T23:41:23] Task Run Time omcosflag 0.810091018676758s
#
# [COMMAND] [2024-11-30T23:41:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:23]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:23]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-5-OSW_Flat_Fielded_Image-S40300020000000.fits \
set=intermediate/OMImageAnalyse-om-5-Raw_Image-S40300020000000.fits \
thxset=intermediate/OMExpAnalyse-om-5-omprep_tracking_history-S40300000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-5-OSW_Flat_Field-S40300020000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:23]
# # [INFO] [2024-11-30T23:41:23] Task Run Time omflatfield 0.0999782085418701s
#
# [COMMAND] [2024-11-30T23:41:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:23]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:23]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-5-OSW_MODULO_8_IMAGE-S40300020000000.fits nbox=16 nsig=6 \
outset=product/P0400360401OMS403IMAGE_2000.FIT set=intermediate/OMImageAnalyse-om-5-OSW_Flat_Fielded_Image-S40300020000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:41:26] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:41:26] Task Run Time ommodmap 3.09761309623718s
#
# [COMMAND] [2024-11-30T23:41:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:26]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:26]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS403IMAGE_2000.FIT set=product/P0400360401OMS403IMAGE_2000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:41:26] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS403IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:41:26] Task Run Time omqualitymap 0.101531982421875s
#
# [COMMAND] [2024-11-30T23:41:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:26]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:26]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0400360401OMS403SWSRLI2000.FIT \
regionfile=product/P0400360401OMS403SWSREG2000.ASC set=product/P0400360401OMS403IMAGE_2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:31]
# # [INFO] [2024-11-30T23:41:31] Task Run Time omdetect 5.03940486907959s
#
# [COMMAND] [2024-11-30T23:41:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:31]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:31]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS403IMAGE_2000.FIT set=product/P0400360401OMS403IMAGE_2000.FIT \
srclistset=product/P0400360401OMS403SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:31] ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS403SWSRLI2000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS403IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS403SWSRLI2000.FIT; 
# # [INFO] [2024-11-30T23:41:31] Task Run Time omqualitymap 0.0857329368591309s
#
# [COMMAND] [2024-11-30T23:41:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:31]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:31]
ommag set=product/P0400360401OMS403SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:31]
# TDP corr factor is: 1.08170247 
# L265 tdpCorrFactor= 1.08170247 
# L348 getting the column data
# In: 90.1994553 556.639587 2 1492
# X,Y,pdepcorr: 1672.39893 1347.27917 1.00000000 
# In: 164.885315 742.130249 2 1492
# X,Y,pdepcorr: 1821.77063 1718.26050 1.00000000 
# In: 211.578384 740.854248 2 1492
# X,Y,pdepcorr: 1915.15674 1715.70850 1.00000000 
# In: 127.949585 36.3986778 2 1492
# X,Y,pdepcorr: 1747.89917 306.797363 1.00000000 
# In: 164.927322 307.853851 2 1492
# X,Y,pdepcorr: 1821.85461 849.707703 1.00000000 
# In: 80.4004135 696.758911 2 1492
# X,Y,pdepcorr: 1652.80078 1627.51782 1.00000000 
# In: 110.091232 886.924438 2 1492
# X,Y,pdepcorr: 1712.18250 2007.84888 1.00000000 
# In: 135.449768 212.952866 2 1492
# X,Y,pdepcorr: 1762.89954 659.905762 1.00000000 
# In: 47.6458092 562.283325 2 1492
# X,Y,pdepcorr: 1587.29163 1358.56665 1.00000000 
# In: 148.717773 87.3196487 2 1492
# X,Y,pdepcorr: 1789.43555 408.639282 1.00000000 
# In: 121.668930 865.257324 2 1492
# X,Y,pdepcorr: 1735.33789 1964.51465 1.00000000 
# In: 63.6981163 868.362610 2 1492
# X,Y,pdepcorr: 1619.39624 1970.72522 1.00000000 
# In: 33.7182007 238.621292 2 1492
# X,Y,pdepcorr: 1559.43640 711.242554 1.00000000 
# In: 177.769836 248.006821 2 1492
# X,Y,pdepcorr: 1847.53967 730.013672 1.00000000 
# In: 62.0732574 493.898987 2 1492
# X,Y,pdepcorr: 1616.14648 1221.79797 1.00000000 
# In: 70.2779770 84.1750031 2 1492
# X,Y,pdepcorr: 1632.55591 402.350006 1.00000000 
# In: 117.185104 336.893616 2 1492
# X,Y,pdepcorr: 1726.37024 907.787231 1.00000000 
# In: 108.016075 787.653687 2 1492
# X,Y,pdepcorr: 1708.03210 1809.30737 1.00000000 
# In: 188.953232 729.070435 2 1492
# X,Y,pdepcorr: 1869.90649 1692.14087 1.00000000 
# In: 11.0385695 521.866821 2 1492
# X,Y,pdepcorr: 1514.07715 1277.73364 1.00000000 
# In: 57.0170555 54.3195038 2 1492
# X,Y,pdepcorr: 1606.03406 342.639008 1.00000000 
# In: 213.910736 4.13063335 2 1492
# X,Y,pdepcorr: 1919.82153 242.261261 1.00000000 
# In: 24.7947330 1.77346075 2 1492
# X,Y,pdepcorr: 1541.58948 237.546921 1.00000000 
# In: 234.075943 684.099426 2 1492
# X,Y,pdepcorr: 1960.15186 1602.19885 1.00000000 
# # [INFO] [2024-11-30T23:41:31] Task Run Time ommag 0.0777111053466797s
#
# [COMMAND] [2024-11-30T23:41:31]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:31]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:31] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:31]
omatt catfile=product/P0400360401OBX000REFCAT0000.FIT ppsoswset=product/P0400360401OMS403SIMAGE2000.FIT \
set=product/P0400360401OMS403IMAGE_2000.FIT sourcelistset=product/P0400360401OMS403SWSRLI2000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:35]
# # [INFO] [2024-11-30T23:41:35] Task Run Time omatt 4.15973210334778s
#
# [COMMAND] [2024-11-30T23:41:35]
export \
PFILES=/scratch/225570.1.all.q/xmm/ppsprod/228715/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:41:35]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:35]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:35] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:35]
fimgstat clobber=Y infile=product/P0400360401OMS403SIMAGE2000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-5-OSW_2_sky_image_statistics-S40300000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:41:35]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:41:35] Task Run Time fimgstat 0.059028148651123s
#
# # [INFO] [2024-11-30T23:41:36] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS403SIMAGE2000.FIT\
#     --outfile=product/P0400360401OMS403SIMAGE2000.PNG
# [COMMAND] [2024-11-30T23:41:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:36]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:36]
implot.py --fitsImage=product/P0400360401OMS403SIMAGE2000.FIT --outfile=product/P0400360401OMS403SIMAGE2000.PNG
# # [OUTPUT] [2024-11-30T23:41:38] Image shape. y,x: (465, 978) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (464, 977) x/y ratio: 2.11 
# # [INFO] [2024-11-30T23:41:38] Task Run Time implot.py 2.85776805877686s
#
# # [INFO] [2024-11-30T23:41:38] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:41:38] 0 images to process.
# # [INFO] [2024-11-30T23:41:38] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:41:38] 0 images to process.
# # [INFO] [2024-11-30T23:41:38] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:41:38] 0 images to process.
# # [INFO] [2024-11-30T23:41:38] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:41:38] 0 images to process.
# # [INFO] [2024-11-30T23:41:38] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:41:38] 0 images to process.
# # [INFO] [2024-11-30T23:41:38] All images processed
# # [INFO] [2024-11-30T23:41:38] Writing accounting information
# # [INFO] [2024-11-30T23:41:38] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0400360401OMS403SWSRLI0000.FIT|USER|L ',
# 'product/P0400360401OMS403SWSRLI2000.FIT|USER|L '
# ]; 
# # [INFO] [2024-11-30T23:41:38] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0400360401OMS403SIMAGE0000.FIT|USER|L|1.46000000000000E+03|S403 ',
# 'product/P0400360401OMS403SIMAGE2000.FIT|USER|L|1.46000000000000E+03|S403 '
# ]; 
# # [INFO] [2024-11-30T23:41:38] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:41:38] Instrument: om
# # [INFO] [2024-11-30T23:41:38] Stream no.: 0006
# # [INFO] [2024-11-30T23:41:38] Module version number: 3.28
# # [INFO] [2024-11-30T23:41:38] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:41:38] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:41:38] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:41:38] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:41:38] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:41:38] Found 2 Image mode images.
# # [INFO] [2024-11-30T23:41:38] Analysing odf/1171_0400360401_OMS40400IMI.FIT for image identification
# # [INFO] [2024-11-30T23:41:38] Identified mode: USER
# # [INFO] [2024-11-30T23:41:38] Analysing odf/1171_0400360401_OMS40402IMI.FIT for image identification
# # [INFO] [2024-11-30T23:41:38] Identified mode: USER
# # [INFO] [2024-11-30T23:41:38] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:41:38] Processing USER Images.
# # [INFO] [2024-11-30T23:41:38] 2 images to process.
# # [INFO] [2024-11-30T23:41:38] Processing S404:0:odf/1171_0400360401_OMS40400IMI.FIT
# [COMMAND] [2024-11-30T23:41:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:38]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:38]
omprep modeset=0 nphset=odf/1171_0400360401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-6-Raw_Image-S40400000000000.fits \
pehset=odf/1171_0400360401_OMX00000PEH.FIT set=odf/1171_0400360401_OMS40400IMI.FIT wdxset=odf/1171_0400360401_OMS40400WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:39]
# # [INFO] [2024-11-30T23:41:39] Task Run Time omprep 0.174569845199585s
#
# # [INFO] [2024-11-30T23:41:39] Retrieving FILTER value
# # [INFO] [2024-11-30T23:41:39] FILTER = L
# # [INFO] [2024-11-30T23:41:39] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:41:39] EXPOSURE = 1.46000000000000E+03
# [COMMAND] [2024-11-30T23:41:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:39]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:39]
omcosflag set=intermediate/OMImageAnalyse-om-6-Raw_Image-S40400000000000.fits \
thxset=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S40400000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:39]
# # [INFO] [2024-11-30T23:41:39] Task Run Time omcosflag 0.224802017211914s
#
# [COMMAND] [2024-11-30T23:41:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:39]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:39]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-6-OSW_Flat_Fielded_Image-S40400000000000.fits \
set=intermediate/OMImageAnalyse-om-6-Raw_Image-S40400000000000.fits \
thxset=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S40400000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-6-OSW_Flat_Field-S40400000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:39]
# # [INFO] [2024-11-30T23:41:39] Task Run Time omflatfield 0.0479409694671631s
#
# [COMMAND] [2024-11-30T23:41:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:39]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:39]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-6-OSW_MODULO_8_IMAGE-S40400000000000.fits nbox=16 nsig=6 \
outset=product/P0400360401OMS404IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-6-OSW_Flat_Fielded_Image-S40400000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:41:40] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:41:40] Task Run Time ommodmap 0.671221971511841s
#
# [COMMAND] [2024-11-30T23:41:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:40]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:40]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS404IMAGE_0000.FIT set=product/P0400360401OMS404IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:41:40] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS404IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:41:40] Task Run Time omqualitymap 0.0490279197692871s
#
# [COMMAND] [2024-11-30T23:41:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:40]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:40]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0400360401OMS404SWSRLI0000.FIT \
regionfile=product/P0400360401OMS404SWSREG0000.ASC set=product/P0400360401OMS404IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:42]
# # [INFO] [2024-11-30T23:41:42] Task Run Time omdetect 2.30450391769409s
#
# [COMMAND] [2024-11-30T23:41:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:42]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:42]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS404IMAGE_0000.FIT set=product/P0400360401OMS404IMAGE_0000.FIT \
srclistset=product/P0400360401OMS404SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:42] ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS404SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS404IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS404SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:41:42] Task Run Time omqualitymap 0.10931921005249s
#
# [COMMAND] [2024-11-30T23:41:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:42]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:42]
ommag set=product/P0400360401OMS404SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:42]
# TDP corr factor is: 1.08170295 
# L265 tdpCorrFactor= 1.08170295 
# L348 getting the column data
# In: 122.764030 111.232765 1 948
# X,Y,pdepcorr: 1070.76404 985.232788 1.00000000 
# # [INFO] [2024-11-30T23:41:42] Task Run Time ommag 0.132591009140015s
#
# [COMMAND] [2024-11-30T23:41:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:42]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:42]
omatt catfile=product/P0400360401OBX000REFCAT0000.FIT ppsoswset=product/P0400360401OMS404SIMAGE0000.FIT \
set=product/P0400360401OMS404IMAGE_0000.FIT sourcelistset=product/P0400360401OMS404SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:41:43] ** omatt: warning (Too few sources for astrometry (1)), Need at least 5 
# # [INFO] [2024-11-30T23:41:43] Task Run Time omatt 1.11934590339661s
#
# [COMMAND] [2024-11-30T23:41:43]
export \
PFILES=/scratch/225570.1.all.q/xmm/ppsprod/228715/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:41:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:43]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:43]
fimgstat clobber=Y infile=product/P0400360401OMS404SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-6-OSW_0_sky_image_statistics-S40400000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:41:43]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:41:43] Task Run Time fimgstat 0.0240628719329834s
#
# # [INFO] [2024-11-30T23:41:43] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS404SIMAGE0000.FIT\
#     --outfile=product/P0400360401OMS404SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:41:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:43]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:43]
implot.py --fitsImage=product/P0400360401OMS404SIMAGE0000.FIT --outfile=product/P0400360401OMS404SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:41:46] Image shape. y,x: (265, 276) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (264, 275) x/y ratio: 1.04 
# # [INFO] [2024-11-30T23:41:46] Task Run Time implot.py 2.35782289505005s
#
# # [INFO] [2024-11-30T23:41:46] Processing S404:2:odf/1171_0400360401_OMS40402IMI.FIT
# [COMMAND] [2024-11-30T23:41:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:46]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:46]
omprep modeset=0 nphset=odf/1171_0400360401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-6-Raw_Image-S40400020000000.fits \
pehset=odf/1171_0400360401_OMX00000PEH.FIT set=odf/1171_0400360401_OMS40402IMI.FIT wdxset=odf/1171_0400360401_OMS40400WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:46]
# # [INFO] [2024-11-30T23:41:46] Task Run Time omprep 0.158227920532227s
#
# # [INFO] [2024-11-30T23:41:46] Retrieving FILTER value
# # [INFO] [2024-11-30T23:41:46] FILTER = L
# # [INFO] [2024-11-30T23:41:46] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:41:46] EXPOSURE = 1.46000000000000E+03
# [COMMAND] [2024-11-30T23:41:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:46]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:46]
omcosflag set=intermediate/OMImageAnalyse-om-6-Raw_Image-S40400020000000.fits \
thxset=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S40400000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:47]
# # [INFO] [2024-11-30T23:41:47] Task Run Time omcosflag 0.712419986724854s
#
# [COMMAND] [2024-11-30T23:41:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:47]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:47]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-6-OSW_Flat_Fielded_Image-S40400020000000.fits \
set=intermediate/OMImageAnalyse-om-6-Raw_Image-S40400020000000.fits \
thxset=intermediate/OMExpAnalyse-om-6-omprep_tracking_history-S40400000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-6-OSW_Flat_Field-S40400020000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:41:47]
# # [INFO] [2024-11-30T23:41:47] Task Run Time omflatfield 0.107821941375732s
#
# [COMMAND] [2024-11-30T23:41:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:47]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:47]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-6-OSW_MODULO_8_IMAGE-S40400020000000.fits nbox=16 nsig=6 \
outset=product/P0400360401OMS404IMAGE_2000.FIT set=intermediate/OMImageAnalyse-om-6-OSW_Flat_Fielded_Image-S40400020000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:41:51]
# # [INFO] [2024-11-30T23:41:51] Task Run Time ommodmap 4.0431170463562s
#
# [COMMAND] [2024-11-30T23:41:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:51]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:51]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS404IMAGE_2000.FIT set=product/P0400360401OMS404IMAGE_2000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:41:51] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS404IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:41:51] Task Run Time omqualitymap 0.0754280090332031s
#
# [COMMAND] [2024-11-30T23:41:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:51]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:51]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0400360401OMS404SWSRLI2000.FIT \
regionfile=product/P0400360401OMS404SWSREG2000.ASC set=product/P0400360401OMS404IMAGE_2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:55]
# # [INFO] [2024-11-30T23:41:55] Task Run Time omdetect 4.63085794448853s
#
# [COMMAND] [2024-11-30T23:41:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:55]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:55]
omqualitymap mode=setqualityimage outset=product/P0400360401OMS404IMAGE_2000.FIT set=product/P0400360401OMS404IMAGE_2000.FIT \
srclistset=product/P0400360401OMS404SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:55] ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS404SWSRLI2000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMS404IMAGE_2000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMS404SWSRLI2000.FIT; 
# # [INFO] [2024-11-30T23:41:55] Task Run Time omqualitymap 0.0911738872528076s
#
# [COMMAND] [2024-11-30T23:41:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:55]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:55]
ommag set=product/P0400360401OMS404SWSRLI2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:41:56]
# TDP corr factor is: 1.08170295 
# L265 tdpCorrFactor= 1.08170295 
# L348 getting the column data
# In: 306.898346 220.150803 2 4
# X,Y,pdepcorr: 617.796692 1922.30164 1.00000000 
# In: 555.858459 9.67944622 2 4
# X,Y,pdepcorr: 1115.71692 1501.35889 1.00000000 
# In: 34.9882011 209.934387 2 4
# X,Y,pdepcorr: 73.9764023 1901.86877 1.00000000 
# In: 358.098236 86.8677063 2 4
# X,Y,pdepcorr: 720.196472 1655.73535 1.00000000 
# In: 458.080322 30.7508392 2 4
# X,Y,pdepcorr: 920.160645 1543.50171 1.00000000 
# In: 673.721802 239.021393 2 4
# X,Y,pdepcorr: 1351.44360 1960.04272 1.00000000 
# In: 133.102264 68.3744049 2 4
# X,Y,pdepcorr: 270.204529 1618.74878 1.00000000 
# In: 265.158142 14.0084686 2 4
# X,Y,pdepcorr: 534.316284 1510.01697 1.00000000 
# In: 394.791199 38.9664001 2 4
# X,Y,pdepcorr: 793.582397 1559.93286 1.00000000 
# In: 824.301208 72.8791962 2 4
# X,Y,pdepcorr: 1652.60242 1627.75842 1.00000000 
# In: 413.653717 141.433655 2 4
# X,Y,pdepcorr: 831.307434 1764.86731 1.00000000 
# In: 491.657745 194.622025 2 4
# X,Y,pdepcorr: 987.315491 1871.24402 1.00000000 
# In: 627.721069 52.8063889 2 4
# X,Y,pdepcorr: 1259.44214 1587.61279 1.00000000 
# In: 427.788177 208.214706 2 4
# X,Y,pdepcorr: 859.576355 1898.42944 1.00000000 
# In: 269.785370 232.045898 2 4
# X,Y,pdepcorr: 543.570740 1946.09180 1.00000000 
# In: 311.101776 197.652802 2 4
# X,Y,pdepcorr: 626.203552 1877.30566 1.00000000 
# In: 875.881165 91.0610199 2 4
# X,Y,pdepcorr: 1755.76233 1664.12207 1.00000000 
# In: 18.4179153 180.986053 2 4
# X,Y,pdepcorr: 40.8358307 1843.97217 1.00000000 
# # [INFO] [2024-11-30T23:41:56] Task Run Time ommag 0.0561871528625488s
#
# [COMMAND] [2024-11-30T23:41:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:41:56]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:41:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:41:56]
omatt catfile=product/P0400360401OBX000REFCAT0000.FIT ppsoswset=product/P0400360401OMS404SIMAGE2000.FIT \
set=product/P0400360401OMS404IMAGE_2000.FIT sourcelistset=product/P0400360401OMS404SWSRLI2000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:42:00]
# # [INFO] [2024-11-30T23:42:00] Task Run Time omatt 4.26879811286926s
#
# [COMMAND] [2024-11-30T23:42:00]
export \
PFILES=/scratch/225570.1.all.q/xmm/ppsprod/228715/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:42:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:00]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:42:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:42:00]
fimgstat clobber=Y infile=product/P0400360401OMS404SIMAGE2000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-6-OSW_2_sky_image_statistics-S40400000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:42:00]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:42:00] Task Run Time fimgstat 0.0252730846405029s
#
# # [INFO] [2024-11-30T23:42:00] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMS404SIMAGE2000.FIT\
#     --outfile=product/P0400360401OMS404SIMAGE2000.PNG
# [COMMAND] [2024-11-30T23:42:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:00]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:42:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:42:00]
implot.py --fitsImage=product/P0400360401OMS404SIMAGE2000.FIT --outfile=product/P0400360401OMS404SIMAGE2000.PNG
# # [OUTPUT] [2024-11-30T23:42:02] Image shape. y,x: (939, 494) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (938, 493) x/y ratio: 0.53 
# # [INFO] [2024-11-30T23:42:02] Task Run Time implot.py 2.3839418888092s
#
# # [INFO] [2024-11-30T23:42:02] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:42:02] 0 images to process.
# # [INFO] [2024-11-30T23:42:02] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:42:02] 0 images to process.
# # [INFO] [2024-11-30T23:42:02] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:42:02] 0 images to process.
# # [INFO] [2024-11-30T23:42:02] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:42:02] 0 images to process.
# # [INFO] [2024-11-30T23:42:02] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:42:02] 0 images to process.
# # [INFO] [2024-11-30T23:42:02] All images processed
# # [INFO] [2024-11-30T23:42:02] Writing accounting information
# # [INFO] [2024-11-30T23:42:02] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0400360401OMS404SWSRLI0000.FIT|USER|L ',
# 'product/P0400360401OMS404SWSRLI2000.FIT|USER|L '
# ]; 
# # [INFO] [2024-11-30T23:42:02] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0400360401OMS404SIMAGE0000.FIT|USER|L|1.46000000000000E+03|S404 ',
# 'product/P0400360401OMS404SIMAGE2000.FIT|USER|L|1.46000000000000E+03|S404 '
# ]; 
# # [INFO] [2024-11-30T23:42:02] Module name: OMMosaic
# # [INFO] [2024-11-30T23:42:02] Instrument: om
# # [INFO] [2024-11-30T23:42:02] Stream no.: 0001
# # [INFO] [2024-11-30T23:42:02] Module version number: 2.39
# # [INFO] [2024-11-30T23:42:02] Looking For Images to Mosaic...
# # [INFO] [2024-11-30T23:42:02] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:42:02] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# [COMMAND] [2024-11-30T23:42:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:02]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:42:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:42:02]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [OUTPUT] [2024-11-30T23:42:03] intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# ['product/P0400360401OMS006SIMAGE0000.FIT|USER|L|1.46000000000000E+03|S006|0\n',\
#     'product/P0400360401OMS006SIMAGE2000.FIT|USER|L|1.46000000000000E+03|S006|1\n'] 
# # [INFO] [2024-11-30T23:42:03] Task Run Time addtomosaic.py 0.831564903259277s
#
# # [INFO] [2024-11-30T23:42:03] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S40100000000000.ascii
# # [INFO] [2024-11-30T23:42:03] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S40100000000000.ascii
# [COMMAND] [2024-11-30T23:42:03]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:03]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:42:03] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:42:03]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S40100000000000.ascii
# # [OUTPUT] [2024-11-30T23:42:04] intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S40100000000000.ascii
# ['product/P0400360401OMS401SIMAGE0000.FIT|USER|L|1.46000000000000E+03|S401|1\n',\
#     'product/P0400360401OMS401SIMAGE2000.FIT|USER|L|1.46000000000000E+03|S401|1\n'] 
# # [INFO] [2024-11-30T23:42:04] Task Run Time addtomosaic.py 0.986861944198608s
#
# # [INFO] [2024-11-30T23:42:04] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-4-OM_SKY_IMAGE_DETAILS-S40200000000000.ascii
# # [INFO] [2024-11-30T23:42:04] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-4-OM_SKY_IMAGE_DETAILS-S40200000000000.ascii
# [COMMAND] [2024-11-30T23:42:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:04]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:42:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:42:04]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-4-OM_SKY_IMAGE_DETAILS-S40200000000000.ascii
# # [OUTPUT] [2024-11-30T23:42:05] intermediate/OMImageAnalyse-om-4-OM_SKY_IMAGE_DETAILS-S40200000000000.ascii
# ['product/P0400360401OMS402SIMAGE0000.FIT|USER|L|1.46000000000000E+03|S402|1\n',\
#     'product/P0400360401OMS402SIMAGE2000.FIT|USER|L|1.46000000000000E+03|S402|1\n'] 
# # [INFO] [2024-11-30T23:42:05] Task Run Time addtomosaic.py 0.894675016403198s
#
# # [INFO] [2024-11-30T23:42:05] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-5-OM_SKY_IMAGE_DETAILS-S40300000000000.ascii
# # [INFO] [2024-11-30T23:42:05] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-5-OM_SKY_IMAGE_DETAILS-S40300000000000.ascii
# [COMMAND] [2024-11-30T23:42:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:05]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:42:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:42:05]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-5-OM_SKY_IMAGE_DETAILS-S40300000000000.ascii
# # [OUTPUT] [2024-11-30T23:42:06] intermediate/OMImageAnalyse-om-5-OM_SKY_IMAGE_DETAILS-S40300000000000.ascii
# ['product/P0400360401OMS403SIMAGE0000.FIT|USER|L|1.46000000000000E+03|S403|1\n',\
#     'product/P0400360401OMS403SIMAGE2000.FIT|USER|L|1.46000000000000E+03|S403|1\n'] 
# # [INFO] [2024-11-30T23:42:06] Task Run Time addtomosaic.py 0.883813858032227s
#
# # [INFO] [2024-11-30T23:42:06] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-6-OM_SKY_IMAGE_DETAILS-S40400000000000.ascii
# # [INFO] [2024-11-30T23:42:06] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-6-OM_SKY_IMAGE_DETAILS-S40400000000000.ascii
# [COMMAND] [2024-11-30T23:42:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:06]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:42:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:42:06]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-6-OM_SKY_IMAGE_DETAILS-S40400000000000.ascii
# # [OUTPUT] [2024-11-30T23:42:07] intermediate/OMImageAnalyse-om-6-OM_SKY_IMAGE_DETAILS-S40400000000000.ascii
# ['product/P0400360401OMS404SIMAGE0000.FIT|USER|L|1.46000000000000E+03|S404|1\n',\
#     'product/P0400360401OMS404SIMAGE2000.FIT|USER|L|1.46000000000000E+03|S404|1\n'] 
# # [INFO] [2024-11-30T23:42:07] Task Run Time addtomosaic.py 0.820919036865234s
#
# # [INFO] [2024-11-30T23:42:07] Found 10 Images
# # [INFO] [2024-11-30T23:42:07] Grouping Images by Mode then Filter
# # [INFO] [2024-11-30T23:42:07] Mode: ALL
# # [INFO] [2024-11-30T23:42:07] Filter: L
# # [INFO] [2024-11-30T23:42:07] Image File : product/P0400360401OMS006SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:42:07] Image File : product/P0400360401OMS006SIMAGE2000.FIT
# # [INFO] [2024-11-30T23:42:07] Image File : product/P0400360401OMS401SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:42:07] Image File : product/P0400360401OMS401SIMAGE2000.FIT
# # [INFO] [2024-11-30T23:42:07] Image File : product/P0400360401OMS402SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:42:07] Image File : product/P0400360401OMS402SIMAGE2000.FIT
# # [INFO] [2024-11-30T23:42:07] Image File : product/P0400360401OMS403SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:42:07] Image File : product/P0400360401OMS403SIMAGE2000.FIT
# # [INFO] [2024-11-30T23:42:07] Image File : product/P0400360401OMS404SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:42:07] Image File : product/P0400360401OMS404SIMAGE2000.FIT
# # [INFO] [2024-11-30T23:42:07] Creating Images...
# # [INFO] [2024-11-30T23:42:07] MODE: ALL
# # [INFO] [2024-11-30T23:42:07] FILTER: L
# # [INFO] [2024-11-30T23:42:07] CREATING: product/P0400360401OMX000XSIMAGL000.FIT, Duration: 7300
# [COMMAND] [2024-11-30T23:42:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:07]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:42:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:42:07]
ommosaic imagesets="product/P0400360401OMS006SIMAGE2000.FIT product/P0400360401OMS401SIMAGE0000.FIT \
product/P0400360401OMS401SIMAGE2000.FIT product/P0400360401OMS402SIMAGE0000.FIT product/P0400360401OMS402SIMAGE2000.FIT \
product/P0400360401OMS403SIMAGE0000.FIT product/P0400360401OMS403SIMAGE2000.FIT product/P0400360401OMS404SIMAGE0000.FIT \
product/P0400360401OMS404SIMAGE2000.FIT" mincorr=0 mosaicedset=product/P0400360401OMX000XSIMAGL000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:42:40] L1109 c3 xLeft=234.296435 xRight=233.659702 
# 14.7987 233.975 57.8954 
# # [INFO] [2024-11-30T23:42:40] Task Run Time ommosaic 32.9305357933044s
#
# [COMMAND] [2024-11-30T23:42:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:42:40]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:42:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:42:40]
omdetect backgroundmethod=1 detectextended=Y minsignificance=3 neighboursforpsfphotometry=1 nsigma=2 \
outset=product/P0400360401OMX000XSISWSL000.FIT psfphotometryenabled=N regionfile=product/P0400360401OMX000XSISWSL000.ASC \
set=product/P0400360401OMX000XSIMAGL000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:23] ** omdetect: warning (Possible Error!), nsources ne liinked-list size!
# ** omdetect: warning (Possible Error!), nsources ne liinked-list size! 
# # [INFO] [2024-11-30T23:43:23] Task Run Time omdetect 43.2623269557953s
#
# # [INFO] [2024-11-30T23:43:23] DEBUG - doCommand fullcmd : cleanommos.py --image=product/P0400360401OMX000XSIMAGL000.FIT\
#     --srcList=product/P0400360401OMX000XSISWSL000.FIT
# [COMMAND] [2024-11-30T23:43:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:23]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:43:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:43:23]
cleanommos.py --image=product/P0400360401OMX000XSIMAGL000.FIT --srcList=product/P0400360401OMX000XSISWSL000.FIT
# # [OUTPUT] [2024-11-30T23:43:25] Image file: product/P0400360401OMX000XSIMAGL000.FIT
# Nr. of sources in product/P0400360401OMX000XSISWSL000.FIT: 132
# 132 input sources ; 18 output sources 
# # [INFO] [2024-11-30T23:43:25] Task Run Time cleanommos.py 1.61228895187378s
#
# # [INFO] [2024-11-30T23:43:25] DEBUG: writing product/P0400360401OMX000XSISWSL000.FIT in file\
#     intermediate/OMMosaic-om-1-MOSAIC_SOURCE_LISTS-X00000000000000.ascii
# [COMMAND] [2024-11-30T23:43:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:25]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:43:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:43:25]
ommag set=product/P0400360401OMX000XSISWSL000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:25]
# TDP corr factor is: 1.08170080 
# L265 tdpCorrFactor= 1.08170080 
# L348 getting the column data
# ra,dec,x,y: 233.96796761355967 57.902736429505630 1073.03687 984.665955 
# X,Y,pdepcorr: 1073.03687 984.665955 1.00000000 
# ra,dec,x,y: 234.07736034985336 57.778884458443699 271.785156 1618.33020 
# X,Y,pdepcorr: 271.785156 1618.33020 1.00000000 
# ra,dec,x,y: 233.84162719139439 58.011809444725024 1749.12915 307.183624 
# X,Y,pdepcorr: 1749.12915 307.183624 1.00000000 
# ra,dec,x,y: 234.16842160357876 57.954576663438466 1654.14819 1627.74976 
# X,Y,pdepcorr: 1654.14819 1627.74976 1.00000000 
# ra,dec,x,y: 233.86984815433479 58.013440751787755 1790.76404 409.079285 
# X,Y,pdepcorr: 1790.76404 409.079285 1.00000000 
# ra,dec,x,y: 234.22012517277861 57.955852902161681 1709.15320 1809.31519 
# X,Y,pdepcorr: 1709.15320 1809.31519 1.00000000 
# ra,dec,x,y: 233.75890164998907 57.851962998203611 481.752350 290.459534 
# X,Y,pdepcorr: 481.752350 290.459534 1.00000000 
# ra,dec,x,y: 233.84202653791874 57.992148727741863 1607.81714 343.645752 
# X,Y,pdepcorr: 1607.81714 343.645752 1.00000000 
# ra,dec,x,y: 233.79209110251722 57.832373649813192 370.154266 453.005951 
# X,Y,pdepcorr: 370.154266 453.005951 1.00000000 
# ra,dec,x,y: 233.83656728839412 58.036780643259490 1921.85645 242.623764 
# X,Y,pdepcorr: 1921.85645 242.623764 1.00000000 
# ra,dec,x,y: 234.05695397399106 57.767106648681981 166.453125 1563.67822 
# X,Y,pdepcorr: 166.453125 1563.67822 1.00000000 
# ra,dec,x,y: 233.83226204962895 58.017160747268854 1777.45764 262.792419 
# X,Y,pdepcorr: 1777.45764 262.792419 1.00000000 
# ra,dec,x,y: 234.24110141923390 57.942571376822087 1632.64478 1909.77576 
# X,Y,pdepcorr: 1632.64478 1909.77576 1.00000000 
# ra,dec,x,y: 234.18538477727662 57.966869814958876 1757.41638 1663.75928 
# X,Y,pdepcorr: 1757.41638 1663.75928 1.00000000 
# ra,dec,x,y: 233.84219733239914 58.028198167410750 1866.74023 279.527069 
# X,Y,pdepcorr: 1866.74023 279.527069 1.00000000 
# ra,dec,x,y: 233.70631167839696 57.831131516384445 281.404144 133.601196 
# X,Y,pdepcorr: 281.404144 133.601196 1.00000000 
# ra,dec,x,y: 233.85857012571913 57.993391791620475 1634.54382 403.009857 
# X,Y,pdepcorr: 1634.54382 403.009857 1.00000000 
# ra,dec,x,y: 233.87783017823608 58.028759052332930 1908.14697 410.835083 
# X,Y,pdepcorr: 1908.14697 410.835083 1.00000000 
# # [INFO] [2024-11-30T23:43:25] Task Run Time ommag 0.649265050888062s
#
# [COMMAND] [2024-11-30T23:43:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:25]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:43:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:43:25]
omqualitymap mode=usequalityimage outset=product/P0400360401OMX000XSISWSL000.FIT set=product/P0400360401OMX000XSIMAGL000.FIT \
srclistset=product/P0400360401OMX000XSISWSL000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:25] ** omqualitymap: warning (parameter), srclistset = product/P0400360401OMX000XSISWSL000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0400360401OMX000XSISWSL000.FIT will be overwritten 
# # [INFO] [2024-11-30T23:43:25] Task Run Time omqualitymap 0.088205099105835s
#
# # [INFO] [2024-11-30T23:43:25] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0400360401OMX000XSIMAGL000.FIT\
#     --outfile=product/P0400360401OMX000XSIMAGL000.PNG
# [COMMAND] [2024-11-30T23:43:25]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:25]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:43:25] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:43:25]
implot.py --fitsImage=product/P0400360401OMX000XSIMAGL000.FIT --outfile=product/P0400360401OMX000XSIMAGL000.PNG
# # [OUTPUT] [2024-11-30T23:43:29] Image shape. y,x: (1230, 1285) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (1229, 1284) x/y ratio: 1.04 
# # [INFO] [2024-11-30T23:43:29] Task Run Time implot.py 3.48392295837402s
#
# # [INFO] [2024-11-30T23:43:29] Done: ALL
# # [INFO] [2024-11-30T23:43:29] Module name: OMSourceCombine
# # [INFO] [2024-11-30T23:43:29] Instrument: om
# # [INFO] [2024-11-30T23:43:29] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:29] Module version number: 3.9
# # [INFO] [2024-11-30T23:43:29] Looking For Source Lists to Combine...
# # [INFO] [2024-11-30T23:43:29] DEBUG: file: intermediate/OMImageAnalyse-om-1-OM_SRC_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:43:29] DEBUG: line product/P0400360401OMS006SWSRLI0000.FIT|USER|L
# # [INFO] [2024-11-30T23:43:29] DEBUG: split to tmp: $VAR1 = [
# 'product/P0400360401OMS006SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:43:29] DEBUG: line product/P0400360401OMS006SWSRLI2000.FIT|USER|L
# # [INFO] [2024-11-30T23:43:29] DEBUG: split to tmp: $VAR1 = [
# 'product/P0400360401OMS006SWSRLI2000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:43:29] DEBUG: file: intermediate/OMImageAnalyse-om-3-OM_SRC_IMAGE_DETAILS-S40100000000000.ascii
# # [INFO] [2024-11-30T23:43:29] DEBUG: line product/P0400360401OMS401SWSRLI0000.FIT|USER|L
# # [INFO] [2024-11-30T23:43:29] DEBUG: split to tmp: $VAR1 = [
# 'product/P0400360401OMS401SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:43:29] DEBUG: line product/P0400360401OMS401SWSRLI2000.FIT|USER|L
# # [INFO] [2024-11-30T23:43:29] DEBUG: split to tmp: $VAR1 = [
# 'product/P0400360401OMS401SWSRLI2000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:43:29] DEBUG: file: intermediate/OMImageAnalyse-om-4-OM_SRC_IMAGE_DETAILS-S40200000000000.ascii
# # [INFO] [2024-11-30T23:43:29] DEBUG: line product/P0400360401OMS402SWSRLI0000.FIT|USER|L
# # [INFO] [2024-11-30T23:43:29] DEBUG: split to tmp: $VAR1 = [
# 'product/P0400360401OMS402SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:43:29] DEBUG: line product/P0400360401OMS402SWSRLI2000.FIT|USER|L
# # [INFO] [2024-11-30T23:43:29] DEBUG: split to tmp: $VAR1 = [
# 'product/P0400360401OMS402SWSRLI2000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:43:29] DEBUG: file: intermediate/OMImageAnalyse-om-5-OM_SRC_IMAGE_DETAILS-S40300000000000.ascii
# # [INFO] [2024-11-30T23:43:29] DEBUG: line product/P0400360401OMS403SWSRLI0000.FIT|USER|L
# # [INFO] [2024-11-30T23:43:29] DEBUG: split to tmp: $VAR1 = [
# 'product/P0400360401OMS403SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:43:29] DEBUG: line product/P0400360401OMS403SWSRLI2000.FIT|USER|L
# # [INFO] [2024-11-30T23:43:29] DEBUG: split to tmp: $VAR1 = [
# 'product/P0400360401OMS403SWSRLI2000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:43:29] DEBUG: file: intermediate/OMImageAnalyse-om-6-OM_SRC_IMAGE_DETAILS-S40400000000000.ascii
# # [INFO] [2024-11-30T23:43:29] DEBUG: line product/P0400360401OMS404SWSRLI0000.FIT|USER|L
# # [INFO] [2024-11-30T23:43:29] DEBUG: split to tmp: $VAR1 = [
# 'product/P0400360401OMS404SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:43:29] DEBUG: line product/P0400360401OMS404SWSRLI2000.FIT|USER|L
# # [INFO] [2024-11-30T23:43:29] DEBUG: split to tmp: $VAR1 = [
# 'product/P0400360401OMS404SWSRLI2000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:43:29] DEBUG: SrcLstDetails: $VAR1 = [
# [
# 'product/P0400360401OMS006SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS006SWSRLI2000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS401SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS401SWSRLI2000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS402SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS402SWSRLI2000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS403SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS403SWSRLI2000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS404SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS404SWSRLI2000.FIT',
# 'USER',
# 'L'
# ]
# ]; 
# # [INFO] [2024-11-30T23:43:29] Found 10 Lists
# # [INFO] [2024-11-30T23:43:29] Grouping Lists by Mode then Filter
# # [INFO] [2024-11-30T23:43:29] DEBUG: SortedSrcLstDetails: $VAR1 = [
# [
# 'product/P0400360401OMS006SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS006SWSRLI2000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS401SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS401SWSRLI2000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS402SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS402SWSRLI2000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS403SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS403SWSRLI2000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS404SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0400360401OMS404SWSRLI2000.FIT',
# 'USER',
# 'L'
# ]
# ]; 
# # [INFO] [2024-11-30T23:43:29] Mode: USER
# # [INFO] [2024-11-30T23:43:29] DEBUG: Src: ARRAY(0x56f1fe8)
# # [INFO] [2024-11-30T23:43:29] DEBUG: mode_p: 1
# # [INFO] [2024-11-30T23:43:29] DEBUG: SSrc[modep]: USER
# # [INFO] [2024-11-30T23:43:29] DEBUG: SSrc[filterp]: L
# # [INFO] [2024-11-30T23:43:29] Filter: L
# # [INFO] [2024-11-30T23:43:29] Image File : product/P0400360401OMS006SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:43:29] Image File : product/P0400360401OMS006SWSRLI2000.FIT
# # [INFO] [2024-11-30T23:43:29] Image File : product/P0400360401OMS401SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:43:29] Image File : product/P0400360401OMS401SWSRLI2000.FIT
# # [INFO] [2024-11-30T23:43:29] Image File : product/P0400360401OMS402SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:43:29] Image File : product/P0400360401OMS402SWSRLI2000.FIT
# # [INFO] [2024-11-30T23:43:29] Image File : product/P0400360401OMS403SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:43:29] Image File : product/P0400360401OMS403SWSRLI2000.FIT
# # [INFO] [2024-11-30T23:43:29] Image File : product/P0400360401OMS404SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:43:29] Image File : product/P0400360401OMS404SWSRLI2000.FIT
# # [INFO] [2024-11-30T23:43:29] Creating Combined Lists...
# # [INFO] [2024-11-30T23:43:29] MODE: USER
# # [INFO] [2024-11-30T23:43:29] FILTER: L
# # [INFO] [2024-11-30T23:43:29] Done: USER
# # [INFO] [2024-11-30T23:43:29] CREATING: product/P0400360401OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:43:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:29]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:43:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:43:29]
omsrclistcomb catfile=product/P0400360401OBX000REFCAT0000.FIT outset=product/P0400360401OMX000OBSMLI0000.FIT \
sourcelistsets="product/P0400360401OMS006SWSRLI0000.FIT product/P0400360401OMS006SWSRLI2000.FIT \
product/P0400360401OMS401SWSRLI0000.FIT product/P0400360401OMS401SWSRLI2000.FIT product/P0400360401OMS402SWSRLI0000.FIT \
product/P0400360401OMS402SWSRLI2000.FIT product/P0400360401OMS403SWSRLI0000.FIT product/P0400360401OMS403SWSRLI2000.FIT \
product/P0400360401OMS404SWSRLI0000.FIT product/P0400360401OMS404SWSRLI2000.FIT" usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:43:33]
# # [INFO] [2024-11-30T23:43:33] Task Run Time omsrclistcomb 3.75706505775452s
#
# # [INFO] [2024-11-30T23:43:33] reading file intermediate/OMMosaic-om-1-MOSAIC_SOURCE_LISTS-X00000000000000.ascii
# # [INFO] [2024-11-30T23:43:33] CREATING: product/P0400360401OMX000OBSMOS0000.FIT
# [COMMAND] [2024-11-30T23:43:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:33]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:43:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:43:33]
omsrclistcomb catfile=product/P0400360401OBX000REFCAT0000.FIT outset=product/P0400360401OMX000OBSMOS0000.FIT \
sourcelistsets=product/P0400360401OMX000XSISWSL000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:43:33]
# # [INFO] [2024-11-30T23:43:33] Task Run Time omsrclistcomb 0.81535816192627s
#
# [COMMAND] [2024-11-30T23:43:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:33]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:43:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:43:33]
ommergelists maxrawrate=5 outset=intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits \
srclist1=product/P0400360401OMX000OBSMLI0000.FIT srclist2=product/P0400360401OMX000OBSMOS0000.FIT tolerance=2 -w 10
# # [OUTPUT] [2024-11-30T23:43:34]
# # [INFO] [2024-11-30T23:43:34] Task Run Time ommergelists 0.0851600170135498s
#
# # [INFO] [2024-11-30T23:43:34] DEBUG Copy intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits to\
#     product/P0400360401OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:43:34]
cp /scratch/225570.1.all.q/xmm/ppsprod/228715/intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits \
/scratch/225570.1.all.q/xmm/ppsprod/228715/product/P0400360401OMX000OBSMLI0000.FIT
# # [INFO] [2024-11-30T23:43:34] System RV 0
# [COMMAND] [2024-11-30T23:43:34]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:34]
export SAS_RAND_SEED=0400360401
# # [INFO] [2024-11-30T23:43:34] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0400360401
# [COMMAND] [2024-11-30T23:43:34]
omregion bkginner=1.2 bkgouter=1.8 nfwhm=3 set=intermediate/OMSourceCombine-om-1-final_merged_list-X00000000000000.fits \
srcfile=product/P0400360401OMX000OBSMLI0000.ASC srcnumber=1 srcradius=3 -w 10
# # [OUTPUT] [2024-11-30T23:43:34]
# # [INFO] [2024-11-30T23:43:34] Task Run Time omregion 0.113234043121338s
#
