
#!/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:43:28] Module name: VerifyODF
# # [INFO] [2024-11-30T23:43:28] Instrument: all
# # [INFO] [2024-11-30T23:43:28] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:28] Module version number: 1.18
# # [INFO] [2024-11-30T23:43:28] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:43:28] Module name: MakeCIF
# # [INFO] [2024-11-30T23:43:28] Instrument: all
# # [INFO] [2024-11-30T23:43:28] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:28] Module version number: 1.23
# # [INFO] [2024-11-30T23:43:28] Observation start defined as >2005-07-04T22:13:48.000<
# # [INFO] [2024-11-30T23:43:28] Processing date defined as >2024-12-01T00:43:28<
# [COMMAND] [2024-11-30T23:43:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:28]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43:28]
cifbuild analysisdate=2024-12-01T00:43:28 calindexset=product/P0300961301OBX000CALIND0000.FIT fullpath=no \
observationdate=2005-07-04T22:13:48.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:43:57]
# # [INFO] [2024-11-30T23:43:57] Task Run Time cifbuild 28.9640231132507s
#
# [COMMAND] [2024-11-30T23:43:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:57]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43:57]
addattribute attributecomment="\"Telescope (mission) name\" \"Observation identifier\" \"Date observations were made\" \"Name of \
PI\" \"RA of instrument pointing (degrees)\" \"Date observations ended\" \"DEC of instrument pointing\" \"Observation mode (pointing \
or slew)\" \"Name of observed object\"" attributename="TELESCOP OBS_ID DATE-OBS OBSERVER RA_PNT DATE-END DEC_PNT OBS_MODE OBJECT" \
attributetype="string string string string real string real string string" realvalue="\"204.8202495\" \"-9.7931944\"" \
set=product/P0300961301OBX000CALIND0000.FIT stringvalue="\"XMM\" \"0300961301\" \"2005-07-04T22:13:48.000\" \"Dr Rita Schulz\" \
\"2005-07-04T23:29:27.000\" \"POINTED\" \"9P\"" -w 10
# # [OUTPUT] [2024-11-30T23:43:57]
# # [INFO] [2024-11-30T23:43:57] Task Run Time addattribute 0.105149030685425s
#
# [COMMAND] [2024-11-30T23:43:57]
cp /scratch/225820.1.all.q/xmm/ppsprod/228965/product/P0300961301OBX000CALIND0000.FIT \
/scratch/225820.1.all.q/xmm/ppsprod/228965/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:43:57] System RV 0
# # [INFO] [2024-11-30T23:43:57] Module name: GlobalHK
# # [INFO] [2024-11-30T23:43:57] Instrument: all
# # [INFO] [2024-11-30T23:43:57] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:57] Module version number: 1.81
# [COMMAND] [2024-11-30T23:43:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:57]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43:57]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:43:58] ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 236907092.184\
#     which is more than 20 s outside the period for which the attitude is known (closest time is 20.0000000298 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 236907092.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.0000000298 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 236907093.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.0000000298 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 236907093.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.0000000298 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 236907094.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.0000000298 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 236907094.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.0000000298 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 236907095.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.0000000298 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 236907095.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 20.0000000298 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 236907096.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21.0000000298 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 236907096.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is 21.0000000298 s away).
# ** preqgti: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 212 times 
# # [INFO] [2024-11-30T23:43:58] Task Run Time preqgti 0.283875942230225s
#
# [COMMAND] [2024-11-30T23:43:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:58]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43:58]
atthkgen atthkset=product/P0300961301OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:43:58]
# # [INFO] [2024-11-30T23:43:58] Task Run Time atthkgen 0.189366102218628s
#
# [COMMAND] [2024-11-30T23:43:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:58]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43:58]
orbit outfile=product/P0300961301OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:43:58] orbit:- Output FITS Orbit timeseries: product/P0300961301OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:43:58] Task Run Time orbit 0.186826944351196s
#
# [COMMAND] [2024-11-30T23:43:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:58]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43:58]
radmonfix output=product/P0300961301OBX000RADMON0000.FIT radmonlist=odf/1020_0300961301_RMX00100ECX.FIT withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:43:58] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=158138006 which is\
#     outside the time correlation data abscissa range [158138306.6, 158145100.9] - result of extrapolation might be afflicted with\
#     large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=158138009.9 which is outside the time correlation\
#     data abscissa range [158138306.6, 158145100.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=158138014 which is outside the time correlation data\
#     abscissa range [158138306.6, 158145100.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=158138017.9 which is outside the time correlation\
#     data abscissa range [158138306.6, 158145100.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=158138022 which is outside the time correlation data\
#     abscissa range [158138306.6, 158145100.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=158138025.9 which is outside the time correlation\
#     data abscissa range [158138306.6, 158145100.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=158138029.9 which is outside the time correlation\
#     data abscissa range [158138306.6, 158145100.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=158138033.9 which is outside the time correlation\
#     data abscissa range [158138306.6, 158145100.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=158138038 which is outside the time correlation data\
#     abscissa range [158138306.6, 158145100.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=158138042 which is outside the time correlation data\
#     abscissa range [158138306.6, 158145100.9] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 41 times 
# # [INFO] [2024-11-30T23:43:58] Task Run Time radmonfix 0.0902800559997559s
#
# [COMMAND] [2024-11-30T23:43:58]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/225820.1.all.q/xmm/ppsprod/228965/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:43:58] System RV 0
# # [INFO] [2024-11-30T23:43:58] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:43:58]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/225820.1.all.q/xmm/ppsprod/228965/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:43:58] System RV 0
# [COMMAND] [2024-11-30T23:43:58]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/225820.1.all.q/xmm/ppsprod/228965/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:43:58] System RV 0
# [COMMAND] [2024-11-30T23:43:58]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/225820.1.all.q/xmm/ppsprod/228965/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:43:58] System RV 0
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: epn
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure U002 for processability
# # [INFO] [2024-11-30T23:43:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: epn
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0002
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure U003 for processability
# # [INFO] [2024-11-30T23:43:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: epn
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0003
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure U004 for processability
# # [INFO] [2024-11-30T23:43:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: epn
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0004
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure U005 for processability
# # [INFO] [2024-11-30T23:43:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: epn
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0005
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure U006 for processability
# # [INFO] [2024-11-30T23:43:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: epn
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0006
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure U007 for processability
# # [INFO] [2024-11-30T23:43:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: epn
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0007
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure U008 for processability
# # [INFO] [2024-11-30T23:43:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: epn
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0008
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure U009 for processability
# # [INFO] [2024-11-30T23:43:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: epn
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0009
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure U010 for processability
# # [INFO] [2024-11-30T23:43:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: epn
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0010
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure U011 for processability
# # [INFO] [2024-11-30T23:43:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: epn
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0011
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure U012 for processability
# # [INFO] [2024-11-30T23:43:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: epn
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0012
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure U013 for processability
# # [INFO] [2024-11-30T23:43:58] Exposure ignored due to lack of event files
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: om
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure S006 for processability
# # [INFO] [2024-11-30T23:43:58] Filter: B
# # [INFO] [2024-11-30T23:43:58] Instrument mode: Image
# # [INFO] [2024-11-30T23:43:58] Exposure duration: 1300
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: om
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0002
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure S007 for processability
# # [INFO] [2024-11-30T23:43:58] Filter: UVW1
# # [INFO] [2024-11-30T23:43:58] Instrument mode: Image
# # [INFO] [2024-11-30T23:43:58] Exposure duration: 1300
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: om
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0003
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure S008 for processability
# # [INFO] [2024-11-30T23:43:58] Filter: UVM2
# # [INFO] [2024-11-30T23:43:58] Instrument mode: Image
# # [INFO] [2024-11-30T23:43:58] Exposure duration: 1300
# # [INFO] [2024-11-30T23:43:58] Module name: ExpChooser
# # [INFO] [2024-11-30T23:43:58] Instrument: om
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0004
# # [INFO] [2024-11-30T23:43:58] Module version number: 1.38
# # [INFO] [2024-11-30T23:43:58] Checking exposure S400 for processability
# # [INFO] [2024-11-30T23:43:58] Filter: B
# # [INFO] [2024-11-30T23:43:58] Instrument mode: UNDEFINED
# # [INFO] [2024-11-30T23:43:58] Exposure duration: 1300
# # [INFO] [2024-11-30T23:43:58] OM datamode=
# # [INFO] [2024-11-30T23:43:58] Exposure ignored due to invalid or unsupported instrument mode
# # [INFO] [2024-11-30T23:43:58] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:43:58] Instrument: om
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:58] Module version number: 2.01
# # [INFO] [2024-11-30T23:43:58] Module name: USNOExtract
# # [INFO] [2024-11-30T23:43:58] Instrument: all
# # [INFO] [2024-11-30T23:43:58] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:58] Module version number: 0.07
# [COMMAND] [2024-11-30T23:43:58]
export \
PFILES=/scratch/225820.1.all.q/xmm/ppsprod/228965/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:43:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:58]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43: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:43:58] Written the output image ......... 
# # [INFO] [2024-11-30T23:43:58] Task Run Time fimgcreate 0.0316359996795654s
#
# [COMMAND] [2024-11-30T23:43:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:58]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43:58]
catprep catextract=intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
srclistset=product/P0300961301OBX000CALIND0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:59]
# # [INFO] [2024-11-30T23:43:59] Task Run Time catprep 0.0830020904541016s
#
# [COMMAND] [2024-11-30T23:43:59]
cp /scratch/225820.1.all.q/xmm/ppsprod/228965/intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
/scratch/225820.1.all.q/xmm/ppsprod/228965/product/P0300961301OBX000REFCAT0000.FIT
# # [INFO] [2024-11-30T23:43:59] System RV 0
# # [INFO] [2024-11-30T23:43:59] Reading keyword TELESCOP value XMM comment Telescope (mission) name
# # [INFO] [2024-11-30T23:43:59] Reading keyword RA_OBJ value 2.04820249500000E+02 comment [deg] Ra of the observed object
# # [INFO] [2024-11-30T23:43:59] Reading keyword DATE-END value 2005-07-04T23:29:27.000 comment Date observations ended
# # [INFO] [2024-11-30T23:43:59] Reading keyword DATE-OBS value 2005-07-04T22:13:48.000 comment Date observations were made
# # [INFO] [2024-11-30T23:43:59] Reading keyword OBS_ID value 0300961301 comment Observation identifier
# # [INFO] [2024-11-30T23:43:59] Reading keyword DEC_OBJ value -9.79319440000000E+00 comment [deg] Dec of the observed object
# # [INFO] [2024-11-30T23:43:59] Reading keyword OBS_MODE value POINTING comment Observation mode (pointing or slew)
# [COMMAND] [2024-11-30T23:43:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:59]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43:59]
addattribute attributecomment="\"Telescope (mission) name\" \"[deg] Ra of the observed object\" \"Date observations ended\" \"Date \
observations were made\" \"Observation identifier\" \"[deg] Dec of the observed object\" \"Observation mode (pointing or slew)\"" \
attributename="TELESCOP RA_OBJ DATE-END DATE-OBS OBS_ID DEC_OBJ OBS_MODE" attributetype="\"string\" \"real\" \"string\" \"string\" \
\"string\" \"real\" \"string\"" realvalue="2.04820249500000E+02 -9.79319440000000E+00" set=product/P0300961301OBX000REFCAT0000.FIT \
stringvalue="XMM 2005-07-04T23:29:27.000 2005-07-04T22:13:48.000 0300961301 POINTING" -w 10
# # [OUTPUT] [2024-11-30T23:43:59] ** addattribute: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in\
#     dataset with name 'product/P0300961301OBX000REFCAT0000.FIT'
# ** addattribute: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name\
#     'product/P0300961301OBX000REFCAT0000.FIT' 
# # [INFO] [2024-11-30T23:43:59] Task Run Time addattribute 0.0398528575897217s
#
# # [INFO] [2024-11-30T23:43:59] Module name: OMgetFlat
# # [INFO] [2024-11-30T23:43:59] Instrument: om
# # [INFO] [2024-11-30T23:43:59] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:59] Module version number: 1.07
# [COMMAND] [2024-11-30T23:43:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:59]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43:59]
omflatgen outset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:43:59] ** omflatgen: warning (ArgumentIgnored), Warning: countRateFrameRatio argument in small-scale\
#     flatfield retrieval currently ignored 
# # [INFO] [2024-11-30T23:43:59] Task Run Time omflatgen 0.165688037872314s
#
# # [INFO] [2024-11-30T23:43:59] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:43:59] Instrument: om
# # [INFO] [2024-11-30T23:43:59] Stream no.: 0002
# # [INFO] [2024-11-30T23:43:59] Module version number: 1.06
# [COMMAND] [2024-11-30T23:43:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:59]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43:59]
omprep modeset=3 nphset=odf/1020_0300961301_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits pehset=odf/1020_0300961301_OMX00000PEH.FIT \
set=DUMMYTHX.FIT wdxset=odf/1020_0300961301_OMS00700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:59] ** omprep: warning ( Missing OM Tracking History Data Auxiliary File. Using ZERODRIFT option),\
#     ZERODRIFT 
# # [INFO] [2024-11-30T23:43:59] Task Run Time omprep 0.159024000167847s
#
# # [INFO] [2024-11-30T23:43:59] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:43:59] Instrument: om
# # [INFO] [2024-11-30T23:43:59] Stream no.: 0003
# # [INFO] [2024-11-30T23:43:59] Module version number: 1.06
# [COMMAND] [2024-11-30T23:43:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:59]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43:59]
omprep modeset=3 nphset=odf/1020_0300961301_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00800000000000.fits pehset=odf/1020_0300961301_OMX00000PEH.FIT \
set=DUMMYTHX.FIT wdxset=odf/1020_0300961301_OMS00800WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:59] ** omprep: warning ( Missing OM Tracking History Data Auxiliary File. Using ZERODRIFT option),\
#     ZERODRIFT 
# # [INFO] [2024-11-30T23:43:59] Task Run Time omprep 0.132456064224243s
#
# # [INFO] [2024-11-30T23:43:59] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:43:59] Instrument: om
# # [INFO] [2024-11-30T23:43:59] Stream no.: 0001
# # [INFO] [2024-11-30T23:43:59] Module version number: 1.06
# [COMMAND] [2024-11-30T23:43:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:59]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43:59]
omprep modeset=3 nphset=odf/1020_0300961301_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits pehset=odf/1020_0300961301_OMX00000PEH.FIT \
set=odf/1020_0300961301_OMS00600THX.FIT wdxset=odf/1020_0300961301_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:43:59] ** omprep: warning (NoAttitude), The attitude was requested for time 236902336.184 which is more\
#     than 20 s outside the period for which the attitude is known (closest time is -150 s away). 
# # [INFO] [2024-11-30T23:43:59] Task Run Time omprep 0.100975036621094s
#
# [COMMAND] [2024-11-30T23:43:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:43:59]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:43:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:43:59]
omthconv nphset=odf/1020_0300961301_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:44:00]
# # [INFO] [2024-11-30T23:44:00] Task Run Time omthconv 0.168934106826782s
#
# [COMMAND] [2024-11-30T23:44:00]
cp /scratch/225820.1.all.q/xmm/ppsprod/228965/intermediate/OMExpAnalyse-om-1-OM_TRACKING_STAR_TIMESERIES-S00600000000000.fits \
/scratch/225820.1.all.q/xmm/ppsprod/228965/product/P0300961301OMS006TSTRTS0000.FIT
# # [INFO] [2024-11-30T23:44:00] System RV 0
# [COMMAND] [2024-11-30T23:44:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:00]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:00]
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:44:00]
# # [INFO] [2024-11-30T23:44:00] Task Run Time omdrifthist 0.565123081207275s
#
# [COMMAND] [2024-11-30T23:44:00]
pstopdf intermediate/OMExpAnalyse-om-1-OM_TRACKING_HISTORY_PLOT-S00600000000000.ps product/P0300961301OMS006TSHPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:44:00]
# # [INFO] [2024-11-30T23:44:00] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:44:00] Instrument: om
# # [INFO] [2024-11-30T23:44:00] Stream no.: 0001
# # [INFO] [2024-11-30T23:44:00] Module version number: 1.36
# # [INFO] [2024-11-30T23:44:00] DEBUG --- exp_id: S006, filter: B
# # [INFO] [2024-11-30T23:44:00] 2 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:44:00] Processing OSW 1
# # [INFO] [2024-11-30T23:44:00] Start omprep
# [COMMAND] [2024-11-30T23:44:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:00]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:00]
omprep modeset=1 nphset=odf/1020_0300961301_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600010000000.fits pehset=odf/1020_0300961301_OMX00000PEH.FIT \
set=odf/1020_0300961301_OMS00601FAE.FIT wdxset=odf/1020_0300961301_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:00]
# # [INFO] [2024-11-30T23:44:00] Task Run Time omprep 0.144223213195801s
#
# # [INFO] [2024-11-30T23:44:00] Start evselect(1)
# [COMMAND] [2024-11-30T23:44:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:00]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:00]
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:44:01] ** 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:44:01] Task Run Time evselect 0.128405809402466s
#
# # [INFO] [2024-11-30T23:44:01] Start omfastshift
# [COMMAND] [2024-11-30T23:44:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:01]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:01]
omfastshift nphset=odf/1020_0300961301_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:44:01]
# # [INFO] [2024-11-30T23:44:01] Task Run Time omfastshift 0.0724601745605469s
#
# # [INFO] [2024-11-30T23:44:01] Start omfastflat
# [COMMAND] [2024-11-30T23:44:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:01]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:01]
omfastflat fastimgset=product/P0300961301OMS006IMAGEF1000.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:44:01]
# # [INFO] [2024-11-30T23:44:01] Task Run Time omfastflat 0.163135051727295s
#
# # [INFO] [2024-11-30T23:44:01] Start omdetect
# [COMMAND] [2024-11-30T23:44:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:01]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:01]
omdetect nsigma=3 outset=product/P0300961301OMS006SFSRLI1000.FIT regionfile=product/P0300961301OMS006SFSREG1000.ASC \
set=product/P0300961301OMS006IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:01]
# # [INFO] [2024-11-30T23:44:01] Task Run Time omdetect 0.627527952194214s
#
# # [INFO] [2024-11-30T23:44:01] Start omatt
# [COMMAND] [2024-11-30T23:44:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:01]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:01]
omatt ppsoswset=product/P0300961301OMS006SIMAGF1000.FIT set=product/P0300961301OMS006IMAGEF1000.FIT \
sourcelistset=product/P0300961301OMS006SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:44:02]
# # [INFO] [2024-11-30T23:44:02] Task Run Time omatt 0.55985689163208s
#
# # [INFO] [2024-11-30T23:44:02] Sky image found 
# # [INFO] [2024-11-30T23:44:02] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0300961301OMS006SIMAGF1000.FIT\
#     --outfile=product/P0300961301OMS006SIMAGF1000.PNG --srclisttab=product/P0300961301OMS006SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:44:02]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:02]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:02] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:02]
implot.py --fitsImage=product/P0300961301OMS006SIMAGF1000.FIT --outfile=product/P0300961301OMS006SIMAGF1000.PNG \
--srclisttab=product/P0300961301OMS006SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:44:05] Image shape. y,x: (27, 24) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (26, 23) x/y ratio: 0.88
# Plotting source regions from product/P0300961301OMS006SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:44:05] Task Run Time implot.py 2.5580780506134s
#
# # [INFO] [2024-11-30T23:44:05] implot has created PNG with src list
# # [INFO] [2024-11-30T23:44:05] Per-Source Processing
# # [INFO] [2024-11-30T23:44:05] Number of sources from region file product/P0300961301OMS006SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:44:05] Sources in sourcelist product/P0300961301OMS006SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:44:05] Source Number : 1
# # [INFO] [2024-11-30T23:44:05] Start omregion
# [COMMAND] [2024-11-30T23:44:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:05]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:05]
omregion bkgfile=intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0300961301OMS006SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:44:05]
# # [INFO] [2024-11-30T23:44:05] Task Run Time omregion 0.0453650951385498s
#
# # [INFO] [2024-11-30T23:44:05] Sampling timebinsize of product/P0300961301OMS006IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:44:05] Start evselect (2)
# # [INFO] [2024-11-30T23:44:05] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:44:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:05]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:05]
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:44:05] ** 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:44:05] Task Run Time evselect 0.0651731491088867s
#
# # [INFO] [2024-11-30T23:44:05] Start evselect (3)
# [COMMAND] [2024-11-30T23:44:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:05]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:05]
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:44:05] ** 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:44:05] Task Run Time evselect 0.156428098678589s
#
# # [INFO] [2024-11-30T23:44:05] Start omlcbuild
# # [INFO] [2024-11-30T23:44:05] Imaging mode image for determining background S006:odf/1020_0300961301_OMS00600IMI.FIT
# [COMMAND] [2024-11-30T23:44:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:05]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:05]
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/1020_0300961301_OMS00600IMI.FIT outset=product/P0300961301OMS006TIMESR1001.FIT \
sourcelistset=product/P0300961301OMS006SFSRLI1000.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/1020_0300961301_OMS00600WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:44:17]
# TDP corr factor is: 1.04585254 
# ** omlcbuild: warning (OMLCBUILD), Count rate is not positive
# ** omlcbuild: warning (negVals), Background subtracted rate has negative values 
# # [INFO] [2024-11-30T23:44:17] Task Run Time omlcbuild 12.5088758468628s
#
# # [INFO] [2024-11-30T23:44:17] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0300961301OMS006TIMESR1001.FIT
# # [INFO] [2024-11-30T23:44:17] DEBUG ++ TIMESR file product/P0300961301OMS006TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:44:17] Start lcplot
# [COMMAND] [2024-11-30T23:44:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:17]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:17]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S00600010000001.ps \
set=product/P0300961301OMS006TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:44:19] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# ** lcplot: warning (LCPLOT), Count rate is not positive
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:44:19] Task Run Time lcplot 1.70935392379761s
#
# # [INFO] [2024-11-30T23:44:19] Start PStoPDF
# [COMMAND] [2024-11-30T23:44:19]
pstopdf intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S00600010000001.ps product/P0300961301OMS006TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:44:19]
# # [INFO] [2024-11-30T23:44:19] Processing OSW 2
# # [INFO] [2024-11-30T23:44:19] Start omprep
# [COMMAND] [2024-11-30T23:44:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:19]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:19]
omprep modeset=1 nphset=odf/1020_0300961301_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600020000000.fits pehset=odf/1020_0300961301_OMX00000PEH.FIT \
set=odf/1020_0300961301_OMS00602FAE.FIT wdxset=odf/1020_0300961301_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:19]
# # [INFO] [2024-11-30T23:44:19] Task Run Time omprep 0.115872859954834s
#
# # [INFO] [2024-11-30T23:44:19] Start evselect(1)
# [COMMAND] [2024-11-30T23:44:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:19]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:19]
evselect imageset=intermediate/OMFastAnalyse-om-1-Fast_Mode_Raw_Image-S00600020000000.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600020000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:44: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:44:19] Task Run Time evselect 0.128914833068848s
#
# # [INFO] [2024-11-30T23:44:19] Start omfastshift
# [COMMAND] [2024-11-30T23:44:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:19]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:19]
omfastshift nphset=odf/1020_0300961301_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600020000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00600000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:44:20]
# # [INFO] [2024-11-30T23:44:20] Task Run Time omfastshift 0.111192941665649s
#
# # [INFO] [2024-11-30T23:44:20] Start omfastflat
# [COMMAND] [2024-11-30T23:44:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:20]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:20]
omfastflat fastimgset=product/P0300961301OMS006IMAGEF2000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-1-OM_OSW_Flat_Field-S00600020000000.fits \
set=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600020000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:44:20]
# # [INFO] [2024-11-30T23:44:20] Task Run Time omfastflat 0.23923397064209s
#
# # [INFO] [2024-11-30T23:44:20] Start omdetect
# [COMMAND] [2024-11-30T23:44:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:20]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:20]
omdetect nsigma=3 outset=product/P0300961301OMS006SFSRLI2000.FIT regionfile=product/P0300961301OMS006SFSREG2000.ASC \
set=product/P0300961301OMS006IMAGEF2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:20]
# # [INFO] [2024-11-30T23:44:20] Task Run Time omdetect 0.599223136901855s
#
# # [INFO] [2024-11-30T23:44:20] Start omatt
# [COMMAND] [2024-11-30T23:44:20]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:20]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:20] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:20]
omatt ppsoswset=product/P0300961301OMS006SIMAGF2000.FIT set=product/P0300961301OMS006IMAGEF2000.FIT \
sourcelistset=product/P0300961301OMS006SFSRLI2000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:44:21]
# # [INFO] [2024-11-30T23:44:21] Task Run Time omatt 0.568334102630615s
#
# # [INFO] [2024-11-30T23:44:21] Sky image found 
# # [INFO] [2024-11-30T23:44:21] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0300961301OMS006SIMAGF2000.FIT\
#     --outfile=product/P0300961301OMS006SIMAGF2000.PNG --srclisttab=product/P0300961301OMS006SFSRLI2000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:44:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:21]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:21]
implot.py --fitsImage=product/P0300961301OMS006SIMAGF2000.FIT --outfile=product/P0300961301OMS006SIMAGF2000.PNG \
--srclisttab=product/P0300961301OMS006SFSRLI2000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:44:23] Image shape. y,x: (27, 24) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (26, 23) x/y ratio: 0.88
# Plotting source regions from product/P0300961301OMS006SFSRLI2000.FIT 
# # [INFO] [2024-11-30T23:44:23] Task Run Time implot.py 2.07805299758911s
#
# # [INFO] [2024-11-30T23:44:23] implot has created PNG with src list
# # [INFO] [2024-11-30T23:44:23] Per-Source Processing
# # [INFO] [2024-11-30T23:44:23] Number of sources from region file product/P0300961301OMS006SFSREG2000.ASC: 2
# # [INFO] [2024-11-30T23:44:23] Sources in sourcelist product/P0300961301OMS006SFSRLI2000.FIT : 2
# # [INFO] [2024-11-30T23:44:23] Source Number : 1
# # [INFO] [2024-11-30T23:44:23] Start omregion
# [COMMAND] [2024-11-30T23:44:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:23]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:23]
omregion bkgfile=intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600020000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0300961301OMS006SFSRLI2000.FIT srcfile=intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600020000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:44:23] ** omregion: warning (contaminated), there is another source nearby 
# # [INFO] [2024-11-30T23:44:23] Task Run Time omregion 0.0671899318695068s
#
# # [INFO] [2024-11-30T23:44:23] Sampling timebinsize of product/P0300961301OMS006IMAGEF2000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:44:23] Start evselect (2)
# # [INFO] [2024-11-30T23:44:23] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:44:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:23]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:23]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600020000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-1-OM_Source_Rates_File-S00600020000001.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600020000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:44:23] ** 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:44:23] Task Run Time evselect 0.117125988006592s
#
# # [INFO] [2024-11-30T23:44:23] Start evselect (3)
# [COMMAND] [2024-11-30T23:44:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:23]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:23]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600020000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-1-OM_Background_Rates_File-S00600020000001.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600020000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:44:23] ** 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:44:23] Task Run Time evselect 0.0754880905151367s
#
# # [INFO] [2024-11-30T23:44:23] Start omlcbuild
# # [INFO] [2024-11-30T23:44:23] Imaging mode image for determining background S006:odf/1020_0300961301_OMS00600IMI.FIT
# [COMMAND] [2024-11-30T23:44:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:23]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:23]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-1-OM_Background_Rates_File-S00600020000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600020000001.fits \
imageset=odf/1020_0300961301_OMS00600IMI.FIT outset=product/P0300961301OMS006TIMESR2001.FIT \
sourcelistset=product/P0300961301OMS006SFSRLI2000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-1-OM_Source_Rates_File-S00600020000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600020000001.fits wdxset=odf/1020_0300961301_OMS00600WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:44:38]
# TDP corr factor is: 1.04585254 
# ** omlcbuild: warning (OMLCBUILD), Count rate is not positive
# ** omlcbuild: warning (negVals), Background subtracted rate has negative values 
# # [INFO] [2024-11-30T23:44:38] Task Run Time omlcbuild 14.5495660305023s
#
# # [INFO] [2024-11-30T23:44:38] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0300961301OMS006TIMESR2001.FIT
# # [INFO] [2024-11-30T23:44:38] DEBUG ++ TIMESR file product/P0300961301OMS006TIMESR2001.FIT exists!
# # [INFO] [2024-11-30T23:44:38] Start lcplot
# [COMMAND] [2024-11-30T23:44:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:38]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:38]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S00600020000001.ps \
set=product/P0300961301OMS006TIMESR2001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:44:40] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# ** lcplot: warning (LCPLOT), Count rate is not positive
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:44:40] Task Run Time lcplot 2.37966108322144s
#
# # [INFO] [2024-11-30T23:44:40] Start PStoPDF
# [COMMAND] [2024-11-30T23:44:40]
pstopdf intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S00600020000001.ps product/P0300961301OMS006TIMESR2001.PDF
# # [OUTPUT] [2024-11-30T23:44:40]
# # [INFO] [2024-11-30T23:44:40] Source Number : 2
# # [INFO] [2024-11-30T23:44:40] Start omregion
# [COMMAND] [2024-11-30T23:44:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:40]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:40]
omregion bkgfile=intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600020000002.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0300961301OMS006SFSRLI2000.FIT srcfile=intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600020000002.fits \
srcnumber=2 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:44:40]
# # [INFO] [2024-11-30T23:44:40] Task Run Time omregion 0.0755531787872314s
#
# # [INFO] [2024-11-30T23:44:40] Sampling timebinsize of product/P0300961301OMS006IMAGEF2000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:44:40] Start evselect (2)
# # [INFO] [2024-11-30T23:44:40] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:44:40]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:40]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:40] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:40]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600020000002.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-1-OM_Source_Rates_File-S00600020000002.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600020000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:44:41] ** 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:44:41] Task Run Time evselect 0.139657020568848s
#
# # [INFO] [2024-11-30T23:44:41] Start evselect (3)
# [COMMAND] [2024-11-30T23:44:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:41]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:41]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600020000002.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-1-OM_Background_Rates_File-S00600020000002.fits \
table=intermediate/OMFastAnalyse-om-1-PPS_Event_List_File-S00600020000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:44:41] ** 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:44:41] Task Run Time evselect 0.100283145904541s
#
# # [INFO] [2024-11-30T23:44:41] Start omlcbuild
# # [INFO] [2024-11-30T23:44:41] Imaging mode image for determining background S006:odf/1020_0300961301_OMS00600IMI.FIT
# [COMMAND] [2024-11-30T23:44:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:41]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:41]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-1-OM_Background_Rates_File-S00600020000002.fits \
bkgregionset=intermediate/OMFastAnalyse-om-1-OM_Background_Region_File-S00600020000002.fits \
imageset=odf/1020_0300961301_OMS00600IMI.FIT outset=product/P0300961301OMS006TIMESR2002.FIT \
sourcelistset=product/P0300961301OMS006SFSRLI2000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-1-OM_Source_Rates_File-S00600020000002.fits \
srcregionset=intermediate/OMFastAnalyse-om-1-OM_Source_Region_File-S00600020000002.fits wdxset=odf/1020_0300961301_OMS00600WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:44:55]
# TDP corr factor is: 1.04585254 
# ** omlcbuild: warning (OMLCBUILD), Count rate is not positive
# ** omlcbuild: warning (negVals), Background subtracted rate has negative values 
# # [INFO] [2024-11-30T23:44:55] Task Run Time omlcbuild 14.5026750564575s
#
# # [INFO] [2024-11-30T23:44:55] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0300961301OMS006TIMESR2002.FIT
# # [INFO] [2024-11-30T23:44:55] DEBUG ++ TIMESR file product/P0300961301OMS006TIMESR2002.FIT exists!
# # [INFO] [2024-11-30T23:44:55] Start lcplot
# [COMMAND] [2024-11-30T23:44:55]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:55]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:55] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:55]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S00600020000002.ps \
set=product/P0300961301OMS006TIMESR2002.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:44:58] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# ** lcplot: warning (LCPLOT), Count rate is not positive
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:44:58] Task Run Time lcplot 2.74365592002869s
#
# # [INFO] [2024-11-30T23:44:58] Start PStoPDF
# [COMMAND] [2024-11-30T23:44:58]
pstopdf intermediate/OMFastAnalyse-om-1-OM_OSW_SOURCE_TIMESERIES-S00600020000002.ps product/P0300961301OMS006TIMESR2002.PDF
# # [OUTPUT] [2024-11-30T23:44:58]
# # [INFO] [2024-11-30T23:44:58] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:44:58] Instrument: om
# # [INFO] [2024-11-30T23:44:58] Stream no.: 0002
# # [INFO] [2024-11-30T23:44:58] Module version number: 1.36
# # [INFO] [2024-11-30T23:44:58] DEBUG --- exp_id: S007, filter: UVW1
# # [INFO] [2024-11-30T23:44:58] 2 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:44:58] Processing OSW 1
# # [INFO] [2024-11-30T23:44:58] Start omprep
# [COMMAND] [2024-11-30T23:44:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:58]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:58]
omprep modeset=1 nphset=odf/1020_0300961301_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700010000000.fits pehset=odf/1020_0300961301_OMX00000PEH.FIT \
set=odf/1020_0300961301_OMS00701FAE.FIT wdxset=odf/1020_0300961301_OMS00700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:44:58]
# # [INFO] [2024-11-30T23:44:58] Task Run Time omprep 0.183423042297363s
#
# # [INFO] [2024-11-30T23:44:58] Start evselect(1)
# [COMMAND] [2024-11-30T23:44:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:58]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:58]
evselect imageset=intermediate/OMFastAnalyse-om-2-Fast_Mode_Raw_Image-S00700010000000.fits \
table=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:44:58] ** 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:44:58] Task Run Time evselect 0.105053186416626s
#
# # [INFO] [2024-11-30T23:44:58] Start omfastshift
# [COMMAND] [2024-11-30T23:44:58]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:58]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:58] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:58]
omfastshift nphset=odf/1020_0300961301_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700010000000.fits \
thxset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:44:59]
# # [INFO] [2024-11-30T23:44:59] Task Run Time omfastshift 0.0892250537872314s
#
# # [INFO] [2024-11-30T23:44:59] Start omfastflat
# [COMMAND] [2024-11-30T23:44:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:59]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:59]
omfastflat fastimgset=product/P0300961301OMS007IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-2-OM_OSW_Flat_Field-S00700010000000.fits \
set=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:44:59]
# # [INFO] [2024-11-30T23:44:59] Task Run Time omfastflat 0.24468207359314s
#
# # [INFO] [2024-11-30T23:44:59] Start omdetect
# [COMMAND] [2024-11-30T23:44:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:44:59]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:44:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:44:59]
omdetect nsigma=3 outset=product/P0300961301OMS007SFSRLI1000.FIT regionfile=product/P0300961301OMS007SFSREG1000.ASC \
set=product/P0300961301OMS007IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:45:00]
# # [INFO] [2024-11-30T23:45:00] Task Run Time omdetect 0.808336973190308s
#
# # [INFO] [2024-11-30T23:45:00] Start omatt
# [COMMAND] [2024-11-30T23:45:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:00]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:00]
omatt ppsoswset=product/P0300961301OMS007SIMAGF1000.FIT set=product/P0300961301OMS007IMAGEF1000.FIT \
sourcelistset=product/P0300961301OMS007SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:45:00]
# # [INFO] [2024-11-30T23:45:00] Task Run Time omatt 0.750312089920044s
#
# # [INFO] [2024-11-30T23:45:00] Sky image found 
# # [INFO] [2024-11-30T23:45:00] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0300961301OMS007SIMAGF1000.FIT\
#     --outfile=product/P0300961301OMS007SIMAGF1000.PNG --srclisttab=product/P0300961301OMS007SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:45:00]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:00]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:00] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:00]
implot.py --fitsImage=product/P0300961301OMS007SIMAGF1000.FIT --outfile=product/P0300961301OMS007SIMAGF1000.PNG \
--srclisttab=product/P0300961301OMS007SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:45:04] Image shape. y,x: (27, 24) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (26, 23) x/y ratio: 0.88
# Plotting source regions from product/P0300961301OMS007SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:45:04] Task Run Time implot.py 3.35766911506653s
#
# # [INFO] [2024-11-30T23:45:04] implot has created PNG with src list
# # [INFO] [2024-11-30T23:45:04] Per-Source Processing
# # [INFO] [2024-11-30T23:45:04] Number of sources from region file product/P0300961301OMS007SFSREG1000.ASC: 1
# # [INFO] [2024-11-30T23:45:04] Sources in sourcelist product/P0300961301OMS007SFSRLI1000.FIT : 1
# # [INFO] [2024-11-30T23:45:04] Source Number : 1
# # [INFO] [2024-11-30T23:45:04] Start omregion
# [COMMAND] [2024-11-30T23:45:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:04]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:04]
omregion bkgfile=intermediate/OMFastAnalyse-om-2-OM_Background_Region_File-S00700010000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0300961301OMS007SFSRLI1000.FIT srcfile=intermediate/OMFastAnalyse-om-2-OM_Source_Region_File-S00700010000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:45:04]
# # [INFO] [2024-11-30T23:45:04] Task Run Time omregion 0.0793468952178955s
#
# # [INFO] [2024-11-30T23:45:04] Sampling timebinsize of product/P0300961301OMS007IMAGEF1000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:45:04] Start evselect (2)
# # [INFO] [2024-11-30T23:45:04] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:45:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:04]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:04]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-2-OM_Source_Region_File-S00700010000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-2-OM_Source_Rates_File-S00700010000001.fits \
table=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:45:04] ** 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:45:04] Task Run Time evselect 0.116858005523682s
#
# # [INFO] [2024-11-30T23:45:04] Start evselect (3)
# [COMMAND] [2024-11-30T23:45:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:04]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:04]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-2-OM_Background_Region_File-S00700010000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-2-OM_Background_Rates_File-S00700010000001.fits \
table=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700010000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:45:04] ** 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:45:04] Task Run Time evselect 0.0594120025634766s
#
# # [INFO] [2024-11-30T23:45:04] Start omlcbuild
# # [INFO] [2024-11-30T23:45:04] Imaging mode image for determining background S007:odf/1020_0300961301_OMS00700IMI.FIT
# [COMMAND] [2024-11-30T23:45:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:04]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:04]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-2-OM_Background_Rates_File-S00700010000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-2-OM_Background_Region_File-S00700010000001.fits \
imageset=odf/1020_0300961301_OMS00700IMI.FIT outset=product/P0300961301OMS007TIMESR1001.FIT \
sourcelistset=product/P0300961301OMS007SFSRLI1000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-2-OM_Source_Rates_File-S00700010000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-2-OM_Source_Region_File-S00700010000001.fits wdxset=odf/1020_0300961301_OMS00700WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:45:19]
# TDP corr factor is: 1.07359290 
# ** omlcbuild: warning (OMLCBUILD), Count rate is not positive
# ** omlcbuild: warning (negVals), Background subtracted rate has negative values 
# # [INFO] [2024-11-30T23:45:19] Task Run Time omlcbuild 15.490541934967s
#
# # [INFO] [2024-11-30T23:45:19] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0300961301OMS007TIMESR1001.FIT
# # [INFO] [2024-11-30T23:45:19] DEBUG ++ TIMESR file product/P0300961301OMS007TIMESR1001.FIT exists!
# # [INFO] [2024-11-30T23:45:19] Start lcplot
# [COMMAND] [2024-11-30T23:45:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:19]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:19]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-2-OM_OSW_SOURCE_TIMESERIES-S00700010000001.ps \
set=product/P0300961301OMS007TIMESR1001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:45:22] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# ** lcplot: warning (LCPLOT), Count rate is not positive
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:45:22] Task Run Time lcplot 2.49305820465088s
#
# # [INFO] [2024-11-30T23:45:22] Start PStoPDF
# [COMMAND] [2024-11-30T23:45:22]
pstopdf intermediate/OMFastAnalyse-om-2-OM_OSW_SOURCE_TIMESERIES-S00700010000001.ps product/P0300961301OMS007TIMESR1001.PDF
# # [OUTPUT] [2024-11-30T23:45:22]
# # [INFO] [2024-11-30T23:45:22] Processing OSW 2
# # [INFO] [2024-11-30T23:45:22] Start omprep
# [COMMAND] [2024-11-30T23:45:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:22]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:22]
omprep modeset=1 nphset=odf/1020_0300961301_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700020000000.fits pehset=odf/1020_0300961301_OMX00000PEH.FIT \
set=odf/1020_0300961301_OMS00702FAE.FIT wdxset=odf/1020_0300961301_OMS00700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:45:22]
# # [INFO] [2024-11-30T23:45:22] Task Run Time omprep 0.105605840682983s
#
# # [INFO] [2024-11-30T23:45:22] Start evselect(1)
# [COMMAND] [2024-11-30T23:45:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:22]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:22]
evselect imageset=intermediate/OMFastAnalyse-om-2-Fast_Mode_Raw_Image-S00700020000000.fits \
table=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700020000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:45:22] ** 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:45:22] Task Run Time evselect 0.0889849662780762s
#
# # [INFO] [2024-11-30T23:45:22] Start omfastshift
# [COMMAND] [2024-11-30T23:45:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:22]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:22]
omfastshift nphset=odf/1020_0300961301_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700020000000.fits \
thxset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:45:22]
# # [INFO] [2024-11-30T23:45:22] Task Run Time omfastshift 0.125759124755859s
#
# # [INFO] [2024-11-30T23:45:22] Start omfastflat
# [COMMAND] [2024-11-30T23:45:22]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:22]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:22] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:22]
omfastflat fastimgset=product/P0300961301OMS007IMAGEF2000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-2-OM_OSW_Flat_Field-S00700020000000.fits \
set=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700020000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:45:23]
# # [INFO] [2024-11-30T23:45:23] Task Run Time omfastflat 0.40410304069519s
#
# # [INFO] [2024-11-30T23:45:23] Start omdetect
# [COMMAND] [2024-11-30T23:45:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:23]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:23]
omdetect nsigma=3 outset=product/P0300961301OMS007SFSRLI2000.FIT regionfile=product/P0300961301OMS007SFSREG2000.ASC \
set=product/P0300961301OMS007IMAGEF2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:45:23]
# # [INFO] [2024-11-30T23:45:23] Task Run Time omdetect 0.678222894668579s
#
# # [INFO] [2024-11-30T23:45:23] Start omatt
# [COMMAND] [2024-11-30T23:45:23]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:23]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:23] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:23]
omatt ppsoswset=product/P0300961301OMS007SIMAGF2000.FIT set=product/P0300961301OMS007IMAGEF2000.FIT \
sourcelistset=product/P0300961301OMS007SFSRLI2000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:45:24]
# # [INFO] [2024-11-30T23:45:24] Task Run Time omatt 0.591253042221069s
#
# # [INFO] [2024-11-30T23:45:24] Sky image found 
# # [INFO] [2024-11-30T23:45:24] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0300961301OMS007SIMAGF2000.FIT\
#     --outfile=product/P0300961301OMS007SIMAGF2000.PNG --srclisttab=product/P0300961301OMS007SFSRLI2000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:45:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:24]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:24]
implot.py --fitsImage=product/P0300961301OMS007SIMAGF2000.FIT --outfile=product/P0300961301OMS007SIMAGF2000.PNG \
--srclisttab=product/P0300961301OMS007SFSRLI2000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:45:27] Image shape. y,x: (27, 24) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (26, 23) x/y ratio: 0.88
# Plotting source regions from product/P0300961301OMS007SFSRLI2000.FIT 
# # [INFO] [2024-11-30T23:45:27] Task Run Time implot.py 3.30207109451294s
#
# # [INFO] [2024-11-30T23:45:27] implot has created PNG with src list
# # [INFO] [2024-11-30T23:45:27] Per-Source Processing
# # [INFO] [2024-11-30T23:45:27] Number of sources from region file product/P0300961301OMS007SFSREG2000.ASC: 1
# # [INFO] [2024-11-30T23:45:27] Sources in sourcelist product/P0300961301OMS007SFSRLI2000.FIT : 1
# # [INFO] [2024-11-30T23:45:27] Source Number : 1
# # [INFO] [2024-11-30T23:45:27] Start omregion
# [COMMAND] [2024-11-30T23:45:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:27]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:27]
omregion bkgfile=intermediate/OMFastAnalyse-om-2-OM_Background_Region_File-S00700020000001.fits bkginner=1.2 bkgouter=2.5 nfwhm=3 \
set=product/P0300961301OMS007SFSRLI2000.FIT srcfile=intermediate/OMFastAnalyse-om-2-OM_Source_Region_File-S00700020000001.fits \
srcnumber=1 srcradius=-6 -w 10
# # [OUTPUT] [2024-11-30T23:45:27]
# # [INFO] [2024-11-30T23:45:27] Task Run Time omregion 0.0545270442962646s
#
# # [INFO] [2024-11-30T23:45:27] Sampling timebinsize of product/P0300961301OMS007IMAGEF2000.FIT = 512/1024 sec
# # [INFO] [2024-11-30T23:45:27] Start evselect (2)
# # [INFO] [2024-11-30T23:45:27] timebinsize for evselect = 10
# [COMMAND] [2024-11-30T23:45:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:27]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:27]
evselect expression="((WIN_FLAG .eq. 0) .and. (region(intermediate/OMFastAnalyse-om-2-OM_Source_Region_File-S00700020000001.fits, \
CORR_X, CORR_Y)))" maketimecolumn=true rateset=intermediate/OMFastAnalyse-om-2-OM_Source_Rates_File-S00700020000001.fits \
table=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700020000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:45:28] ** 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:45:28] Task Run Time evselect 0.0910201072692871s
#
# # [INFO] [2024-11-30T23:45:28] Start evselect (3)
# [COMMAND] [2024-11-30T23:45:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:28]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:28]
evselect expression="((WIN_FLAG .eq. 0) .and. \
(region(intermediate/OMFastAnalyse-om-2-OM_Background_Region_File-S00700020000001.fits, CORR_X, CORR_Y)))" maketimecolumn=true \
rateset=intermediate/OMFastAnalyse-om-2-OM_Background_Rates_File-S00700020000001.fits \
table=intermediate/OMFastAnalyse-om-2-PPS_Event_List_File-S00700020000000.fits timebinsize=10 withrateset=T -w 10
# # [OUTPUT] [2024-11-30T23:45:28] ** 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:45:28] Task Run Time evselect 0.13598895072937s
#
# # [INFO] [2024-11-30T23:45:28] Start omlcbuild
# # [INFO] [2024-11-30T23:45:28] Imaging mode image for determining background S007:odf/1020_0300961301_OMS00700IMI.FIT
# [COMMAND] [2024-11-30T23:45:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:28]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:28]
omlcbuild bkgfromimage=yes bkgrateset=intermediate/OMFastAnalyse-om-2-OM_Background_Rates_File-S00700020000001.fits \
bkgregionset=intermediate/OMFastAnalyse-om-2-OM_Background_Region_File-S00700020000001.fits \
imageset=odf/1020_0300961301_OMS00700IMI.FIT outset=product/P0300961301OMS007TIMESR2001.FIT \
sourcelistset=product/P0300961301OMS007SFSRLI2000.FIT \
srcrateset=intermediate/OMFastAnalyse-om-2-OM_Source_Rates_File-S00700020000001.fits \
srcregionset=intermediate/OMFastAnalyse-om-2-OM_Source_Region_File-S00700020000001.fits wdxset=odf/1020_0300961301_OMS00700WDX.FIT \
-w 10
# # [OUTPUT] [2024-11-30T23:45:43]
# TDP corr factor is: 1.07359290 
# ** omlcbuild: warning (OMLCBUILD), Count rate is not positive
# ** omlcbuild: warning (negVals), Background subtracted rate has negative values 
# # [INFO] [2024-11-30T23:45:43] Task Run Time omlcbuild 15.1597878932953s
#
# # [INFO] [2024-11-30T23:45:43] DEBUG ++ omlcbuild complete, generated TIMESR file: product/P0300961301OMS007TIMESR2001.FIT
# # [INFO] [2024-11-30T23:45:43] DEBUG ++ TIMESR file product/P0300961301OMS007TIMESR2001.FIT exists!
# # [INFO] [2024-11-30T23:45:43] Start lcplot
# [COMMAND] [2024-11-30T23:45:43]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:43]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:43] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:43]
lcplot binsize=1 plotdevice=/VPS plotfile=intermediate/OMFastAnalyse-om-2-OM_OSW_SOURCE_TIMESERIES-S00700020000001.ps \
set=product/P0300961301OMS007TIMESR2001.FIT tests=chi -w 10
# # [OUTPUT] [2024-11-30T23:45:45] ** lcplot: warning (LCPLOT), HDUCLAS2 is not equal to TOTAL
# ** lcplot: warning (LCPLOT), Count rate is not positive
# lcplot_graph.py executed successfully. 
# # [INFO] [2024-11-30T23:45:45] Task Run Time lcplot 2.28049206733704s
#
# # [INFO] [2024-11-30T23:45:45] Start PStoPDF
# [COMMAND] [2024-11-30T23:45:45]
pstopdf intermediate/OMFastAnalyse-om-2-OM_OSW_SOURCE_TIMESERIES-S00700020000001.ps product/P0300961301OMS007TIMESR2001.PDF
# # [OUTPUT] [2024-11-30T23:45:45]
# # [INFO] [2024-11-30T23:45:45] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:45:45] Instrument: om
# # [INFO] [2024-11-30T23:45:45] Stream no.: 0003
# # [INFO] [2024-11-30T23:45:45] Module version number: 1.36
# # [INFO] [2024-11-30T23:45:45] DEBUG --- exp_id: S008, filter: UVM2
# # [INFO] [2024-11-30T23:45:45] 2 Fast Mode Windows to process
# # [INFO] [2024-11-30T23:45:45] Processing OSW 1
# # [INFO] [2024-11-30T23:45:45] Start omprep
# [COMMAND] [2024-11-30T23:45:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:45]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:45]
omprep modeset=1 nphset=odf/1020_0300961301_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800010000000.fits pehset=odf/1020_0300961301_OMX00000PEH.FIT \
set=odf/1020_0300961301_OMS00801FAE.FIT wdxset=odf/1020_0300961301_OMS00800WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:45:45]
# # [INFO] [2024-11-30T23:45:45] Task Run Time omprep 0.113420963287354s
#
# # [INFO] [2024-11-30T23:45:45] Start evselect(1)
# [COMMAND] [2024-11-30T23:45:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:45]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:45]
evselect imageset=intermediate/OMFastAnalyse-om-3-Fast_Mode_Raw_Image-S00800010000000.fits \
table=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800010000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:45: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:45:45] Task Run Time evselect 0.0546829700469971s
#
# # [INFO] [2024-11-30T23:45:45] Start omfastshift
# [COMMAND] [2024-11-30T23:45:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:45]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:45]
omfastshift nphset=odf/1020_0300961301_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800010000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00800000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:45:45]
# # [INFO] [2024-11-30T23:45:45] Task Run Time omfastshift 0.0560798645019531s
#
# # [INFO] [2024-11-30T23:45:45] Start omfastflat
# [COMMAND] [2024-11-30T23:45:45]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:45]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:45] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:45]
omfastflat fastimgset=product/P0300961301OMS008IMAGEF1000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-3-OM_OSW_Flat_Field-S00800010000000.fits \
set=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800010000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:45:46]
# # [INFO] [2024-11-30T23:45:46] Task Run Time omfastflat 0.210970878601074s
#
# # [INFO] [2024-11-30T23:45:46] Start omdetect
# [COMMAND] [2024-11-30T23:45:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:46]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:46]
omdetect nsigma=3 outset=product/P0300961301OMS008SFSRLI1000.FIT regionfile=product/P0300961301OMS008SFSREG1000.ASC \
set=product/P0300961301OMS008IMAGEF1000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:45:46]
# # [INFO] [2024-11-30T23:45:46] Task Run Time omdetect 0.571712970733643s
#
# # [INFO] [2024-11-30T23:45:46] Start omatt
# [COMMAND] [2024-11-30T23:45:46]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:46]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:46] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:46]
omatt ppsoswset=product/P0300961301OMS008SIMAGF1000.FIT set=product/P0300961301OMS008IMAGEF1000.FIT \
sourcelistset=product/P0300961301OMS008SFSRLI1000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:45:47]
# # [INFO] [2024-11-30T23:45:47] Task Run Time omatt 0.561063051223755s
#
# # [INFO] [2024-11-30T23:45:47] Sky image found 
# # [INFO] [2024-11-30T23:45:47] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0300961301OMS008SIMAGF1000.FIT\
#     --outfile=product/P0300961301OMS008SIMAGF1000.PNG --srclisttab=product/P0300961301OMS008SFSRLI1000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:45:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:47]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:47]
implot.py --fitsImage=product/P0300961301OMS008SIMAGF1000.FIT --outfile=product/P0300961301OMS008SIMAGF1000.PNG \
--srclisttab=product/P0300961301OMS008SFSRLI1000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:45:49] Image shape. y,x: (27, 24) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (26, 23) x/y ratio: 0.88
# Plotting source regions from product/P0300961301OMS008SFSRLI1000.FIT 
# # [INFO] [2024-11-30T23:45:49] Task Run Time implot.py 2.26121711730957s
#
# # [INFO] [2024-11-30T23:45:49] implot has created PNG with src list
# # [INFO] [2024-11-30T23:45:49] Per-Source Processing
# # [INFO] [2024-11-30T23:45:49] Number of sources from region file product/P0300961301OMS008SFSREG1000.ASC: 0
# # [INFO] [2024-11-30T23:45:49] Sources in sourcelist product/P0300961301OMS008SFSRLI1000.FIT : 0
# # [INFO] [2024-11-30T23:45:49] One of the source counts is zero. No source level products will be produced for S008.
# # [INFO] [2024-11-30T23:45:49] Processing OSW 2
# # [INFO] [2024-11-30T23:45:49] Start omprep
# [COMMAND] [2024-11-30T23:45:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:49]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:49]
omprep modeset=1 nphset=odf/1020_0300961301_OMX00000NPH.FIT \
outset=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800020000000.fits pehset=odf/1020_0300961301_OMX00000PEH.FIT \
set=odf/1020_0300961301_OMS00802FAE.FIT wdxset=odf/1020_0300961301_OMS00800WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:45:49]
# # [INFO] [2024-11-30T23:45:49] Task Run Time omprep 0.141103982925415s
#
# # [INFO] [2024-11-30T23:45:49] Start evselect(1)
# [COMMAND] [2024-11-30T23:45:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:49]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:49]
evselect imageset=intermediate/OMFastAnalyse-om-3-Fast_Mode_Raw_Image-S00800020000000.fits \
table=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800020000000.fits withimageset=true xcolumn=RAWX ycolumn=RAWY -w 10
# # [OUTPUT] [2024-11-30T23:45:49] ** 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:45:49] Task Run Time evselect 0.038618803024292s
#
# # [INFO] [2024-11-30T23:45:49] Start omfastshift
# [COMMAND] [2024-11-30T23:45:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:49]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:49]
omfastshift nphset=odf/1020_0300961301_OMX00000NPH.FIT set=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800020000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00800000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:45:49]
# # [INFO] [2024-11-30T23:45:49] Task Run Time omfastshift 0.0429260730743408s
#
# # [INFO] [2024-11-30T23:45:49] Start omfastflat
# [COMMAND] [2024-11-30T23:45:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:49]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:49]
omfastflat fastimgset=product/P0300961301OMS008IMAGEF2000.FIT \
oswflatset=intermediate/OMFastAnalyse-om-3-OM_OSW_Flat_Field-S00800020000000.fits \
set=intermediate/OMFastAnalyse-om-3-PPS_Event_List_File-S00800020000000.fits \
slewflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:45:49]
# # [INFO] [2024-11-30T23:45:49] Task Run Time omfastflat 0.157080888748169s
#
# # [INFO] [2024-11-30T23:45:49] Start omdetect
# [COMMAND] [2024-11-30T23:45:49]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:49]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:49] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:49]
omdetect nsigma=3 outset=product/P0300961301OMS008SFSRLI2000.FIT regionfile=product/P0300961301OMS008SFSREG2000.ASC \
set=product/P0300961301OMS008IMAGEF2000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:45:50]
# # [INFO] [2024-11-30T23:45:50] Task Run Time omdetect 0.579700946807861s
#
# # [INFO] [2024-11-30T23:45:50] Start omatt
# [COMMAND] [2024-11-30T23:45:50]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:50]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:50] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:50]
omatt ppsoswset=product/P0300961301OMS008SIMAGF2000.FIT set=product/P0300961301OMS008IMAGEF2000.FIT \
sourcelistset=product/P0300961301OMS008SFSRLI2000.FIT usecat=F -w 10
# # [OUTPUT] [2024-11-30T23:45:51]
# # [INFO] [2024-11-30T23:45:51] Task Run Time omatt 0.530848979949951s
#
# # [INFO] [2024-11-30T23:45:51] Sky image found 
# # [INFO] [2024-11-30T23:45:51] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0300961301OMS008SIMAGF2000.FIT\
#     --outfile=product/P0300961301OMS008SIMAGF2000.PNG --srclisttab=product/P0300961301OMS008SFSRLI2000.FIT --zscale=sqrt\
#     --zscaletype=7
# [COMMAND] [2024-11-30T23:45:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:51]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:51]
implot.py --fitsImage=product/P0300961301OMS008SIMAGF2000.FIT --outfile=product/P0300961301OMS008SIMAGF2000.PNG \
--srclisttab=product/P0300961301OMS008SFSRLI2000.FIT --zscale=sqrt --zscaletype=7
# # [OUTPUT] [2024-11-30T23:45:53] Image shape. y,x: (27, 24) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (26, 23) x/y ratio: 0.88
# Plotting source regions from product/P0300961301OMS008SFSRLI2000.FIT 
# # [INFO] [2024-11-30T23:45:53] Task Run Time implot.py 1.94017887115479s
#
# # [INFO] [2024-11-30T23:45:53] implot has created PNG with src list
# # [INFO] [2024-11-30T23:45:53] Per-Source Processing
# # [INFO] [2024-11-30T23:45:53] Number of sources from region file product/P0300961301OMS008SFSREG2000.ASC: 0
# # [INFO] [2024-11-30T23:45:53] Sources in sourcelist product/P0300961301OMS008SFSRLI2000.FIT : 0
# # [INFO] [2024-11-30T23:45:53] One of the source counts is zero. No source level products will be produced for S008.
# # [INFO] [2024-11-30T23:45:53] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:45:53] Instrument: om
# # [INFO] [2024-11-30T23:45:53] Stream no.: 0002
# # [INFO] [2024-11-30T23:45:53] Module version number: 3.28
# # [INFO] [2024-11-30T23:45:53] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:45:53] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:45:53] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:45:53] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:45:53] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:45:53] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:45:53] Analysing odf/1020_0300961301_OMS00700IMI.FIT for image identification
# # [INFO] [2024-11-30T23:45:53] Identified mode: USER
# # [INFO] [2024-11-30T23:45:53] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:45:53] Processing USER Images.
# # [INFO] [2024-11-30T23:45:53] 1 images to process.
# # [INFO] [2024-11-30T23:45:53] Processing S007:0:odf/1020_0300961301_OMS00700IMI.FIT
# [COMMAND] [2024-11-30T23:45:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:53]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:53]
omprep modeset=0 nphset=odf/1020_0300961301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-2-Raw_Image-S00700000000000.fits \
pehset=odf/1020_0300961301_OMX00000PEH.FIT set=odf/1020_0300961301_OMS00700IMI.FIT wdxset=odf/1020_0300961301_OMS00700WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:45:53]
# # [INFO] [2024-11-30T23:45:53] Task Run Time omprep 0.162117004394531s
#
# # [INFO] [2024-11-30T23:45:53] Retrieving FILTER value
# # [INFO] [2024-11-30T23:45:53] FILTER = L
# # [INFO] [2024-11-30T23:45:53] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:45:53] EXPOSURE = 1.30000000000000E+03
# [COMMAND] [2024-11-30T23:45:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:53]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:53]
omcosflag set=intermediate/OMImageAnalyse-om-2-Raw_Image-S00700000000000.fits \
thxset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:45:53]
# # [INFO] [2024-11-30T23:45:53] Task Run Time omcosflag 0.256844043731689s
#
# [COMMAND] [2024-11-30T23:45:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:53]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:53]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-2-OSW_Flat_Fielded_Image-S00700000000000.fits \
set=intermediate/OMImageAnalyse-om-2-Raw_Image-S00700000000000.fits \
thxset=intermediate/OMExpAnalyse-om-2-omprep_tracking_history-S00700000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-2-OSW_Flat_Field-S00700000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:45:53]
# # [INFO] [2024-11-30T23:45:53] Task Run Time omflatfield 0.0664141178131104s
#
# [COMMAND] [2024-11-30T23:45:53]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:53]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:53] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:53]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-2-OSW_MODULO_8_IMAGE-S00700000000000.fits nbox=16 nsig=6 \
outset=product/P0300961301OMS007IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-2-OSW_Flat_Fielded_Image-S00700000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:45:57]
# # [INFO] [2024-11-30T23:45:57] Task Run Time ommodmap 3.61608791351318s
#
# [COMMAND] [2024-11-30T23:45:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:57]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:57]
omqualitymap mode=setqualityimage outset=product/P0300961301OMS007IMAGE_0000.FIT set=product/P0300961301OMS007IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:45:57] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0300961301OMS007IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:45:57] Task Run Time omqualitymap 0.128214120864868s
#
# [COMMAND] [2024-11-30T23:45:57]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:45:57]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:45:57] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:45:57]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0300961301OMS007SWSRLI0000.FIT \
regionfile=product/P0300961301OMS007SWSREG0000.ASC set=product/P0300961301OMS007IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:01] ** omdetect: warning (Possible Error!), nsources ne liinked-list size!
# ** omdetect: warning (Possible Error!), nsources ne liinked-list size! 
# # [INFO] [2024-11-30T23:46:01] Task Run Time omdetect 4.05095815658569s
#
# [COMMAND] [2024-11-30T23:46:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:01]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:01]
omqualitymap mode=setqualityimage outset=product/P0300961301OMS007IMAGE_0000.FIT set=product/P0300961301OMS007IMAGE_0000.FIT \
srclistset=product/P0300961301OMS007SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:01] ** omqualitymap: warning (parameter), srclistset = product/P0300961301OMS007SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0300961301OMS007IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0300961301OMS007SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:46:01] Task Run Time omqualitymap 0.123464107513428s
#
# [COMMAND] [2024-11-30T23:46:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:01]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:01]
ommag set=product/P0300961301OMS007SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:01]
# TDP corr factor is: 1.07359290 
# L265 tdpCorrFactor= 1.07359290 
# L348 getting the column data
# In: 318.200500 363.651062 2 591
# X,Y,pdepcorr: 1227.40100 1099.30212 1.00000000 
# In: 15.6014929 70.8396149 2 591
# X,Y,pdepcorr: 622.203003 513.679199 1.00000000 
# In: 284.114838 466.961426 2 591
# X,Y,pdepcorr: 1159.22974 1305.92285 1.00000000 
# In: 471.605469 200.010635 2 591
# X,Y,pdepcorr: 1534.21094 772.021240 1.00000000 
# In: 151.884506 227.866592 2 591
# X,Y,pdepcorr: 894.769043 827.733154 1.00000000 
# In: 296.818390 422.719391 2 591
# X,Y,pdepcorr: 1184.63672 1217.43872 1.00000000 
# In: 372.635834 453.096069 2 591
# X,Y,pdepcorr: 1336.27173 1278.19214 1.00000000 
# In: 63.8158951 46.7185974 2 591
# X,Y,pdepcorr: 718.631775 465.437195 1.00000000 
# In: 143.054031 25.0003128 2 591
# X,Y,pdepcorr: 877.108032 422.000610 1.00000000 
# In: 30.6908741 198.627182 2 591
# X,Y,pdepcorr: 652.381775 769.254395 1.00000000 
# In: 196.955704 14.2264709 2 591
# X,Y,pdepcorr: 984.911377 400.452942 1.00000000 
# In: 405.925964 102.414459 2 591
# X,Y,pdepcorr: 1402.85193 576.828918 1.00000000 
# In: 23.2925682 121.135582 2 591
# X,Y,pdepcorr: 637.585144 614.271179 1.00000000 
# # [INFO] [2024-11-30T23:46:01] Task Run Time ommag 0.0713260173797607s
#
# [COMMAND] [2024-11-30T23:46:01]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:01]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:01] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:01]
omatt catfile=product/P0300961301OBX000REFCAT0000.FIT ppsoswset=product/P0300961301OMS007SIMAGE0000.FIT \
set=product/P0300961301OMS007IMAGE_0000.FIT sourcelistset=product/P0300961301OMS007SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:46:04]
# # [INFO] [2024-11-30T23:46:04] Task Run Time omatt 2.55368089675903s
#
# [COMMAND] [2024-11-30T23:46:04]
export \
PFILES=/scratch/225820.1.all.q/xmm/ppsprod/228965/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:46:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:04]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:04]
fimgstat clobber=Y infile=product/P0300961301OMS007SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-2-OSW_0_sky_image_statistics-S00700000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:46:04]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:46:04] Task Run Time fimgstat 0.0215868949890137s
#
# # [INFO] [2024-11-30T23:46:04] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0300961301OMS007SIMAGE0000.FIT\
#     --outfile=product/P0300961301OMS007SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:46:04]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:04]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:04] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:04]
implot.py --fitsImage=product/P0300961301OMS007SIMAGE0000.FIT --outfile=product/P0300961301OMS007SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:46:06] Image shape. y,x: (558, 534) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (557, 533) x/y ratio: 0.96 
# # [INFO] [2024-11-30T23:46:06] Task Run Time implot.py 1.90510201454163s
#
# # [INFO] [2024-11-30T23:46:06] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:46:06] 0 images to process.
# # [INFO] [2024-11-30T23:46:06] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:46:06] 0 images to process.
# # [INFO] [2024-11-30T23:46:06] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:46:06] 0 images to process.
# # [INFO] [2024-11-30T23:46:06] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:46:06] 0 images to process.
# # [INFO] [2024-11-30T23:46:06] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:46:06] 0 images to process.
# # [INFO] [2024-11-30T23:46:06] All images processed
# # [INFO] [2024-11-30T23:46:06] Writing accounting information
# # [INFO] [2024-11-30T23:46:06] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0300961301OMS007SWSRLI0000.FIT|USER|L '
# ]; 
# # [INFO] [2024-11-30T23:46:06] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0300961301OMS007SIMAGE0000.FIT|USER|L|1.30000000000000E+03|S007 '
# ]; 
# # [INFO] [2024-11-30T23:46:06] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:46:06] Instrument: om
# # [INFO] [2024-11-30T23:46:06] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:06] Module version number: 3.28
# # [INFO] [2024-11-30T23:46:06] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:46:06] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:46:06] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:46:06] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:46:06] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:46:06] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:46:06] Analysing odf/1020_0300961301_OMS00600IMI.FIT for image identification
# # [INFO] [2024-11-30T23:46:06] Identified mode: USER
# # [INFO] [2024-11-30T23:46:06] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:46:06] Processing USER Images.
# # [INFO] [2024-11-30T23:46:06] 1 images to process.
# # [INFO] [2024-11-30T23:46:06] Processing S006:0:odf/1020_0300961301_OMS00600IMI.FIT
# [COMMAND] [2024-11-30T23:46:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:06]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:06]
omprep modeset=0 nphset=odf/1020_0300961301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-1-Raw_Image-S00600000000000.fits \
pehset=odf/1020_0300961301_OMX00000PEH.FIT set=odf/1020_0300961301_OMS00600IMI.FIT wdxset=odf/1020_0300961301_OMS00600WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:06]
# # [INFO] [2024-11-30T23:46:06] Task Run Time omprep 0.152215003967285s
#
# # [INFO] [2024-11-30T23:46:06] Retrieving FILTER value
# # [INFO] [2024-11-30T23:46:06] FILTER = B
# # [INFO] [2024-11-30T23:46:06] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:46:06] EXPOSURE = 1.30000000000000E+03
# [COMMAND] [2024-11-30T23:46:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:06]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:06]
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:46:06]
# # [INFO] [2024-11-30T23:46:06] Task Run Time omcosflag 0.702776908874512s
#
# [COMMAND] [2024-11-30T23:46:06]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:06]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:06] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:06]
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:46:07]
# # [INFO] [2024-11-30T23:46:07] Task Run Time omflatfield 0.102295160293579s
#
# [COMMAND] [2024-11-30T23:46:07]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:07]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:07] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:07]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-1-OSW_MODULO_8_IMAGE-S00600000000000.fits nbox=16 nsig=6 \
outset=product/P0300961301OMS006IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00600000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:46:10]
# # [INFO] [2024-11-30T23:46:10] Task Run Time ommodmap 2.9603898525238s
#
# [COMMAND] [2024-11-30T23:46:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:10]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:10]
omqualitymap mode=setqualityimage outset=product/P0300961301OMS006IMAGE_0000.FIT set=product/P0300961301OMS006IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:46:10] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0300961301OMS006IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:46:10] Task Run Time omqualitymap 0.123415946960449s
#
# [COMMAND] [2024-11-30T23:46:10]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:10]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:10] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:10]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0300961301OMS006SWSRLI0000.FIT \
regionfile=product/P0300961301OMS006SWSREG0000.ASC set=product/P0300961301OMS006IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:17]
# # [INFO] [2024-11-30T23:46:17] Task Run Time omdetect 7.64931106567383s
#
# [COMMAND] [2024-11-30T23:46:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:17]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:17]
omqualitymap mode=setqualityimage outset=product/P0300961301OMS006IMAGE_0000.FIT set=product/P0300961301OMS006IMAGE_0000.FIT \
srclistset=product/P0300961301OMS006SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:17] ** omqualitymap: warning (parameter), srclistset = product/P0300961301OMS006SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0300961301OMS006IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0300961301OMS006SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:46:17] Task Run Time omqualitymap 0.160391807556152s
#
# [COMMAND] [2024-11-30T23:46:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:17]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:17]
ommag set=product/P0300961301OMS006SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:18]
# TDP corr factor is: 1.04585254 
# L265 tdpCorrFactor= 1.04585254 
# L348 getting the column data
# In: 286.885834 339.439880 2 655
# X,Y,pdepcorr: 1228.77173 1098.87976 1.00000000 
# In: 265.258423 398.263367 2 655
# X,Y,pdepcorr: 1185.51685 1216.52673 1.00000000 
# In: 340.852142 428.786926 2 655
# X,Y,pdepcorr: 1336.70435 1277.57385 1.00000000 
# In: 120.247055 203.760483 2 655
# X,Y,pdepcorr: 895.494141 827.520996 1.00000000 
# In: 441.275238 176.109695 2 655
# X,Y,pdepcorr: 1537.55054 772.219360 1.00000000 
# In: 358.670227 365.707550 2 655
# X,Y,pdepcorr: 1372.34045 1151.41504 1.00000000 
# In: 111.749451 1.31265438 2 655
# X,Y,pdepcorr: 878.498901 422.625305 1.00000000 
# In: 240.683563 10.2398233 2 655
# X,Y,pdepcorr: 1136.36719 440.479645 1.00000000 
# In: 86.6891861 235.964111 2 655
# X,Y,pdepcorr: 828.378357 891.928223 1.00000000 
# In: 416.702972 422.222961 2 655
# X,Y,pdepcorr: 1488.40601 1264.44592 1.00000000 
# In: 374.002106 78.5069885 2 655
# X,Y,pdepcorr: 1403.00415 577.013977 1.00000000 
# In: 252.718185 442.817444 2 655
# X,Y,pdepcorr: 1160.43640 1305.63489 1.00000000 
# In: 51.9477386 99.2094421 2 655
# X,Y,pdepcorr: 758.895508 618.418884 1.00000000 
# In: 31.2141991 10.4970398 2 655
# X,Y,pdepcorr: 717.428406 440.994080 1.00000000 
# In: 3.52121878 212.269562 2 655
# X,Y,pdepcorr: 662.042419 844.539124 1.00000000 
# In: 380.210510 236.780945 2 655
# X,Y,pdepcorr: 1415.42102 893.561890 1.00000000 
# In: 32.4678154 22.5200367 2 655
# X,Y,pdepcorr: 719.935608 465.040070 1.00000000 
# In: 339.735474 117.805649 2 655
# X,Y,pdepcorr: 1334.47095 655.611328 1.00000000 
# In: 246.139450 194.016937 2 655
# X,Y,pdepcorr: 1147.27893 808.033875 1.00000000 
# In: 323.752106 398.393127 2 655
# X,Y,pdepcorr: 1302.50415 1216.78625 1.00000000 
# In: 256.647400 432.872162 2 655
# X,Y,pdepcorr: 1168.29480 1285.74438 1.00000000 
# In: 100.777016 23.3268337 2 655
# X,Y,pdepcorr: 856.554016 466.653656 1.00000000 
# In: 61.8839188 404.689789 2 655
# X,Y,pdepcorr: 778.767822 1229.37964 1.00000000 
# In: 266.081482 98.8782425 2 655
# X,Y,pdepcorr: 1187.16296 617.756470 1.00000000 
# In: 90.9559097 456.647736 2 655
# X,Y,pdepcorr: 836.911804 1333.29541 1.00000000 
# In: 411.330261 40.9558029 2 655
# X,Y,pdepcorr: 1477.66052 501.911621 1.00000000 
# In: 85.0910492 419.673859 2 655
# X,Y,pdepcorr: 825.182129 1259.34766 1.00000000 
# In: 66.7288589 457.073090 2 655
# X,Y,pdepcorr: 788.457703 1334.14624 1.00000000 
# In: 200.296890 464.761627 2 655
# X,Y,pdepcorr: 1055.59375 1349.52319 1.00000000 
# In: 424.722748 99.9132843 2 655
# X,Y,pdepcorr: 1504.44556 619.826538 1.00000000 
# In: 75.9576035 429.372711 2 655
# X,Y,pdepcorr: 806.915222 1278.74536 1.00000000 
# In: 73.5419922 276.399963 2 655
# X,Y,pdepcorr: 802.083984 972.799927 1.00000000 
# In: 1.77864885 175.155060 2 655
# X,Y,pdepcorr: 658.557312 770.310120 1.00000000 
# In: 410.872162 179.861160 2 655
# X,Y,pdepcorr: 1476.74438 779.722290 1.00000000 
# In: 33.8633995 259.333954 2 655
# X,Y,pdepcorr: 722.726807 938.667908 1.00000000 
# In: 446.927002 106.002159 2 655
# X,Y,pdepcorr: 1548.85400 632.004333 1.00000000 
# In: 299.709778 143.866104 2 655
# X,Y,pdepcorr: 1254.41956 707.732178 1.00000000 
# In: 452.784424 120.659576 2 655
# X,Y,pdepcorr: 1560.56885 661.319153 1.00000000 
# In: 468.351044 465.626221 2 655
# X,Y,pdepcorr: 1591.70215 1351.25244 1.00000000 
# In: 96.3033066 58.2088547 2 655
# X,Y,pdepcorr: 847.606628 536.417725 1.00000000 
# In: 66.7303391 21.0676498 2 655
# X,Y,pdepcorr: 788.460693 462.135315 1.00000000 
# In: 449.124237 42.7915192 2 655
# X,Y,pdepcorr: 1553.24854 505.583038 1.00000000 
# In: 247.714096 239.887390 2 655
# X,Y,pdepcorr: 1150.42822 899.774780 1.00000000 
# In: 397.795715 178.193222 2 655
# X,Y,pdepcorr: 1450.59143 776.386475 1.00000000 
# # [INFO] [2024-11-30T23:46:18] Task Run Time ommag 0.0553519725799561s
#
# [COMMAND] [2024-11-30T23:46:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:18]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:18]
omatt catfile=product/P0300961301OBX000REFCAT0000.FIT ppsoswset=product/P0300961301OMS006SIMAGE0000.FIT \
set=product/P0300961301OMS006IMAGE_0000.FIT sourcelistset=product/P0300961301OMS006SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:46:21]
# # [INFO] [2024-11-30T23:46:21] Task Run Time omatt 3.6747829914093s
#
# [COMMAND] [2024-11-30T23:46:21]
export \
PFILES=/scratch/225820.1.all.q/xmm/ppsprod/228965/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:46:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:21]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:21]
fimgstat clobber=Y infile=product/P0300961301OMS006SIMAGE0000.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:46:21]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:46:21] Task Run Time fimgstat 0.0231471061706543s
#
# # [INFO] [2024-11-30T23:46:21] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0300961301OMS006SIMAGE0000.FIT\
#     --outfile=product/P0300961301OMS006SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:46:21]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:21]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:21] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:21]
implot.py --fitsImage=product/P0300961301OMS006SIMAGE0000.FIT --outfile=product/P0300961301OMS006SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:46:24] Image shape. y,x: (559, 534) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (558, 533) x/y ratio: 0.96 
# # [INFO] [2024-11-30T23:46:24] Task Run Time implot.py 2.70408606529236s
#
# # [INFO] [2024-11-30T23:46:24] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:46:24] 0 images to process.
# # [INFO] [2024-11-30T23:46:24] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:46:24] 0 images to process.
# # [INFO] [2024-11-30T23:46:24] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:46:24] 0 images to process.
# # [INFO] [2024-11-30T23:46:24] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:46:24] 0 images to process.
# # [INFO] [2024-11-30T23:46:24] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:46:24] 0 images to process.
# # [INFO] [2024-11-30T23:46:24] All images processed
# # [INFO] [2024-11-30T23:46:24] Writing accounting information
# # [INFO] [2024-11-30T23:46:24] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0300961301OMS006SWSRLI0000.FIT|USER|B '
# ]; 
# # [INFO] [2024-11-30T23:46:24] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0300961301OMS006SIMAGE0000.FIT|USER|B|1.30000000000000E+03|S006 '
# ]; 
# # [INFO] [2024-11-30T23:46:24] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:46:24] Instrument: om
# # [INFO] [2024-11-30T23:46:24] Stream no.: 0003
# # [INFO] [2024-11-30T23:46:24] Module version number: 3.28
# # [INFO] [2024-11-30T23:46:24] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:46:24] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:46:24] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:46:24] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:46:24] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:46:24] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:46:24] Analysing odf/1020_0300961301_OMS00800IMI.FIT for image identification
# # [INFO] [2024-11-30T23:46:24] Identified mode: USER
# # [INFO] [2024-11-30T23:46:24] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:46:24] Processing USER Images.
# # [INFO] [2024-11-30T23:46:24] 1 images to process.
# # [INFO] [2024-11-30T23:46:24] Processing S008:0:odf/1020_0300961301_OMS00800IMI.FIT
# [COMMAND] [2024-11-30T23:46:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:24]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:24]
omprep modeset=0 nphset=odf/1020_0300961301_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-3-Raw_Image-S00800000000000.fits \
pehset=odf/1020_0300961301_OMX00000PEH.FIT set=odf/1020_0300961301_OMS00800IMI.FIT wdxset=odf/1020_0300961301_OMS00800WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:24]
# # [INFO] [2024-11-30T23:46:24] Task Run Time omprep 0.117614984512329s
#
# # [INFO] [2024-11-30T23:46:24] Retrieving FILTER value
# # [INFO] [2024-11-30T23:46:24] FILTER = M
# # [INFO] [2024-11-30T23:46:24] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:46:24] EXPOSURE = 1.30000000000000E+03
# [COMMAND] [2024-11-30T23:46:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:24]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:24]
omcosflag set=intermediate/OMImageAnalyse-om-3-Raw_Image-S00800000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00800000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:24]
# # [INFO] [2024-11-30T23:46:24] Task Run Time omcosflag 0.173166990280151s
#
# [COMMAND] [2024-11-30T23:46:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:24]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:24]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S00800000000000.fits \
set=intermediate/OMImageAnalyse-om-3-Raw_Image-S00800000000000.fits \
thxset=intermediate/OMExpAnalyse-om-3-omprep_tracking_history-S00800000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-3-OSW_Flat_Field-S00800000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:46:24]
# # [INFO] [2024-11-30T23:46:24] Task Run Time omflatfield 0.100512981414795s
#
# [COMMAND] [2024-11-30T23:46:24]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:24]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:24] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:24]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-3-OSW_MODULO_8_IMAGE-S00800000000000.fits nbox=16 nsig=6 \
outset=product/P0300961301OMS008IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-3-OSW_Flat_Fielded_Image-S00800000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:46:27] ** ommodmap: warning (LowMod8Noise), Too few counts in image to remove mod8 noise. 
# # [INFO] [2024-11-30T23:46:27] Task Run Time ommodmap 3.09001302719116s
#
# [COMMAND] [2024-11-30T23:46:27]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:27]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:27] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:27]
omqualitymap mode=setqualityimage outset=product/P0300961301OMS008IMAGE_0000.FIT set=product/P0300961301OMS008IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:46:28] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0300961301OMS008IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:46:28] Task Run Time omqualitymap 0.132764101028442s
#
# [COMMAND] [2024-11-30T23:46:28]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:28]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:28] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:28]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0300961301OMS008SWSRLI0000.FIT \
regionfile=product/P0300961301OMS008SWSREG0000.ASC set=product/P0300961301OMS008IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:33]
# # [INFO] [2024-11-30T23:46:33] Task Run Time omdetect 4.98492193222046s
#
# [COMMAND] [2024-11-30T23:46:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:33]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:33]
omqualitymap mode=setqualityimage outset=product/P0300961301OMS008IMAGE_0000.FIT set=product/P0300961301OMS008IMAGE_0000.FIT \
srclistset=product/P0300961301OMS008SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:33] ** omqualitymap: warning (parameter), srclistset = product/P0300961301OMS008SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0300961301OMS008IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0300961301OMS008SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:46:33] Task Run Time omqualitymap 0.0840671062469482s
#
# [COMMAND] [2024-11-30T23:46:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:33]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:33]
ommag set=product/P0300961301OMS008SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:33]
# TDP corr factor is: 1.14760852 
# L265 tdpCorrFactor= 1.14760852 
# L348 getting the column data
# In: 178.788513 11.8932629 2 511
# X,Y,pdepcorr: 868.577026 363.786530 1.00000000 
# In: 358.127289 379.861145 2 511
# X,Y,pdepcorr: 1227.25464 1099.72229 1.00000000 
# # [INFO] [2024-11-30T23:46:33] Task Run Time ommag 0.125198125839233s
#
# [COMMAND] [2024-11-30T23:46:33]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:33]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:33] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:33]
omatt catfile=product/P0300961301OBX000REFCAT0000.FIT ppsoswset=product/P0300961301OMS008SIMAGE0000.FIT \
set=product/P0300961301OMS008IMAGE_0000.FIT sourcelistset=product/P0300961301OMS008SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:46:36] ** omatt: warning (Too few sources for astrometry (2)), Need at least 5 
# # [INFO] [2024-11-30T23:46:36] Task Run Time omatt 2.76393008232117s
#
# [COMMAND] [2024-11-30T23:46:36]
export \
PFILES=/scratch/225820.1.all.q/xmm/ppsprod/228965/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:46:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:36]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:36]
fimgstat clobber=Y infile=product/P0300961301OMS008SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-3-OSW_0_sky_image_statistics-S00800000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:46:36]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:46:36] Task Run Time fimgstat 0.0586309432983398s
#
# # [INFO] [2024-11-30T23:46:36] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0300961301OMS008SIMAGE0000.FIT\
#     --outfile=product/P0300961301OMS008SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:46:36]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:36]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:36] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:36]
implot.py --fitsImage=product/P0300961301OMS008SIMAGE0000.FIT --outfile=product/P0300961301OMS008SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:46:38] Image shape. y,x: (558, 534) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (557, 533) x/y ratio: 0.96 
# # [INFO] [2024-11-30T23:46:38] Task Run Time implot.py 2.66099786758423s
#
# # [INFO] [2024-11-30T23:46:38] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:46:38] 0 images to process.
# # [INFO] [2024-11-30T23:46:38] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:46:38] 0 images to process.
# # [INFO] [2024-11-30T23:46:38] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:46:38] 0 images to process.
# # [INFO] [2024-11-30T23:46:38] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:46:38] 0 images to process.
# # [INFO] [2024-11-30T23:46:38] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:46:38] 0 images to process.
# # [INFO] [2024-11-30T23:46:38] All images processed
# # [INFO] [2024-11-30T23:46:38] Writing accounting information
# # [INFO] [2024-11-30T23:46:38] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0300961301OMS008SWSRLI0000.FIT|USER|M '
# ]; 
# # [INFO] [2024-11-30T23:46:38] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0300961301OMS008SIMAGE0000.FIT|USER|M|1.30000000000000E+03|S008 '
# ]; 
# # [INFO] [2024-11-30T23:46:38] Module name: OMMosaic
# # [INFO] [2024-11-30T23:46:38] Instrument: om
# # [INFO] [2024-11-30T23:46:38] Stream no.: 0001
# # [INFO] [2024-11-30T23:46:38] Module version number: 2.39
# # [INFO] [2024-11-30T23:46:38] Looking For Images to Mosaic...
# # [INFO] [2024-11-30T23:46:38] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00700000000000.ascii
# # [INFO] [2024-11-30T23:46:38] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00700000000000.ascii
# [COMMAND] [2024-11-30T23:46:38]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:38]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:38] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:38]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00700000000000.ascii
# # [OUTPUT] [2024-11-30T23:46:39] intermediate/OMImageAnalyse-om-2-OM_SKY_IMAGE_DETAILS-S00700000000000.ascii
# ['product/P0300961301OMS007SIMAGE0000.FIT|USER|L|1.30000000000000E+03|S007|1\n'] 
# # [INFO] [2024-11-30T23:46:39] Task Run Time addtomosaic.py 1.07268595695496s
#
# # [INFO] [2024-11-30T23:46:39] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:46:39] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# [COMMAND] [2024-11-30T23:46:39]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:39]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:39] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:39]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# # [OUTPUT] [2024-11-30T23:46:41] intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00600000000000.ascii
# ['product/P0300961301OMS006SIMAGE0000.FIT|USER|B|1.30000000000000E+03|S006|1\n'] 
# # [INFO] [2024-11-30T23:46:41] Task Run Time addtomosaic.py 1.22581601142883s
#
# # [INFO] [2024-11-30T23:46:41] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S00800000000000.ascii
# # [INFO] [2024-11-30T23:46:41] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S00800000000000.ascii
# [COMMAND] [2024-11-30T23:46:41]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:41]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:41] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:41]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S00800000000000.ascii
# # [OUTPUT] [2024-11-30T23:46:42] intermediate/OMImageAnalyse-om-3-OM_SKY_IMAGE_DETAILS-S00800000000000.ascii
# ['product/P0300961301OMS008SIMAGE0000.FIT|USER|M|1.30000000000000E+03|S008|1\n'] 
# # [INFO] [2024-11-30T23:46:42] Task Run Time addtomosaic.py 1.02931499481201s
#
# # [INFO] [2024-11-30T23:46:42] Found 3 Images
# # [INFO] [2024-11-30T23:46:42] Grouping Images by Mode then Filter
# # [INFO] [2024-11-30T23:46:42] Mode: ALL
# # [INFO] [2024-11-30T23:46:42] Filter: B
# # [INFO] [2024-11-30T23:46:42] Image File : product/P0300961301OMS006SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:46:42] Filter: L
# # [INFO] [2024-11-30T23:46:42] Image File : product/P0300961301OMS007SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:46:42] Filter: M
# # [INFO] [2024-11-30T23:46:42] Image File : product/P0300961301OMS008SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:46:42] Creating Images...
# # [INFO] [2024-11-30T23:46:42] MODE: ALL
# # [INFO] [2024-11-30T23:46:42] FILTER: B
# # [INFO] [2024-11-30T23:46:42] CREATING: product/P0300961301OMX000XSIMAGB000.FIT, Duration: 1300
# [COMMAND] [2024-11-30T23:46:42]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:42]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:42] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:42]
ommosaic imagesets=product/P0300961301OMS006SIMAGE0000.FIT mincorr=0 mosaicedset=product/P0300961301OMX000XSIMAGB000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:47] L1109 c3 xLeft=204.881778 xRight=204.738350 
# 279.708 204.827 -9.7883 
# # [INFO] [2024-11-30T23:46:47] Task Run Time ommosaic 5.58484101295471s
#
# # [INFO] [2024-11-30T23:46:47] Only one exposure in mosaic. No omdetect,ommag and omqualitymap 
# # [INFO] [2024-11-30T23:46:47] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0300961301OMX000XSIMAGB000.FIT\
#     --outfile=product/P0300961301OMX000XSIMAGB000.PNG
# [COMMAND] [2024-11-30T23:46:47]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:47]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:47] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:47]
implot.py --fitsImage=product/P0300961301OMX000XSIMAGB000.FIT --outfile=product/P0300961301OMX000XSIMAGB000.PNG
# # [OUTPUT] [2024-11-30T23:46:51] Image shape. y,x: (559, 534) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (558, 533) x/y ratio: 0.96 
# # [INFO] [2024-11-30T23:46:51] Task Run Time implot.py 3.25570607185364s
#
# # [INFO] [2024-11-30T23:46:51] FILTER: L
# # [INFO] [2024-11-30T23:46:51] CREATING: product/P0300961301OMX000XSIMAGL000.FIT, Duration: 1300
# [COMMAND] [2024-11-30T23:46:51]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:51]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:51] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:51]
ommosaic imagesets=product/P0300961301OMS007SIMAGE0000.FIT mincorr=0 mosaicedset=product/P0300961301OMX000XSIMAGL000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:46:56] L1109 c3 xLeft=204.888816 xRight=204.745385 
# 279.709 204.827 -9.78827 
# # [INFO] [2024-11-30T23:46:56] Task Run Time ommosaic 5.34809994697571s
#
# # [INFO] [2024-11-30T23:46:56] Only one exposure in mosaic. No omdetect,ommag and omqualitymap 
# # [INFO] [2024-11-30T23:46:56] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0300961301OMX000XSIMAGL000.FIT\
#     --outfile=product/P0300961301OMX000XSIMAGL000.PNG
# [COMMAND] [2024-11-30T23:46:56]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:56]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:56] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:56]
implot.py --fitsImage=product/P0300961301OMX000XSIMAGL000.FIT --outfile=product/P0300961301OMX000XSIMAGL000.PNG
# # [OUTPUT] [2024-11-30T23:46:59] Image shape. y,x: (558, 534) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (557, 533) x/y ratio: 0.96 
# # [INFO] [2024-11-30T23:46:59] Task Run Time implot.py 3.20841193199158s
#
# # [INFO] [2024-11-30T23:46:59] FILTER: M
# # [INFO] [2024-11-30T23:46:59] CREATING: product/P0300961301OMX000XSIMAGM000.FIT, Duration: 1300
# [COMMAND] [2024-11-30T23:46:59]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:46:59]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:46:59] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:46:59]
ommosaic imagesets=product/P0300961301OMS008SIMAGE0000.FIT mincorr=0 mosaicedset=product/P0300961301OMX000XSIMAGM000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:47:05] ** ommosaic: warning (noAstrometryCorrection), No sky images have had a successful astrometry\
#     correction
# L1109 c3 xLeft=204.898973 xRight=204.755538 
# 279.708 204.827 -9.78902 
# # [INFO] [2024-11-30T23:47:05] Task Run Time ommosaic 5.75532817840576s
#
# # [INFO] [2024-11-30T23:47:05] Only one exposure in mosaic. No omdetect,ommag and omqualitymap 
# # [INFO] [2024-11-30T23:47:05] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0300961301OMX000XSIMAGM000.FIT\
#     --outfile=product/P0300961301OMX000XSIMAGM000.PNG
# [COMMAND] [2024-11-30T23:47:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:47:05]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:47:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:47:05]
implot.py --fitsImage=product/P0300961301OMX000XSIMAGM000.FIT --outfile=product/P0300961301OMX000XSIMAGM000.PNG
# # [OUTPUT] [2024-11-30T23:47:08] Image shape. y,x: (558, 534) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (557, 533) x/y ratio: 0.96 
# # [INFO] [2024-11-30T23:47:08] Task Run Time implot.py 3.17408108711243s
#
# # [INFO] [2024-11-30T23:47:08] Done: ALL
# # [INFO] [2024-11-30T23:47:08] Module name: OMSourceCombine
# # [INFO] [2024-11-30T23:47:08] Instrument: om
# # [INFO] [2024-11-30T23:47:08] Stream no.: 0001
# # [INFO] [2024-11-30T23:47:08] Module version number: 3.9
# # [INFO] [2024-11-30T23:47:08] Looking For Source Lists to Combine...
# # [INFO] [2024-11-30T23:47:08] DEBUG: file: intermediate/OMImageAnalyse-om-2-OM_SRC_IMAGE_DETAILS-S00700000000000.ascii
# # [INFO] [2024-11-30T23:47:08] DEBUG: line product/P0300961301OMS007SWSRLI0000.FIT|USER|L
# # [INFO] [2024-11-30T23:47:08] DEBUG: split to tmp: $VAR1 = [
# 'product/P0300961301OMS007SWSRLI0000.FIT',
# 'USER',
# 'L'
# ]; 
# # [INFO] [2024-11-30T23:47:08] DEBUG: file: intermediate/OMImageAnalyse-om-1-OM_SRC_IMAGE_DETAILS-S00600000000000.ascii
# # [INFO] [2024-11-30T23:47:08] DEBUG: line product/P0300961301OMS006SWSRLI0000.FIT|USER|B
# # [INFO] [2024-11-30T23:47:08] DEBUG: split to tmp: $VAR1 = [
# 'product/P0300961301OMS006SWSRLI0000.FIT',
# 'USER',
# 'B'
# ]; 
# # [INFO] [2024-11-30T23:47:08] DEBUG: file: intermediate/OMImageAnalyse-om-3-OM_SRC_IMAGE_DETAILS-S00800000000000.ascii
# # [INFO] [2024-11-30T23:47:08] DEBUG: line product/P0300961301OMS008SWSRLI0000.FIT|USER|M
# # [INFO] [2024-11-30T23:47:08] DEBUG: split to tmp: $VAR1 = [
# 'product/P0300961301OMS008SWSRLI0000.FIT',
# 'USER',
# 'M'
# ]; 
# # [INFO] [2024-11-30T23:47:08] DEBUG: SrcLstDetails: $VAR1 = [
# [
# 'product/P0300961301OMS007SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0300961301OMS006SWSRLI0000.FIT',
# 'USER',
# 'B'
# ],
# [
# 'product/P0300961301OMS008SWSRLI0000.FIT',
# 'USER',
# 'M'
# ]
# ]; 
# # [INFO] [2024-11-30T23:47:08] Found 3 Lists
# # [INFO] [2024-11-30T23:47:08] Grouping Lists by Mode then Filter
# # [INFO] [2024-11-30T23:47:08] DEBUG: SortedSrcLstDetails: $VAR1 = [
# [
# 'product/P0300961301OMS006SWSRLI0000.FIT',
# 'USER',
# 'B'
# ],
# [
# 'product/P0300961301OMS007SWSRLI0000.FIT',
# 'USER',
# 'L'
# ],
# [
# 'product/P0300961301OMS008SWSRLI0000.FIT',
# 'USER',
# 'M'
# ]
# ]; 
# # [INFO] [2024-11-30T23:47:08] Mode: USER
# # [INFO] [2024-11-30T23:47:08] DEBUG: Src: ARRAY(0x5d86e08)
# # [INFO] [2024-11-30T23:47:08] DEBUG: mode_p: 1
# # [INFO] [2024-11-30T23:47:08] DEBUG: SSrc[modep]: USER
# # [INFO] [2024-11-30T23:47:08] DEBUG: SSrc[filterp]: B
# # [INFO] [2024-11-30T23:47:08] Filter: B
# # [INFO] [2024-11-30T23:47:08] Image File : product/P0300961301OMS006SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:47:08] Filter: L
# # [INFO] [2024-11-30T23:47:08] Image File : product/P0300961301OMS007SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:47:08] Filter: M
# # [INFO] [2024-11-30T23:47:08] Image File : product/P0300961301OMS008SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:47:08] Creating Combined Lists...
# # [INFO] [2024-11-30T23:47:08] MODE: USER
# # [INFO] [2024-11-30T23:47:08] FILTER: B
# # [INFO] [2024-11-30T23:47:08] FILTER: L
# # [INFO] [2024-11-30T23:47:08] FILTER: M
# # [INFO] [2024-11-30T23:47:08] Done: USER
# # [INFO] [2024-11-30T23:47:08] CREATING: product/P0300961301OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:47:08]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:47:08]
export SAS_RAND_SEED=0300961301
# # [INFO] [2024-11-30T23:47:08] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0300961301
# [COMMAND] [2024-11-30T23:47:08]
omsrclistcomb catfile=product/P0300961301OBX000REFCAT0000.FIT outset=product/P0300961301OMX000OBSMLI0000.FIT \
sourcelistsets="product/P0300961301OMS006SWSRLI0000.FIT product/P0300961301OMS007SWSRLI0000.FIT \
product/P0300961301OMS008SWSRLI0000.FIT" usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:47:11]
# # [INFO] [2024-11-30T23:47:11] Task Run Time omsrclistcomb 2.5072660446167s
#
# # [INFO] [2024-11-30T23:47:11] No MOSAIC lists to combine
