20:49:16.452 UKSSDC::Logging::CREATE_LOG:  line  105  INFO   >>  /swift/srv/autoproc/bin/xrt_lc_gen called at `2026 Feb 09 at 20:49:16 UT` on `xep-swiftv-p8.star.le.ac.uk`
20:49:16.452          main:::  line  898  INFO   >>  xrt_lc_gen called at 2026-02-09 T 20:49:16
20:49:16.452          main:::  line  900  INFO   >>  Arg list was `pcpuprate=100000 srcrad=15 stem={00021909} mission=Fermi/LAT otherfile=/scratch/tmp_slist_dqVO too=0 centroid=no udcent=yes ra=99.7456547304 dec=-13.840095596 t0=792237169 bat=0 name=GRB 260208B - source 25 obsdir=/scratch/tmp_tileprod_obs_nglxJ work=/scratch/tmp_tileprod_work_AXa8H prods=/scratch/tmp_tileprod_prods_2r4_s clobber=yes makeimg=no pcmaxgap=86400`, BAYES IS 0
20:49:16.452          main:::  line  956  INFO   >>  Checking obsdir `/scratch/tmp_tileprod_obs_nglxJ` for observations with stem {00021909}
20:49:16.452          main:::  line  960  INFO   >>  Found observation dir `/scratch/tmp_tileprod_obs_nglxJ/00021909001`
20:49:16.452          main:::  line  985  INFO   >>  Investigating /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/event
20:49:16.453          main:::  line 1000  INFO   >>  Found 1 observations
20:49:16.453          main:::  line 1012  INFO   >>  Obs Stem is {00021909}. There are 1 observations, which are:
00021909001
20:49:16.453          main:::  line 1041  INFO   >>  Going to look in 00021909001 for an event file
20:49:16.453    main::getevt:  line 5806  INFO   >>  Got event file /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/event/sw00021909001xpcw3po_cl.evt.gz
20:49:16.524          main:::  line 1058  INFO   >>  ============ LAST SEQUENCE IS OBS 00021909001, PROCNUM 14 ==========
20:49:16.524          main:::  line 1062  INFO   >>  Getting teldef file for /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/event/sw00021909001xpcw3po_cl.evt.gz
20:49:16.545          main:::  line 1082  INFO   >>  SELECTED TELDEF: /usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef
20:49:16.545          main:::  line 1103  INFO   >>  Going to look for RA, Dec etc.
20:49:16.545 main::getradectrig:  line 5910  INFO   >>  T0 was set on the command line, so assuming it is correct
20:49:16.686          main:::  line 1291  INFO   >>  Reading list of bg sources from tmp_slist_dqVO
20:49:16.688 main::nearbysrc:  line 6279  INFO   >>  Checking for nearby sources
20:49:16.688 main::nearbysrc:  line 6286  INFO   >>  Source at 99.6192850888 -13.7737274549 is 502.25480529849" away from the source, and 10" big
20:49:16.688 main::nearbysrc:  line 6286  INFO   >>  Source at 99.7646702852 -13.9634973485 is 449.188709110109" away from the source, and 10" big
20:49:16.688 main::nearbysrc:  line 6286  INFO   >>  Source at 99.7830187545 -13.914505735 is 298.010211101198" away from the source, and 10" big
20:49:16.688          main:::  line 1373  INFO   >>  Ignoring the following BG regions:
  -circle(99.6192850888,-13.7737274549,23.6")
-circle(99.7646702852,-13.9634973485,23.6")
-circle(99.7830187545,-13.914505735,23.6")
20:49:16.689          main:::  line 1379  INFO   >>  Ready to begin working. Details: 
20:49:16.689          main:::  line 1380  INFO   >>  Source RA: 99.7456547304	DEC: -13.840095596	T0: 792237169
20:49:16.689          main:::  line 1381  INFO   >>  Deduced from event file: /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/event/sw00021909001xpcw3po_cl.evt.gz
20:49:16.689          main:::  line 1452  INFO   >>  ********** STARTING OBSERVATION 00021909001 *************
20:49:16.689          main:::  line 1454  INFO   >>  Entering directory /scratch/tmp_tileprod_work_AXa8H/00021909001
20:49:16.689          main:::  line 1461  INFO   >>  Set MKF file /scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001s.mkf.gz
20:49:16.801          main:::  line 1502  INFO   >>  This obs is 6.22063493305325' from the source
20:49:16.958          main:::  line 1541  INFO   >>  resetting SRMAX to 15
20:49:16.958          main:::  line 1546  INFO   >>  Also setting SRPX=15 and SRCRAD=35.4
20:49:16.958          main:::  line 1564  INFO   >>  *** STARTING wt MODE ***
20:49:16.960          main:::  line 1568  INFO   >>  Working with position 99.7456547304,-13.840095596
20:49:16.960          main:::  line 1574  INFO   >>  List of event lists is 
20:49:16.960          main:::  line 1578  INFO   >>  No wt event file found for observation 00021909001, skipping
20:49:16.961          main:::  line 1541  INFO   >>  resetting SRMAX to 15
20:49:16.961          main:::  line 1546  INFO   >>  Also setting SRPX=15 and SRCRAD=35.4
20:49:16.961          main:::  line 1564  INFO   >>  *** STARTING pc MODE ***
20:49:16.962          main:::  line 1568  INFO   >>  Working with position 99.7456547304,-13.840095596
20:49:16.963    main::getevt:  line 5806  INFO   >>  Got event file /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/event/sw00021909001xpcw3po_cl.evt.gz
20:49:16.963          main:::  line 1574  INFO   >>  List of event lists is /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/event/sw00021909001xpcw3po_cl.evt.gz
20:49:16.963          main:::  line 1581  INFO   >>  Found event files /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/event/sw00021909001xpcw3po_cl.evt.gz
20:49:16.963          main:::  line 1584  INFO   >>  Getting teldef file for /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/event/sw00021909001xpcw3po_cl.evt.gz
20:49:16.983          main:::  line 1604  INFO   >>  SELECTED TELDEF: /usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef
20:49:16.983          main:::  line 1620  INFO   >>  Calling extractor  to merge event lists into pc.evt-- extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@mergeevt.list eventsout=pc.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
20:49:17.110          main:::  line 1623  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/event/sw00021909001xpcw3po_cl.evt.gz
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                64205     64205            0         0         0         0
                       Writing events file
                        64205 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                64205     64205            0         0         0         0
                         in  1925.6     seconds
20:49:17.110          main:::  line 1627  INFO   >>  Calling ftsort to sort the event list
20:49:17.144          main:::  line 1631  INFO   >>  CMD OUT:
                      
20:49:17.148          main:::  line 1636  INFO   >>  Trying to determine attitude file needed for this event list
20:49:17.197          main:::  line 1643  INFO   >>  Selected stem pat from flag=110
20:49:17.197          main:::  line 1670  INFO   >>  SETTING MINDET TO w3
20:49:17.197          main:::  line 1757  INFO   >>  Copying the file pc.evt to work.evt
20:49:17.887 main::getbadpix:  line 6268  INFO   >>  Adding bpfile to work.evt as BPFILE column-- fcalc clobber=yes work.evt work.evt BPFILE "'badpixel_file_number0001'"
20:49:17.918 main::getbadpix:  line 6271  INFO   >>  CMD OUT:
                      
20:49:17.918          main:::  line 1770  INFO   >>  Got bad pixels, bpfilename is /scratch/tmp_tileprod_work_AXa8H/badpixel_file_number0001
20:49:18.025          main:::  line 1863  INFO   >>  Setting end to 792282681.071583
20:49:18.118          main:::  line 1874  INFO   >>  ONTIME for this list is 1925.60640120506
20:49:18.163          main:::  line 1887  INFO   >>  Time after settling (1) is 792270336.982604
20:49:18.163          main:::  line 1908  INFO   >>  Satellite attitude file is /scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz
20:49:18.262          main:::  line 1915  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=99.7456547304 y=-13.840095596 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz time=792270336.982604
20:49:18.262          main:::  line 1916  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 345.6816, 467.3281 [99.7457, -13.8401 deg]
                      pointxform: 	=> DET 201.5542, 431.7578 [-3.9578, 5.2503 mm]
20:49:18.262          main:::  line 1928  INFO   >>  Detector co-ordinates are (201.5542, 431.7578)
20:49:18.262 main::getorbtimes:  line 6507  INFO   >>  GETTING ORB TIMES - looking for /scratch/tmp_tileprod_obs_nglxJ/per_snapshot_00021909001_pc.txt
20:49:18.262 main::getorbtimes:  line 6524  INFO   >>  Not found, so using work.evt
20:49:18.318 main::getorbtimes:  line 6578  INFO   >>  Save orbit 792270236.982604-792271678.680104
20:49:18.318 main::getorbtimes:  line 6578  INFO   >>  Save orbit 792275763.574283-792277150.893183
20:49:18.318 main::getorbtimes:  line 6585  INFO   >>  Save orbit 792281522.364884-792282681.071583 (last orb)
20:49:18.319 main::getorbtimes:  line 6589  INFO   >>  There are 3 orbits
20:49:18.319          main:::  line 1950  INFO   >>  Is the source in the fov for orbit 0 (792270236.982604-792271678.680104)?
20:49:18.319          main:::  line 1965  INFO   >>  New settling time is 100
20:49:18.414          main:::  line 1971  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=99.7456547304 y=-13.840095596 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz time=792270957.831354
20:49:18.414          main:::  line 1972  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 345.6816, 467.3281 [99.7457, -13.8401 deg]
                      pointxform: 	=> DET 201.6010, 432.0600 [-3.9560, 5.2624 mm]
20:49:18.414          main:::  line 1986  INFO   >>  Detector co-ordinates are (201.6010, 432.0600)
20:49:18.414          main:::  line 2059  INFO   >>  The bg region fell off the CCD. I have moved it by (0, -12.0599999999999) pixels
20:49:18.414          main:::  line 2076  INFO   >>  Old bgarea: 90477.868423386
20:49:18.422          main:::  line 2080  INFO   >>  For the background (shifted) outer circle has area 91448
20:49:18.431          main:::  line 2082  INFO   >>  For the background inner circle has area 10290
20:49:18.431 main::getorbtimes:  line 6507  INFO   >>  GETTING ORB TIMES - looking for /scratch/tmp_tileprod_obs_nglxJ/per_snapshot_00021909001_pc.txt
20:49:18.431 main::getorbtimes:  line 6524  INFO   >>  Not found, so using work.evt
20:49:18.490 main::getorbtimes:  line 6578  INFO   >>  Save orbit 792270236.982604-792271678.680104
20:49:18.490 main::getorbtimes:  line 6578  INFO   >>  Save orbit 792275763.574283-792277150.893183
20:49:18.490 main::getorbtimes:  line 6585  INFO   >>  Save orbit 792281522.364884-792282681.071583 (last orb)
20:49:18.491 main::getorbtimes:  line 6589  INFO   >>  There are 3 orbits
20:49:18.491          main:::  line 2160  INFO   >>  SAVING SOURCE POS IN KEEPS AS 99.7456547304,-13.840095596
20:49:18.491          main:::  line 2175  INFO   >>   SETTING SOURCE POS TO 99.7456547304,-13.840095596
20:49:18.491          main:::  line 2189  INFO   >>  Resetting SRMAX to 15, SRCRAD to 35.4
20:49:18.491          main:::  line 2198  INFO   >>  * starting orbit 1, times 792270236.982604 to 792271678.680104 *
20:49:18.491          main:::  line 2205  INFO   >>  Calling extractor  to get the event list of orbit 0 -- extractor adjustgti=yes gti=GTI copyall=yes filename=work.evt eventsout=pc_orb0.evt regionfile=NONE fitsbinlc=NONE clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y phafile=NONE imgfile=pc_orb0.img timefile=gti.filt
20:49:18.578          main:::  line 2208  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: work.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                64205     32309        31896         0         0         0
                       Writing events file
                        32309 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                64205     32309        31896         0         0         0
                         in  1441.7     seconds
                       Image            has    32309 counts for   22.41     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
20:49:18.578          main:::  line 2213  INFO   >>  Need to get times of this orbit for the event list, for pup work
20:49:18.676          main:::  line 2220  INFO   >>  This event list spans 792270236.982604 to 792271678.680112
20:49:18.773          main:::  line 2235  INFO   >>  Called fselect infile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.792270236.982604.and.TIME.le.792271678.680104, status 0
20:49:18.784          main:::  line 2241  INFO   >>  CMD OUT:
                       The sum of the selected column is                   748375.31
                       The mean of the selected column is                  225.55012
                       The standard deviation of the selected column is   2.14961449E-04
                       The minimum of selected column is                   225.54951
                       The maximum of selected column is                   225.55144
                       The number of points used in calculation is             3318
20:49:18.787          main:::  line 2243  INFO   >>  Setting roll angle for this orbit to 225.55012215585
20:49:18.787          main:::  line 2246  INFO   >>  Calling fparkey to update the roll angle in the event list to 225.55012215585 -- fparkey value=225.55012215585 fitsfile=pc_orb0.evt+1 keyword=PA_PNT
20:49:18.799          main:::  line 2249  INFO   >>  CMD OUT:
                      
20:49:18.799          main:::  line 2250  INFO   >>  Going to update the image roll to 225.55012215585: fparkey add=no value=225.55012215585 fitsfile=pc_orb0.img+0 keyword=PA_PNT
20:49:18.811          main:::  line 2253  INFO   >>  CMD OUT:
                      
20:49:18.811          main:::  line 2428  INFO   >>  Calling extractor  to get an image orbit 0 -- extractor adjustgti=yes gti=GTI copyall=yes filename=pc_orb0.evt eventsout=NONE regionfile=NONE fitsbinlc=NONE clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y phafile=NONE imgfile=temp.img timefile=NONE
20:49:18.881          main:::  line 2431  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                32309     32309            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                32309     32309            0         0         0         0
                         in  1441.7     seconds
                       Image            has    32309 counts for   22.41     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 225.550153127986 and 225.55012215585
20:49:18.882          main:::  line 2435  INFO   >>  SRMAX is 15, trad is 35.4
20:49:18.882          main:::  line 2443  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=99.7456547304 ysky=-13.840095596
20:49:18.894          main:::  line 2446  INFO   >>  CMD OUT:
                       Input sky coordinates:     9.9745654730400E+01,   -1.3840095596000E+01
                       Output pixel coordinates:     3.4568587046390E+02,    4.6733354303136E+02
20:49:18.899          main:::  line 2452  INFO   >>  Calling ximage to get counts in source region
20:49:18.959          main:::  line 2461  INFO   >>  THe image had 121 counts
20:49:18.959          main:::  line 2465  INFO   >>  Going to centroid - we have 121 (>15) counts
20:49:18.959  main::dopsffit:  line 6605  INFO   >>  IN THE DOPSFFIT ROUTINE - eventfile = pc_orb0.evt
20:49:18.962 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  344  INFO   >>  Centroiding on source at (99.7456547304, -13.840095596) with psf_centroid.
20:49:18.962 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  351  INFO   >>  ObsList is `pc_orb0.evt`
20:49:18.962 UKSSDC::Centroid::makeExpoImage:  line  660  INFO   >>  Creating exposure map image for observations: pc_orb0.evt
20:49:19.010 UKSSDC::Centroid::makeExpoImage:  line  708  INFO   >>  Need to generate an exposure map for `00021909001`
20:49:19.058 UKSSDC::Centroid::makeExpoImage:  line  721  INFO   >>  Selected stem `pat` from flag=`110` from file `pc_orb0.evt`
20:49:19.078 UKSSDC::Centroid::makeExpoImage:  line  743  INFO   >>  Calling `xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef clobber=yes infile=pc_orb0.evt outdir=. stemout=cent_1 hdfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz attfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz vigflag=yes > temp.out 2>&1` to create exposure map for obs `00021909001`
20:49:23.078 UKSSDC::Centroid::makeExpoImage:  line  763  INFO   >>  Calling extractor to create the image: `extractor adjustgti=yes gti=GTI copyall=yes clobber=yes filename=@tmp_xim_suelm.tmp eventsout=NONE imgfile=centroid.img fitsbinlc=NONE phafile=NONE regionfile=NONE timefile=NONE xcolf=X ycolf=Y tcol=TIME`
20:49:23.144 UKSSDC::Centroid::makeExpoImage:  line  775  INFO   >>  Getting CRVAL1 from centroid.img
20:49:23.193 UKSSDC::Centroid::makeExpoImage:  line  784  INFO   >>  Getting CRVAL2 from centroid.img
20:49:23.239 UKSSDC::Centroid::makeExpoImage:  line  792  INFO   >>  Now I need to shift all exposure maps to WCS ref (`99.64125`, `-13.8184`)
20:49:23.240 UKSSDC::Centroid::makeExpoImage:  line  798  INFO   >>  Calling `shiftWCS -e -- 99.64125 -13.8184 1000 cent_1_ex.img cent_1_ex_shift.img >/dev/null 2>&1` to shift WCS of exposure map `cent_1_ex.img`
20:49:25.163 UKSSDC::Centroid::makeExpoImage:  line  810  INFO   >>  Calling `sumImages tmp_ximE_5uEiy.tmp centroid_ex.img` to sum exposure maps
20:49:25.241 UKSSDC::Centroid::makeExpoImage:  line  823  INFO   >>  RADECSYS keyword of the first exposure map is `'FK5'`
20:49:25.356 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  376  INFO   >>  Calling psf_centroid with command: `psf_centroid_expomap_v2.7 -p swxpsf20010101v006_rc2.fits  -1 -x 345.6859 -y 467.3336 -r 15 -m centroid_ex.img centroid.img > centroid.cent 2> temp.out`
20:49:50.383 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  385  INFO   >>  Centroid output:
  Source1 345.6859000000 -0.0733852386 0.0000000000 467.3336000000 0.0000000000 0.1158714294 99.7456547105 -0.0000000000 0.0000480533 -13.8400955587 0.0000000000 0.0000758736 5.2306459137e-02 -6.9252544819e-08 6.7571633748e-08 1.0373753042e+03 0.0000000000e+00 85.0000000000 570.1132385881 1.8379917144 swxpsf20010101v006_rc2.fits 0.0949797356 0.0949797356 0.0000000000 0.0000000000 0 0.0000000000 1.1274573191 10 NULL NULL NULL 21 15.0000000000 NULL NULL NULL 1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 0 
20:49:50.383 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  399  INFO   >>  PSF fit returned a source at (99.7456547105, -13.8400955587), using PSF `swxpsf20010101v006_rc2.fits`
20:49:50.384  main::dopsffit:  line 6615  INFO   >>  AND I HAVE NOW FINISHED
20:49:50.384  main::dopsffit:  line 6619  INFO   >>  Saving centroid files to _orb0
20:49:50.443          main:::  line 2496  INFO   >>  For this orbit, pos is RA,Dec: 99.7456547105, -13.8400955587
20:49:50.444          main:::  line 2542  INFO   >>  Just created pcsource.reg with radius 35.4
20:49:50.549          main:::  line 2556  INFO   >>  Calling pointxform
20:49:50.549          main:::  line 2557  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 345.6817, 467.3281 [99.7457, -13.8401 deg]
                      pointxform: 	=> DET 201.6010, 432.0600 [-3.9560, 5.2624 mm]
20:49:50.549          main:::  line 2569  INFO   >>  Detector co-ordinates are (201.6010, 432.0600)
20:49:50.549          main:::  line 2582  INFO   >>  About to do this bit, dety: 432.06
20:49:50.549          main:::  line 2592  INFO   >>  HERE _ DETX=201.601, DETY=432.06
20:49:50.549          main:::  line 2627  INFO   >>  Calling extractor  to get a source lc of this list -- extractor adjustgti=yes gti=GTI copyall=yes filename=pc_orb0.evt eventsout=NONE regionfile=pcsource.reg fitsbinlc=pc.lc clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y binlc=100 phafile=NONE imgfile=NONE timefile=NONE lcthresh=0.0
20:49:50.609          main:::  line 2630  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcsource.reg",X,Y)]
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                  121       121            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  121       121            0         0         0         0
                         in  1441.7     seconds
                       Fits light curve has   121.0     counts for  8.3929E-02 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 225.550153127986 and 225.55012215585
20:49:50.609          main:::  line 2633  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
20:49:50.623          main:::  line 2636  INFO   >>  CMD OUT:
                      
20:49:50.632          main:::  line 2792  INFO   >>  Old source area: 706.858347057703
20:49:50.641          main:::  line 2794  INFO   >>  New source area: 729
20:49:50.641          main:::  line 2878  INFO   >>  Calling fcalc to add source radius of 15 to pc_orb0.evt -- fcalc clobber=yes pc_orb0.evt pc_orb0.evt SRCRAD 15
20:49:50.663          main:::  line 2881  INFO   >>  CMD OUT:
                      
20:49:50.664          main:::  line 2917  INFO   >>  The bg region fell off the CCD. I have moved it by (0, -12.0599999999999) pixels
20:49:50.719          main:::  line 2970  INFO   >>  I need an exposure map to get the bg area
20:49:50.720          main:::  line 2987  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef clobber=yes infile=pc_orb0.evt outdir=. stemout=centroid hdfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz attfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz
20:49:52.919          main:::  line 2990  INFO   >>  CMD OUT:
                      --------------------------------------------------------------
                                   Running ' xrtexpomap version 0.3.1 '
                      --------------------------------------------------------------
                      ---------------------------------------------------------------------
                       		Running 'xrtinstrmap_0.3.5'
                      ---------------------------------------------------------------------
                      		 Input Parameters List: 
                      Name of the input Event file             :'pc_orb0.evt'
                      Name of the input region file            :'CALDB'
                      Name of the input HK Header file         :'/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz'
                      Name of the output instrument map file   :'./centroid_rawinstr.img'
                      Check pointing stability?(yes/no)        :'yes'
                      ---------------------------------------------------------------------
                      xrtinstrmap_0.3.5: Info: Processing 'pc_orb0.evt' file.
                      xrtinstrmap_0.3.5: Info: Processing /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz file.
                      xrtinstrmap_0.3.5: Info: Processing '/usr/local/swift/caldb/data/swift/xrt/bcf/instrument/swxregion20010101v004.fits' file.
                      xrtinstrmap_0.3.5: Info: Appended 1 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 2 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 3 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 4 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 5 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 6 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 7 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: File './centroid_rawinstr.img' successfully written.
                      ---------------------------------------------------------------------
                      xrtinstrmap_0.3.5: Exit with success.
                      ---------------------------------------------------------------------
                      swiftxform: running ftcopy
                      swiftxform: verbose: HDU[1] skytime DEFAULT[TMIDDLE] => 792270241.992212
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 792270252.021476
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 792270262.050756
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 792270275.841026
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 792270299.660596
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 792270957.831436
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 792271639.821706
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: running ftchecksum
                       No of detectors read in:   34
                      ![XIMAGE> chat 0          
                      ![XIMAGE> read "./centroid_skyinstr.img+1"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+1
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+2"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+2
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+3"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+3
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+4"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+4
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+5"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+5
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+6"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+6
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+7"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+7
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> write_ima/file=\"./centroid_sumskyinstr.img\"          
                      ![XIMAGE> quit
                      ![XIMAGE> exit
                      Tk startup failed: /xtk device unavailable
                      ---------------------------------------------------------------------
                       		Running 'xrtexpocalc_0.1.4'
                      ---------------------------------------------------------------------
                      		 Input Parameters List: 
                      Name of the input Event file             :'./centroid_sumskyinstr.img.gz'
                      Name of the output Event file            :'./centroid_ex.img'
                      ---------------------------------------------------------------------
                      xrtexpocalc_0.1.4: Info: Processing './centroid_sumskyinstr.img.gz' file.
                      xrtexpocalc_0.1.4: Info:File  ./centroid_ex.img successfully written.
                      ---------------------------------------------------------------------
                      xrtexpocalc_0.1.4: Exit with success.
                      ---------------------------------------------------------------------
                      ----------------------------------------------------------
                      xrtexpomap_0.3.1: Exit with success 
                      ------------------------------------------------------------
20:49:52.976  main::calcArea:  line 6894  INFO   >>  Calculate BG area
20:49:53.032  main::calcArea:  line 6905  INFO   >>  CALCAREA: xim is # 80374.000      90176.000      90176.000      0.8913015         0.8913015
Area is 90176.000
20:49:53.032          main:::  line 3002  INFO   >>  calcArea has returned 90176.000
20:49:53.032          main:::  line 3036  INFO   >>  Starting pileup section.
20:49:53.035          main:::  line 3065  INFO   >>  Calling extractor  to get an lc for pup check comm: -- \extractor adjustgti=yes gti=GTI binlc=5 filename=pc_orb0.evt eventsout=NONE imgfile=NONE phafile=NONE fitsbinlc=pcpuptimes.lc xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcsource.reg timefile=NONE lcthresh=0.2
20:49:53.100          main:::  line 3068  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcsource.reg",X,Y)]
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                  121       121            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  121       121            0         0         0         0
                         in  1441.7     seconds
                       Fits light curve has   121.0     counts for  8.3929E-02 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 225.550153127986 and 225.55012215585
20:49:53.168          main:::  line 3077  INFO   >>  ftlist for puptimes.lc->qdp
20:49:53.168          main:::  line 3078  INFO   >>  CMD OUT:
                      
20:49:53.222          main:::  line 4034  INFO   >>  Done pileup checking
20:49:53.222          main:::  line 4102  INFO   >>  Calling extractor  to make non pupped evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb0.evt eventsout=pcallnonpup0.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcsource.reg timefile=NONE
20:49:53.272          main:::  line 4105  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcsource.reg",X,Y)]
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                  121       121            0         0         0         0
                       Writing events file
                          121 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  121       121            0         0         0         0
                         in  1441.7     seconds
20:49:53.273          main:::  line 4118  INFO   >>  Calling extractor  to make non pupped full evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb0.evt eventsout=pcallnonpup0_full.evt imgfile=pcallnonpup0.img phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=NONE timefile=NONE
20:49:53.354          main:::  line 4121  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                32309     32309            0         0         0         0
                       Writing events file
                        32309 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                32309     32309            0         0         0         0
                         in  1441.7     seconds
                       Image            has    32309 counts for   22.41     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 225.550153127986 and 225.55012215585
20:49:53.354          main:::  line 4137  INFO   >>  Calling extractor  to make pcallnonpup0.evt -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb0.evt eventsout=pcallnonpup0.back.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcback.reg timefile=NONE
20:49:53.411          main:::  line 4140  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcback.reg",X,Y)]
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                10073     10073            0         0         0         0
                       Writing events file
                        10073 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                10073     10073            0         0         0         0
                         in  1441.7     seconds
20:49:53.411          main:::  line 4146  INFO   >>  Calling fcalc clobber=yes pcallnonpup0.evt pcallnonpup0.evt PUPRAD "0.00"
20:49:53.427          main:::  line 4149  INFO   >>  CMD OUT:
                      
20:49:53.427          main:::  line 4159  INFO   >>  Calling fcalc clobber=yes pcallnonpup0.back.evt pcallnonpup0.back.evt SRCAREA "729"
20:49:53.445          main:::  line 4162  INFO   >>  CMD OUT:
                      
20:49:53.594          main:::  line 4183  INFO   >>  Got event range of 792270236.982604 - 792271678.680112 from pc_orb0.evt
20:49:53.598          main:::  line 4210  INFO   >>  Calling sky2xy infile=pcallnonpup0.img xsky=99.7456547105 ysky=-13.8400955587
20:49:53.611          main:::  line 4213  INFO   >>  CMD OUT:
                       Input sky coordinates:     9.9745654710500E+01,   -1.3840095558700E+01
                       Output pixel coordinates:     3.4568589994743E+02,    4.6733360000750E+02
20:49:53.617          main:::  line 4257  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef clobber=yes pcnframe=4 wtnframe=10 createinstrmap=yes outinstrfile=DEFAULT lcfile=none regionfile=corr_region_pcallnonpup0.reg outfile=none corrfile=corr_region_pcallnonpup0.fits attfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz hdfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz infile=pcallnonpup0_full.evt
20:49:54.703          main:::  line 4260  INFO   >>  CMD OUT:
                      ---------------------------------------------------------------------
                       		Running 'xrtlccorr_0.4.0'
                      ---------------------------------------------------------------------
                      		 Input Parameters List: 
                      Name of the input Light Curve file       :'none'
                      Name of the input region file            :'corr_region_pcallnonpup0.reg'
                      Name of the output file                  :'corr_region_pcallnonpup0.fits'
                      Name of the input TELDEF file            :'/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef'
                      Name of the the input attitude file      :'/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz'
                      Should aberration be included in aspecting? : no
                      Interpolate Attitude values?             : no
                      Correct for PSF:                         : yes
                      Name of the PSF CALDB file               :'CALDB'
                      Source X coordinate                      : -1.000000 
                      Source Y coordinate                      : -1.000000 
                      Energy value for PSF and Vignetting correction : 1.500000 
                      Name of the output Instrument Map file   :'DEFAULT'
                      Name of the input Event file             :'pcallnonpup0_full.evt'
                      Name of the input FOV region file        :'CALDB'
                      Name of the input HK Header file         :'/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz'
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Info: Name for the output instrument file is:
                      xrtlccorr_0.4.0: Info: 'corr_region_pcallnonpup0_srawinstr.img'
                      xrtlccorr_0.4.0: Info: Processing 'pcallnonpup0_full.evt' file.
                      xrtlccorr_0.4.0: Info: Processing /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz file.
                      xrtlccorr_0.4.0: Info: Processing '/usr/local/swift/caldb/data/swift/xrt/bcf/instrument/swxregion20010101v004.fits' file.
                      xrtlccorr_0.4.0: Info: Processing '/usr/local/swift/caldb/data/swift/xrt/cpf/vign/swxvign20010101v001.fits' CALDB file.
                      xrtlccorr_0.4.0: Info: Creating Raw Instrument Map.
                      xrtlccorr_0.4.0: Info: Appended 1 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 2 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 3 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 4 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 5 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 6 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 7 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 8 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 9 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 10 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 11 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 12 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 13 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 14 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 15 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 16 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 17 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 18 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 19 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 20 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 21 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 22 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 23 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 24 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 25 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 26 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 27 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 28 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 29 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 30 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 31 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 32 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 33 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 34 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 35 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 36 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 37 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 38 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 39 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 40 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 41 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 42 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 43 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 44 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 45 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 46 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 47 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 48 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 49 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 50 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 51 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 52 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 53 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 54 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 55 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 56 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 57 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 58 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 59 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 60 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 61 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 62 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 63 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 64 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 65 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 66 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 67 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 68 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 69 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 70 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 71 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 72 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 73 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 74 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 75 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 76 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 77 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 78 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 79 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 80 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 81 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 82 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 83 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 84 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 85 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 86 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 87 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 88 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 89 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 90 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 91 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 92 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 93 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 94 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 95 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 96 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 97 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 98 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 99 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 100 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 101 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 102 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 103 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 104 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 105 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 106 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 107 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 108 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 109 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 110 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 111 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 112 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 113 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 114 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 115 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 116 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 117 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 118 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 119 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 120 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 121 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 122 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 123 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 124 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 125 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 126 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 127 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 128 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 129 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 130 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 131 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 132 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 133 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 134 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 135 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 136 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 137 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 138 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 139 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 140 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 141 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 142 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 143 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 144 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: File 'corr_region_pcallnonpup0_srawinstr.img' successfully written.
                      xrtlccorr_0.4.0: Info: Creating rate correction file.
                      xrtlccorr_0.4.0: Info: The instrument map is corrected for vignetting
                      xrtlccorr_0.4.0: Info: set energy input parameter to 1.500000.
                      xrtlccorr_0.4.0: Info: File 'corr_region_pcallnonpup0.fits' successfully written.
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Exit with success.
                      ---------------------------------------------------------------------
20:49:54.703          main:::  line 4268  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup0.fits outfile=corr_region_pcallnonpup0.fits clname=TIME expr=TSTART rowrange=1-1
20:49:54.717          main:::  line 4271  INFO   >>  CMD OUT:
                      
20:49:54.771          main:::  line 4419  INFO   >>  Using fcalc clobber=yes pcallnonpup0.back.evt pcallnonpup0.back.evt BGAREA "90176.000" to add bg area to list
20:49:54.790          main:::  line 4422  INFO   >>  CMD OUT:
                      
20:49:54.790          main:::  line 4429  INFO   >>  End of orbit, resetting source position to 99.7456547304, -13.840095596
20:49:54.790          main:::  line 2175  INFO   >>   SETTING SOURCE POS TO 99.7456547304,-13.840095596
20:49:54.790          main:::  line 2189  INFO   >>  Resetting SRMAX to 15, SRCRAD to 35.4
20:49:54.790          main:::  line 2198  INFO   >>  * starting orbit 2, times 792275763.574283 to 792277150.893183 *
20:49:54.790          main:::  line 2205  INFO   >>  Calling extractor  to get the event list of orbit 1 -- extractor adjustgti=yes gti=GTI copyall=yes filename=work.evt eventsout=pc_orb1.evt regionfile=NONE fitsbinlc=NONE clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y phafile=NONE imgfile=pc_orb1.img timefile=gti.filt
20:49:54.873          main:::  line 2208  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: work.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                64205     23974        40231         0         0         0
                       Writing events file
                        23974 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                64205     23974        40231         0         0         0
                         in  162.97     seconds
                       Image            has    23974 counts for   147.1     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
20:49:54.873          main:::  line 2213  INFO   >>  Need to get times of this orbit for the event list, for pup work
20:49:54.973          main:::  line 2220  INFO   >>  This event list spans 792275763.574283 to 792277150.893183
20:49:55.022          main:::  line 2235  INFO   >>  Called fselect infile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.792275763.574283.and.TIME.le.792277150.893183, status 0
20:49:55.032          main:::  line 2241  INFO   >>  CMD OUT:
                       The sum of the selected column is                   413803.10
                       The mean of the selected column is                  225.62874
                       The standard deviation of the selected column is   1.33002030E-04
                       The minimum of selected column is                   225.62827
                       The maximum of selected column is                   225.62921
                       The number of points used in calculation is             1834
20:49:55.035          main:::  line 2243  INFO   >>  Setting roll angle for this orbit to 225.628735200139
20:49:55.035          main:::  line 2246  INFO   >>  Calling fparkey to update the roll angle in the event list to 225.628735200139 -- fparkey value=225.628735200139 fitsfile=pc_orb1.evt+1 keyword=PA_PNT
20:49:55.046          main:::  line 2249  INFO   >>  CMD OUT:
                      
20:49:55.046          main:::  line 2250  INFO   >>  Going to update the image roll to 225.628735200139: fparkey add=no value=225.628735200139 fitsfile=pc_orb1.img+0 keyword=PA_PNT
20:49:55.059          main:::  line 2253  INFO   >>  CMD OUT:
                      
20:49:55.060          main:::  line 2428  INFO   >>  Calling extractor  to get an image orbit 1 -- extractor adjustgti=yes gti=GTI copyall=yes filename=pc_orb1.evt eventsout=NONE regionfile=NONE fitsbinlc=NONE clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y phafile=NONE imgfile=temp.img timefile=NONE
20:49:55.126          main:::  line 2431  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                23974     23974            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                23974     23974            0         0         0         0
                         in  162.97     seconds
                       Image            has    23974 counts for   147.1     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 225.550153127986 and 225.628735200139
20:49:55.127          main:::  line 2435  INFO   >>  SRMAX is 15, trad is 35.4
20:49:55.127          main:::  line 2443  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=99.7456547304 ysky=-13.840095596
20:49:55.140          main:::  line 2446  INFO   >>  CMD OUT:
                       Input sky coordinates:     9.9745654730400E+01,   -1.3840095596000E+01
                       Output pixel coordinates:     3.4568587046390E+02,    4.6733354303136E+02
20:49:55.145          main:::  line 2452  INFO   >>  Calling ximage to get counts in source region
20:49:55.198          main:::  line 2461  INFO   >>  THe image had 44 counts
20:49:55.198          main:::  line 2465  INFO   >>  Going to centroid - we have 44 (>15) counts
20:49:55.198  main::dopsffit:  line 6605  INFO   >>  IN THE DOPSFFIT ROUTINE - eventfile = pc_orb1.evt
20:49:55.202 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  344  INFO   >>  Centroiding on source at (99.7456547304, -13.840095596) with psf_centroid.
20:49:55.202 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  351  INFO   >>  ObsList is `pc_orb1.evt`
20:49:55.202 UKSSDC::Centroid::makeExpoImage:  line  660  INFO   >>  Creating exposure map image for observations: pc_orb1.evt
20:49:55.252 UKSSDC::Centroid::makeExpoImage:  line  708  INFO   >>  Need to generate an exposure map for `00021909001`
20:49:55.305 UKSSDC::Centroid::makeExpoImage:  line  721  INFO   >>  Selected stem `pat` from flag=`110` from file `pc_orb1.evt`
20:49:55.326 UKSSDC::Centroid::makeExpoImage:  line  743  INFO   >>  Calling `xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef clobber=yes infile=pc_orb1.evt outdir=. stemout=cent_1 hdfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz attfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz vigflag=yes > temp.out 2>&1` to create exposure map for obs `00021909001`
20:49:58.642 UKSSDC::Centroid::makeExpoImage:  line  763  INFO   >>  Calling extractor to create the image: `extractor adjustgti=yes gti=GTI copyall=yes clobber=yes filename=@tmp_xim_5_dwA.tmp eventsout=NONE imgfile=centroid.img fitsbinlc=NONE phafile=NONE regionfile=NONE timefile=NONE xcolf=X ycolf=Y tcol=TIME`
20:49:58.708 UKSSDC::Centroid::makeExpoImage:  line  775  INFO   >>  Getting CRVAL1 from centroid.img
20:49:58.758 UKSSDC::Centroid::makeExpoImage:  line  784  INFO   >>  Getting CRVAL2 from centroid.img
20:49:58.810 UKSSDC::Centroid::makeExpoImage:  line  792  INFO   >>  Now I need to shift all exposure maps to WCS ref (`99.64125`, `-13.8184`)
20:49:58.810 UKSSDC::Centroid::makeExpoImage:  line  798  INFO   >>  Calling `shiftWCS -e -- 99.64125 -13.8184 1000 cent_1_ex.img cent_1_ex_shift.img >/dev/null 2>&1` to shift WCS of exposure map `cent_1_ex.img`
20:50:00.606 UKSSDC::Centroid::makeExpoImage:  line  810  INFO   >>  Calling `sumImages tmp_ximE_Ol8sY.tmp centroid_ex.img` to sum exposure maps
20:50:00.684 UKSSDC::Centroid::makeExpoImage:  line  823  INFO   >>  RADECSYS keyword of the first exposure map is `'FK5'`
20:50:00.803 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  376  INFO   >>  Calling psf_centroid with command: `psf_centroid_expomap_v2.7 -p swxpsf20010101v006_rc2.fits  -1 -x 345.6859 -y 467.3336 -r 15 -m centroid_ex.img centroid.img > centroid.cent 2> temp.out`
20:50:22.628 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  385  INFO   >>  Centroid output:
  Source1 345.6859000000 -0.3114223480 0.0000000000 467.3336000000 -0.1656532288 0.0000000000 99.7456547105 -0.0000000000 0.0002039221 -13.8400955587 -0.0001084712 0.0000000000 2.8703299303e-01 -4.4909269664e-02 4.2691540436e-02 1.1687334781e+02 0.0000000000e+00 43.0000000000 326.6160106268 -0.8601121498 swxpsf20010101v006_rc2.fits 0.4246166698 0.4246166698 0.0000000000 0.0000000000 0 0.0000000000 1.5669112616 10 2680.9094398987 0.0000000000e+00 40.0000000000 21 15.0000000000 241.4206785106 1.0000000000e+00 -0.0000000000 0.9838439262 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 0 
20:50:22.628 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  399  INFO   >>  PSF fit returned a source at (99.7456547105, -13.8400955587), using PSF `swxpsf20010101v006_rc2.fits`
20:50:22.628  main::dopsffit:  line 6615  INFO   >>  AND I HAVE NOW FINISHED
20:50:22.628  main::dopsffit:  line 6619  INFO   >>  Saving centroid files to _orb1
20:50:22.686          main:::  line 2496  INFO   >>  For this orbit, pos is RA,Dec: 99.7456547105, -13.8400955587
20:50:22.686          main:::  line 2542  INFO   >>  Just created pcsource.reg with radius 35.4
20:50:22.783          main:::  line 2556  INFO   >>  Calling pointxform
20:50:22.783          main:::  line 2557  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 345.6817, 467.3281 [99.7457, -13.8401 deg]
                      pointxform: 	=> DET 180.5365, 414.6828 [-4.7985, 4.5673 mm]
20:50:22.783          main:::  line 2569  INFO   >>  Detector co-ordinates are (180.5365, 414.6828)
20:50:22.783          main:::  line 2582  INFO   >>  About to do this bit, dety: 414.6828
20:50:22.783          main:::  line 2592  INFO   >>  HERE _ DETX=180.5365, DETY=414.6828
20:50:22.784          main:::  line 2627  INFO   >>  Calling extractor  to get a source lc of this list -- extractor adjustgti=yes gti=GTI copyall=yes filename=pc_orb1.evt eventsout=NONE regionfile=pcsource.reg fitsbinlc=pc.lc clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y binlc=100 phafile=NONE imgfile=NONE timefile=NONE lcthresh=0.0
20:50:22.844          main:::  line 2630  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcsource.reg",X,Y)]
                       20% completed
 40% completed
 50% completed
 70% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   44        44            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   44        44            0         0         0         0
                         in  162.97     seconds
                       Fits light curve has   44.00     counts for  0.2700     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 225.550153127986 and 225.628735200139
20:50:22.844          main:::  line 2633  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
20:50:22.856          main:::  line 2636  INFO   >>  CMD OUT:
                      
20:50:22.860          main:::  line 2792  INFO   >>  Old source area: 706.858347057703
20:50:22.868          main:::  line 2794  INFO   >>  New source area: 615
20:50:22.868          main:::  line 2878  INFO   >>  Calling fcalc to add source radius of 15 to pc_orb1.evt -- fcalc clobber=yes pc_orb1.evt pc_orb1.evt SRCRAD 15
20:50:22.888          main:::  line 2881  INFO   >>  CMD OUT:
                      
20:50:22.888          main:::  line 2917  INFO   >>  The bg region fell off the CCD. I have moved it by (0, -0.00790599999999996) pixels
20:50:22.936          main:::  line 2970  INFO   >>  I need an exposure map to get the bg area
20:50:22.936          main:::  line 2987  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef clobber=yes infile=pc_orb1.evt outdir=. stemout=centroid hdfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz attfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz
20:50:24.656          main:::  line 2990  INFO   >>  CMD OUT:
                      --------------------------------------------------------------
                                   Running ' xrtexpomap version 0.3.1 '
                      --------------------------------------------------------------
                      ---------------------------------------------------------------------
                       		Running 'xrtinstrmap_0.3.5'
                      ---------------------------------------------------------------------
                      		 Input Parameters List: 
                      Name of the input Event file             :'pc_orb1.evt'
                      Name of the input region file            :'CALDB'
                      Name of the input HK Header file         :'/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz'
                      Name of the output instrument map file   :'./centroid_rawinstr.img'
                      Check pointing stability?(yes/no)        :'yes'
                      ---------------------------------------------------------------------
                      xrtinstrmap_0.3.5: Info: Processing 'pc_orb1.evt' file.
                      xrtinstrmap_0.3.5: Info: Processing /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz file.
                      xrtinstrmap_0.3.5: Info: Processing '/usr/local/swift/caldb/data/swift/xrt/bcf/instrument/swxregion20010101v004.fits' file.
                      xrtinstrmap_0.3.5: Info: Appended 1 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 2 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 3 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 4 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 5 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 6 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: File './centroid_rawinstr.img' successfully written.
                      ---------------------------------------------------------------------
                      xrtinstrmap_0.3.5: Exit with success.
                      ---------------------------------------------------------------------
                      swiftxform: running ftcopy
                      swiftxform: verbose: HDU[1] skytime DEFAULT[TMIDDLE] => 792276132.635191
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 792276627.546247
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 792276756.776507
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 792276885.547678
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 792277030.611838
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 792277149.634527
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: running ftchecksum
                       No of detectors read in:   34
                      ![XIMAGE> chat 0          
                      ![XIMAGE> read "./centroid_skyinstr.img+1"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+1
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+2"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+2
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+3"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+3
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+4"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+4
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+5"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+5
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+6"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+6
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> write_ima/file=\"./centroid_sumskyinstr.img\"          
                      ![XIMAGE> quit
                      ![XIMAGE> exit
                      Tk startup failed: /xtk device unavailable
                      ---------------------------------------------------------------------
                       		Running 'xrtexpocalc_0.1.4'
                      ---------------------------------------------------------------------
                      		 Input Parameters List: 
                      Name of the input Event file             :'./centroid_sumskyinstr.img.gz'
                      Name of the output Event file            :'./centroid_ex.img'
                      ---------------------------------------------------------------------
                      xrtexpocalc_0.1.4: Info: Processing './centroid_sumskyinstr.img.gz' file.
                      xrtexpocalc_0.1.4: Info:File  ./centroid_ex.img successfully written.
                      ---------------------------------------------------------------------
                      xrtexpocalc_0.1.4: Exit with success.
                      ---------------------------------------------------------------------
                      ----------------------------------------------------------
                      xrtexpomap_0.3.1: Exit with success 
                      ------------------------------------------------------------
20:50:24.721  main::calcArea:  line 6894  INFO   >>  Calculate BG area
20:50:24.774  main::calcArea:  line 6905  INFO   >>  CALCAREA: xim is # 79913.000      90365.000      90365.000      0.8843358         0.8843357
Area is 90365.000
20:50:24.774          main:::  line 3002  INFO   >>  calcArea has returned 90365.000
20:50:24.774          main:::  line 3036  INFO   >>  Starting pileup section.
20:50:24.776          main:::  line 3065  INFO   >>  Calling extractor  to get an lc for pup check comm: -- \extractor adjustgti=yes gti=GTI binlc=5 filename=pc_orb1.evt eventsout=NONE imgfile=NONE phafile=NONE fitsbinlc=pcpuptimes.lc xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcsource.reg timefile=NONE lcthresh=0.2
20:50:24.836          main:::  line 3068  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcsource.reg",X,Y)]
                       20% completed
 40% completed
 50% completed
 70% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   44        44            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   44        44            0         0         0         0
                         in  162.97     seconds
                       Fits light curve has   44.00     counts for  0.2700     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 225.550153127986 and 225.628735200139
                       Thresholding removed more than half the bins
                       Try exposure=0.0 on the extract command in xselect
                       or lcthresh=0.0 if running extractor stand-alone
20:50:24.899          main:::  line 3077  INFO   >>  ftlist for puptimes.lc->qdp
20:50:24.899          main:::  line 3078  INFO   >>  CMD OUT:
                      
20:50:24.951          main:::  line 4034  INFO   >>  Done pileup checking
20:50:24.952          main:::  line 4102  INFO   >>  Calling extractor  to make non pupped evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb1.evt eventsout=pcallnonpup1.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcsource.reg timefile=NONE
20:50:25.002          main:::  line 4105  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcsource.reg",X,Y)]
                       20% completed
 40% completed
 50% completed
 70% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   44        44            0         0         0         0
                       Writing events file
                           44 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   44        44            0         0         0         0
                         in  162.97     seconds
20:50:25.002          main:::  line 4118  INFO   >>  Calling extractor  to make non pupped full evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb1.evt eventsout=pcallnonpup1_full.evt imgfile=pcallnonpup1.img phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=NONE timefile=NONE
20:50:25.077          main:::  line 4121  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                23974     23974            0         0         0         0
                       Writing events file
                        23974 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                23974     23974            0         0         0         0
                         in  162.97     seconds
                       Image            has    23974 counts for   147.1     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 225.550153127986 and 225.628735200139
20:50:25.077          main:::  line 4137  INFO   >>  Calling extractor  to make pcallnonpup1.evt -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb1.evt eventsout=pcallnonpup1.back.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcback.reg timefile=NONE
20:50:25.132          main:::  line 4140  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcback.reg",X,Y)]
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                 7231      7231            0         0         0         0
                       Writing events file
                         7231 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 7231      7231            0         0         0         0
                         in  162.97     seconds
20:50:25.132          main:::  line 4146  INFO   >>  Calling fcalc clobber=yes pcallnonpup1.evt pcallnonpup1.evt PUPRAD "0.00"
20:50:25.148          main:::  line 4149  INFO   >>  CMD OUT:
                      
20:50:25.148          main:::  line 4159  INFO   >>  Calling fcalc clobber=yes pcallnonpup1.back.evt pcallnonpup1.back.evt SRCAREA "615"
20:50:25.166          main:::  line 4162  INFO   >>  CMD OUT:
                      
20:50:25.315          main:::  line 4183  INFO   >>  Got event range of 792275763.574283 - 792277150.893183 from pc_orb1.evt
20:50:25.318          main:::  line 4210  INFO   >>  Calling sky2xy infile=pcallnonpup1.img xsky=99.7456547105 ysky=-13.8400955587
20:50:25.332          main:::  line 4213  INFO   >>  CMD OUT:
                       Input sky coordinates:     9.9745654710500E+01,   -1.3840095558700E+01
                       Output pixel coordinates:     3.4568589994743E+02,    4.6733360000750E+02
20:50:25.338          main:::  line 4257  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef clobber=yes pcnframe=4 wtnframe=10 createinstrmap=yes outinstrfile=DEFAULT lcfile=none regionfile=corr_region_pcallnonpup1.reg outfile=none corrfile=corr_region_pcallnonpup1.fits attfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz hdfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz infile=pcallnonpup1_full.evt
20:50:25.538          main:::  line 4260  INFO   >>  CMD OUT:
                      ---------------------------------------------------------------------
                       		Running 'xrtlccorr_0.4.0'
                      ---------------------------------------------------------------------
                      		 Input Parameters List: 
                      Name of the input Light Curve file       :'none'
                      Name of the input region file            :'corr_region_pcallnonpup1.reg'
                      Name of the output file                  :'corr_region_pcallnonpup1.fits'
                      Name of the input TELDEF file            :'/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef'
                      Name of the the input attitude file      :'/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz'
                      Should aberration be included in aspecting? : no
                      Interpolate Attitude values?             : no
                      Correct for PSF:                         : yes
                      Name of the PSF CALDB file               :'CALDB'
                      Source X coordinate                      : -1.000000 
                      Source Y coordinate                      : -1.000000 
                      Energy value for PSF and Vignetting correction : 1.500000 
                      Name of the output Instrument Map file   :'DEFAULT'
                      Name of the input Event file             :'pcallnonpup1_full.evt'
                      Name of the input FOV region file        :'CALDB'
                      Name of the input HK Header file         :'/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz'
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Info: Name for the output instrument file is:
                      xrtlccorr_0.4.0: Info: 'corr_region_pcallnonpup1_srawinstr.img'
                      xrtlccorr_0.4.0: Info: Processing 'pcallnonpup1_full.evt' file.
                      xrtlccorr_0.4.0: Info: Processing /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz file.
                      xrtlccorr_0.4.0: Info: Processing '/usr/local/swift/caldb/data/swift/xrt/bcf/instrument/swxregion20010101v004.fits' file.
                      xrtlccorr_0.4.0: Info: Processing '/usr/local/swift/caldb/data/swift/xrt/cpf/vign/swxvign20010101v001.fits' CALDB file.
                      xrtlccorr_0.4.0: Info: Creating Raw Instrument Map.
                      xrtlccorr_0.4.0: Info: Appended 1 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 2 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 3 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 4 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 5 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 6 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 7 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 8 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 9 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 10 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 11 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 12 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 13 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 14 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 15 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 16 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 17 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 18 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 19 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 20 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: File 'corr_region_pcallnonpup1_srawinstr.img' successfully written.
                      xrtlccorr_0.4.0: Info: Creating rate correction file.
                      xrtlccorr_0.4.0: Info: The instrument map is corrected for vignetting
                      xrtlccorr_0.4.0: Info: set energy input parameter to 1.500000.
                      xrtlccorr_0.4.0: Info: File 'corr_region_pcallnonpup1.fits' successfully written.
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Exit with success.
                      ---------------------------------------------------------------------
20:50:25.538          main:::  line 4268  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup1.fits outfile=corr_region_pcallnonpup1.fits clname=TIME expr=TSTART rowrange=1-1
20:50:25.551          main:::  line 4271  INFO   >>  CMD OUT:
                      
20:50:25.599          main:::  line 4419  INFO   >>  Using fcalc clobber=yes pcallnonpup1.back.evt pcallnonpup1.back.evt BGAREA "90365.000" to add bg area to list
20:50:25.617          main:::  line 4422  INFO   >>  CMD OUT:
                      
20:50:25.617          main:::  line 4429  INFO   >>  End of orbit, resetting source position to 99.7456547304, -13.840095596
20:50:25.617          main:::  line 2175  INFO   >>   SETTING SOURCE POS TO 99.7456547304,-13.840095596
20:50:25.617          main:::  line 2189  INFO   >>  Resetting SRMAX to 15, SRCRAD to 35.4
20:50:25.617          main:::  line 2198  INFO   >>  * starting orbit 3, times 792281522.364884 to 792282681.071583 *
20:50:25.617          main:::  line 2205  INFO   >>  Calling extractor  to get the event list of orbit 2 -- extractor adjustgti=yes gti=GTI copyall=yes filename=work.evt eventsout=pc_orb2.evt regionfile=NONE fitsbinlc=NONE clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y phafile=NONE imgfile=pc_orb2.img timefile=gti.filt
20:50:25.697          main:::  line 2208  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: work.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                64205      7815        56390         0         0         0
                       Writing events file
                         7815 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                64205      7815        56390         0         0         0
                         in  320.93     seconds
                       Image            has     7815 counts for   24.35     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
20:50:25.697          main:::  line 2213  INFO   >>  Need to get times of this orbit for the event list, for pup work
20:50:25.795          main:::  line 2220  INFO   >>  This event list spans 792281522.364884 to 792282681.071583
20:50:25.843          main:::  line 2235  INFO   >>  Called fselect infile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.792281522.364884.and.TIME.le.792282681.071583, status 0
20:50:25.854          main:::  line 2241  INFO   >>  CMD OUT:
                       The sum of the selected column is                   361553.92
                       The mean of the selected column is                  225.68909
                       The standard deviation of the selected column is   1.48865509E-04
                       The minimum of selected column is                   225.68848
                       The maximum of selected column is                   225.68962
                       The number of points used in calculation is             1602
20:50:25.856          main:::  line 2243  INFO   >>  Setting roll angle for this orbit to 225.689091219289
20:50:25.856          main:::  line 2246  INFO   >>  Calling fparkey to update the roll angle in the event list to 225.689091219289 -- fparkey value=225.689091219289 fitsfile=pc_orb2.evt+1 keyword=PA_PNT
20:50:25.869          main:::  line 2249  INFO   >>  CMD OUT:
                      
20:50:25.869          main:::  line 2250  INFO   >>  Going to update the image roll to 225.689091219289: fparkey add=no value=225.689091219289 fitsfile=pc_orb2.img+0 keyword=PA_PNT
20:50:25.881          main:::  line 2253  INFO   >>  CMD OUT:
                      
20:50:25.881          main:::  line 2428  INFO   >>  Calling extractor  to get an image orbit 2 -- extractor adjustgti=yes gti=GTI copyall=yes filename=pc_orb2.evt eventsout=NONE regionfile=NONE fitsbinlc=NONE clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y phafile=NONE imgfile=temp.img timefile=NONE
20:50:25.948          main:::  line 2431  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                 7815      7815            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 7815      7815            0         0         0         0
                         in  320.93     seconds
                       Image            has     7815 counts for   24.35     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 225.550153127986 and 225.689091219289
20:50:25.949          main:::  line 2435  INFO   >>  SRMAX is 15, trad is 35.4
20:50:25.949          main:::  line 2443  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=99.7456547304 ysky=-13.840095596
20:50:25.963          main:::  line 2446  INFO   >>  CMD OUT:
                       Input sky coordinates:     9.9745654730400E+01,   -1.3840095596000E+01
                       Output pixel coordinates:     3.4568587046390E+02,    4.6733354303136E+02
20:50:25.968          main:::  line 2452  INFO   >>  Calling ximage to get counts in source region
20:50:26.030          main:::  line 2461  INFO   >>  THe image had 31 counts
20:50:26.030          main:::  line 2465  INFO   >>  Going to centroid - we have 31 (>15) counts
20:50:26.030  main::dopsffit:  line 6605  INFO   >>  IN THE DOPSFFIT ROUTINE - eventfile = pc_orb2.evt
20:50:26.034 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  344  INFO   >>  Centroiding on source at (99.7456547304, -13.840095596) with psf_centroid.
20:50:26.034 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  351  INFO   >>  ObsList is `pc_orb2.evt`
20:50:26.034 UKSSDC::Centroid::makeExpoImage:  line  660  INFO   >>  Creating exposure map image for observations: pc_orb2.evt
20:50:26.089 UKSSDC::Centroid::makeExpoImage:  line  708  INFO   >>  Need to generate an exposure map for `00021909001`
20:50:26.145 UKSSDC::Centroid::makeExpoImage:  line  721  INFO   >>  Selected stem `pat` from flag=`110` from file `pc_orb2.evt`
20:50:26.166 UKSSDC::Centroid::makeExpoImage:  line  743  INFO   >>  Calling `xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef clobber=yes infile=pc_orb2.evt outdir=. stemout=cent_1 hdfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz attfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz vigflag=yes > temp.out 2>&1` to create exposure map for obs `00021909001`
20:50:27.128 UKSSDC::Centroid::makeExpoImage:  line  763  INFO   >>  Calling extractor to create the image: `extractor adjustgti=yes gti=GTI copyall=yes clobber=yes filename=@tmp_xim_sD4ar.tmp eventsout=NONE imgfile=centroid.img fitsbinlc=NONE phafile=NONE regionfile=NONE timefile=NONE xcolf=X ycolf=Y tcol=TIME`
20:50:27.190 UKSSDC::Centroid::makeExpoImage:  line  775  INFO   >>  Getting CRVAL1 from centroid.img
20:50:27.241 UKSSDC::Centroid::makeExpoImage:  line  784  INFO   >>  Getting CRVAL2 from centroid.img
20:50:27.292 UKSSDC::Centroid::makeExpoImage:  line  792  INFO   >>  Now I need to shift all exposure maps to WCS ref (`99.64125`, `-13.8184`)
20:50:27.292 UKSSDC::Centroid::makeExpoImage:  line  798  INFO   >>  Calling `shiftWCS -e -- 99.64125 -13.8184 1000 cent_1_ex.img cent_1_ex_shift.img >/dev/null 2>&1` to shift WCS of exposure map `cent_1_ex.img`
20:50:29.065 UKSSDC::Centroid::makeExpoImage:  line  810  INFO   >>  Calling `sumImages tmp_ximE_qRSZC.tmp centroid_ex.img` to sum exposure maps
20:50:29.140 UKSSDC::Centroid::makeExpoImage:  line  823  INFO   >>  RADECSYS keyword of the first exposure map is `'FK5'`
20:50:29.258 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  376  INFO   >>  Calling psf_centroid with command: `psf_centroid_expomap_v2.7 -p swxpsf20010101v006_rc2.fits  -1 -x 345.6859 -y 467.3336 -r 15 -m centroid_ex.img centroid.img > centroid.cent 2> temp.out`
20:50:44.854 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  385  INFO   >>  Centroid output:
  Source1 349.2983474004 -1.1855367297 14.2344407495 489.8071019577 -12.5194190512 1.0045825362 99.7432120840 -0.0093208385 0.0007763000 -13.8253807530 -0.0081978270 0.0006578096 9.5089792129e-03 -1.8926102387e-03 1.7751550518e-03 2.3869697438e+02 0.0000000000e+00 27.0000000000 193.3793672436 1.6378463793 swxpsf20010101v006_rc2.fits 0.1972366676 0.1972366676 0.0000000000 0.0000000000 0 0.0000000000 2.4255540592 10 1674.0000000000 0.0000000000e+00 40.0000000000 21 15.0000000000 168.1480339434 1.0000000000e+00 -0.0000000000 0.9769852157 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 0 
20:50:44.854 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  399  INFO   >>  PSF fit returned a source at (99.7432120840, -13.8253807530), using PSF `swxpsf20010101v006_rc2.fits`
20:50:44.854  main::dopsffit:  line 6615  INFO   >>  AND I HAVE NOW FINISHED
20:50:44.854  main::dopsffit:  line 6619  INFO   >>  Saving centroid files to _orb2
20:50:44.863          main:::  line 2487  INFO   >>  BAD POSITION -- (ad = 53.6571589054943) noting
20:50:44.865          main:::  line 2506  INFO   >>  Marking this orbit as incbad for PC mode
20:50:44.865          main:::  line 2515  INFO   >>  The position is bad, so taking weighted average
20:50:44.866          main:::  line 2528  INFO   >>  Calculated the weighted position as 99.7456547105, -13.8400955587
20:50:44.866          main:::  line 2542  INFO   >>  Just created pcsource.reg with radius 35.4
20:50:44.971          main:::  line 2556  INFO   >>  Calling pointxform
20:50:44.971          main:::  line 2557  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 345.6817, 467.3281 [99.7457, -13.8401 deg]
                      pointxform: 	=> DET 190.8649, 412.6545 [-4.3854, 4.4862 mm]
20:50:44.971          main:::  line 2569  INFO   >>  Detector co-ordinates are (190.8649, 412.6545)
20:50:44.971          main:::  line 2582  INFO   >>  About to do this bit, dety: 412.6545
20:50:44.971          main:::  line 2592  INFO   >>  HERE _ DETX=190.8649, DETY=412.6545
20:50:44.971          main:::  line 2627  INFO   >>  Calling extractor  to get a source lc of this list -- extractor adjustgti=yes gti=GTI copyall=yes filename=pc_orb2.evt eventsout=NONE regionfile=pcsource.reg fitsbinlc=pc.lc clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y binlc=100 phafile=NONE imgfile=NONE timefile=NONE lcthresh=0.0
20:50:45.031          main:::  line 2630  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                       70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   31        31            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   31        31            0         0         0         0
                         in  320.93     seconds
                       Fits light curve has   31.00     counts for  9.6593E-02 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 225.550153127986 and 225.689091219289
20:50:45.031          main:::  line 2633  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
20:50:45.045          main:::  line 2636  INFO   >>  CMD OUT:
                      
20:50:45.050          main:::  line 2792  INFO   >>  Old source area: 706.858347057703
20:50:45.058          main:::  line 2794  INFO   >>  New source area: 671
20:50:45.058          main:::  line 2878  INFO   >>  Calling fcalc to add source radius of 15 to pc_orb2.evt -- fcalc clobber=yes pc_orb2.evt pc_orb2.evt SRCRAD 15
20:50:45.077          main:::  line 2881  INFO   >>  CMD OUT:
                      
20:50:45.077          main:::  line 2917  INFO   >>  The bg region fell off the CCD. I have moved it by (0, -5.1828222222222e-06) pixels
20:50:45.128          main:::  line 2970  INFO   >>  I need an exposure map to get the bg area
20:50:45.128          main:::  line 2987  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef clobber=yes infile=pc_orb2.evt outdir=. stemout=centroid hdfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz attfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz
20:50:45.753          main:::  line 2990  INFO   >>  CMD OUT:
                      --------------------------------------------------------------
                                   Running ' xrtexpomap version 0.3.1 '
                      --------------------------------------------------------------
                      ---------------------------------------------------------------------
                       		Running 'xrtinstrmap_0.3.5'
                      ---------------------------------------------------------------------
                      		 Input Parameters List: 
                      Name of the input Event file             :'pc_orb2.evt'
                      Name of the input region file            :'CALDB'
                      Name of the input HK Header file         :'/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz'
                      Name of the output instrument map file   :'./centroid_rawinstr.img'
                      Check pointing stability?(yes/no)        :'yes'
                      ---------------------------------------------------------------------
                      xrtinstrmap_0.3.5: Info: Processing 'pc_orb2.evt' file.
                      xrtinstrmap_0.3.5: Info: Processing /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz file.
                      xrtinstrmap_0.3.5: Info: Processing '/usr/local/swift/caldb/data/swift/xrt/bcf/instrument/swxregion20010101v004.fits' file.
                      xrtinstrmap_0.3.5: Info: Appended 1 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: File './centroid_rawinstr.img' successfully written.
                      ---------------------------------------------------------------------
                      xrtinstrmap_0.3.5: Exit with success.
                      ---------------------------------------------------------------------
                      swiftxform: running ftcopy
                      swiftxform: verbose: HDU[1] skytime DEFAULT[TMIDDLE] => 792282101.713228
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: running ftchecksum
                       No of detectors read in:   34
                      ![XIMAGE> chat 0          
                      ![XIMAGE> read "./centroid_skyinstr.img+1"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+1
                      ![XIMAGE> save_ima          
                      ![XIMAGE> write_ima/file=\"./centroid_sumskyinstr.img\"          
                      ![XIMAGE> quit
                      ![XIMAGE> exit
                      Tk startup failed: /xtk device unavailable
                      ---------------------------------------------------------------------
                       		Running 'xrtexpocalc_0.1.4'
                      ---------------------------------------------------------------------
                      		 Input Parameters List: 
                      Name of the input Event file             :'./centroid_sumskyinstr.img.gz'
                      Name of the output Event file            :'./centroid_ex.img'
                      ---------------------------------------------------------------------
                      xrtexpocalc_0.1.4: Info: Processing './centroid_sumskyinstr.img.gz' file.
                      xrtexpocalc_0.1.4: Info:File  ./centroid_ex.img successfully written.
                      ---------------------------------------------------------------------
                      xrtexpocalc_0.1.4: Exit with success.
                      ---------------------------------------------------------------------
                      ----------------------------------------------------------
                      xrtexpomap_0.3.1: Exit with success 
                      ------------------------------------------------------------
20:50:45.811  main::calcArea:  line 6894  INFO   >>  Calculate BG area
20:50:45.880  main::calcArea:  line 6905  INFO   >>  CALCAREA: xim is # 81980.000      90365.000      90365.000      0.9072096         0.9072096
Area is 90365.000
20:50:45.880          main:::  line 3002  INFO   >>  calcArea has returned 90365.000
20:50:45.880          main:::  line 3036  INFO   >>  Starting pileup section.
20:50:45.882          main:::  line 3065  INFO   >>  Calling extractor  to get an lc for pup check comm: -- \extractor adjustgti=yes gti=GTI binlc=5 filename=pc_orb2.evt eventsout=NONE imgfile=NONE phafile=NONE fitsbinlc=pcpuptimes.lc xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcsource.reg timefile=NONE lcthresh=0.2
20:50:45.941          main:::  line 3068  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                       70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   31        31            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   31        31            0         0         0         0
                         in  320.93     seconds
                       Fits light curve has   31.00     counts for  9.6593E-02 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 225.550153127986 and 225.689091219289
                       Thresholding removed more than half the bins
                       Try exposure=0.0 on the extract command in xselect
                       or lcthresh=0.0 if running extractor stand-alone
20:50:46.016          main:::  line 3077  INFO   >>  ftlist for puptimes.lc->qdp
20:50:46.016          main:::  line 3078  INFO   >>  CMD OUT:
                      
20:50:46.074          main:::  line 4034  INFO   >>  Done pileup checking
20:50:46.074          main:::  line 4102  INFO   >>  Calling extractor  to make non pupped evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb2.evt eventsout=pcallnonpup2.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcsource.reg timefile=NONE
20:50:46.128          main:::  line 4105  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                       70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   31        31            0         0         0         0
                       Writing events file
                           31 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   31        31            0         0         0         0
                         in  320.93     seconds
20:50:46.128          main:::  line 4118  INFO   >>  Calling extractor  to make non pupped full evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb2.evt eventsout=pcallnonpup2_full.evt imgfile=pcallnonpup2.img phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=NONE timefile=NONE
20:50:46.205          main:::  line 4121  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                 7815      7815            0         0         0         0
                       Writing events file
                         7815 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 7815      7815            0         0         0         0
                         in  320.93     seconds
                       Image            has     7815 counts for   24.35     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 225.550153127986 and 225.689091219289
20:50:46.205          main:::  line 4137  INFO   >>  Calling extractor  to make pcallnonpup2.evt -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb2.evt eventsout=pcallnonpup2.back.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcback.reg timefile=NONE
20:50:46.263          main:::  line 4140  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcback.reg",X,Y)]
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                 2352      2352            0         0         0         0
                       Writing events file
                         2352 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 2352      2352            0         0         0         0
                         in  320.93     seconds
20:50:46.263          main:::  line 4146  INFO   >>  Calling fcalc clobber=yes pcallnonpup2.evt pcallnonpup2.evt PUPRAD "0.00"
20:50:46.280          main:::  line 4149  INFO   >>  CMD OUT:
                      
20:50:46.280          main:::  line 4159  INFO   >>  Calling fcalc clobber=yes pcallnonpup2.back.evt pcallnonpup2.back.evt SRCAREA "671"
20:50:46.298          main:::  line 4162  INFO   >>  CMD OUT:
                      
20:50:46.457          main:::  line 4183  INFO   >>  Got event range of 792281522.364884 - 792282681.071583 from pc_orb2.evt
20:50:46.461          main:::  line 4210  INFO   >>  Calling sky2xy infile=pcallnonpup2.img xsky=99.7456547105 ysky=-13.8400955587
20:50:46.475          main:::  line 4213  INFO   >>  CMD OUT:
                       Input sky coordinates:     9.9745654710500E+01,   -1.3840095558700E+01
                       Output pixel coordinates:     3.4568589994743E+02,    4.6733360000750E+02
20:50:46.481          main:::  line 4257  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef clobber=yes pcnframe=4 wtnframe=10 createinstrmap=yes outinstrfile=DEFAULT lcfile=none regionfile=corr_region_pcallnonpup2.reg outfile=none corrfile=corr_region_pcallnonpup2.fits attfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz hdfile=/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz infile=pcallnonpup2_full.evt
20:50:46.756          main:::  line 4260  INFO   >>  CMD OUT:
                      ---------------------------------------------------------------------
                       		Running 'xrtlccorr_0.4.0'
                      ---------------------------------------------------------------------
                      		 Input Parameters List: 
                      Name of the input Light Curve file       :'none'
                      Name of the input region file            :'corr_region_pcallnonpup2.reg'
                      Name of the output file                  :'corr_region_pcallnonpup2.fits'
                      Name of the input TELDEF file            :'/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20230701v001.teldef'
                      Name of the the input attitude file      :'/scratch/tmp_tileprod_obs_nglxJ/00021909001/auxil/sw00021909001pat.fits.gz'
                      Should aberration be included in aspecting? : no
                      Interpolate Attitude values?             : no
                      Correct for PSF:                         : yes
                      Name of the PSF CALDB file               :'CALDB'
                      Source X coordinate                      : -1.000000 
                      Source Y coordinate                      : -1.000000 
                      Energy value for PSF and Vignetting correction : 1.500000 
                      Name of the output Instrument Map file   :'DEFAULT'
                      Name of the input Event file             :'pcallnonpup2_full.evt'
                      Name of the input FOV region file        :'CALDB'
                      Name of the input HK Header file         :'/scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz'
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Info: Name for the output instrument file is:
                      xrtlccorr_0.4.0: Info: 'corr_region_pcallnonpup2_srawinstr.img'
                      xrtlccorr_0.4.0: Info: Processing 'pcallnonpup2_full.evt' file.
                      xrtlccorr_0.4.0: Info: Processing /scratch/tmp_tileprod_obs_nglxJ/00021909001/xrt/hk/sw00021909001xhd.hk.gz file.
                      xrtlccorr_0.4.0: Info: Processing '/usr/local/swift/caldb/data/swift/xrt/bcf/instrument/swxregion20010101v004.fits' file.
                      xrtlccorr_0.4.0: Info: Processing '/usr/local/swift/caldb/data/swift/xrt/cpf/vign/swxvign20010101v001.fits' CALDB file.
                      xrtlccorr_0.4.0: Info: Creating Raw Instrument Map.
                      xrtlccorr_0.4.0: Info: Appended 1 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 2 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 3 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 4 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 5 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 6 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 7 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 8 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 9 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 10 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 11 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 12 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 13 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 14 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 15 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 16 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 17 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 18 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 19 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 20 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 21 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 22 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 23 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 24 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 25 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 26 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 27 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 28 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 29 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 30 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 31 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 32 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: File 'corr_region_pcallnonpup2_srawinstr.img' successfully written.
                      xrtlccorr_0.4.0: Info: Creating rate correction file.
                      xrtlccorr_0.4.0: Info: The instrument map is corrected for vignetting
                      xrtlccorr_0.4.0: Info: set energy input parameter to 1.500000.
                      xrtlccorr_0.4.0: Info: File 'corr_region_pcallnonpup2.fits' successfully written.
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Exit with success.
                      ---------------------------------------------------------------------
20:50:46.756          main:::  line 4268  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup2.fits outfile=corr_region_pcallnonpup2.fits clname=TIME expr=TSTART rowrange=1-1
20:50:46.769          main:::  line 4271  INFO   >>  CMD OUT:
                      
20:50:46.817          main:::  line 4419  INFO   >>  Using fcalc clobber=yes pcallnonpup2.back.evt pcallnonpup2.back.evt BGAREA "90365.000" to add bg area to list
20:50:46.835          main:::  line 4422  INFO   >>  CMD OUT:
                      
20:50:46.835          main:::  line 4429  INFO   >>  End of orbit, resetting source position to 99.7456547304, -13.840095596
20:50:46.838          main:::  line 4461  INFO   >>  For pc mode there are some bad orbits in this OBSID, so I need to run this loop twice
20:50:46.838          main:::  line 4469  INFO   >>  For pc mode, checking the suffix `` list
20:50:46.842          main:::  line 4482  INFO   >>  Calling extractor  for the total bg file-- extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@pcback.list eventsout=pcbgtotal.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
20:50:46.908          main:::  line 4485  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pcallnonpup0.back.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                10073     10073            0         0         0         0
                       Writing events file
                        10073 events written to the output file
                       Doing file: pcallnonpup1.back.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                 7231      7231            0         0         0         0
                       Writing events file
                        17304 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                17304     17304            0         0         0         0
                         in  1604.7     seconds
20:50:46.908          main:::  line 4491  INFO   >>  Calling extractor  for the total src file-- extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@pcsource.list eventsout=pcsrctotal.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
20:50:46.958          main:::  line 4494  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pcallnonpup0.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                  121       121            0         0         0         0
                       Writing events file
                          121 events written to the output file
                       Doing file: pcallnonpup1.evt
                       20% completed
 40% completed
 50% completed
 70% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   44        44            0         0         0         0
                       Writing events file
                          165 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  165       165            0         0         0         0
                         in  1604.7     seconds
20:50:46.960          main:::  line 4508  INFO   >>  USEREPROC: 1	A: '/swift/data/local_reproc/00021909001 '
20:50:46.960          main:::  line 4513  INFO   >>  Calling fcalc clobber=yes pcsrctotal.evt pcsrctotal.evt OBSDIR "'/swift/data/local_reproc/00021909001 '"
20:50:46.976          main:::  line 4516  INFO   >>  CMD OUT:
                      
20:50:46.976          main:::  line 4469  INFO   >>  For pc mode, checking the suffix `_incbad` list
20:50:46.980          main:::  line 4482  INFO   >>  Calling extractor  for the total bg file-- extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@pcback_incbad.list eventsout=pcbgtotal_incbad.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
20:50:47.045          main:::  line 4485  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pcallnonpup0.back.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                10073     10073            0         0         0         0
                       Writing events file
                        10073 events written to the output file
                       Doing file: pcallnonpup1.back.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                 7231      7231            0         0         0         0
                       Writing events file
                        17304 events written to the output file
                       Doing file: pcallnonpup2.back.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                 2352      2352            0         0         0         0
                       Writing events file
                        19656 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                19656     19656            0         0         0         0
                         in  1925.6     seconds
20:50:47.045          main:::  line 4491  INFO   >>  Calling extractor  for the total src file-- extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@pcsource_incbad.list eventsout=pcsrctotal_incbad.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
20:50:47.100          main:::  line 4494  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pcallnonpup0.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                  121       121            0         0         0         0
                       Writing events file
                          121 events written to the output file
                       Doing file: pcallnonpup1.evt
                       20% completed
 40% completed
 50% completed
 70% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   44        44            0         0         0         0
                       Writing events file
                          165 events written to the output file
                       Doing file: pcallnonpup2.evt
                       70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   31        31            0         0         0         0
                       Writing events file
                          196 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  196       196            0         0         0         0
                         in  1925.6     seconds
20:50:47.102          main:::  line 4508  INFO   >>  USEREPROC: 1	A: '/swift/data/local_reproc/00021909001 '
20:50:47.102          main:::  line 4513  INFO   >>  Calling fcalc clobber=yes pcsrctotal_incbad.evt pcsrctotal_incbad.evt OBSDIR "'/swift/data/local_reproc/00021909001 '"
20:50:47.118          main:::  line 4516  INFO   >>  CMD OUT:
                      
20:50:47.118          main:::  line 4553  INFO   >>  Calling ftmerge @mergein.list pc_corrections.fits
20:50:47.131          main:::  line 4556  INFO   >>  CMD OUT:
                      
20:50:47.131          main:::  line 4597  INFO   >>  Done all modes for this observation
20:50:47.292          main:::  line 4774  INFO   >>  Finished all observations.
20:50:47.292          main:::  line 4791  INFO   >>  There are no bad wt-mode centroids to worry about
20:50:47.292          main:::  line 4787  INFO   >>  Adding _incbad to the datasets to combine
20:50:47.292          main:::  line 4821  INFO   >>  Calling extractor  to merge pc source  event list -- comm=extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@pcallsource.list eventsout=pcsourcetotal.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
20:50:47.340          main:::  line 4824  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: 00021909001/pcsrctotal.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                  165       165            0         0         0         0
                       Writing events file
                          165 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  165       165            0         0         0         0
                         in  1604.7     seconds
20:50:47.389          main:::  line 4855  INFO   >>  Calling fsort to sort pcsourcetotal.evt-- fsort pcsourcetotal.evt+1 TIME heap
20:50:47.403          main:::  line 4858  INFO   >>  CMD OUT:
                      
20:50:47.404          main:::  line 4821  INFO   >>  Calling extractor  to merge pc back  event list -- comm=extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@pcallback.list eventsout=pcbacktotal.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
20:50:47.460          main:::  line 4824  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: 00021909001/pcbgtotal.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                17304     17304            0         0         0         0
                       Writing events file
                        17304 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                17304     17304            0         0         0         0
                         in  1604.7     seconds
20:50:47.515          main:::  line 4855  INFO   >>  Calling fsort to sort pcbacktotal.evt-- fsort pcbacktotal.evt+1 TIME heap
20:50:47.554          main:::  line 4858  INFO   >>  CMD OUT:
                      
20:50:47.652          main:::  line 4821  INFO   >>  Calling extractor  to merge pc source _incbad event list -- comm=extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@pcallsource_incbad.list eventsout=pcsourcetotal_incbad.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
20:50:47.701          main:::  line 4824  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: 00021909001/pcsrctotal_incbad.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                  196       196            0         0         0         0
                       Writing events file
                          196 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  196       196            0         0         0         0
                         in  1925.6     seconds
20:50:47.751          main:::  line 4855  INFO   >>  Calling fsort to sort pcsourcetotal_incbad.evt-- fsort pcsourcetotal_incbad.evt+1 TIME heap
20:50:47.763          main:::  line 4858  INFO   >>  CMD OUT:
                      
20:50:47.764          main:::  line 4821  INFO   >>  Calling extractor  to merge pc back _incbad event list -- comm=extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@pcallback_incbad.list eventsout=pcbacktotal_incbad.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
20:50:47.824          main:::  line 4824  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: 00021909001/pcbgtotal_incbad.evt
                       10% completed
 20% completed
 30% completed
 40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                19656     19656            0         0         0         0
                       Writing events file
                        19656 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                19656     19656            0         0         0         0
                         in  1925.6     seconds
20:50:47.876          main:::  line 4855  INFO   >>  Calling fsort to sort pcbacktotal_incbad.evt-- fsort pcbacktotal_incbad.evt+1 TIME heap
20:50:47.918          main:::  line 4858  INFO   >>  CMD OUT:
                      
20:50:48.023          main:::  line 4918  INFO   >>  Copying 00021909001/pc_corrections.fits to pccorr.fits
20:50:48.024          main:::  line 4934  INFO   >>  Calling fsort to sort pccorr.fits-- fsort pccorr.fits+1 TIME heap
20:50:48.037          main:::  line 4937  INFO   >>  CMD OUT:
                      
20:50:48.037          main:::  line 4976  INFO   >>  Forcing wtstop to be the forced value: 1e+80 (0)
20:50:48.491          main:::  line 5177  INFO   >>  Calling genlc. Command is genlc_v1.4  -g -- 0 0 1e+80 33067.9829319715 45512.0715830326 30 1000 0 12 30 150 151 1000 1 0 1 1 2.4 15 3  30 20 0.5 2.51 15 1.5 10 100000000 100000000 100000000 86400 1.5 -1000 -1
20:50:48.617          main:::  line 5337  INFO   >>  TSOFT2 is 1.5, match was 1.5
20:50:48.622          main:::  line 5605  INFO   >>  Calling curvegen.pl-- curvegen_cpp.pl --mission=Fermi/LAT   -b -xy "GRB 260208B - source 25" 0.3 10 0.3 1.5 1.51 10 0 '{00021909}' 792237169 
20:50:50.121          main:::  line 5608  INFO   >>  CMD OUT:
                      **** Running swifttime v1.8 ****
                      Clock offset could not be determined from /usr/local/swift/caldb/data/swift/mis/bcf/clock/swclockcor20041120v168.fits+1
                      Cannot extrapolate clock correction by 160.4 days (exceeds parameter value: 90.0 days)
                      Converted time: 2026Feb08 at 09:52:44.000UTC
                      Spacecraft clock correction (INDEF) was NOT applied
                      **** Running swifttime v1.8 ****
                      Clock offset could not be determined from /usr/local/swift/caldb/data/swift/mis/bcf/clock/swclockcor20041120v168.fits+1
                      Cannot extrapolate clock correction by 160.4 days (exceeds parameter value: 90.0 days)
                      Converted time: 61079.4116203703743
                      Spacecraft clock correction (INDEF) was NOT applied
                      cat: WTSLEWCURVE_incbad.qdp: No such file or directory
                      cat: WTCURVE_incbad.qdp: No such file or directory
                      cat: WTSLEWUL_incbad.qdp: No such file or directory
                      cat: WTUL_incbad.qdp: No such file or directory
                      cat: WTSLEWCURVE.qdp: No such file or directory
                      cat: WTCURVE.qdp: No such file or directory
                      cat: WTSLEWUL.qdp: No such file or directory
                      cat: WTUL.qdp: No such file or directory
                      **** Running swifttime v1.8 ****
                      Clock offset could not be determined from /usr/local/swift/caldb/data/swift/mis/bcf/clock/swclockcor20041120v168.fits+1
                      Cannot extrapolate clock correction by 160.8 days (exceeds parameter value: 90.0 days)
                      Converted time: 61079.8013833564764
                      Spacecraft clock correction (INDEF) was NOT applied
                      PLT> @qdp_incbad.pco
                      !PLT> skip on
                      !PLT> mark off
                      !PLT> log x on
                      !PLT> log y on
                      !PLT> la pos y 3.5
                      !PLT> la rotate
                      !PLT> time off
                      !PLT> la t Swift/XRT data of GRB 260208B - source 25
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT>
                      !PLT> la x Time since Fermi/LAT trigger (s)
                      !PLT>
                      !PLT> la y Count Rate (0.3-10 keV) (s\u-1\d)
                      !PLT> la f red: PC
                      !PLT> r 23147.5881 54614.4864 0.00462812 0.0905575
                      !PLT> time off
                      !PLT> col 2 on 1
                      !PLT> ma 31 on 1
                      !PLT> mar si 4 on 1
                      !PLT> plot
                      !PLT> hard curve_incbad.ps/CPS
                      !PLT> q
                      PLT> @qdp2_incbad.pco
                      !PLT> skip on
                      !PLT> mark off
                      !PLT> log x on
                      !PLT> log y on
                      !PLT> la pos y 3.5
                      !PLT> la rotate
                      !PLT> time off
                      !PLT> la t Swift/XRT data of GRB 260208B - source 25
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT> col 2 on 1
                      !PLT> ma 31 on 1
                      !PLT> mar si 4 on 1
                      !PLT> col 3 on 2
                      !PLT> col 2 on 3
                      !PLT> win 1
                      !PLT> r 23147.5881 54614.4864 0.01047585 0.0905575
                      !PLT> time off
                      !PLT> loc 0 0.349999999994 1 1
                      !PLT> win 2
                      !PLT> r 23147.5881 54614.4864 0 1.2
                      !PLT> time off
                      !PLT> loc 0 0.0799999982 1 0.449999988
                      !PLT> log y off
                      !PLT> yplot 3
                      !PLT> mark 1 on 3
                      !PLT> mark size 0.001 on 3
                      !PLT> win all
                      !PLT> la x
                      !PLT> la nx off
                      !PLT> win 1
                      !PLT> la y Count Rate (0.3-10 keV) (s\u-1\d)
                      !PLT> la f red: PC  :: green: PC
                      !PLT> win 2
                      !PLT> la y Frac. Exp
                      !PLT> la x Time since Fermi/LAT trigger (s)
                      !PLT>
                      !PLT> plot
                      !PLT> hard curve2_incbad.ps/CPS
                      !PLT> q
                      PLT> @qdp_nosys_incbad.pco
                      !PLT> skip on
                      !PLT> mark off
                      !PLT> log x on
                      !PLT> log y on
                      !PLT> la pos y 3.5
                      !PLT> la rotate
                      !PLT> time off
                      !PLT> la t Swift/XRT data of GRB 260208B - source 25
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT>
                      !PLT> la x Time since Fermi/LAT trigger (s)
                      !PLT>
                      !PLT> la y Count Rate (0.3-10 keV) (s\u-1\d)
                      !PLT> la f red: PC
                      !PLT> r 23147.5881 54614.4864 0.00462812 0.0905575
                      !PLT> time off
                      !PLT> col 2 on 1
                      !PLT> ma 31 on 1
                      !PLT> mar si 4 on 1
                      !PLT> plot
                      !PLT> hard curve_nosys_incbad.ps/CPS
                      !PLT> q
                      PLT> @qdp2_nosys_incbad.pco
                      !PLT> skip on
                      !PLT> mark off
                      !PLT> log x on
                      !PLT> log y on
                      !PLT> la pos y 3.5
                      !PLT> la rotate
                      !PLT> time off
                      !PLT> la t Swift/XRT data of GRB 260208B - source 25
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT> col 2 on 1
                      !PLT> ma 31 on 1
                      !PLT> mar si 4 on 1
                      !PLT> col 3 on 2
                      !PLT> col 2 on 3
                      !PLT> win 1
                      !PLT> r 23147.5881 54614.4864 0.01047585 0.0905575
                      !PLT> time off
                      !PLT> loc 0 0.349999999994 1 1
                      !PLT> win 2
                      !PLT> r 23147.5881 54614.4864 0 1.2
                      !PLT> time off
                      !PLT> loc 0 0.0799999982 1 0.449999988
                      !PLT> log y off
                      !PLT> yplot 3
                      !PLT> mark 1 on 3
                      !PLT> mark size 0.001 on 3
                      !PLT> win all
                      !PLT> la x
                      !PLT> la nx off
                      !PLT> win 1
                      !PLT> la y Count Rate (0.3-10 keV) (s\u-1\d)
                      !PLT> la f red: PC  :: green: PC
                      !PLT> win 2
                      !PLT> la y Frac. Exp
                      !PLT> la x Time since Fermi/LAT trigger (s)
                      !PLT>
                      !PLT> plot
                      !PLT> hard curve2_nosys_incbad.ps/CPS
                      !PLT> q
                       No data found.
                       No data found.
                      PLT> @qdp.pco
                      !PLT> skip on
                      !PLT> mark off
                      !PLT> log x on
                      !PLT> log y on
                      !PLT> la pos y 3.5
                      !PLT> la rotate
                      !PLT> time off
                      !PLT> la t Swift/XRT data of GRB 260208B - source 25
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT>
                      !PLT> la x Time since Fermi/LAT trigger (s)
                      !PLT>
                      !PLT> la y Count Rate (0.3-10 keV) (s\u-1\d)
                      !PLT> la f red: PC
                      !PLT> r 16203.31167 65537.38368 0.003239684 0.203302
                      !PLT> time off
                      !PLT> col 2 on 1
                      !PLT> ma 31 on 1
                      !PLT> mar si 4 on 1
                      !PLT> plot
                      !PLT> hard curve.ps/CPS
                      !PLT> q
                      PLT> @qdp2.pco
                      !PLT> skip on
                      !PLT> mark off
                      !PLT> log x on
                      !PLT> log y on
                      !PLT> la pos y 3.5
                      !PLT> la rotate
                      !PLT> time off
                      !PLT> la t Swift/XRT data of GRB 260208B - source 25
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT> col 2 on 1
                      !PLT> ma 31 on 1
                      !PLT> mar si 4 on 1
                      !PLT> col 3 on 2
                      !PLT> col 2 on 3
                      !PLT> win 1
                      !PLT> r 16203.31167 65537.38368 0.007333095 0.203302
                      !PLT> time off
                      !PLT> loc 0 0.349999999994 1 1
                      !PLT> win 2
                      !PLT> r 16203.31167 65537.38368 0 1.2
                      !PLT> time off
                      !PLT> loc 0 0.0799999982 1 0.449999988
                      !PLT> log y off
                      !PLT> yplot 3
                      !PLT> mark 1 on 3
                      !PLT> mark size 0.001 on 3
                      !PLT> win all
                      !PLT> la x
                      !PLT> la nx off
                      !PLT> win 1
                      !PLT> la y Count Rate (0.3-10 keV) (s\u-1\d)
                      !PLT> la f red: PC  :: green: PC
                      !PLT> win 2
                      !PLT> la y Frac. Exp
                      !PLT> la x Time since Fermi/LAT trigger (s)
                      !PLT>
                      !PLT> plot
                      !PLT> hard curve2.ps/CPS
                      !PLT> q
                      PLT> @qdp_nosys.pco
                      !PLT> skip on
                      !PLT> mark off
                      !PLT> log x on
                      !PLT> log y on
                      !PLT> la pos y 3.5
                      !PLT> la rotate
                      !PLT> time off
                      !PLT> la t Swift/XRT data of GRB 260208B - source 25
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT>
                      !PLT> la x Time since Fermi/LAT trigger (s)
                      !PLT>
                      !PLT> la y Count Rate (0.3-10 keV) (s\u-1\d)
                      !PLT> la f red: PC
                      !PLT> r 16203.31167 65537.38368 0.003239684 0.203302
                      !PLT> time off
                      !PLT> col 2 on 1
                      !PLT> ma 31 on 1
                      !PLT> mar si 4 on 1
                      !PLT> plot
                      !PLT> hard curve_nosys.ps/CPS
                      !PLT> q
                      PLT> @qdp2_nosys.pco
                      !PLT> skip on
                      !PLT> mark off
                      !PLT> log x on
                      !PLT> log y on
                      !PLT> la pos y 3.5
                      !PLT> la rotate
                      !PLT> time off
                      !PLT> la t Swift/XRT data of GRB 260208B - source 25
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT> col 2 on 1
                      !PLT> ma 31 on 1
                      !PLT> mar si 4 on 1
                      !PLT> col 3 on 2
                      !PLT> col 2 on 3
                      !PLT> win 1
                      !PLT> r 16203.31167 65537.38368 0.007333095 0.203302
                      !PLT> time off
                      !PLT> loc 0 0.349999999994 1 1
                      !PLT> win 2
                      !PLT> r 16203.31167 65537.38368 0 1.2
                      !PLT> time off
                      !PLT> loc 0 0.0799999982 1 0.449999988
                      !PLT> log y off
                      !PLT> yplot 3
                      !PLT> mark 1 on 3
                      !PLT> mark size 0.001 on 3
                      !PLT> win all
                      !PLT> la x
                      !PLT> la nx off
                      !PLT> win 1
                      !PLT> la y Count Rate (0.3-10 keV) (s\u-1\d)
                      !PLT> la f red: PC  :: green: PC
                      !PLT> win 2
                      !PLT> la y Frac. Exp
                      !PLT> la x Time since Fermi/LAT trigger (s)
                      !PLT>
                      !PLT> plot
                      !PLT> hard curve2_nosys.ps/CPS
                      !PLT> q
                       No data found.
                       No data found.
20:50:50.121          main:::  line 5666  INFO   >>  We have PC normal and incbad, checking the differences.
20:50:50.136          main:::  line 5721  INFO   >>  CMD OUT:
                      renamed 'PCHR_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PCHR_incbad.qdp'
                      renamed 'PCHR.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PCHR.qdp'
                      renamed 'PC_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PC_incbad.qdp'
                      renamed 'PCNOSYS_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PCNOSYS_incbad.qdp'
                      renamed 'PCNOSYS.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PCNOSYS.qdp'
                      renamed 'PC.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PC.qdp'
                      renamed 'PCUL_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PCUL_incbad.qdp'
                      renamed 'PCULNOSYS_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PCULNOSYS_incbad.qdp'
                      renamed 'PCULNOSYS.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PCULNOSYS.qdp'
                      renamed 'PCUL.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PCUL.qdp'
                      mv: cannot stat 'WT*.qdp': No such file or directory
                      renamed 'PLOT2PCUL_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PLOT2PCUL_incbad.qdp'
                      renamed 'PLOT2PCUL.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PLOT2PCUL.qdp'
                      renamed 'PLOTPCUL_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PLOTPCUL_incbad.qdp'
                      renamed 'PLOTPCUL.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/PLOTPCUL.qdp'
                      mv: cannot stat 'dumpedFE.dat': No such file or directory
                      mv: cannot stat 'dumpedWT.dat': No such file or directory
                      renamed 'curve2_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_incbad.qdp'
                      renamed 'curve2_nosys_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_nosys_incbad.qdp'
                      renamed 'curve2_nosys.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_nosys.qdp'
                      renamed 'curve2_plot_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_plot_incbad.qdp'
                      renamed 'curve2_plot_nosys_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_plot_nosys_incbad.qdp'
                      renamed 'curve2_plot_nosys.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_plot_nosys.qdp'
                      renamed 'curve2_plot.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_plot.qdp'
                      renamed 'curve2.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2.qdp'
                      renamed 'curve_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_incbad.qdp'
                      renamed 'curve_nosys_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_nosys_incbad.qdp'
                      renamed 'curve_nosys.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_nosys.qdp'
                      renamed 'curve_plot_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_plot_incbad.qdp'
                      renamed 'curve_plot_nosys_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_plot_nosys_incbad.qdp'
                      renamed 'curve_plot_nosys.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_plot_nosys.qdp'
                      renamed 'curve_plot.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_plot.qdp'
                      renamed 'curve.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve.qdp'
                      renamed 'hardrat_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/hardrat_incbad.qdp'
                      renamed 'hardrat_nosys_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/hardrat_nosys_incbad.qdp'
                      renamed 'hardrat_nosys_plot_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/hardrat_nosys_plot_incbad.qdp'
                      renamed 'hardrat_nosys_plot.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/hardrat_nosys_plot.qdp'
                      renamed 'hardrat_nosys.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/hardrat_nosys.qdp'
                      renamed 'hardrat_plot_incbad.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/hardrat_plot_incbad.qdp'
                      renamed 'hardrat_plot.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/hardrat_plot.qdp'
                      renamed 'hardrat.qdp' -> '/scratch/tmp_tileprod_prods_2r4_s/hardrat.qdp'
                      mv: cannot stat 'wt*.evt': No such file or directory
                      renamed 'curve2_plain.dat' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_plain.dat'
                      renamed 'curve2_plain_incbad.dat' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_plain_incbad.dat'
                      renamed 'curve2_plain_nosys.dat' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_plain_nosys.dat'
                      renamed 'curve2_plain_nosys_incbad.dat' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_plain_nosys_incbad.dat'
                      renamed 'curve_plain.dat' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_plain.dat'
                      renamed 'curve_plain_incbad.dat' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_plain_incbad.dat'
                      renamed 'curve_plain_nosys.dat' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_plain_nosys.dat'
                      renamed 'curve_plain_nosys_incbad.dat' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_plain_nosys_incbad.dat'
                      renamed 'hardrat_plain.dat' -> '/scratch/tmp_tileprod_prods_2r4_s/hardrat_plain.dat'
                      renamed 'hardrat_plain_incbad.dat' -> '/scratch/tmp_tileprod_prods_2r4_s/hardrat_plain_incbad.dat'
                      renamed 'wt_orbit_pos.dat' -> '/scratch/tmp_tileprod_prods_2r4_s/wt_orbit_pos.dat'
                      renamed 'hr.pco' -> '/scratch/tmp_tileprod_prods_2r4_s/hr.pco'
                      renamed 'qdp2_incbad.pco' -> '/scratch/tmp_tileprod_prods_2r4_s/qdp2_incbad.pco'
                      renamed 'qdp2_nosys_incbad.pco' -> '/scratch/tmp_tileprod_prods_2r4_s/qdp2_nosys_incbad.pco'
                      renamed 'qdp2_nosys.pco' -> '/scratch/tmp_tileprod_prods_2r4_s/qdp2_nosys.pco'
                      renamed 'qdp2.pco' -> '/scratch/tmp_tileprod_prods_2r4_s/qdp2.pco'
                      renamed 'qdp_incbad.pco' -> '/scratch/tmp_tileprod_prods_2r4_s/qdp_incbad.pco'
                      renamed 'qdp_nosys_incbad.pco' -> '/scratch/tmp_tileprod_prods_2r4_s/qdp_nosys_incbad.pco'
                      renamed 'qdp_nosys.pco' -> '/scratch/tmp_tileprod_prods_2r4_s/qdp_nosys.pco'
                      renamed 'qdp.pco' -> '/scratch/tmp_tileprod_prods_2r4_s/qdp.pco'
                      mv: cannot stat 'ratio*.ps': No such file or directory
                      mv: cannot stat 'ratio*.gif': No such file or directory
                      renamed 'pcbacktotal.evt' -> '/scratch/tmp_tileprod_prods_2r4_s/pcbacktotal.evt'
                      renamed 'pcbacktotal_incbad.evt' -> '/scratch/tmp_tileprod_prods_2r4_s/pcbacktotal_incbad.evt'
                      renamed 'pcsourcetotal.evt' -> '/scratch/tmp_tileprod_prods_2r4_s/pcsourcetotal.evt'
                      renamed 'pcsourcetotal_incbad.evt' -> '/scratch/tmp_tileprod_prods_2r4_s/pcsourcetotal_incbad.evt'
                      renamed 'curve2_incbad.ps' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_incbad.ps'
                      renamed 'curve2_nosys_incbad.ps' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_nosys_incbad.ps'
                      renamed 'curve2_nosys.ps' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_nosys.ps'
                      renamed 'curve2.ps' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2.ps'
                      renamed 'curve_incbad.ps' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_incbad.ps'
                      renamed 'curve_nosys_incbad.ps' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_nosys_incbad.ps'
                      renamed 'curve_nosys.ps' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_nosys.ps'
                      renamed 'curve.ps' -> '/scratch/tmp_tileprod_prods_2r4_s/curve.ps'
                      renamed 'curve2.gif' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2.gif'
                      renamed 'curve2_incbad.gif' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_incbad.gif'
                      renamed 'curve2_nosys.gif' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_nosys.gif'
                      renamed 'curve2_nosys_incbad.gif' -> '/scratch/tmp_tileprod_prods_2r4_s/curve2_nosys_incbad.gif'
                      renamed 'curve.gif' -> '/scratch/tmp_tileprod_prods_2r4_s/curve.gif'
                      renamed 'curve_incbad.gif' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_incbad.gif'
                      renamed 'curve_nosys.gif' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_nosys.gif'
                      renamed 'curve_nosys_incbad.gif' -> '/scratch/tmp_tileprod_prods_2r4_s/curve_nosys_incbad.gif'
                      mv: cannot stat 'curve_nosys.ps': No such file or directory
                      mv: cannot stat 'curve_nosys.gif': No such file or directory
                      mv: cannot stat 'curve_plain_nosys.dat': No such file or directory
                      mv: cannot stat 'qdp_nosys.pco': No such file or directory
                      mv: cannot stat 'curve2_nosys.gif': No such file or directory
                      mv: cannot stat 'curve2_nosys.ps': No such file or directory
                      mv: cannot stat 'curve2_nosys.qdp': No such file or directory
                      mv: cannot stat 'curve2_plain_nosys.dat': No such file or directory
                      mv: cannot stat 'qdp2_nosys.pco': No such file or directory
                      mv: cannot stat 'deep.img.gz': No such file or directory
                      mv: cannot stat 'hard.img.gz': No such file or directory
                      mv: cannot stat 'soft.img.gz': No such file or directory
                      mv: cannot stat 'deepon.txt': No such file or directory
                      mv: cannot stat 'deep.png': No such file or directory
                      renamed 'obstimes.txt' -> '/scratch/tmp_tileprod_prods_2r4_s/obstimes.txt'
                      mv: cannot stat 'unsortedobstimes.txt': No such file or directory
                      renamed 'GRB_info.txt' -> '/scratch/tmp_tileprod_prods_2r4_s/GRB_info.txt'
                      renamed 'allpcback.area' -> '/scratch/tmp_tileprod_prods_2r4_s/allpcback.area'
                      mv: cannot stat '*puptimes*': No such file or directory
                      mv: cannot stat 'rgb.png': No such file or directory
                      mv: cannot stat 'pcimage.evt*': No such file or directory
                      mv: cannot stat 'pc.lc': No such file or directory
                      mv: cannot stat 'wt.lc': No such file or directory
                      mv: cannot stat 'pchr.lc': No such file or directory
                      mv: cannot stat 'wthr.lc': No such file or directory
                      renamed 'curvegen.log' -> '/scratch/tmp_tileprod_prods_2r4_s/curvegen.log'
                      renamed 'genlc.log' -> '/scratch/tmp_tileprod_prods_2r4_s/genlc.log'
                      mv: cannot stat 'wtslew_info.txt': No such file or directory
                      mv: cannot stat 'events.txt': No such file or directory
                      mv: cannot stat 'WTSLEW*': No such file or directory
                      renamed 'pccorr.fits' -> '/scratch/tmp_tileprod_prods_2r4_s/pccorr.fits'
                      mv: cannot stat 'wtcorr.fits': No such file or directory
                      mv: cannot stat 'wtsys.fits': No such file or directory
                      renamed 'pc_bad_orb.txt' -> '/scratch/tmp_tileprod_prods_2r4_s/pc_bad_orb.txt'
                      mv: cannot stat 'detxvtime.qdp': No such file or directory
                      mv: cannot stat 'wt_orbit_pos.dat': No such file or directory
                      mv: cannot stat 'sys_time.gif': No such file or directory
                      mv: cannot stat 'sys_time.ps': No such file or directory
                      mv: cannot stat 'sys.pco': No such file or directory
                      renamed 'pcbaddiff.txt' -> '/scratch/tmp_tileprod_prods_2r4_s/pcbaddiff.txt'
                      mv: cannot stat 'wt_sys_plot.qdp': No such file or directory
                      renamed 't0.date' -> '/scratch/tmp_tileprod_prods_2r4_s/t0.date'
                      renamed 'curve.jsp' -> '/scratch/tmp_tileprod_prods_2r4_s/curve.jsp'
                      renamed 'enrange.jsp' -> '/scratch/tmp_tileprod_prods_2r4_s/enrange.jsp'
                      renamed 'hr.jsp' -> '/scratch/tmp_tileprod_prods_2r4_s/hr.jsp'
                      mv: cannot stat 'MISSION': No such file or directory
                      mv: cannot stat 'XLOG': No such file or directory
                      mv: cannot stat 'YLOG': No such file or directory
                      renamed 'TIMEFORMAT' -> '/scratch/tmp_tileprod_prods_2r4_s/TIMEFORMAT'
20:50:50.739          main:::  line 5751  INFO   >>  Complete. Leaving it there.
20:50:50.739          main:::  line 5767  INFO   >>  xrt_lc_gen finished at 2026-02-09 T 20:50:50
