
#!/bin/sh
if [ ! "$SAS_ODFDIR" ]; then
echo ""
echo "Please set the SAS_ODFDIR environment variable to point at the directory"
echo "containing the ODF files for this observation."
echo ""
exit 1
fi
# # [INFO] [2024-11-30T23:54:44] Module name: VerifyODF
# # [INFO] [2024-11-30T23:54:44] Instrument: all
# # [INFO] [2024-11-30T23:54:44] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:44] Module version number: 1.18
# # [INFO] [2024-11-30T23:54:44] Version of odfingest used was 3.33.1
# # [INFO] [2024-11-30T23:54:44] Module name: MakeCIF
# # [INFO] [2024-11-30T23:54:44] Instrument: all
# # [INFO] [2024-11-30T23:54:44] Stream no.: 0001
# # [INFO] [2024-11-30T23:54:44] Module version number: 1.23
# # [INFO] [2024-11-30T23:54:44] Observation start defined as >2002-04-20T11:22:15.000<
# # [INFO] [2024-11-30T23:54:44] Processing date defined as >2024-12-01T00:54:44<
# [COMMAND] [2024-11-30T23:54:44]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:54:44]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:54:44] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:54:44]
cifbuild analysisdate=2024-12-01T00:54:44 calindexset=product/P0044350401OBX000CALIND0000.FIT fullpath=no \
observationdate=2002-04-20T11:22:15.000 withccfpath=no -w 10
# # [OUTPUT] [2024-11-30T23:55:12]
# # [INFO] [2024-11-30T23:55:12] Task Run Time cifbuild 27.7371468544006s
#
# [COMMAND] [2024-11-30T23:55:12]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:12]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:12] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:12]
addattribute attributecomment="\"Telescope (mission) name\" \"DEC of instrument pointing\" \"Observation mode (pointing or slew)\" \
\"Date observations ended\" \"Name of observed object\" \"Observation identifier\" \"RA of instrument pointing (degrees)\" \"Date \
observations were made\" \"Name of PI\"" attributename="TELESCOP DEC_PNT OBS_MODE DATE-END OBJECT OBS_ID RA_PNT DATE-OBS OBSERVER" \
attributetype="string real string string string string real string string" realvalue="-11.1425000 301.9645845" \
set=product/P0044350401OBX000CALIND0000.FIT stringvalue="\"XMM\" \"POINTED\" \"2002-04-20T11:37:42.000\" \"IRAS20051-1117\" \
\"0044350401\" \"2002-04-20T11:22:15.000\" \"Dr Ioannis Georgantopoulos\"" -w 10
# # [OUTPUT] [2024-11-30T23:55:12]
# # [INFO] [2024-11-30T23:55:12] Task Run Time addattribute 0.0866851806640625s
#
# [COMMAND] [2024-11-30T23:55:12]
cp /scratch/226778.1.all.q/xmm/ppsprod/229922/product/P0044350401OBX000CALIND0000.FIT \
/scratch/226778.1.all.q/xmm/ppsprod/229922/intermediate/ccf.cif
# # [INFO] [2024-11-30T23:55:12] System RV 0
# # [INFO] [2024-11-30T23:55:12] Module name: GlobalHK
# # [INFO] [2024-11-30T23:55:12] Instrument: all
# # [INFO] [2024-11-30T23:55:12] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:12] Module version number: 1.81
# [COMMAND] [2024-11-30T23:55:12]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:12]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:12] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:12]
preqgti preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:13] ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 135688203.184\
#     which is more than 20 s outside the period for which the attitude is known (closest time is -31 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 135688203.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -31 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 135688204.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -30 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 135688204.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -30 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 135688205.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -29 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 135688205.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -29 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 135688206.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -28 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 135688206.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -28 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 135688207.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -27 s away).
# ** preqgti::atthkgen: warning (NoAttitude), The attitude was requested for time 135688207.184 which is more than 20 s outside the\
#     period for which the attitude is known (closest time is -27 s away).
# ** preqgti: warning (SummaryOfWarnings), 
# warning NoAttitude silently occurred 31862 times 
# # [INFO] [2024-11-30T23:55:13] Task Run Time preqgti 0.72658896446228s
#
# [COMMAND] [2024-11-30T23:55:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:13]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:13]
atthkgen atthkset=product/P0044350401OBX000ATTTSR0000.FIT preqgtifile=intermediate/GlobalHK-all-1-Attitude_GTI-X00000000000000.fits \
timestep=1 withpreqgti=no -w 10
# # [OUTPUT] [2024-11-30T23:55:13]
# # [INFO] [2024-11-30T23:55:13] Task Run Time atthkgen 0.0647618770599365s
#
# [COMMAND] [2024-11-30T23:55:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:13]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:13]
orbit outfile=product/P0044350401OBX000ORBTSR0000.FIT timestep=1 useobsid=yes -w 10
# # [OUTPUT] [2024-11-30T23:55:13] orbit:- Output FITS Orbit timeseries: product/P0044350401OBX000ORBTSR0000.FIT
# orbit:- Binsize (timestep) of output): 1
# orbit:- Use OBSID data or whole orbit? T 
# # [INFO] [2024-11-30T23:55:13] Task Run Time orbit 0.0833349227905273s
#
# [COMMAND] [2024-11-30T23:55:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:13]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:13]
radmonfix output=product/P0044350401OBX000RADMON0000.FIT radmonlist=odf/0433_0044350401_RMX00100ECX.FIT withoutputfile=yes -w 10
# # [OUTPUT] [2024-11-30T23:55:13] ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56924669.95 which\
#     is outside the time correlation data abscissa range [56926666.08, 56928723.43] - result of extrapolation might be afflicted\
#     with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56924673.95 which is outside the time correlation\
#     data abscissa range [56926666.08, 56928723.43] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56924677.95 which is outside the time correlation\
#     data abscissa range [56926666.08, 56928723.43] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56924681.95 which is outside the time correlation\
#     data abscissa range [56926666.08, 56928723.43] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56924685.95 which is outside the time correlation\
#     data abscissa range [56926666.08, 56928723.43] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56924689.95 which is outside the time correlation\
#     data abscissa range [56926666.08, 56928723.43] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56924693.95 which is outside the time correlation\
#     data abscissa range [56926666.08, 56928723.43] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56924697.95 which is outside the time correlation\
#     data abscissa range [56926666.08, 56928723.43] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56924701.95 which is outside the time correlation\
#     data abscissa range [56926666.08, 56928723.43] - result of extrapolation might be afflicted with large numerical uncertainty.
# ** radmonfix: warning (Extrapolation), Evaluating OBT-MET fit polynomial at x=56924705.95 which is outside the time correlation\
#     data abscissa range [56926666.08, 56928723.43] - result of extrapolation might be afflicted with large numerical uncertainty.
# radmonfix:- Setting DATE-END...
# ** radmonfix: warning (SummaryOfWarnings), 
# warning Extrapolation silently occurred 465 times 
# # [INFO] [2024-11-30T23:55:13] Task Run Time radmonfix 0.0916390419006348s
#
# [COMMAND] [2024-11-30T23:55:13]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/EPICModes.fits \
/scratch/226778.1.all.q/xmm/ppsprod/229922/intermediate/GlobalHK-all-1-Observing_modes_Pileup_and_OoT_data-X00000000000000.fits
# # [INFO] [2024-11-30T23:55:13] System RV 0
# # [INFO] [2024-11-30T23:55:13] Copied EPIC Observing modes table, Pileup data and OoT data table in place
# [COMMAND] [2024-11-30T23:55:13]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfs.fits \
/scratch/226778.1.all.q/xmm/ppsprod/229922/intermediate/GlobalHK-all-1-Energy_Conversion_Factors-X00000000000000.fits
# # [INFO] [2024-11-30T23:55:13] System RV 0
# [COMMAND] [2024-11-30T23:55:13]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/ecfgrid.fits.gz \
/scratch/226778.1.all.q/xmm/ppsprod/229922/intermediate/GlobalHK-all-1-Energy_Conversion_Factors_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:55:13] System RV 0
# [COMMAND] [2024-11-30T23:55:13]
cp /lhome/jperea/ppsdev/pcms3/src/pipeline/etc/fluxgrid.fits.gz \
/scratch/226778.1.all.q/xmm/ppsprod/229922/intermediate/GlobalHK-all-1-Flux_Grid-X00000000000000.fits
# # [INFO] [2024-11-30T23:55:13] System RV 0
# # [INFO] [2024-11-30T23:55:13] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:13] Instrument: emos1
# # [INFO] [2024-11-30T23:55:13] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:13] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:13] Checking exposure S003 for processability
# # [INFO] [2024-11-30T23:55:13] Filter: Closed
# # [INFO] [2024-11-30T23:55:13] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:55:13] Exposure duration: 770
# # [INFO] [2024-11-30T23:55:13] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:55:13] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:13] Instrument: emos2
# # [INFO] [2024-11-30T23:55:13] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:13] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:13] Checking exposure S004 for processability
# # [INFO] [2024-11-30T23:55:13] Filter: Closed
# # [INFO] [2024-11-30T23:55:13] Instrument mode: PrimeFullWindow
# # [INFO] [2024-11-30T23:55:13] Exposure duration: 766
# # [INFO] [2024-11-30T23:55:13] Exposure ignored due to invalid or unsupported filter
# # [INFO] [2024-11-30T23:55:13] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:13] Instrument: om
# # [INFO] [2024-11-30T23:55:13] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:13] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:13] Checking exposure S005 for processability
# # [INFO] [2024-11-30T23:55:13] Filter: U
# # [INFO] [2024-11-30T23:55:13] Instrument mode: Image
# # [INFO] [2024-11-30T23:55:13] Exposure duration: 801
# # [INFO] [2024-11-30T23:55:13] Module name: ExpChooser
# # [INFO] [2024-11-30T23:55:13] Instrument: om
# # [INFO] [2024-11-30T23:55:13] Stream no.: 0002
# # [INFO] [2024-11-30T23:55:13] Module version number: 1.38
# # [INFO] [2024-11-30T23:55:13] Checking exposure S400 for processability
# # [INFO] [2024-11-30T23:55:13] Filter: U
# # [INFO] [2024-11-30T23:55:13] Instrument mode: UNDEFINED
# # [INFO] [2024-11-30T23:55:13] Exposure duration: 801
# # [INFO] [2024-11-30T23:55:13] OM datamode=
# # [INFO] [2024-11-30T23:55:13] Exposure ignored due to invalid or unsupported instrument mode
# # [INFO] [2024-11-30T23:55:13] Module name: InstrumentHK
# # [INFO] [2024-11-30T23:55:13] Instrument: om
# # [INFO] [2024-11-30T23:55:13] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:13] Module version number: 2.01
# # [INFO] [2024-11-30T23:55:13] Module name: USNOExtract
# # [INFO] [2024-11-30T23:55:13] Instrument: all
# # [INFO] [2024-11-30T23:55:13] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:13] Module version number: 0.07
# [COMMAND] [2024-11-30T23:55:13]
export \
PFILES=/scratch/226778.1.all.q/xmm/ppsprod/229922/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:55:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:13]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:13]
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:55:13] Written the output image ......... 
# # [INFO] [2024-11-30T23:55:13] Task Run Time fimgcreate 0.0245280265808105s
#
# [COMMAND] [2024-11-30T23:55:13]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:13]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:13] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:13]
catprep catextract=intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
srclistset=product/P0044350401OBX000CALIND0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:17]
# # [INFO] [2024-11-30T23:55:17] Task Run Time catprep 3.36150884628296s
#
# [COMMAND] [2024-11-30T23:55:17]
cp /scratch/226778.1.all.q/xmm/ppsprod/229922/intermediate/USNOExtract-all-1-Reference_catalogue-X00000000000000.fits \
/scratch/226778.1.all.q/xmm/ppsprod/229922/product/P0044350401OBX000REFCAT0000.FIT
# # [INFO] [2024-11-30T23:55:17] System RV 0
# # [INFO] [2024-11-30T23:55:17] Reading keyword DATE-END value 2002-04-20T11:37:42.000 comment Date observations ended
# # [INFO] [2024-11-30T23:55:17] Reading keyword TELESCOP value XMM comment Telescope (mission) name
# # [INFO] [2024-11-30T23:55:17] Reading keyword RA_OBJ value 3.01964584500000E+02 comment [deg] Ra of the observed object
# # [INFO] [2024-11-30T23:55:17] Reading keyword OBS_ID value 0044350401 comment Observation identifier
# # [INFO] [2024-11-30T23:55:17] Reading keyword DATE-OBS value 2002-04-20T11:22:15.000 comment Date observations were made
# # [INFO] [2024-11-30T23:55:17] Reading keyword OBS_MODE value POINTING comment Observation mode (pointing or slew)
# # [INFO] [2024-11-30T23:55:17] Reading keyword DEC_OBJ value -1.11425000000000E+01 comment [deg] Dec of the observed object
# [COMMAND] [2024-11-30T23:55:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:17]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:17]
addattribute attributecomment="\"Date observations ended\" \"Telescope (mission) name\" \"[deg] Ra of the observed object\" \
\"Observation identifier\" \"Date observations were made\" \"Observation mode (pointing or slew)\" \"[deg] Dec of the observed \
object\"" attributename="DATE-END TELESCOP RA_OBJ OBS_ID DATE-OBS OBS_MODE DEC_OBJ" attributetype="\"string\" \"string\" \"real\" \
\"string\" \"string\" \"string\" \"real\"" realvalue="3.01964584500000E+02 -1.11425000000000E+01" \
set=product/P0044350401OBX000REFCAT0000.FIT stringvalue="2002-04-20T11:37:42.000 XMM 0044350401 2002-04-20T11:22:15.000 POINTING" -w \
10
# # [OUTPUT] [2024-11-30T23:55:17] ** addattribute: warning (creatorKeywordNotFound), The CREATOR keyword could not be found in\
#     dataset with name 'product/P0044350401OBX000REFCAT0000.FIT'
# ** addattribute: warning (dateKeywordNotFound), The DATE keyword could not be found in dataset with name\
#     'product/P0044350401OBX000REFCAT0000.FIT' 
# # [INFO] [2024-11-30T23:55:17] Task Run Time addattribute 0.0366098880767822s
#
# # [INFO] [2024-11-30T23:55:17] Module name: OMgetFlat
# # [INFO] [2024-11-30T23:55:17] Instrument: om
# # [INFO] [2024-11-30T23:55:17] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:17] Module version number: 1.07
# [COMMAND] [2024-11-30T23:55:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:17]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:17]
omflatgen outset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:17] ** omflatgen: warning (ArgumentIgnored), Warning: countRateFrameRatio argument in small-scale\
#     flatfield retrieval currently ignored 
# # [INFO] [2024-11-30T23:55:17] Task Run Time omflatgen 0.161185026168823s
#
# # [INFO] [2024-11-30T23:55:17] Module name: OMExpAnalyse
# # [INFO] [2024-11-30T23:55:17] Instrument: om
# # [INFO] [2024-11-30T23:55:17] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:17] Module version number: 1.06
# [COMMAND] [2024-11-30T23:55:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:17]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:17]
omprep modeset=3 nphset=odf/0433_0044350401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00500000000000.fits pehset=odf/0433_0044350401_OMX00000PEH.FIT \
set=odf/0433_0044350401_OMS00500THX.FIT wdxset=odf/0433_0044350401_OMS00500WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:17]
# # [INFO] [2024-11-30T23:55:17] Task Run Time omprep 0.0626299381256104s
#
# [COMMAND] [2024-11-30T23:55:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:17]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:17]
omthconv nphset=odf/0433_0044350401_OMX00000NPH.FIT \
outset=intermediate/OMExpAnalyse-om-1-OM_TRACKING_STAR_TIMESERIES-S00500000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:17]
# # [INFO] [2024-11-30T23:55:17] Task Run Time omthconv 0.114078044891357s
#
# [COMMAND] [2024-11-30T23:55:17]
cp /scratch/226778.1.all.q/xmm/ppsprod/229922/intermediate/OMExpAnalyse-om-1-OM_TRACKING_STAR_TIMESERIES-S00500000000000.fits \
/scratch/226778.1.all.q/xmm/ppsprod/229922/product/P0044350401OMS005TSTRTS0000.FIT
# # [INFO] [2024-11-30T23:55:17] System RV 0
# [COMMAND] [2024-11-30T23:55:17]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:17]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:17] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:17]
omdrifthist plotfile=intermediate/OMExpAnalyse-om-1-OM_TRACKING_HISTORY_PLOT-S00500000000000.ps \
set=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:18]
# # [INFO] [2024-11-30T23:55:18] Task Run Time omdrifthist 0.63188099861145s
#
# [COMMAND] [2024-11-30T23:55:18]
pstopdf intermediate/OMExpAnalyse-om-1-OM_TRACKING_HISTORY_PLOT-S00500000000000.ps product/P0044350401OMS005TSHPLT0000.PDF
# # [OUTPUT] [2024-11-30T23:55:18]
# # [INFO] [2024-11-30T23:55:18] Module name: OMFastAnalyse
# # [INFO] [2024-11-30T23:55:18] Instrument: om
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:18] Module version number: 1.36
# # [INFO] [2024-11-30T23:55:18] DEBUG --- exp_id: S005, filter: U
# # [INFO] [2024-11-30T23:55:18] No Fast Mode Windows to process
# # [INFO] [2024-11-30T23:55:18] Module name: OMImageAnalyse
# # [INFO] [2024-11-30T23:55:18] Instrument: om
# # [INFO] [2024-11-30T23:55:18] Stream no.: 0001
# # [INFO] [2024-11-30T23:55:18] Module version number: 3.28
# # [INFO] [2024-11-30T23:55:18] Looking for Engineering Mode Files...
# # [INFO] [2024-11-30T23:55:18] Found None Engineering mode Windows.
# # [INFO] [2024-11-30T23:55:18] Found No Full Frame Engineering 4 Windows.
# # [INFO] [2024-11-30T23:55:18] Found no Full Frame Engineering 2 Windows.
# # [INFO] [2024-11-30T23:55:18] Looking for Image Mode Files...
# # [INFO] [2024-11-30T23:55:18] Found 1 Image mode images.
# # [INFO] [2024-11-30T23:55:18] Analysing odf/0433_0044350401_OMS00500IMI.FIT for image identification
# # [INFO] [2024-11-30T23:55:18] Identified mode: USER
# # [INFO] [2024-11-30T23:55:18] Failed to make a suitable combined image. Will process components as USER mode.
# # [INFO] [2024-11-30T23:55:18] Processing USER Images.
# # [INFO] [2024-11-30T23:55:18] 1 images to process.
# # [INFO] [2024-11-30T23:55:18] Processing S005:0:odf/0433_0044350401_OMS00500IMI.FIT
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:18]
omprep modeset=0 nphset=odf/0433_0044350401_OMX00000NPH.FIT outset=intermediate/OMImageAnalyse-om-1-Raw_Image-S00500000000000.fits \
pehset=odf/0433_0044350401_OMX00000PEH.FIT set=odf/0433_0044350401_OMS00500IMI.FIT wdxset=odf/0433_0044350401_OMS00500WDX.FIT -w 10
# # [OUTPUT] [2024-11-30T23:55:18] ** omprep: warning (NoSuchIPPV), There is no IPPV `DATA_MODE_1' in the actual exposure 
# # [INFO] [2024-11-30T23:55:18] Task Run Time omprep 0.085590124130249s
#
# # [INFO] [2024-11-30T23:55:18] Retrieving FILTER value
# # [INFO] [2024-11-30T23:55:18] FILTER = U
# # [INFO] [2024-11-30T23:55:18] Retrieving EXPOSURE value
# # [INFO] [2024-11-30T23:55:18] EXPOSURE = 8.00000000000000E+02
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:18]
omcosflag set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00500000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:18]
# # [INFO] [2024-11-30T23:55:18] Task Run Time omcosflag 0.340209007263184s
#
# [COMMAND] [2024-11-30T23:55:18]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:18]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:18] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:18]
omflatfield inorbitflatset=intermediate/OMgetFlat-om-1-OM_Flatfield-X00000000000000.fits \
outset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00500000000000.fits \
set=intermediate/OMImageAnalyse-om-1-Raw_Image-S00500000000000.fits \
thxset=intermediate/OMExpAnalyse-om-1-omprep_tracking_history-S00500000000000.fits \
tsflatset=intermediate/OMImageAnalyse-om-1-OSW_Flat_Field-S00500000000000.fits -w 10
# # [OUTPUT] [2024-11-30T23:55:19]
# # [INFO] [2024-11-30T23:55:19] Task Run Time omflatfield 0.151153087615967s
#
# [COMMAND] [2024-11-30T23:55:19]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:19]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:19] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:19]
ommodmap mod8product=Y mod8set=intermediate/OMImageAnalyse-om-1-OSW_MODULO_8_IMAGE-S00500000000000.fits nbox=16 nsig=6 \
outset=product/P0044350401OMS005IMAGE_0000.FIT set=intermediate/OMImageAnalyse-om-1-OSW_Flat_Fielded_Image-S00500000000000.fits -w \
10
# # [OUTPUT] [2024-11-30T23:55:29]
# # [INFO] [2024-11-30T23:55:29] Task Run Time ommodmap 10.6883900165558s
#
# [COMMAND] [2024-11-30T23:55:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:29]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:29]
omqualitymap mode=setqualityimage outset=product/P0044350401OMS005IMAGE_0000.FIT set=product/P0044350401OMS005IMAGE_0000.FIT \
srclistset= -w 10
# # [OUTPUT] [2024-11-30T23:55:29] ** omqualitymap: warning (parameter), srclistset = NONE; 
# ** omqualitymap: warning (overwrite), The file product/P0044350401OMS005IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = NONE; 
# # [INFO] [2024-11-30T23:55:29] Task Run Time omqualitymap 0.116795063018799s
#
# [COMMAND] [2024-11-30T23:55:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:55:29]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:55:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:55:29]
omdetect detectextended=Y minsignificance=3 nsigma=2 outset=product/P0044350401OMS005SWSRLI0000.FIT \
regionfile=product/P0044350401OMS005SWSREG0000.ASC set=product/P0044350401OMS005IMAGE_0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:56:05]
# # [INFO] [2024-11-30T23:56:05] Task Run Time omdetect 35.458015203476s
#
# [COMMAND] [2024-11-30T23:56:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:05]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:56:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:56:05]
omqualitymap mode=setqualityimage outset=product/P0044350401OMS005IMAGE_0000.FIT set=product/P0044350401OMS005IMAGE_0000.FIT \
srclistset=product/P0044350401OMS005SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:56:05] ** omqualitymap: warning (parameter), srclistset = product/P0044350401OMS005SWSRLI0000.FIT; 
# ** omqualitymap: warning (overwrite), The file product/P0044350401OMS005IMAGE_0000.FIT will be overwritten
# ** omqualitymap: warning (parameter), srclistset = product/P0044350401OMS005SWSRLI0000.FIT; 
# # [INFO] [2024-11-30T23:56:05] Task Run Time omqualitymap 0.117256164550781s
#
# [COMMAND] [2024-11-30T23:56:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:05]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:56:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:56:05]
ommag set=product/P0044350401OMS005SWSRLI0000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:56:05]
# TDP corr factor is: 1.02144551 
# L265 tdpCorrFactor= 1.02144551 
# L348 getting the column data
# In: 365.272644 164.421661 1 769
# X,Y,pdepcorr: 1134.27271 835.421631 1.00000000 
# In: 445.864990 435.995758 1 769
# X,Y,pdepcorr: 1214.86499 1106.99573 1.00000000 
# In: 622.367859 219.594131 1 769
# X,Y,pdepcorr: 1391.36792 890.594116 1.00000000 
# In: 530.833496 499.541351 1 769
# X,Y,pdepcorr: 1299.83350 1170.54138 1.00000000 
# In: 340.310028 189.117706 1 769
# X,Y,pdepcorr: 1109.31006 860.117676 1.00000000 
# In: 355.901062 381.937683 1 769
# X,Y,pdepcorr: 1124.90112 1052.93774 1.00000000 
# In: 295.686829 125.936226 1 769
# X,Y,pdepcorr: 1064.68677 796.936218 1.00000000 
# In: 81.0828476 9.43849277 1 769
# X,Y,pdepcorr: 850.082825 680.438477 1.00000000 
# In: 417.838165 557.529419 1 769
# X,Y,pdepcorr: 1186.83813 1228.52942 1.00000000 
# In: 7.77421045 279.635498 1 769
# X,Y,pdepcorr: 776.774231 950.635498 1.00000000 
# In: 582.168518 498.139099 1 769
# X,Y,pdepcorr: 1351.16846 1169.13916 1.00000000 
# In: 431.354736 196.024841 1 769
# X,Y,pdepcorr: 1200.35474 867.024841 1.00000000 
# In: 82.6672897 232.280945 1 769
# X,Y,pdepcorr: 851.667297 903.280945 1.00000000 
# In: 13.1292725 117.362282 1 769
# X,Y,pdepcorr: 782.129272 788.362305 1.00000000 
# In: 202.456329 505.228241 1 769
# X,Y,pdepcorr: 971.456299 1176.22827 1.00000000 
# In: 321.177155 107.018486 1 769
# X,Y,pdepcorr: 1090.17712 778.018494 1.00000000 
# In: 134.860580 51.9182320 1 769
# X,Y,pdepcorr: 903.860596 722.918213 1.00000000 
# In: 104.168976 616.911499 1 769
# X,Y,pdepcorr: 873.168945 1287.91150 1.00000000 
# In: 496.277466 161.813049 1 769
# X,Y,pdepcorr: 1265.27747 832.813049 1.00000000 
# In: 392.219757 351.467926 1 769
# X,Y,pdepcorr: 1161.21973 1022.46790 1.00000000 
# In: 465.425842 513.797546 1 769
# X,Y,pdepcorr: 1234.42578 1184.79761 1.00000000 
# In: 471.552826 341.575775 1 769
# X,Y,pdepcorr: 1240.55286 1012.57581 1.00000000 
# In: 554.764587 336.350281 1 769
# X,Y,pdepcorr: 1323.76465 1007.35028 1.00000000 
# In: 465.032288 51.8349113 1 769
# X,Y,pdepcorr: 1234.03223 722.834900 1.00000000 
# In: 44.5779266 422.359253 1 769
# X,Y,pdepcorr: 813.577942 1093.35925 1.00000000 
# In: 606.387329 584.078552 1 769
# X,Y,pdepcorr: 1375.38733 1255.07861 1.00000000 
# In: 572.620789 431.405609 1 769
# X,Y,pdepcorr: 1341.62085 1102.40564 1.00000000 
# In: 361.532379 214.458221 1 769
# X,Y,pdepcorr: 1130.53235 885.458252 1.00000000 
# In: 249.137665 149.819214 1 769
# X,Y,pdepcorr: 1018.13770 820.819214 1.00000000 
# In: 329.989563 590.648132 1 769
# X,Y,pdepcorr: 1098.98950 1261.64819 1.00000000 
# In: 474.744080 420.875641 1 769
# X,Y,pdepcorr: 1243.74414 1091.87561 1.00000000 
# In: 125.809860 247.172089 1 769
# X,Y,pdepcorr: 894.809875 918.172119 1.00000000 
# In: 350.042114 283.476715 1 769
# X,Y,pdepcorr: 1119.04211 954.476685 1.00000000 
# In: 429.983063 307.605347 1 769
# X,Y,pdepcorr: 1198.98303 978.605347 1.00000000 
# In: 128.383850 31.7181320 1 769
# X,Y,pdepcorr: 897.383850 702.718140 1.00000000 
# In: 167.354294 324.466095 1 769
# X,Y,pdepcorr: 936.354309 995.466064 1.00000000 
# In: 434.248505 83.5261459 1 769
# X,Y,pdepcorr: 1203.24854 754.526123 1.00000000 
# In: 439.989777 159.597107 1 769
# X,Y,pdepcorr: 1208.98975 830.597107 1.00000000 
# In: 86.7085800 296.618896 1 769
# X,Y,pdepcorr: 855.708557 967.618896 1.00000000 
# In: 90.9110336 461.302795 1 769
# X,Y,pdepcorr: 859.911011 1132.30273 1.00000000 
# In: 585.267334 397.525238 1 769
# X,Y,pdepcorr: 1354.26733 1068.52527 1.00000000 
# In: 380.507751 548.214111 1 769
# X,Y,pdepcorr: 1149.50781 1219.21411 1.00000000 
# In: 280.727478 82.0447617 1 769
# X,Y,pdepcorr: 1049.72754 753.044739 1.00000000 
# In: 7.15776110 134.597198 1 769
# X,Y,pdepcorr: 776.157776 805.597168 1.00000000 
# In: 169.407013 180.453720 1 769
# X,Y,pdepcorr: 938.406982 851.453735 1.00000000 
# In: 515.712585 227.204391 1 769
# X,Y,pdepcorr: 1284.71265 898.204407 1.00000000 
# In: 2.88781500 391.878479 1 769
# X,Y,pdepcorr: 771.887817 1062.87842 1.00000000 
# In: 388.035004 394.206451 1 769
# X,Y,pdepcorr: 1157.03503 1065.20642 1.00000000 
# In: 352.880707 439.710693 1 769
# X,Y,pdepcorr: 1121.88074 1110.71069 1.00000000 
# In: 11.0773745 472.277954 1 769
# X,Y,pdepcorr: 780.077393 1143.27795 1.00000000 
# In: 56.0643692 517.566650 1 769
# X,Y,pdepcorr: 825.064392 1188.56665 1.00000000 
# In: 418.067932 528.828613 1 769
# X,Y,pdepcorr: 1187.06787 1199.82861 1.00000000 
# In: 309.748627 321.253204 1 769
# X,Y,pdepcorr: 1078.74866 992.253174 1.00000000 
# In: 39.0335884 22.0265179 1 769
# X,Y,pdepcorr: 808.033569 693.026489 1.00000000 
# In: 520.910461 117.512878 1 769
# X,Y,pdepcorr: 1289.91040 788.512878 1.00000000 
# In: 62.3127632 137.155579 1 769
# X,Y,pdepcorr: 831.312744 808.155579 1.00000000 
# In: 72.2192841 157.031082 1 769
# X,Y,pdepcorr: 841.219299 828.031067 1.00000000 
# In: 23.9607639 353.244202 1 769
# X,Y,pdepcorr: 792.960754 1024.24414 1.00000000 
# In: 381.960083 500.386536 1 769
# X,Y,pdepcorr: 1150.96008 1171.38647 1.00000000 
# In: 466.345947 3.23583078 1 769
# X,Y,pdepcorr: 1235.34595 674.235840 1.00000000 
# In: 459.878784 9.12180424 1 769
# X,Y,pdepcorr: 1228.87878 680.121826 1.00000000 
# # [INFO] [2024-11-30T23:56:05] Task Run Time ommag 0.0573720932006836s
#
# [COMMAND] [2024-11-30T23:56:05]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:05]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:56:05] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:56:05]
omatt catfile=product/P0044350401OBX000REFCAT0000.FIT ppsoswset=product/P0044350401OMS005SIMAGE0000.FIT \
set=product/P0044350401OMS005IMAGE_0000.FIT sourcelistset=product/P0044350401OMS005SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:56:11]
# # [INFO] [2024-11-30T23:56:11] Task Run Time omatt 6.33489608764648s
#
# [COMMAND] [2024-11-30T23:56:11]
export \
PFILES=/scratch/226778.1.all.q/xmm/ppsprod/229922/pfiles;/lhome/pcms/local/rhel8.6/GNU_CC_CXX_11.3.0/headas/architecture/syspfiles
# [COMMAND] [2024-11-30T23:56:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:11]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:56:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:56:11]
fimgstat clobber=Y infile=product/P0044350401OMS005SIMAGE0000.FIT max=0 mean=0 min=0 mode=ql num=0 \
outfile=intermediate/OMImageAnalyse-om-1-OSW_0_sky_image_statistics-S00500000000000.ascii rms=0 sum=0 threshlo=INDEF threshup=INDEF \
xmax=0 xmin=0 ymax=0 ymin=0
# # [OUTPUT] [2024-11-30T23:56:11]
# ****** successfully exited ******
# # [INFO] [2024-11-30T23:56:11] Task Run Time fimgstat 0.0649850368499756s
#
# # [INFO] [2024-11-30T23:56:11] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0044350401OMS005SIMAGE0000.FIT\
#     --outfile=product/P0044350401OMS005SIMAGE0000.PNG
# [COMMAND] [2024-11-30T23:56:11]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:11]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:56:11] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:56:11]
implot.py --fitsImage=product/P0044350401OMS005SIMAGE0000.FIT --outfile=product/P0044350401OMS005SIMAGE0000.PNG
# # [OUTPUT] [2024-11-30T23:56:15] Image shape. y,x: (750, 735) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (749, 734) x/y ratio: 0.98 
# # [INFO] [2024-11-30T23:56:15] Task Run Time implot.py 3.26146101951599s
#
# # [INFO] [2024-11-30T23:56:15] Processing RUDI5_LR Images.
# # [INFO] [2024-11-30T23:56:15] 0 images to process.
# # [INFO] [2024-11-30T23:56:15] Processing RUDI5_HR Images.
# # [INFO] [2024-11-30T23:56:15] 0 images to process.
# # [INFO] [2024-11-30T23:56:15] Processing PFENG2 Images.
# # [INFO] [2024-11-30T23:56:15] 0 images to process.
# # [INFO] [2024-11-30T23:56:15] Processing FFENG2 Images.
# # [INFO] [2024-11-30T23:56:15] 0 images to process.
# # [INFO] [2024-11-30T23:56:15] Processing ENG4 Images.
# # [INFO] [2024-11-30T23:56:15] 0 images to process.
# # [INFO] [2024-11-30T23:56:15] All images processed
# # [INFO] [2024-11-30T23:56:15] Writing accounting information
# # [INFO] [2024-11-30T23:56:15] DEBUG: sourcedetails array: $VAR1 = [
# 'product/P0044350401OMS005SWSRLI0000.FIT|USER|U '
# ]; 
# # [INFO] [2024-11-30T23:56:15] DEBUG: skyimagedetails array: $VAR1 = [
# 'product/P0044350401OMS005SIMAGE0000.FIT|USER|U|8.00000000000000E+02|S005 '
# ]; 
# # [INFO] [2024-11-30T23:56:15] Module name: OMMosaic
# # [INFO] [2024-11-30T23:56:15] Instrument: om
# # [INFO] [2024-11-30T23:56:15] Stream no.: 0001
# # [INFO] [2024-11-30T23:56:15] Module version number: 2.39
# # [INFO] [2024-11-30T23:56:15] Looking For Images to Mosaic...
# # [INFO] [2024-11-30T23:56:15] Running addtomosaic.py on\
#     intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00500000000000.ascii
# # [INFO] [2024-11-30T23:56:15] DEBUG - doCommand fullcmd : addtomosaic.py\
#     --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00500000000000.ascii
# [COMMAND] [2024-11-30T23:56:15]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:15]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:56:15] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:56:15]
addtomosaic.py --file=intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00500000000000.ascii
# # [OUTPUT] [2024-11-30T23:56:16] intermediate/OMImageAnalyse-om-1-OM_SKY_IMAGE_DETAILS-S00500000000000.ascii
# ['product/P0044350401OMS005SIMAGE0000.FIT|USER|U|8.00000000000000E+02|S005|1\n'] 
# # [INFO] [2024-11-30T23:56:16] Task Run Time addtomosaic.py 1.16336822509766s
#
# # [INFO] [2024-11-30T23:56:16] Found 1 Images
# # [INFO] [2024-11-30T23:56:16] Grouping Images by Mode then Filter
# # [INFO] [2024-11-30T23:56:16] Mode: ALL
# # [INFO] [2024-11-30T23:56:16] Filter: U
# # [INFO] [2024-11-30T23:56:16] Image File : product/P0044350401OMS005SIMAGE0000.FIT
# # [INFO] [2024-11-30T23:56:16] Creating Images...
# # [INFO] [2024-11-30T23:56:16] MODE: ALL
# # [INFO] [2024-11-30T23:56:16] FILTER: U
# # [INFO] [2024-11-30T23:56:16] CREATING: product/P0044350401OMX000XSIMAGU000.FIT, Duration: 800
# [COMMAND] [2024-11-30T23:56:16]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:16]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:56:16] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:56:16]
ommosaic imagesets=product/P0044350401OMS005SIMAGE0000.FIT mincorr=0 mosaicedset=product/P0044350401OMX000XSIMAGU000.FIT -w 10
# # [OUTPUT] [2024-11-30T23:56:26] L1109 c3 xLeft=302.013466 xRight=301.914326 
# 77.8243 301.958 -11.1486 
# # [INFO] [2024-11-30T23:56:26] Task Run Time ommosaic 10.6374480724335s
#
# # [INFO] [2024-11-30T23:56:26] Only one exposure in mosaic. No omdetect,ommag and omqualitymap 
# # [INFO] [2024-11-30T23:56:26] DEBUG - doCommand fullcmd : implot.py --fitsImage=product/P0044350401OMX000XSIMAGU000.FIT\
#     --outfile=product/P0044350401OMX000XSIMAGU000.PNG
# [COMMAND] [2024-11-30T23:56:26]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:26]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:56:26] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:56:26]
implot.py --fitsImage=product/P0044350401OMX000XSIMAGU000.FIT --outfile=product/P0044350401OMX000XSIMAGU000.PNG
# # [OUTPUT] [2024-11-30T23:56:29] Image shape. y,x: (750, 735) figsize: [8.5, 6.8]
# Cropped image shape. y,x: (749, 734) x/y ratio: 0.98 
# # [INFO] [2024-11-30T23:56:29] Task Run Time implot.py 2.77964282035828s
#
# # [INFO] [2024-11-30T23:56:29] Done: ALL
# # [INFO] [2024-11-30T23:56:29] Module name: OMSourceCombine
# # [INFO] [2024-11-30T23:56:29] Instrument: om
# # [INFO] [2024-11-30T23:56:29] Stream no.: 0001
# # [INFO] [2024-11-30T23:56:29] Module version number: 3.9
# # [INFO] [2024-11-30T23:56:29] Looking For Source Lists to Combine...
# # [INFO] [2024-11-30T23:56:29] DEBUG: file: intermediate/OMImageAnalyse-om-1-OM_SRC_IMAGE_DETAILS-S00500000000000.ascii
# # [INFO] [2024-11-30T23:56:29] DEBUG: line product/P0044350401OMS005SWSRLI0000.FIT|USER|U
# # [INFO] [2024-11-30T23:56:29] DEBUG: split to tmp: $VAR1 = [
# 'product/P0044350401OMS005SWSRLI0000.FIT',
# 'USER',
# 'U'
# ]; 
# # [INFO] [2024-11-30T23:56:29] DEBUG: SrcLstDetails: $VAR1 = [
# [
# 'product/P0044350401OMS005SWSRLI0000.FIT',
# 'USER',
# 'U'
# ]
# ]; 
# # [INFO] [2024-11-30T23:56:29] Found 1 Lists
# # [INFO] [2024-11-30T23:56:29] Grouping Lists by Mode then Filter
# # [INFO] [2024-11-30T23:56:29] DEBUG: SortedSrcLstDetails: $VAR1 = [
# [
# 'product/P0044350401OMS005SWSRLI0000.FIT',
# 'USER',
# 'U'
# ]
# ]; 
# # [INFO] [2024-11-30T23:56:29] Mode: USER
# # [INFO] [2024-11-30T23:56:29] DEBUG: Src: ARRAY(0x55834f8)
# # [INFO] [2024-11-30T23:56:29] DEBUG: mode_p: 1
# # [INFO] [2024-11-30T23:56:29] DEBUG: SSrc[modep]: USER
# # [INFO] [2024-11-30T23:56:29] DEBUG: SSrc[filterp]: U
# # [INFO] [2024-11-30T23:56:29] Filter: U
# # [INFO] [2024-11-30T23:56:29] Image File : product/P0044350401OMS005SWSRLI0000.FIT
# # [INFO] [2024-11-30T23:56:29] Creating Combined Lists...
# # [INFO] [2024-11-30T23:56:29] MODE: USER
# # [INFO] [2024-11-30T23:56:29] FILTER: U
# # [INFO] [2024-11-30T23:56:29] Done: USER
# # [INFO] [2024-11-30T23:56:29] CREATING: product/P0044350401OMX000OBSMLI0000.FIT
# [COMMAND] [2024-11-30T23:56:29]
export SAS_MEMORY_MODEL=high
# [COMMAND] [2024-11-30T23:56:29]
export SAS_RAND_SEED=0044350401
# # [INFO] [2024-11-30T23:56:29] ## DEBUG ModuleResources: SAS_RAND_SEED set: 0044350401
# [COMMAND] [2024-11-30T23:56:29]
omsrclistcomb catfile=product/P0044350401OBX000REFCAT0000.FIT outset=product/P0044350401OMX000OBSMLI0000.FIT \
sourcelistsets=product/P0044350401OMS005SWSRLI0000.FIT usecat=Y -w 10
# # [OUTPUT] [2024-11-30T23:56:31]
# # [INFO] [2024-11-30T23:56:31] Task Run Time omsrclistcomb 1.85482311248779s
#
# # [INFO] [2024-11-30T23:56:31] No MOSAIC lists to combine
