16:19:54.771 UKSSDC::Logging::CREATE_LOG:  line  105  INFO   >>  /swift/srv/autoproc/bin/xrt_lc_gen called at `2025 Aug 12 at 15:19:54 UT` on `fireball.star.le.ac.uk`
16:19:54.772          main:::  line  898  INFO   >>  xrt_lc_gen called at 2025-08-12 T 16:19:54
16:19:54.772          main:::  line  900  INFO   >>  Arg list was `-s wtstop=3000 maxpcgap=864000 makeimg=no prods=/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f work=/fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO web=0 clobber=yes obsdir=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl name=GRB211025A mission=BAT stem=01081113`, BAYES IS 0
16:19:54.772          main:::  line  904  INFO   >>  WILL CREATE SETTLING DATA
16:19:54.772          main:::  line  956  INFO   >>  Checking obsdir `/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl` for observations with stem 01081113
16:19:54.773          main:::  line  960  INFO   >>  Found observation dir `/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000`
16:19:54.773          main:::  line  985  INFO   >>  Investigating /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event
16:19:54.773          main:::  line  995  INFO   >>  01081113000 is a tdrss directory
16:19:54.773          main:::  line  960  INFO   >>  Found observation dir `/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001`
16:19:54.774          main:::  line  985  INFO   >>  Investigating /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/event
16:19:54.774          main:::  line  960  INFO   >>  Found observation dir `/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003`
16:19:54.774          main:::  line  985  INFO   >>  Investigating /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/event
16:19:54.775          main:::  line  960  INFO   >>  Found observation dir `/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004`
16:19:54.775          main:::  line  985  INFO   >>  Investigating /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/event
16:19:54.775          main:::  line  960  INFO   >>  Found observation dir `/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005`
16:19:54.775          main:::  line  985  INFO   >>  Investigating /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/event
16:19:54.776          main:::  line 1000  INFO   >>  Found 5 observations
16:19:54.776          main:::  line 1012  INFO   >>  Obs Stem is 01081113. There are 5 observations, which are:
01081113000
01081113001
01081113003
01081113004
01081113005
16:19:54.776          main:::  line 1041  INFO   >>  Going to look in 01081113000 for an event file
16:19:54.776    main::getevt:  line 5803  INFO   >>  Got event file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_cl.evt.gz
16:19:54.883          main:::  line 1058  INFO   >>  ============ LAST SEQUENCE IS OBS 01081113000, PROCNUM 8 ==========
16:19:54.883          main:::  line 1062  INFO   >>  Getting teldef file for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_cl.evt.gz
16:19:54.903          main:::  line 1082  INFO   >>  SELECTED TELDEF: /usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef
16:19:54.903          main:::  line 1103  INFO   >>  Going to look for RA, Dec etc.
16:19:54.903 main::getradectrig:  line 5914  INFO   >>  Looking for T0 from TDRSS in /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/tdrss
16:19:55.003 main::getradectrig:  line 5927  INFO   >>  Found T0 of 656831448 from tdrss directory
16:19:55.011 main::getradectrig:  line 5976  INFO   >>  Got RA: 162.38408	Dec: 31.51285
16:19:55.303          main:::  line 1195  INFO   >>  Centroiding
16:19:55.304    main::getevt:  line 5803  INFO   >>  Got event file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_cl.evt.gz
16:19:55.304          main:::  line 1217  INFO   >>  Trying to centroid on 01081113000 - using detmeth = 2
16:19:55.304 UKSSDC::Centroid::DETECT_XRT:  line   79  INFO   >>  As centMeth==2, calling PSF_DETECT with RA=162.38408, Dec=31.51285, inRad=240, obsDir=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl
16:19:55.304 UKSSDC::Centroid::PSF_DETECT:  line  432  INFO   >>  Using psf_centroid to find sources and report that nearest to (162.38408, 31.51285).
16:19:55.304 UKSSDC::Centroid::makeExpoImage:  line  647  INFO   >>  Creating exposure map image for observations: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_cl.evt.gz
16:19:55.398 UKSSDC::Centroid::makeExpoImage:  line  688  INFO   >>  Grabbing exposure map for `01081113000` from the archive: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_vignet_ex.img.gz
16:19:55.433 UKSSDC::Centroid::makeExpoImage:  line  750  INFO   >>  Calling extractor to create the image: `extractor adjustgti=yes gti=GTI copyall=yes clobber=yes filename=@tmp_xim_wgaEJ.tmp eventsout=NONE imgfile=centroid.img fitsbinlc=NONE phafile=NONE regionfile=NONE timefile=NONE xcolf=X ycolf=Y tcol=TIME`
16:19:55.560 UKSSDC::Centroid::makeExpoImage:  line  762  INFO   >>  Getting CRVAL1 from centroid.img
16:19:55.658 UKSSDC::Centroid::makeExpoImage:  line  771  INFO   >>  Getting CRVAL2 from centroid.img
16:19:55.758 UKSSDC::Centroid::makeExpoImage:  line  779  INFO   >>  Now I need to shift all exposure maps to WCS ref (`162.3692`, `31.57026`)
16:19:55.758 UKSSDC::Centroid::makeExpoImage:  line  797  INFO   >>  Calling `sumImages tmp_ximE_b8_k9.tmp centroid_ex.img` to sum exposure maps
16:19:55.930 UKSSDC::Centroid::makeExpoImage:  line  810  INFO   >>  RADECSYS keyword of the first exposure map is `'FK5'`
16:19:56.145 UKSSDC::Centroid::PSF_DETECT:  line  449  INFO   >>  Calling `psf_centroid_expomap_v2.7 -p swxpsf20010101v006_rc2.fits -w -B -1 -S -T -v -s 1,1.5,10  -d -q  -m centroid_ex.img centroid.img  > centroid.cent 2> temp.out `
16:20:01.676 UKSSDC::Centroid::PSF_DETECT:  line  472  INFO   >>  Source at (162.3842248046,31.5128553311) is 0.444831478457223" from input position
16:20:01.676 UKSSDC::Centroid::PSF_DETECT:  line  480  INFO   >>       - within seach area: checking if it's the highest SNR (is 14.6274510710, max -1)
16:20:01.676 UKSSDC::Centroid::PSF_DETECT:  line  488  INFO   >>      It is, accepting this source for now
16:20:01.676 UKSSDC::Centroid::PSF_DETECT:  line  472  INFO   >>  Source at (162.4042662048,31.5300814367) is 87.6675369589763" from input position
16:20:01.676 UKSSDC::Centroid::PSF_DETECT:  line  480  INFO   >>       - within seach area: checking if it's the highest SNR (is 2.1346367722, max 14.6274510710)
16:20:01.676          main:::  line 1227  INFO   >>  Found the source in obs 01081113000
16:20:01.676          main:::  line 1315  INFO   >>  Need to build a deep image to check for any other sources.
16:20:01.677    main::getevt:  line 5803  INFO   >>  Got event file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_cl.evt.gz
16:20:01.677    main::getevt:  line 5803  INFO   >>  Got event file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/event/sw01081113001xpcw3po_cl.evt.gz
16:20:01.678    main::getevt:  line 5803  INFO   >>  Got event file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/event/sw01081113003xpcw3po_cl.evt.gz
16:20:01.678    main::getevt:  line 5803  INFO   >>  Got event file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/event/sw01081113004xpcw3po_cl.evt.gz
16:20:01.679    main::getevt:  line 5803  INFO   >>  Got event file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/event/sw01081113005xpcw3po_cl.evt.gz
16:20:01.679          main:::  line 1332  INFO   >>  Looking for other sources in a stacked image.
16:20:01.679 UKSSDC::Centroid::DETECT_XRT:  line   79  INFO   >>  As centMeth==2, calling PSF_DETECT with RA=-162.3842248046, Dec=31.5128553311, inRad=240, obsDir=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl
16:20:01.679 UKSSDC::Centroid::PSF_DETECT:  line  432  INFO   >>  Using psf_centroid to find sources and report that nearest to (-162.3842248046, 31.5128553311).
16:20:01.679 UKSSDC::Centroid::makeExpoImage:  line  647  INFO   >>  Creating exposure map image for observations: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_cl.evt.gz, /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/event/sw01081113001xpcw3po_cl.evt.gz, /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/event/sw01081113003xpcw3po_cl.evt.gz, /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/event/sw01081113004xpcw3po_cl.evt.gz, /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/event/sw01081113005xpcw3po_cl.evt.gz
16:20:01.764 UKSSDC::Centroid::makeExpoImage:  line  688  INFO   >>  Grabbing exposure map for `01081113000` from the archive: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_vignet_ex.img.gz
16:20:01.875 UKSSDC::Centroid::makeExpoImage:  line  688  INFO   >>  Grabbing exposure map for `01081113001` from the archive: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/event/sw01081113001xpcw3po_vignet_ex.img.gz
16:20:02.022 UKSSDC::Centroid::makeExpoImage:  line  688  INFO   >>  Grabbing exposure map for `01081113003` from the archive: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/event/sw01081113003xpcw3po_vignet_ex.img.gz
16:20:02.161 UKSSDC::Centroid::makeExpoImage:  line  688  INFO   >>  Grabbing exposure map for `01081113004` from the archive: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/event/sw01081113004xpcw3po_vignet_ex.img.gz
16:20:02.289 UKSSDC::Centroid::makeExpoImage:  line  688  INFO   >>  Grabbing exposure map for `01081113005` from the archive: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/event/sw01081113005xpcw3po_vignet_ex.img.gz
16:20:02.320 UKSSDC::Centroid::makeExpoImage:  line  750  INFO   >>  Calling extractor to create the image: `extractor adjustgti=yes gti=GTI copyall=yes clobber=yes filename=@tmp_xim_PBNhS.tmp eventsout=NONE imgfile=centroid.img fitsbinlc=NONE phafile=NONE regionfile=NONE timefile=NONE xcolf=X ycolf=Y tcol=TIME`
16:20:02.510 UKSSDC::Centroid::makeExpoImage:  line  762  INFO   >>  Getting CRVAL1 from centroid.img
16:20:02.593 UKSSDC::Centroid::makeExpoImage:  line  771  INFO   >>  Getting CRVAL2 from centroid.img
16:20:02.678 UKSSDC::Centroid::makeExpoImage:  line  779  INFO   >>  Now I need to shift all exposure maps to WCS ref (`162.3692`, `31.57026`)
16:20:02.678 UKSSDC::Centroid::makeExpoImage:  line  797  INFO   >>  Calling `sumImages tmp_ximE_t29bB.tmp centroid_ex.img` to sum exposure maps
16:20:02.979 UKSSDC::Centroid::makeExpoImage:  line  810  INFO   >>  RADECSYS keyword of the first exposure map is `'FK5'`
16:20:03.174 UKSSDC::Centroid::PSF_DETECT:  line  449  INFO   >>  Calling `psf_centroid_expomap_v2.7 -p swxpsf20010101v006_rc2.fits -w -B -1 -S -T -v -s 2,3,10  -d -q  -m centroid_ex.img centroid.img  > centroid.cent 2> temp.out `
16:20:13.675 UKSSDC::Centroid::PSF_DETECT:  line  472  INFO   >>  Source at (162.3836141963,31.5123626428) is 2.58028193338718" from input position
16:20:13.675 UKSSDC::Centroid::PSF_DETECT:  line  480  INFO   >>       - within seach area: checking if it's the highest SNR (is 20.0224827108, max -1)
16:20:13.675 UKSSDC::Centroid::PSF_DETECT:  line  488  INFO   >>      It is, accepting this source for now
16:20:13.675 UKSSDC::Centroid::PSF_DETECT:  line  472  INFO   >>  Source at (162.3329579169,31.5872814757) is 310.685634533821" from input position
16:20:13.675 UKSSDC::Centroid::PSF_DETECT:  line  477  INFO   >>      - outside search box, skipping
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  472  INFO   >>  Source at (162.2481305022,31.5576812332) is 447.680735478076" from input position
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  477  INFO   >>      - outside search box, skipping
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  472  INFO   >>  Source at (162.2644507856,31.5552478827) is 397.940347000025" from input position
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  477  INFO   >>      - outside search box, skipping
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  472  INFO   >>  Source at (162.4119360657,31.3819925901) is 478.731701341897" from input position
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  477  INFO   >>      - outside search box, skipping
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  472  INFO   >>  Source at (162.3150618337,31.5880758441) is 344.020687621475" from input position
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  477  INFO   >>      - outside search box, skipping
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  472  INFO   >>  Source at (162.3930865738,31.4902001719) is 85.9749043246617" from input position
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  480  INFO   >>       - within seach area: checking if it's the highest SNR (is 3.8911780512, max 20.0224827108)
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  472  INFO   >>  Source at (162.2834976042,31.6124186298) is 473.218991015048" from input position
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  477  INFO   >>      - outside search box, skipping
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  472  INFO   >>  Source at (162.3752921254,31.5842554363) is 258.497139194722" from input position
16:20:13.676 UKSSDC::Centroid::PSF_DETECT:  line  477  INFO   >>      - outside search box, skipping
16:20:13.677 UKSSDC::Centroid::PSF_DETECT:  line  472  INFO   >>  Source at (162.4687485853,31.3640437228) is 595.313886971897" from input position
16:20:13.677 UKSSDC::Centroid::PSF_DETECT:  line  477  INFO   >>      - outside search box, skipping
16:20:13.677 UKSSDC::Centroid::PSF_DETECT:  line  472  INFO   >>  Source at (162.3843885172,31.6666497320) is 553.660070850293" from input position
16:20:13.677 UKSSDC::Centroid::PSF_DETECT:  line  477  INFO   >>      - outside search box, skipping
16:20:13.677 main::nearbysrc:  line 6276  INFO   >>  Checking for nearby sources
16:20:13.677 main::nearbysrc:  line 6283  INFO   >>  Source at 162.3930865738 31.4902001719 is 85.9749043246428" away from the source, and 10" big
16:20:13.677 main::nearbysrc:  line 6283  INFO   >>  Source at 162.2481305022 31.5576812332 is 447.680735478076" away from the source, and 10" big
16:20:13.677 main::nearbysrc:  line 6283  INFO   >>  Source at 162.3752921254 31.5842554363 is 258.49713919472" away from the source, and 10" big
16:20:13.677 main::nearbysrc:  line 6283  INFO   >>  Source at 162.2834976042 31.6124186298 is 473.21899101505" away from the source, and 10" big
16:20:13.677 main::nearbysrc:  line 6283  INFO   >>  Source at 162.4687485853 31.3640437228 is 595.313886971892" away from the source, and 10" big
16:20:13.677 main::nearbysrc:  line 6283  INFO   >>  Source at 162.4119360657 31.3819925901 is 478.731701341906" away from the source, and 10" big
16:20:13.677 main::nearbysrc:  line 6283  INFO   >>  Source at 162.3150618337 31.5880758441 is 344.020687621469" away from the source, and 10" big
16:20:13.677 main::nearbysrc:  line 6283  INFO   >>  Source at 162.3329579169 31.5872814757 is 310.685634533811" away from the source, and 10" big
16:20:13.678 main::nearbysrc:  line 6283  INFO   >>  Source at 162.3843885172 31.6666497320 is 553.660070850277" away from the source, and 10" big
16:20:13.678 main::nearbysrc:  line 6283  INFO   >>  Source at 162.2644507856 31.5552478827 is 397.940347000023" away from the source, and 10" big
16:20:13.678          main:::  line 1369  INFO   >>  Ignoring the following BG regions:
  -circle(162.3930865738,31.4902001719,23.6")
-circle(162.2481305022,31.5576812332,23.6")
-circle(162.3752921254,31.5842554363,23.6")
-circle(162.2834976042,31.6124186298,23.6")
-circle(162.4687485853,31.3640437228,23.6")
-circle(162.4119360657,31.3819925901,23.6")
-circle(162.3150618337,31.5880758441,23.6")
-circle(162.3329579169,31.5872814757,23.6")
-circle(162.3843885172,31.6666497320,23.6")
-circle(162.2644507856,31.5552478827,23.6")
16:20:13.678          main:::  line 1375  INFO   >>  Ready to begin working. Details: 
16:20:13.678          main:::  line 1376  INFO   >>  Source RA: 162.3842248046	DEC: 31.5128553311	T0: 656831448
16:20:13.678          main:::  line 1377  INFO   >>  Deduced from event file: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/event/sw01081113005xpcw3po_cl.evt.gz
16:20:13.679          main:::  line 1448  INFO   >>  ********** STARTING OBSERVATION 01081113000 *************
16:20:13.679          main:::  line 1450  INFO   >>  Entering directory /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/01081113000
16:20:13.679          main:::  line 1457  INFO   >>  Set MKF file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000s.mkf.gz
16:20:13.888          main:::  line 1498  INFO   >>  This obs is 3.52923031085937' from the source
16:20:14.242          main:::  line 1537  INFO   >>  resetting SRMAX to 30
16:20:14.243          main:::  line 1542  INFO   >>  Also setting SRPX=30 and SRCRAD=70.8
16:20:14.243          main:::  line 1560  INFO   >>  *** STARTING wt MODE ***
16:20:14.245          main:::  line 1564  INFO   >>  Working with position 162.3842248046,31.5128553311
16:20:14.246    main::getevt:  line 5803  INFO   >>  Got event file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xwtw2po_cl.evt.gz
16:20:14.246          main:::  line 1570  INFO   >>  List of event lists is /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xwtw2po_cl.evt.gz
16:20:14.246          main:::  line 1577  INFO   >>  Found event files /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xwtw2po_cl.evt.gz
16:20:14.246          main:::  line 1580  INFO   >>  Getting teldef file for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xwtw2po_cl.evt.gz
16:20:14.288          main:::  line 1600  INFO   >>  SELECTED TELDEF: /usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef
16:20:14.289          main:::  line 1616  INFO   >>  Calling extractor  to merge event lists into wt.evt-- extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@mergeevt.list eventsout=wt.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
16:20:14.409          main:::  line 1619  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xwtw2po_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
                                 5786      5786            0         0         0         0
                       Writing events file
                         5786 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 5786      5786            0         0         0         0
                         in  203.74     seconds
16:20:14.409          main:::  line 1623  INFO   >>  Calling ftsort to sort the event list
16:20:14.434          main:::  line 1627  INFO   >>  CMD OUT:
                      
16:20:14.437          main:::  line 1632  INFO   >>  Trying to determine attitude file needed for this event list
16:20:14.524          main:::  line 1639  INFO   >>  Selected stem pat from flag=110
16:20:14.524          main:::  line 1660  INFO   >>  SETTING MINDET TO w2
16:20:14.531          main:::  line 1744  INFO   >>  Calling fselect to remove col 295 from WT -- fselect infile=temp.evt outfile=filt.evt expr='DETX!=295'
16:20:14.595          main:::  line 1747  INFO   >>  CMD OUT:
                      
16:20:14.915 main::getbadpix:  line 6265  INFO   >>  Adding bpfile to work.evt as BPFILE column-- fcalc clobber=yes work.evt work.evt BPFILE "'badpixel_file_number0001'"
16:20:14.946 main::getbadpix:  line 6268  INFO   >>  CMD OUT:
                      
16:20:14.946          main:::  line 1766  INFO   >>  Got bad pixels, bpfilename is /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/badpixel_file_number0001
16:20:15.032          main:::  line 1777  INFO   >>  Calling fhisto: Comm: fhisto infile=work.evt outfile=wt.hist column=DETX binsz=1 clobber=yes
16:20:15.033          main:::  line 1778  INFO   >>  CMD OUT:
                      The file wt.hist is overwritten
                      input file (no binspec): file://work.evt[1]
                      input file: file://work.evt[1][bin  DETX=::1]
                      The histogram extension: 1dhisto
16:20:18.405          main:::  line 1859  INFO   >>  Setting end to 656831781.414473
16:20:18.592          main:::  line 1870  INFO   >>  ONTIME for this list is 203.740856528282
16:20:18.679          main:::  line 1883  INFO   >>  Time after settling (1) is 656831677.673617
16:20:18.679          main:::  line 1904  INFO   >>  Satellite attitude file is /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz
16:20:18.880          main:::  line 1911  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=162.3842248046 y=31.5128553311 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz time=656831677.673617
16:20:18.881          main:::  line 1912  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 480.8815, 412.8400 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 357.0185, 239.7589 [2.2607, -2.4296 mm]
16:20:18.881          main:::  line 1924  INFO   >>  Detector co-ordinates are (357.0185, 239.7589)
16:20:18.881 main::getorbtimes:  line 6504  INFO   >>  GETTING ORB TIMES - looking for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/per_snapshot_01081113000_wt.txt
16:20:18.881 main::getorbtimes:  line 6521  INFO   >>  Not found, so using work.evt
16:20:18.970 main::getorbtimes:  line 6582  INFO   >>  Save orbit 656831577.673617-656831781.414473 (last orb)
16:20:18.970 main::getorbtimes:  line 6586  INFO   >>  There are 1 orbits
16:20:18.971          main:::  line 1946  INFO   >>  Is the source in the fov for orbit 0 (656831577.673617-656831781.414473)?
16:20:18.971          main:::  line 1961  INFO   >>  New settling time is 100
16:20:19.123          main:::  line 1967  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=162.3842248046 y=31.5128553311 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz time=656831679.544045
16:20:19.124          main:::  line 1968  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 480.8815, 412.8400 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 357.0844, 239.6847 [2.2634, -2.4326 mm]
16:20:19.124          main:::  line 1982  INFO   >>  Detector co-ordinates are (357.0844, 239.6847)
16:20:19.203 main::getorbtimes:  line 6504  INFO   >>  GETTING ORB TIMES - looking for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/per_snapshot_01081113000_wt.txt
16:20:19.203 main::getorbtimes:  line 6521  INFO   >>  Not found, so using work.evt
16:20:19.319 main::getorbtimes:  line 6582  INFO   >>  Save orbit 656831577.673617-656831781.414473 (last orb)
16:20:19.320 main::getorbtimes:  line 6586  INFO   >>  There are 1 orbits
16:20:19.320          main:::  line 2156  INFO   >>  SAVING SOURCE POS IN KEEPS AS 162.3842248046,31.5128553311
16:20:19.320          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:20:19.320          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:20:19.320          main:::  line 2194  INFO   >>  * starting orbit 1, times 656831577.673617 to 656831781.414473 *
16:20:19.320          main:::  line 2201  INFO   >>  Calling extractor  to get the event list of orbit 0 -- extractor adjustgti=yes gti=GTI copyall=yes filename=work.evt eventsout=wt_orb0.evt regionfile=NONE fitsbinlc=NONE clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y phafile=NONE imgfile=wt_orb0.img timefile=gti.filt
16:20:19.420          main:::  line 2204  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
                                 5786      5786            0         0         0         0
                       Writing events file
                         5786 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 5786      5786            0         0         0         0
                         in  203.74     seconds
                       Image            has     5786 counts for   28.40     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:20:19.420          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:20:19.581          main:::  line 2216  INFO   >>  This event list spans 656831577.673617 to 656831781.414473
16:20:19.670          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.656831577.673617.and.TIME.le.656831781.414473, status 0
16:20:19.694          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   60033.974
                       The mean of the selected column is                  126.12179
                       The standard deviation of the selected column is   1.09958095E-03
                       The minimum of selected column is                   126.12009
                       The maximum of selected column is                   126.12572
                       The number of points used in calculation is              476
16:20:19.698          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 126.12179485289
16:20:19.698          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 126.12179485289 -- fparkey value=126.12179485289 fitsfile=wt_orb0.evt+1 keyword=PA_PNT
16:20:19.715          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:20:19.715          main:::  line 2246  INFO   >>  Going to update the image roll to 126.12179485289: fparkey add=no value=126.12179485289 fitsfile=wt_orb0.img+0 keyword=PA_PNT
16:20:19.737          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:20:19.737  main::getWTpos:  line 6706  INFO   >>  Finding genuine WT mode position, rough=162.3842248046, 31.5128553311, roll=126.12179485289
16:20:19.907  main::getWTpos:  line 6723  INFO   >>  INITX,Y = 481,413
16:20:19.907  main::getWTpos:  line 6729  INFO   >>  Theta: -0.630444251912871, phi: 2.20124057870777
16:20:19.919  main::getWTpos:  line 6772  INFO   >>  Done dx=0, dir=1, T=410.521276595745
16:20:19.919  main::getWTpos:  line 6816  INFO   >>  Done dx=0, dir=1, T=410.521276595745
16:20:19.919  main::getWTpos:  line 6838  INFO   >>  R: -2.47872340425533
16:20:19.919  main::getWTpos:  line 6843  INFO   >>  z: -2.00222774549442
16:20:19.919  main::getWTpos:  line 6848  INFO   >>  initx: 481, inity: 413, x: 1.18032059925924, y: -1.61733089619655, theta: -0.630444251912871, phi: 2.20124057870777
16:20:19.919  main::getWTpos:  line 6853  INFO   >>  Finalx,y 482.180320599259,411.382669103803
16:20:19.921  main::getWTpos:  line 6874  INFO   >>  Returning 482.180320599259, 411.382669103803
16:20:20.118          main:::  line 2303  INFO   >>  Calling xrtexpomap to make WT mode exposure map -- xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef infile=wt_orb0.evt stemout=wt_orb0 outdir=. hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz
16:20:23.731          main:::  line 2306  INFO   >>  CMD OUT:
                      --------------------------------------------------------------
                                   Running ' xrtexpomap version 0.3.1 '
                      --------------------------------------------------------------
                      ---------------------------------------------------------------------
                       		Running 'xrtinstrmap_0.3.5'
                      ---------------------------------------------------------------------
                      		 Input Parameters List: 
                      Name of the input Event file             :'wt_orb0.evt'
                      Name of the input region file            :'CALDB'
                      Name of the input HK Header file         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.hk.gz'
                      Name of the output instrument map file   :'./wt_orb0_rawinstr.img'
                      Check pointing stability?(yes/no)        :'yes'
                      ---------------------------------------------------------------------
                      xrtinstrmap_0.3.5: Info: Processing 'wt_orb0.evt' file.
                      xrtinstrmap_0.3.5: Info: Processing /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.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 ./wt_orb0_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 2 image in ./wt_orb0_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 3 image in ./wt_orb0_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 4 image in ./wt_orb0_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 5 image in ./wt_orb0_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 6 image in ./wt_orb0_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 7 image in ./wt_orb0_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 8 image in ./wt_orb0_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./wt_orb0_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: File './wt_orb0_rawinstr.img' successfully written.
                      ---------------------------------------------------------------------
                      xrtinstrmap_0.3.5: Exit with success.
                      ---------------------------------------------------------------------
                      swiftxform: running ftcopy
                      swiftxform: verbose: HDU[1] skytime DEFAULT[TMIDDLE] => 656831580.262336
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 656831586.053371
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 656831590.323269
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 656831595.66066
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 656831600.464303
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 656831602.599249
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 656831616.476433
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 656831639.42715
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 656831715.75167
                      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 "./wt_orb0_skyinstr.img+1"
                      ![XIMAGE>   read_image ./wt_orb0_skyinstr.img+1
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./wt_orb0_skyinstr.img+2"
                      ![XIMAGE>   read_image ./wt_orb0_skyinstr.img+2
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./wt_orb0_skyinstr.img+3"
                      ![XIMAGE>   read_image ./wt_orb0_skyinstr.img+3
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./wt_orb0_skyinstr.img+4"
                      ![XIMAGE>   read_image ./wt_orb0_skyinstr.img+4
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./wt_orb0_skyinstr.img+5"
                      ![XIMAGE>   read_image ./wt_orb0_skyinstr.img+5
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./wt_orb0_skyinstr.img+6"
                      ![XIMAGE>   read_image ./wt_orb0_skyinstr.img+6
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./wt_orb0_skyinstr.img+7"
                      ![XIMAGE>   read_image ./wt_orb0_skyinstr.img+7
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./wt_orb0_skyinstr.img+8"
                      ![XIMAGE>   read_image ./wt_orb0_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./wt_orb0_skyinstr.img+9"
                      ![XIMAGE>   read_image ./wt_orb0_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> write_ima/file=\"./wt_orb0_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             :'./wt_orb0_sumskyinstr.img.gz'
                      Name of the output Event file            :'./wt_orb0_ex.img'
                      ---------------------------------------------------------------------
                      xrtexpocalc_0.1.4: Info: Processing './wt_orb0_sumskyinstr.img.gz' file.
                      xrtexpocalc_0.1.4: Info:File  ./wt_orb0_ex.img successfully written.
                      ---------------------------------------------------------------------
                      xrtexpocalc_0.1.4: Exit with success.
                      ---------------------------------------------------------------------
                      ----------------------------------------------------------
                      xrtexpomap_0.3.1: Exit with success 
                      ------------------------------------------------------------
16:20:23.732          main:::  line 2307  INFO   >>  Going to set the exposure map roll value to 126.12179485289 : fparkey add=yes value=126.12179485289 fitsfile=wt_orb0_ex.img+0 keyword=PA_PNT &> temp.out
16:20:23.756          main:::  line 2312  INFO   >>  CMD OUT:
                      
16:20:23.756          main:::  line 2318  INFO   >>  Calling wt_centroid: wt_centroid_expomap_v0.86_static -m wt_orb0_ex.img wt_orb0.img 2> wt_centroid_orb0.err
16:20:25.611          main:::  line 2330  INFO   >>  Got centroid: FITTED 481.932 410.95 2.20124 0.087261 0.00283623 = x,y= (481.932, 410.95)
16:20:25.611          main:::  line 2332  INFO   >>  This is 0.498864383778332 pixels from the initial estimate
16:20:25.611          main:::  line 2344  INFO   >>  Using centroided position
16:20:25.645          main:::  line 2358  INFO   >>  Converted (481.932, 410.95) to RA,Dec=(162.3834, 31.51162)
16:20:25.645          main:::  line 2393  INFO   >>  Old bgarea: 80
16:20:25.652          main:::  line 2396  INFO   >>  Got the bgarea to be 75
16:20:25.653          main:::  line 2402  INFO   >>  OK, Just written area :: 129.671837873371	333.41625218877	75 :: for obs 01081113000, mode wt
16:20:25.656          main:::  line 2415  INFO   >>  Setting wt source reg to wtsource1.reg
16:20:25.865          main:::  line 2552  INFO   >>  Calling pointxform
16:20:25.866          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 481.9551, 410.9533 [162.3834, 31.5116 deg]
                      pointxform: 	=> DET 357.3231, 237.5271 [2.2729, -2.5189 mm]
16:20:25.866          main:::  line 2565  INFO   >>  Detector co-ordinates are (357.3231, 237.5271)
16:20:25.866          main:::  line 2578  INFO   >>  About to do this bit, dety: 237.5271
16:20:25.866          main:::  line 2588  INFO   >>  HERE _ DETX=357.3231, DETY=237.5271
16:20:25.866          main:::  line 2842  INFO   >>  Old source area: 60
16:20:25.874          main:::  line 2845  INFO   >>  New source area: 61
16:20:25.874          main:::  line 2855  INFO   >>  Old bgarea: 80
16:20:25.882          main:::  line 2858  INFO   >>  Got the bgarea to be 75
16:20:25.882          main:::  line 2864  INFO   >>  OK, Just written area :: 129.671837873371	333.41625218877	75 :: for obs 01081113000, mode wt
16:20:25.882          main:::  line 2868  INFO   >>  Old source area: 60
16:20:25.889          main:::  line 2870  INFO   >>  New source area 61
16:20:25.889          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 30 to wt_orb0.evt -- fcalc clobber=yes wt_orb0.evt wt_orb0.evt SRCRAD 30
16:20:25.921          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:20:25.921          main:::  line 3032  INFO   >>  Starting pileup section.
16:20:25.924          main:::  line 3061  INFO   >>  Calling extractor  to get an lc for pup check comm: -- \extractor adjustgti=yes gti=GTI binlc=1 filename=wt_orb0.evt eventsout=NONE imgfile=NONE phafile=NONE fitsbinlc=wtpuptimes.lc xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=wtsource.reg timefile=NONE lcthresh=0.2
16:20:26.059          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: wt_orb0.evt[regfilter("wtsource.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
                                 5585      5585            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 5585      5585            0         0         0         0
                         in  203.74     seconds
                       Fits light curve has   5585.     counts for   27.41     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 126.12156299433 and 126.12179485289
16:20:26.185          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:20:26.186          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:20:26.294          main:::  line 4031  INFO   >>  Done pileup checking
16:20:26.294          main:::  line 4099  INFO   >>  Calling extractor  to make non pupped evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=wt_orb0.evt eventsout=wtallnonpup0.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=wtsource.reg timefile=NONE
16:20:26.416          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: wt_orb0.evt[regfilter("wtsource.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
                                 5585      5585            0         0         0         0
                       Writing events file
                         5585 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 5585      5585            0         0         0         0
                         in  203.74     seconds
16:20:26.416          main:::  line 4115  INFO   >>  Calling extractor  to make non pupped full evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=wt_orb0.evt eventsout=wtallnonpup0_full.evt imgfile=wtallnonpup0.img phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=NONE timefile=NONE
16:20:26.512          main:::  line 4118  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: wt_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
                                 5786      5786            0         0         0         0
                       Writing events file
                         5786 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 5786      5786            0         0         0         0
                         in  203.74     seconds
                       Image            has     5786 counts for   28.40     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 126.12156299433 and 126.12179485289
16:20:26.513          main:::  line 4134  INFO   >>  Calling extractor  to make wtallnonpup0.evt -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=wt_orb0.evt eventsout=wtallnonpup0.back.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=wtback.reg timefile=NONE
16:20:26.611          main:::  line 4137  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: wt_orb0.evt[regfilter("wtback.reg",X,Y)]
                       10% completed
 20% completed
 40% completed
 50% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   77        77            0         0         0         0
                       Writing events file
                           77 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   77        77            0         0         0         0
                         in  203.74     seconds
16:20:26.611          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes wtallnonpup0.evt wtallnonpup0.evt PUPRAD "0.00"
16:20:26.633          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:20:26.633          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes wtallnonpup0.back.evt wtallnonpup0.back.evt SRCAREA "61"
16:20:26.654          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:20:26.935          main:::  line 4180  INFO   >>  Got event range of 656831577.673617 - 656831781.414473 from wt_orb0.evt
16:20:26.942          main:::  line 4234  INFO   >>  Calling sky2xy infile=wtallnonpup0.img xsky=162.3834 ysky=31.51162
16:20:26.967          main:::  line 4237  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238340000000E+02,    3.1511620000000E+01
                       Output pixel coordinates:     4.8195508534273E+02,    4.1095327885177E+02
16:20:26.973          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes pcnframe=4 wtnframe=10 createinstrmap=yes outinstrfile=DEFAULT lcfile=none regionfile=corr_region_wtallnonpup0.reg outfile=none corrfile=corr_region_wtallnonpup0.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.hk.gz infile=wtallnonpup0_full.evt
16:20:27.461          main:::  line 4257  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_wtallnonpup0.reg'
                      Name of the output file                  :'corr_region_wtallnonpup0.fits'
                      Name of the input TELDEF file            :'/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.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             :'wtallnonpup0_full.evt'
                      Name of the input FOV region file        :'CALDB'
                      Name of the input HK Header file         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.hk.gz'
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Info: Name for the output instrument file is:
                      xrtlccorr_0.4.0: Info: 'corr_region_wtallnonpup0_srawinstr.img'
                      xrtlccorr_0.4.0: Info: Processing 'wtallnonpup0_full.evt' file.
                      xrtlccorr_0.4.0: Info: Processing /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.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_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 2 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 3 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 4 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 5 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 6 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 7 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 8 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 9 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 10 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 11 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 12 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 13 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 14 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 15 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 16 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 17 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 18 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 19 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 20 image in corr_region_wtallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: File 'corr_region_wtallnonpup0_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_wtallnonpup0.fits' successfully written.
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Exit with success.
                      ---------------------------------------------------------------------
16:20:27.461          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_wtallnonpup0.fits outfile=corr_region_wtallnonpup0.fits clname=TIME expr=TSTART rowrange=1-1
16:20:27.481          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:20:27.481          main:::  line 4288  INFO   >>  Generate WT mode systematic errors -- wt_syserr -ax -t0 -F 481.9551 410.9533 /usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz 656831577.673617 656831781.414473 syserr_wtallnonpup0.fits 0.5
16:20:27.526          main:::  line 4291  INFO   >>  CMD OUT:
                      
16:20:27.608          main:::  line 4416  INFO   >>  Using fcalc clobber=yes wtallnonpup0.back.evt wtallnonpup0.back.evt BGAREA "75" to add bg area to list
16:20:27.630          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:20:27.630          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:20:27.635          main:::  line 4466  INFO   >>  For wt mode, checking the suffix `` list
16:20:27.640          main:::  line 4479  INFO   >>  Calling extractor  for the total bg file-- extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@wtback.list eventsout=wtbgtotal.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
16:20:27.709          main:::  line 4482  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: wtallnonpup0.back.evt
                       10% completed
 20% completed
 40% completed
 50% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   77        77            0         0         0         0
                       Writing events file
                           77 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   77        77            0         0         0         0
                         in  203.74     seconds
16:20:27.709          main:::  line 4488  INFO   >>  Calling extractor  for the total src file-- extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@wtsource.list eventsout=wtsrctotal.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
16:20:27.785          main:::  line 4491  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: wtallnonpup0.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
                                 5585      5585            0         0         0         0
                       Writing events file
                         5585 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 5585      5585            0         0         0         0
                         in  203.74     seconds
16:20:27.787          main:::  line 4505  INFO   >>  USEREPROC: 1	A: '/swift/data/local_reproc/01081113000 '
16:20:27.787          main:::  line 4510  INFO   >>  Calling fcalc clobber=yes wtsrctotal.evt wtsrctotal.evt OBSDIR "'/swift/data/local_reproc/01081113000 '"
16:20:27.811          main:::  line 4513  INFO   >>  CMD OUT:
                      
16:20:27.814          main:::  line 4541  INFO   >>  Copying corr_region_wtallnonpup0.fits to wt_corrections.fits
16:20:27.817          main:::  line 4572  INFO   >>  Copying syserr_wtallnonpup0.fits to wt_syserr.fits
16:20:27.818          main:::  line 1537  INFO   >>  resetting SRMAX to 30
16:20:27.818          main:::  line 1542  INFO   >>  Also setting SRPX=30 and SRCRAD=70.8
16:20:27.818          main:::  line 1560  INFO   >>  *** STARTING pc MODE ***
16:20:27.820          main:::  line 1564  INFO   >>  Working with position 162.3842248046,31.5128553311
16:20:27.821    main::getevt:  line 5803  INFO   >>  Got event file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_cl.evt.gz
16:20:27.821          main:::  line 1570  INFO   >>  List of event lists is /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_cl.evt.gz
16:20:27.821          main:::  line 1577  INFO   >>  Found event files /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_cl.evt.gz
16:20:27.821          main:::  line 1580  INFO   >>  Getting teldef file for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_cl.evt.gz
16:20:27.837          main:::  line 1600  INFO   >>  SELECTED TELDEF: /usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef
16:20:27.838          main:::  line 1616  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
16:20:27.957          main:::  line 1619  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_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
                                  675       675            0         0         0         0
                       Writing events file
                          675 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  675       675            0         0         0         0
                         in  596.74     seconds
16:20:27.957          main:::  line 1623  INFO   >>  Calling ftsort to sort the event list
16:20:27.977          main:::  line 1627  INFO   >>  CMD OUT:
                      
16:20:27.980          main:::  line 1632  INFO   >>  Trying to determine attitude file needed for this event list
16:20:28.050          main:::  line 1639  INFO   >>  Selected stem pat from flag=110
16:20:28.050          main:::  line 1666  INFO   >>  SETTING MINDET TO w3
16:20:28.050          main:::  line 1753  INFO   >>  Copying the file pc.evt to work.evt
16:20:28.384 main::getbadpix:  line 6265  INFO   >>  Adding bpfile to work.evt as BPFILE column-- fcalc clobber=yes work.evt work.evt BPFILE "'badpixel_file_number0002'"
16:20:28.419 main::getbadpix:  line 6268  INFO   >>  CMD OUT:
                      
16:20:28.419          main:::  line 1766  INFO   >>  Got bad pixels, bpfilename is /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/badpixel_file_number0002
16:20:28.576          main:::  line 1859  INFO   >>  Setting end to 656832379.844544
16:20:28.752          main:::  line 1870  INFO   >>  ONTIME for this list is 596.737400054932
16:20:28.841          main:::  line 1883  INFO   >>  Time after settling (1) is 656831883.107144
16:20:28.842          main:::  line 1904  INFO   >>  Satellite attitude file is /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz
16:20:29.010          main:::  line 1911  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=162.3842248046 y=31.5128553311 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz time=656831883.107144
16:20:29.010          main:::  line 1912  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 480.8815, 412.8400 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 357.0102, 239.5466 [2.2604, -2.4381 mm]
16:20:29.011          main:::  line 1924  INFO   >>  Detector co-ordinates are (357.0102, 239.5466)
16:20:29.011 main::getorbtimes:  line 6504  INFO   >>  GETTING ORB TIMES - looking for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/per_snapshot_01081113000_pc.txt
16:20:29.011 main::getorbtimes:  line 6521  INFO   >>  Not found, so using work.evt
16:20:29.115 main::getorbtimes:  line 6582  INFO   >>  Save orbit 656831783.107144-656832379.844544 (last orb)
16:20:29.115 main::getorbtimes:  line 6586  INFO   >>  There are 1 orbits
16:20:29.115          main:::  line 1946  INFO   >>  Is the source in the fov for orbit 0 (656831783.107144-656832379.844544)?
16:20:29.115          main:::  line 1961  INFO   >>  New settling time is 100
16:20:29.327          main:::  line 1967  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=162.3842248046 y=31.5128553311 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz time=656832081.475844
16:20:29.328          main:::  line 1968  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 480.8815, 412.8400 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 357.1280, 239.5633 [2.2651, -2.4375 mm]
16:20:29.328          main:::  line 1982  INFO   >>  Detector co-ordinates are (357.1280, 239.5633)
16:20:29.328          main:::  line 2088  INFO   >>  Old bgarea: 90477.868423386
16:20:29.335          main:::  line 2090  INFO   >>  Background area is 87700
16:20:29.336 main::getorbtimes:  line 6504  INFO   >>  GETTING ORB TIMES - looking for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/per_snapshot_01081113000_pc.txt
16:20:29.336 main::getorbtimes:  line 6521  INFO   >>  Not found, so using work.evt
16:20:29.446 main::getorbtimes:  line 6582  INFO   >>  Save orbit 656831783.107144-656832379.844544 (last orb)
16:20:29.446 main::getorbtimes:  line 6586  INFO   >>  There are 1 orbits
16:20:29.446          main:::  line 2156  INFO   >>  SAVING SOURCE POS IN KEEPS AS 162.3842248046,31.5128553311
16:20:29.446          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:20:29.446          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:20:29.446          main:::  line 2194  INFO   >>  * starting orbit 1, times 656831783.107144 to 656832379.844544 *
16:20:29.446          main:::  line 2201  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
16:20:29.574          main:::  line 2204  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
                                  675       668            7         0         0         0
                       Writing events file
                          668 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  675       668            7         0         0         0
                         in  596.74     seconds
                       Image            has      668 counts for   1.119     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:20:29.574          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:20:29.763          main:::  line 2216  INFO   >>  This event list spans 656831783.107144 to 656832379.844552
16:20:29.851          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.656831783.107144.and.TIME.le.656832379.844544, status 0
16:20:29.876          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   135454.46
                       The mean of the selected column is                  126.12147
                       The standard deviation of the selected column is   3.12682975E-04
                       The minimum of selected column is                   126.12057
                       The maximum of selected column is                   126.12280
                       The number of points used in calculation is             1074
16:20:29.881          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 126.121472271683
16:20:29.881          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 126.121472271683 -- fparkey value=126.121472271683 fitsfile=pc_orb0.evt+1 keyword=PA_PNT
16:20:29.905          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:20:29.905          main:::  line 2246  INFO   >>  Going to update the image roll to 126.121472271683: fparkey add=no value=126.121472271683 fitsfile=pc_orb0.img+0 keyword=PA_PNT
16:20:29.928          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:20:29.928          main:::  line 2424  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
16:20:30.065          main:::  line 2427  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
                                  668       668            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  668       668            0         0         0         0
                         in  596.74     seconds
                       Image            has      668 counts for   1.119     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 126.12156299433 and 126.121472271683
16:20:30.065          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:20:30.065          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:20:30.092          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     4.8093857260200E+02,    4.1283501825158E+02
16:20:30.102          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:20:30.236          main:::  line 2457  INFO   >>  THe image had 313 counts
16:20:30.237          main:::  line 2461  INFO   >>  Going to centroid - we have 313 (>15) counts
16:20:30.237  main::dopsffit:  line 6602  INFO   >>  IN THE DOPSFFIT ROUTINE - eventfile = pc_orb0.evt
16:20:30.242 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  344  INFO   >>  Centroiding on source at (162.3842248046, 31.5128553311) with psf_centroid.
16:20:30.242 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  351  INFO   >>  ObsList is `pc_orb0.evt`
16:20:30.242 UKSSDC::Centroid::makeExpoImage:  line  647  INFO   >>  Creating exposure map image for observations: pc_orb0.evt
16:20:30.348 UKSSDC::Centroid::makeExpoImage:  line  695  INFO   >>  Need to generate an exposure map for `01081113000`
16:20:30.452 UKSSDC::Centroid::makeExpoImage:  line  708  INFO   >>  Selected stem `pat` from flag=`110` from file `pc_orb0.evt`
16:20:30.501 UKSSDC::Centroid::makeExpoImage:  line  730  INFO   >>  Calling `xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb0.evt outdir=. stemout=cent_1 hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz vigflag=yes > temp.out 2>&1` to create exposure map for obs `01081113000`
16:20:34.240 UKSSDC::Centroid::makeExpoImage:  line  750  INFO   >>  Calling extractor to create the image: `extractor adjustgti=yes gti=GTI copyall=yes clobber=yes filename=@tmp_xim_rdNX0.tmp eventsout=NONE imgfile=centroid.img fitsbinlc=NONE phafile=NONE regionfile=NONE timefile=NONE xcolf=X ycolf=Y tcol=TIME`
16:20:34.384 UKSSDC::Centroid::makeExpoImage:  line  762  INFO   >>  Getting CRVAL1 from centroid.img
16:20:34.473 UKSSDC::Centroid::makeExpoImage:  line  771  INFO   >>  Getting CRVAL2 from centroid.img
16:20:34.563 UKSSDC::Centroid::makeExpoImage:  line  779  INFO   >>  Now I need to shift all exposure maps to WCS ref (`162.3692`, `31.57026`)
16:20:34.563 UKSSDC::Centroid::makeExpoImage:  line  785  INFO   >>  Calling `shiftWCS -e -- 162.3692 31.57026 1000 cent_1_ex.img cent_1_ex_shift.img >/dev/null 2>&1` to shift WCS of exposure map `cent_1_ex.img`
16:20:39.770 UKSSDC::Centroid::makeExpoImage:  line  797  INFO   >>  Calling `sumImages tmp_ximE_xRnl2.tmp centroid_ex.img` to sum exposure maps
16:20:39.901 UKSSDC::Centroid::makeExpoImage:  line  810  INFO   >>  RADECSYS keyword of the first exposure map is `'FK5'`
16:20:40.114 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  376  INFO   >>  Calling psf_centroid with command: `psf_centroid_expomap_v2.7 -p swxpsf20010101v006_rc2.fits  -1 -x 480.9386 -y 412.835 -r 30 -m centroid_ex.img centroid.img > centroid.cent 2> temp.out`
16:20:52.540 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  385  INFO   >>  Centroid output:
  Source1 480.9357967438 -0.2039718750 0.2034377395 412.8585660405 -0.2048669958 0.2056888984 162.3842269392 -0.0001332128 0.0001335626 31.5128707501 -0.0001341487 0.0001346869 2.2013801625e-02 -1.2561390690e-03 1.2326456030e-03 5.6768835825e+02 0.0000000000e+00 313.0000000000 674.6708510442 14.5711232450 swxpsf20010101v006_rc2.fits 0.5399213267 0.5399213267 0.0000000000 0.0000000000 0 0.0000000000 1.0252620232 10 NULL NULL NULL 21 30.0000000000 NULL NULL NULL 0.9995427526 0.6251360604 2.8954941595 9.9999998888 1.0000000000 4.3663465102 -1.0000000000 661.9452815809 0 
16:20:52.540 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  399  INFO   >>  PSF fit returned a source at (162.3842269392, 31.5128707501), using PSF `swxpsf20010101v006_rc2.fits`
16:20:52.540  main::dopsffit:  line 6612  INFO   >>  AND I HAVE NOW FINISHED
16:20:52.540  main::dopsffit:  line 6616  INFO   >>  Saving centroid files to _orb0
16:20:52.624          main:::  line 2492  INFO   >>  For this orbit, pos is RA,Dec: 162.3842269392, 31.5128707501
16:20:52.624          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 70.8
16:20:52.789          main:::  line 2552  INFO   >>  Calling pointxform
16:20:52.789          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 480.8787, 412.8635 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 357.1165, 239.5840 [2.2647, -2.4366 mm]
16:20:52.790          main:::  line 2565  INFO   >>  Detector co-ordinates are (357.1165, 239.5840)
16:20:52.790          main:::  line 2578  INFO   >>  About to do this bit, dety: 239.584
16:20:52.790          main:::  line 2588  INFO   >>  HERE _ DETX=357.1165, DETY=239.584
16:20:52.790          main:::  line 2623  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
16:20:52.882          main:::  line 2626  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
                                  314       314            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  314       314            0         0         0         0
                         in  596.74     seconds
                       Fits light curve has   314.0     counts for  0.5262     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 126.12156299433 and 126.121472271683
16:20:52.883          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:20:52.903          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:20:52.916          main:::  line 2788  INFO   >>  Old source area: 2827.43338823081
16:20:52.924          main:::  line 2790  INFO   >>  New source area: 2864
16:20:52.924          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 30 to pc_orb0.evt -- fcalc clobber=yes pc_orb0.evt pc_orb0.evt SRCRAD 30
16:20:52.946          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:20:53.051          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:20:53.052          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb0.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz
16:20:54.938          main:::  line 2986  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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.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: File './centroid_rawinstr.img' successfully written.
                      ---------------------------------------------------------------------
                      xrtinstrmap_0.3.5: Exit with success.
                      ---------------------------------------------------------------------
                      swiftxform: running ftcopy
                      swiftxform: verbose: HDU[1] skytime DEFAULT[TMIDDLE] => 656831959.868202
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 656832243.195426
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 656832364.800476
                      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> 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 
                      ------------------------------------------------------------
16:20:55.038  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:20:55.175  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 87741.000      89435.000      89435.000      0.9810589         0.9810589
Area is 89435.000
16:20:55.176          main:::  line 2998  INFO   >>  calcArea has returned 89435.000
16:20:55.176          main:::  line 3032  INFO   >>  Starting pileup section.
16:20:55.179          main:::  line 3061  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
16:20:55.328          main:::  line 3064  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
                                  314       314            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  314       314            0         0         0         0
                         in  596.74     seconds
                       Fits light curve has   314.0     counts for  0.5262     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 126.12156299433 and 126.121472271683
16:20:55.454          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:20:55.454          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:20:55.556          main:::  line 3191  INFO   >>  Starting a pup point as 0.800000>0.576258163657319 intstart=656831783.107152 (-2.5)
16:20:55.557          main:::  line 3263  INFO   >>  3) Time 656831783.107144 to 656832379.844552 (-2.5000079870224-594.237400054932) need PSF-fitting
16:20:55.557          main:::  line 3293  INFO   >>  Going through the pc intervals and PSF fitting.
16:20:55.557          main:::  line 3315  INFO   >>  For this pup interval, the rate was ~1.06046511627907 so psfwing=15
16:20:55.557          main:::  line 3319  INFO   >>   &*&*&*&*&*&*&*& START: !656831783.107144
16:20:55.557          main:::  line 3324  INFO   >>  Setting highint=1
16:20:55.562          main:::  line 3345  INFO   >>  Using the PSF fitting method of removing pile up
16:20:55.562          main:::  line 3350  INFO   >>  Calling xselect to get an image of times 656831783.107144 to 656832379.844552
16:20:56.607          main:::  line 3353  INFO   >>  CMD OUT:
                       
                                               **  XSELECT V2.5c  **
                       
                      > Enter session name >[xsel] xsel
                      xsel:XRISM > read events pc_orb0.evt ./
                      Got new mission: SWIFT
                      > Reset the mission ? >[yes] yes
                       
                       
                              OBJECT      OBS_ID      DATE-OBS                 DATAMODE
                            1 GRB211025a  01081113000 2021-10-25T05:17:27.2911 PHOTON
                       
                       Notes: XSELECT set up for      SWIFT
                       Time keyword is TIME       in units of s
                       Default timing binsize =   5.0000
                       
                      Setting...
                       Image  keywords   = X          Y           with binning =    1
                       WMAP   keywords   = X          Y           with binning =    1
                       Energy keyword   = PI                     with binning =    1
                       
                      Getting Min and Max for Energy Column...
                      Got min and max for PI:     0   1023
                       
                      Got the minimum time resolution of the read data:   2.5073
                      MJDREF =  5.1910000742870E+04 with TIMESYS = TT
                       Number of files read in:            1
                       
                      ******************** Observation Catalogue ********************
                       
                      Data Directory is: /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/01081113000/
                      HK Directory is: /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/01081113000/
                       
                      xsel:SWIFT-XRT-PHOTON > filter time scc
                      No light curve has been made yet,
                      So I can not put up the plot.
                       
                       * Enter the start and stop times in SCC
                       
                      Use a comma to separate the times
                      Type 'x' to exit time-entry
                      Type 'c' to cancel time-entry
                      > Enter list of start and stop times >[] 656831783.107144,656832379.844552
                      > Enter list of start and stop times >[656831783.107144,656832379.844552] x
                      Wrote GTI's to file xsel_keybd_gti001.xsl
                      xsel:SWIFT-XRT-PHOTON > ext im
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/01081113000/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
                                  668       668            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  668       668            0         0         0         0
                         in  596.74     seconds
                       Image            has      668 counts for   1.119     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 126.12156299433 and 126.121472271683
                      xsel:SWIFT-XRT-PHOTON > save im pup1.img
                      Wrote image to file pup1.img
                      xsel:SWIFT-XRT-PHOTON > exit
                      > Save this session? >[no] n
16:20:56.643          main:::  line 3361  INFO   >>  Calling pointxform, comm=pointxform fromworld=yes from=SKY to=DET x=162.3842269392 y=31.5128707501 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz time=656832081.475844
16:20:56.824          main:::  line 3365  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 480.8787, 412.8635 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 357.1165, 239.5840 [2.2647, -2.4366 mm]
16:20:57.054          main:::  line 3388  INFO   >>  CMD OUT:
                      ******************************************************************************
                      *                              Welcome to XIMAGE                             *
                      ******************************************************************************
                      
                                                                                Type "help" for help
                      
                      
                                                                 VERSION 4.5.1  16:20:56 12-Aug-2025
                      
                       No of detectors read in:   34
                      Tk startup failed: /xtk device unavailable
                      [XIMAGE> cpd/null
                      [XIMAGE> read pup1.img.gz
                       Telescope SWIFT XRT NONE
                       Image size = 1000 x 1000 pixels
                       Image rebin = 1.000
                       Image center = 500.5, 500.5
                       Reading an image
                        Image level, min = 0.0000000 max = 11.000000
                       Copied MAP1 to MAP9
                      [XIMAGE> back
                       Calculating background: Poisson statistics assumed
                       Background box size =  64
                       Background =1.3128E-03 cts/original-pixel
                                  =1.3128E-03 cts/image-pixel
                                  =1.4310E-03 cts/sqarcmin/s
                                  =2.2088E-06 cts/original-pixel/s
                      [XIMAGE> back
                       Calculating background: Poisson statistics assumed
                       Background box size =  64
                       Background =1.3128E-03 cts/original-pixel
                                  =1.3128E-03 cts/image-pixel
                                  =1.4310E-03 cts/sqarcmin/s
                                  =2.2088E-06 cts/original-pixel/s
                      [XIMAGE> psf/xpix=480.8787/ypix=412.8635/radius=2
                       Distance from optical axis: 89.20983887 pixels
                       BACK not specified
                       calculating mean background from all image
                       Using existing background calculation
                       Background box size =  64
                       Background =1.3128E-03 cts/original-pixel
                                  =1.3128E-03 cts/image-pixel
                                  =1.4310E-03 cts/sqarcmin/s
                                  =2.2088E-06 cts/original-pixel/s
                        Using average energy for PSF:    1.00000000
                       Total counts (original)      =       341.0
                       Total counts (bg subtracted) =       330.7
                       Total counts (psf corrected) =       341.3
                      PGPLOT file/type: q
                      PGPLOT file/type: exit
                      PGPLOT file/type: QDP file name:  %PGPLOT, Device type omitted
                       %PGPLOT, Invalid device specification: null
                       To produce plot, please enter
                       %PGPLOT, Device type omitted
                       %PGPLOT, Invalid device specification: q
                       To produce plot, please enter
                       %PGPLOT, Device type omitted
                       %PGPLOT, Invalid device specification: exit
                       To produce plot, please enter
                      [XIMAGE> 
16:20:57.055          main:::  line 3467  INFO   >>  Calling QDP to fit the psf
16:20:57.067          main:::  line 3470  INFO   >>  CMD OUT:
                      QDP file name: modpsf.qdp
                      PGPLOT file/type: /null
                      PLT> r x 15
                      PLT> mo $/swift/srv/autoproc/templates/psf.cod
                       1
                      PLT> fit I 1000000
                      PLT> wm kingfit.dat
                      PLT> exit
                       To produce plot, please enter
                       ! King + Gass
                       : PSF
                       P1 1 X 3.726 / 2 ^ + 1.305 NEG ^ * P1 0.0807 * X X * NEG 2 7.422 7.422 * * / EXP * + ;
                       Nterm=           1
                        1 P1: VAL(  1.000    ), SIG(  0.000    ), PLO(  0.000    ), PHI(  0.000    )?
                       Fitting group   2,  from   15.0     to   120.    
                       Fitting      35 points in a band of      44.
                         1.00000000    
                       ( -3)   W-VAR= 27.03    
                       ( -4)   W-VAR= 27.03    
                         12.7663641    
16:20:57.070          main:::  line 3477  INFO   >>  Modelled the psf, found normalisation of 12.7663641
16:20:57.070          main:::  line 3504  INFO   >>  Bin: 0, X: 1.17865598, Y: 8.17343998, dy: 1.49252045, mod: 12.28971414417, diff: 4.11627416417, sdiff: 2.75793485052081
16:20:57.071          main:::  line 3504  INFO   >>  Bin: 1, X: 3.53596783, Y: 5.17598772, dy: 0.839888155, mod: 6.44195928986783, diff: 1.26597156986783, sdiff: 1.50730970824065
16:20:57.071          main:::  line 3504  INFO   >>  Bin: 2, X: 5.89328003, Y: 2.17853475, dy: 0.344682842, mod: 3.23933227448699, diff: 1.06079752448699, sdiff: 3.0776046708092
16:20:57.071          main:::  line 3504  INFO   >>  Bin: 3, X: 8.25059223, Y: 2.28753304, dy: 0.353194803, mod: 1.81372024507903, diff: -0.473812794920973, sdiff: -1.34150556830524
16:20:57.071          main:::  line 3504  INFO   >>  Bin: 4, X: 10.6079035, Y: 1.36104763, dy: 0.230300918, mod: 1.08578691146556, diff: -0.275260718534436, sdiff: -1.19522197707625
16:20:57.071          main:::  line 3537  INFO   >>  Got here and highint is 1
16:20:57.071          main:::  line 3549  INFO   >>  OK, set exl=2 and exrad=9.44
16:20:57.071          main:::  line 3566  INFO   >>  old tsrarea=2777.16790577338
16:20:57.079          main:::  line 3568  INFO   >>  new tsrarea=2800
16:20:57.079          main:::  line 3570  INFO   >>  UPDATED srarea to 2800
16:20:57.079          main:::  line 3571  INFO   >>  The data are piled up between 656831783.107144 and 656832379.844552. Need to ignore the central 9.44"
16:20:57.080          main:::  line 3627  INFO   >>  Calling extractor  to make pcpup1.evt -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb0.evt eventsout=pcpup1.evt imgfile=NONE phafile=pcpup1.pi fitsbinlc=NONE xcolf=X ycolf=Y xcolh=X ycolh=Y tcol=TIME ecol=PI regionfile=pcpup1.reg timefile=gti.filt
16:20:57.229          main:::  line 3630  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcpup1.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
                                  166       166            0         0         0         0
                       Writing events file
                          166 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  166       166            0         0         0         0
                         in  596.74     seconds
                       Spectrum         has      166 counts for  0.2782     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 126.12156299433 and 126.121472271683
                       ... wrote the PHA data Extension
16:20:57.230          main:::  line 3637  INFO   >>  Calling extractor  to make pcpup1_full.evt -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb0.evt eventsout=pcpup1_full.evt imgfile=pcpup1.img phafile=pcpup1.pi fitsbinlc=NONE xcolf=X ycolf=Y xcolh=X ycolh=Y tcol=TIME ecol=PI regionfile=NONE timefile=gti.filt
16:20:57.390          main:::  line 3640  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
                                  668       668            0         0         0         0
                       Writing events file
                          668 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  668       668            0         0         0         0
                         in  596.74     seconds
                       Spectrum         has      668 counts for   1.119     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 126.12156299433 and 126.121472271683
                       ... wrote the PHA data Extension
                       Image            has      668 counts for   1.119     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 126.12156299433 and 126.121472271683
16:20:57.390          main:::  line 3649  INFO   >>  Calling extractor  to make pcpup1.evt -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb0.evt eventsout=pcpup1.back.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcback.reg timefile=gti.filt
16:20:57.492          main:::  line 3652  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
 50% completed
 60% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   73        73            0         0         0         0
                       Writing events file
                           73 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   73        73            0         0         0         0
                         in  596.74     seconds
16:20:57.492          main:::  line 3655  INFO   >>  Using fcalc clobber=yes pcpup1.back.evt pcpup1.back.evt BGAREA "89435.000" to add bg area to list
16:20:57.522          main:::  line 3658  INFO   >>  CMD OUT:
                      
16:20:57.605          main:::  line 3669  INFO   >>  Calling sky2xy infile=pcpup1.img xsky=162.3842269392 ysky=31.5128707501
16:20:57.632          main:::  line 3672  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422693920E+02,    3.1512870750100E+01
                       Output pixel coordinates:     4.8093579670938E+02,    4.1285856598460E+02
16:20:57.641          main:::  line 3696  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes pcnframe=4 wtnframe=10 createinstrmap=yes outinstrfile=DEFAULT lcfile=none regionfile=corr_region_pcpup1.reg outfile=none corrfile=corr_region_pcpup1.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.hk.gz infile=pcpup1_full.evt
16:20:58.559          main:::  line 3700  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_pcpup1.reg'
                      Name of the output file                  :'corr_region_pcpup1.fits'
                      Name of the input TELDEF file            :'/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.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             :'pcpup1_full.evt'
                      Name of the input FOV region file        :'CALDB'
                      Name of the input HK Header file         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.hk.gz'
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Info: Name for the output instrument file is:
                      xrtlccorr_0.4.0: Info: 'corr_region_pcpup1_srawinstr.img'
                      xrtlccorr_0.4.0: Info: Processing 'pcpup1_full.evt' file.
                      xrtlccorr_0.4.0: Info: Processing /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.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_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 2 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 3 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 4 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 5 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 6 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 7 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 8 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 9 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 10 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 11 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 12 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 13 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 14 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 15 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 16 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 17 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 18 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 19 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 20 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 21 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 22 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 23 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 24 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 25 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 26 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 27 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 28 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 29 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 30 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 31 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 32 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 33 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 34 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 35 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 36 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 37 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 38 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 39 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 40 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 41 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 42 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 43 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 44 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 45 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 46 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 47 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 48 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 49 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 50 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 51 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 52 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 53 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 54 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 55 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 56 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 57 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 58 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 59 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 60 image in corr_region_pcpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: File 'corr_region_pcpup1_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_pcpup1.fits' successfully written.
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Exit with success.
                      ---------------------------------------------------------------------
16:20:58.559          main:::  line 3709  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcpup1.fits outfile=corr_region_pcpup1.fits clname=TIME expr=TSTART rowrange=1-1
16:20:58.583          main:::  line 3712  INFO   >>  CMD OUT:
                      
16:20:58.584          main:::  line 3719  INFO   >>  Calling fcalc clobber=yes pcpup1.evt pcpup1.evt PUPRAD "9.44"
16:20:58.606          main:::  line 3722  INFO   >>  CMD OUT:
                      
16:20:58.606          main:::  line 3728  INFO   >>  Calling fcalc clobber=yes pcpup1.back.evt pcpup1.back.evt SRCAREA "2800"
16:20:58.630          main:::  line 3731  INFO   >>  CMD OUT:
                      
16:20:58.630          main:::  line 4031  INFO   >>  Done pileup checking
16:20:58.630          main:::  line 4048  INFO   >>  Removing piledup times from the main event list
16:20:58.632          main:::  line 4089  INFO   >>  GTI Expression is:
16:20:58.633          main:::  line 4090  INFO   >>  CMD OUT:
                      0 656831783.107144
                      656832379.844552 656832379.844544
16:20:58.633          main:::  line 4099  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=gti.filt
16:20:58.710          main:::  line 4102  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
                                  314         0          314         0         0         0
                       Writing events file
                            0 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  314         0          314         0         0         0
                         in  0.0000     seconds
16:20:58.710          main:::  line 4115  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=gti.filt
16:20:58.835          main:::  line 4118  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
                                  668         0          668         0         0         0
                       Writing events file
                            0 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  668         0          668         0         0         0
                         in  0.0000     seconds
                       Image has no exposure time
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 126.12156299433 and 126.121472271683
16:20:58.835          main:::  line 4134  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=gti.filt
16:20:58.915          main:::  line 4137  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
 50% completed
 60% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   73         0           73         0         0         0
                       Writing events file
                            0 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   73         0           73         0         0         0
                         in  0.0000     seconds
16:20:58.915          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup0.evt pcallnonpup0.evt PUPRAD "0.00"
16:20:58.945          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:20:58.945          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup0.back.evt pcallnonpup0.back.evt SRCAREA "2864"
16:20:58.965          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:20:59.128          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup0.back.evt pcallnonpup0.back.evt BGAREA "89435.000" to add bg area to list
16:20:59.157          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:20:59.157          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:20:59.163          main:::  line 4466  INFO   >>  For pc mode, checking the suffix `` list
16:20:59.169          main:::  line 4479  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
16:20:59.281          main:::  line 4482  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pcpup1.back.evt
                       10% completed
 20% completed
 30% completed
 50% completed
 60% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   73        73            0         0         0         0
                       Writing events file
                           73 events written to the output file
                       Doing file: pcallnonpup0.back.evt
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       NOTICE: Input file structure is not an exact match
                       to the output events file, using slow method
                       Writing events file
                           73 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   73        73            0         0         0         0
                         in  596.74     seconds
16:20:59.281          main:::  line 4488  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
16:20:59.382          main:::  line 4491  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pcpup1.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
                                  166       166            0         0         0         0
                       Writing events file
                          166 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  166       166            0         0         0         0
                         in  596.74     seconds
16:20:59.385          main:::  line 4505  INFO   >>  USEREPROC: 1	A: '/swift/data/local_reproc/01081113000 '
16:20:59.385          main:::  line 4510  INFO   >>  Calling fcalc clobber=yes pcsrctotal.evt pcsrctotal.evt OBSDIR "'/swift/data/local_reproc/01081113000 '"
16:20:59.414          main:::  line 4513  INFO   >>  CMD OUT:
                      
16:20:59.419          main:::  line 4541  INFO   >>  Copying corr_region_pcpup1.fits to pc_corrections.fits
16:20:59.419          main:::  line 4594  INFO   >>  Done all modes for this observation
16:20:59.688          main:::  line 1448  INFO   >>  ********** STARTING OBSERVATION 01081113001 *************
16:20:59.688          main:::  line 1450  INFO   >>  Entering directory /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/01081113001
16:20:59.690          main:::  line 1457  INFO   >>  Set MKF file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001s.mkf.gz
16:20:59.965          main:::  line 1498  INFO   >>  This obs is 0.548302017696477' from the source
16:21:00.290          main:::  line 1537  INFO   >>  resetting SRMAX to 30
16:21:00.290          main:::  line 1542  INFO   >>  Also setting SRPX=30 and SRCRAD=70.8
16:21:00.291          main:::  line 1560  INFO   >>  *** STARTING wt MODE ***
16:21:00.294          main:::  line 1564  INFO   >>  Working with position 162.3842248046,31.5128553311
16:21:00.295          main:::  line 1570  INFO   >>  List of event lists is 
16:21:00.295          main:::  line 1574  INFO   >>  No wt event file found for observation 01081113001, skipping
16:21:00.295          main:::  line 1537  INFO   >>  resetting SRMAX to 30
16:21:00.296          main:::  line 1542  INFO   >>  Also setting SRPX=30 and SRCRAD=70.8
16:21:00.296          main:::  line 1560  INFO   >>  *** STARTING pc MODE ***
16:21:00.299          main:::  line 1564  INFO   >>  Working with position 162.3842248046,31.5128553311
16:21:00.299    main::getevt:  line 5803  INFO   >>  Got event file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/event/sw01081113001xpcw3po_cl.evt.gz
16:21:00.299          main:::  line 1570  INFO   >>  List of event lists is /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/event/sw01081113001xpcw3po_cl.evt.gz
16:21:00.299          main:::  line 1577  INFO   >>  Found event files /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/event/sw01081113001xpcw3po_cl.evt.gz
16:21:00.300          main:::  line 1580  INFO   >>  Getting teldef file for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/event/sw01081113001xpcw3po_cl.evt.gz
16:21:00.322          main:::  line 1600  INFO   >>  SELECTED TELDEF: /usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef
16:21:00.322          main:::  line 1616  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
16:21:00.454          main:::  line 1619  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/event/sw01081113001xpcw3po_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
                                 1999      1999            0         0         0         0
                       Writing events file
                         1999 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1999      1999            0         0         0         0
                         in  7063.1     seconds
16:21:00.454          main:::  line 1623  INFO   >>  Calling ftsort to sort the event list
16:21:00.480          main:::  line 1627  INFO   >>  CMD OUT:
                      
16:21:00.484          main:::  line 1632  INFO   >>  Trying to determine attitude file needed for this event list
16:21:00.561          main:::  line 1639  INFO   >>  Selected stem pat from flag=110
16:21:00.562          main:::  line 1666  INFO   >>  SETTING MINDET TO w3
16:21:00.562          main:::  line 1753  INFO   >>  Copying the file pc.evt to work.evt
16:21:00.932 main::getbadpix:  line 6265  INFO   >>  Adding bpfile to work.evt as BPFILE column-- fcalc clobber=yes work.evt work.evt BPFILE "'badpixel_file_number0003'"
16:21:00.963 main::getbadpix:  line 6268  INFO   >>  CMD OUT:
                      
16:21:00.964          main:::  line 1766  INFO   >>  Got bad pixels, bpfilename is /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/badpixel_file_number0003
16:21:01.132          main:::  line 1859  INFO   >>  Setting end to 656859486.785492
16:21:01.338          main:::  line 1870  INFO   >>  ONTIME for this list is 7063.06410014629
16:21:01.434          main:::  line 1883  INFO   >>  Time after settling (1) is 656836231.396363
16:21:01.435          main:::  line 1904  INFO   >>  Satellite attitude file is /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz
16:21:01.641          main:::  line 1911  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=162.3842248046 y=31.5128553311 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz time=656836231.396363
16:21:01.641          main:::  line 1912  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 490.7414, 490.5233 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 303.7097, 299.2370 [0.1284, -0.0505 mm]
16:21:01.641          main:::  line 1924  INFO   >>  Detector co-ordinates are (303.7097, 299.2370)
16:21:01.641 main::getorbtimes:  line 6504  INFO   >>  GETTING ORB TIMES - looking for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/per_snapshot_01081113001_pc.txt
16:21:01.641 main::getorbtimes:  line 6521  INFO   >>  Not found, so using work.evt
16:21:01.756 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656836131.396432-656837954.203532
16:21:01.756 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656842196.827143-656843816.542943
16:21:01.757 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656848236.201872-656849577.607372
16:21:01.757 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656853992.040852-656855278.296492
16:21:01.757 main::getorbtimes:  line 6582  INFO   >>  Save orbit 656858491.387392-656859486.785492 (last orb)
16:21:01.757 main::getorbtimes:  line 6586  INFO   >>  There are 5 orbits
16:21:01.757          main:::  line 1946  INFO   >>  Is the source in the fov for orbit 0 (656836131.396432-656837954.203532)?
16:21:01.757          main:::  line 1961  INFO   >>  New settling time is 100
16:21:01.969          main:::  line 1967  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=162.3842248046 y=31.5128553311 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz time=656837042.799982
16:21:01.970          main:::  line 1968  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 490.7414, 490.5233 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 303.8607, 299.4653 [0.1344, -0.0414 mm]
16:21:01.970          main:::  line 1982  INFO   >>  Detector co-ordinates are (303.8607, 299.4653)
16:21:01.970          main:::  line 2088  INFO   >>  Old bgarea: 90477.868423386
16:21:01.980          main:::  line 2090  INFO   >>  Background area is 86700
16:21:01.981 main::getorbtimes:  line 6504  INFO   >>  GETTING ORB TIMES - looking for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/per_snapshot_01081113001_pc.txt
16:21:01.981 main::getorbtimes:  line 6521  INFO   >>  Not found, so using work.evt
16:21:02.084 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656836131.396432-656837954.203532
16:21:02.084 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656842196.827143-656843816.542943
16:21:02.084 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656848236.201872-656849577.607372
16:21:02.084 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656853992.040852-656855278.296492
16:21:02.085 main::getorbtimes:  line 6582  INFO   >>  Save orbit 656858491.387392-656859486.785492 (last orb)
16:21:02.085 main::getorbtimes:  line 6586  INFO   >>  There are 5 orbits
16:21:02.085          main:::  line 2156  INFO   >>  SAVING SOURCE POS IN KEEPS AS 162.3842248046,31.5128553311
16:21:02.085          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:21:02.085          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:21:02.085          main:::  line 2194  INFO   >>  * starting orbit 1, times 656836131.396432 to 656837954.203532 *
16:21:02.085          main:::  line 2201  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
16:21:02.187          main:::  line 2204  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
                                 1999       530         1469         0         0         0
                       Writing events file
                          530 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1999       530         1469         0         0         0
                         in  1822.8     seconds
                       Image            has      530 counts for  0.2908     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:21:02.187          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:21:02.326          main:::  line 2216  INFO   >>  This event list spans 656836131.396432 to 656837954.203532
16:21:02.430          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.656836131.396432.and.TIME.le.656837954.203532, status 0
16:21:02.454          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   568669.94
                       The mean of the selected column is                  137.09497
                       The standard deviation of the selected column is   5.48194246E-04
                       The minimum of selected column is                   137.08144
                       The maximum of selected column is                   137.09747
                       The number of points used in calculation is             4148
16:21:02.459          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 137.094972237097
16:21:02.459          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 137.094972237097 -- fparkey value=137.094972237097 fitsfile=pc_orb0.evt+1 keyword=PA_PNT
16:21:02.484          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:21:02.484          main:::  line 2246  INFO   >>  Going to update the image roll to 137.094972237097: fparkey add=no value=137.094972237097 fitsfile=pc_orb0.img+0 keyword=PA_PNT
16:21:02.507          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:21:02.507          main:::  line 2424  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
16:21:02.653          main:::  line 2427  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
                                  530       530            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  530       530            0         0         0         0
                         in  1822.8     seconds
                       Image            has      530 counts for  0.2908     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 137.094972237097
16:21:02.653          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:21:02.653          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:21:02.673          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     4.9070314417552E+02,    4.9052083089705E+02
16:21:02.680          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:21:02.771          main:::  line 2457  INFO   >>  THe image had 129 counts
16:21:02.771          main:::  line 2461  INFO   >>  Going to centroid - we have 129 (>15) counts
16:21:02.771  main::dopsffit:  line 6602  INFO   >>  IN THE DOPSFFIT ROUTINE - eventfile = pc_orb0.evt
16:21:02.776 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  344  INFO   >>  Centroiding on source at (162.3842248046, 31.5128553311) with psf_centroid.
16:21:02.776 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  351  INFO   >>  ObsList is `pc_orb0.evt`
16:21:02.776 UKSSDC::Centroid::makeExpoImage:  line  647  INFO   >>  Creating exposure map image for observations: pc_orb0.evt
16:21:02.862 UKSSDC::Centroid::makeExpoImage:  line  695  INFO   >>  Need to generate an exposure map for `01081113001`
16:21:02.935 UKSSDC::Centroid::makeExpoImage:  line  708  INFO   >>  Selected stem `pat` from flag=`110` from file `pc_orb0.evt`
16:21:02.971 UKSSDC::Centroid::makeExpoImage:  line  730  INFO   >>  Calling `xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb0.evt outdir=. stemout=cent_1 hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz vigflag=yes > temp.out 2>&1` to create exposure map for obs `01081113001`
16:21:46.076 UKSSDC::Centroid::makeExpoImage:  line  750  INFO   >>  Calling extractor to create the image: `extractor adjustgti=yes gti=GTI copyall=yes clobber=yes filename=@tmp_xim_XUtRN.tmp eventsout=NONE imgfile=centroid.img fitsbinlc=NONE phafile=NONE regionfile=NONE timefile=NONE xcolf=X ycolf=Y tcol=TIME`
16:21:46.205 UKSSDC::Centroid::makeExpoImage:  line  762  INFO   >>  Getting CRVAL1 from centroid.img
16:21:46.305 UKSSDC::Centroid::makeExpoImage:  line  771  INFO   >>  Getting CRVAL2 from centroid.img
16:21:46.404 UKSSDC::Centroid::makeExpoImage:  line  779  INFO   >>  Now I need to shift all exposure maps to WCS ref (`162.3767`, `31.51939`)
16:21:46.405 UKSSDC::Centroid::makeExpoImage:  line  785  INFO   >>  Calling `shiftWCS -e -- 162.3767 31.51939 1000 cent_1_ex.img cent_1_ex_shift.img >/dev/null 2>&1` to shift WCS of exposure map `cent_1_ex.img`
16:21:50.626 UKSSDC::Centroid::makeExpoImage:  line  797  INFO   >>  Calling `sumImages tmp_ximE_4Qh4o.tmp centroid_ex.img` to sum exposure maps
16:21:50.768 UKSSDC::Centroid::makeExpoImage:  line  810  INFO   >>  RADECSYS keyword of the first exposure map is `'FK5'`
16:21:50.987 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  376  INFO   >>  Calling psf_centroid with command: `psf_centroid_expomap_v2.7 -p swxpsf20010101v006_rc2.fits  -1 -x 490.7032 -y 490.5208 -r 30 -m centroid_ex.img centroid.img > centroid.cent 2> temp.out`
16:22:02.594 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  385  INFO   >>  Centroid output:
  Source1 493.5009848272 -0.2682123231 0.2669437352 489.0823475563 -0.2704774544 0.2719371449 162.3820757748 -0.0001747971 0.0001756278 31.5119135072 -0.0001771110 0.0001780669 2.9990002484e-03 -2.6811269734e-04 2.6014088492e-04 1.5271572622e+03 0.0000000000e+00 129.0000000000 303.6822928259 9.5834938455 swxpsf20010101v006_rc2.fits 0.0735156742 0.0735156742 0.0000000000 0.0000000000 0 0.0000000000 1.0346469406 10 NULL NULL NULL 21 30.0000000000 NULL NULL NULL 0.9818625210 0.9999999988 3.7728361321 2.0278470635 2.8591666593 0.0000000000 -1.0000000000 303.6822924392 0 
16:22:02.594 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  399  INFO   >>  PSF fit returned a source at (162.3820757748, 31.5119135072), using PSF `swxpsf20010101v006_rc2.fits`
16:22:02.594  main::dopsffit:  line 6612  INFO   >>  AND I HAVE NOW FINISHED
16:22:02.594  main::dopsffit:  line 6616  INFO   >>  Saving centroid files to _orb0
16:22:02.699          main:::  line 2492  INFO   >>  For this orbit, pos is RA,Dec: 162.3820757748, 31.5119135072
16:22:02.700          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 70.8
16:22:02.889          main:::  line 2552  INFO   >>  Calling pointxform
16:22:02.889          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 493.5393, 489.0848 [162.3821, 31.5119 deg]
                      pointxform: 	=> DET 303.0008, 296.4391 [0.1000, -0.1624 mm]
16:22:02.890          main:::  line 2565  INFO   >>  Detector co-ordinates are (303.0008, 296.4391)
16:22:02.890          main:::  line 2578  INFO   >>  About to do this bit, dety: 296.4391
16:22:02.890          main:::  line 2588  INFO   >>  HERE _ DETX=303.0008, DETY=296.4391
16:22:02.890          main:::  line 2623  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
16:22:03.005          main:::  line 2626  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
                                  129       129            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  129       129            0         0         0         0
                         in  1822.8     seconds
                       Fits light curve has   129.0     counts for  7.0770E-02 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 137.094972237097
16:22:03.005          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:22:03.024          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:22:03.029          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0.0740408888888889, and new srcrad=20. Old rad was 30, and cf2 was 1.0412
16:22:03.030          main:::  line 2788  INFO   >>  Old source area: 1256.63706143592
16:22:03.037          main:::  line 2790  INFO   >>  New source area: 1082
16:22:03.037          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 20 to pc_orb0.evt -- fcalc clobber=yes pc_orb0.evt pc_orb0.evt SRCRAD 20
16:22:03.068          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:22:03.170          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:22:03.173          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb0.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz
16:22:26.162          main:::  line 2986  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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 11 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 12 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 13 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 14 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 15 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 16 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 17 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 18 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 19 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 20 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 21 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 22 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 23 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 24 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 25 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 26 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 27 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 28 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 29 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 30 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 31 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 32 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 33 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 34 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 35 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 36 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 37 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 38 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 39 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 40 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 41 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 42 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 43 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 44 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 45 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 46 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 47 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 48 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 49 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] => 656836133.898672
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 656836137.659646
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 656836141.420626
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 656836146.435236
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 656836151.449876
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 656836165.240116
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 656836182.791326
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 656836191.566936
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 656836197.835216
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 656836207.864486
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[11] skytime DEFAULT[TMIDDLE] => 656836226.669366
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[12] skytime DEFAULT[TMIDDLE] => 656836249.235206
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[13] skytime DEFAULT[TMIDDLE] => 656836265.532756
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[14] skytime DEFAULT[TMIDDLE] => 656836274.308356
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[15] skytime DEFAULT[TMIDDLE] => 656836279.322996
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[16] skytime DEFAULT[TMIDDLE] => 656836283.083966
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[17] skytime DEFAULT[TMIDDLE] => 656836291.859576
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[18] skytime DEFAULT[TMIDDLE] => 656836310.664436
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[19] skytime DEFAULT[TMIDDLE] => 656836328.215656
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[20] skytime DEFAULT[TMIDDLE] => 656836338.244926
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[21] skytime DEFAULT[TMIDDLE] => 656836349.527856
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[22] skytime DEFAULT[TMIDDLE] => 656836360.810776
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[23] skytime DEFAULT[TMIDDLE] => 656836380.869306
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[24] skytime DEFAULT[TMIDDLE] => 656836400.927846
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[25] skytime DEFAULT[TMIDDLE] => 656836426.000996
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[26] skytime DEFAULT[TMIDDLE] => 656836468.625386
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[27] skytime DEFAULT[TMIDDLE] => 656836551.366856
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[28] skytime DEFAULT[TMIDDLE] => 656836724.371786
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[29] skytime DEFAULT[TMIDDLE] => 656836849.737696
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[30] skytime DEFAULT[TMIDDLE] => 656837012.713436
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[31] skytime DEFAULT[TMIDDLE] => 656837252.162446
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[32] skytime DEFAULT[TMIDDLE] => 656837362.484516
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[33] skytime DEFAULT[TMIDDLE] => 656837421.406556
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[34] skytime DEFAULT[TMIDDLE] => 656837471.552966
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[35] skytime DEFAULT[TMIDDLE] => 656837485.343226
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[36] skytime DEFAULT[TMIDDLE] => 656837512.923756
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[37] skytime DEFAULT[TMIDDLE] => 656837540.504276
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[38] skytime DEFAULT[TMIDDLE] => 656837599.426316
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[39] skytime DEFAULT[TMIDDLE] => 656837685.928886
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[40] skytime DEFAULT[TMIDDLE] => 656837724.792366
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[41] skytime DEFAULT[TMIDDLE] => 656837737.328976
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[42] skytime DEFAULT[TMIDDLE] => 656837774.938786
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[43] skytime DEFAULT[TMIDDLE] => 656837823.831546
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[44] skytime DEFAULT[TMIDDLE] => 656837851.412106
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[45] skytime DEFAULT[TMIDDLE] => 656837872.724326
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[46] skytime DEFAULT[TMIDDLE] => 656837886.514586
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[47] skytime DEFAULT[TMIDDLE] => 656837906.573176
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[48] skytime DEFAULT[TMIDDLE] => 656837931.646386
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[49] skytime DEFAULT[TMIDDLE] => 656837947.943986
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+11"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+11
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+12"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+12
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+13"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+13
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+14"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+14
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+15"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+15
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+16"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+16
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+17"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+17
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+18"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+18
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+19"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+19
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+20"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+20
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+21"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+21
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+22"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+22
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+23"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+23
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+24"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+24
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+25"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+25
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+26"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+26
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+27"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+27
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+28"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+28
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+29"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+29
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+30"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+30
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+31"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+31
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+32"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+32
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+33"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+33
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+34"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+34
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+35"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+35
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+36"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+36
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+37"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+37
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+38"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+38
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+39"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+39
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+40"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+40
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+41"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+41
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+42"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+42
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+43"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+43
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+44"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+44
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+45"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+45
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+46"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+46
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+47"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+47
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+48"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+48
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+49"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+49
                      ![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 
                      ------------------------------------------------------------
16:22:26.275  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:22:26.375  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 88061.000      89403.000      89403.000      0.9849893         0.9849893
Area is 89403.000
16:22:26.375          main:::  line 2998  INFO   >>  calcArea has returned 89403.000
16:22:26.375          main:::  line 3032  INFO   >>  Starting pileup section.
16:22:26.378          main:::  line 3061  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
16:22:26.497          main:::  line 3064  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
                                  124       124            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  124       124            0         0         0         0
                         in  1822.8     seconds
                       Fits light curve has   124.0     counts for  6.8027E-02 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 137.094972237097
16:22:26.589          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:22:26.589          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:22:26.690          main:::  line 3191  INFO   >>  Starting a pup point as 0.600000>0.554067780958537 intstart=656836461.396432 (327.5)
16:22:26.691          main:::  line 4031  INFO   >>  Done pileup checking
16:22:26.691          main:::  line 4099  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
16:22:26.785          main:::  line 4102  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
                                  124       124            0         0         0         0
                       Writing events file
                          124 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  124       124            0         0         0         0
                         in  1822.8     seconds
16:22:26.785          main:::  line 4115  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
16:22:26.949          main:::  line 4118  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
                                  530       530            0         0         0         0
                       Writing events file
                          530 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  530       530            0         0         0         0
                         in  1822.8     seconds
                       Image            has      530 counts for  0.2908     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 137.094972237097
16:22:26.949          main:::  line 4134  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
16:22:27.075          main:::  line 4137  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
                                   90        90            0         0         0         0
                       Writing events file
                           90 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   90        90            0         0         0         0
                         in  1822.8     seconds
16:22:27.075          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup0.evt pcallnonpup0.evt PUPRAD "0.00"
16:22:27.105          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:22:27.105          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup0.back.evt pcallnonpup0.back.evt SRCAREA "1082"
16:22:27.136          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:22:27.430          main:::  line 4180  INFO   >>  Got event range of 656836131.396432 - 656837954.203532 from pc_orb0.evt
16:22:27.437          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup0.img xsky=162.3820757748 ysky=31.5119135072
16:22:27.461          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238207577480E+02,    3.1511913507200E+01
                       Output pixel coordinates:     4.9350098484290E+02,    4.8908234751124E+02
16:22:27.471          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.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=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz infile=pcallnonpup0_full.evt
16:22:30.412          main:::  line 4257  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/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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: Appended 145 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 146 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 147 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 148 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 149 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 150 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 151 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 152 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 153 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 154 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 155 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 156 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 157 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 158 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 159 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 160 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 161 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 162 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 163 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 164 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 165 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 166 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 167 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 168 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 169 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 170 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 171 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 172 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 173 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 174 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 175 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 176 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 177 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 178 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 179 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 180 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 181 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 182 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.
                      ---------------------------------------------------------------------
16:22:30.412          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup0.fits outfile=corr_region_pcallnonpup0.fits clname=TIME expr=TSTART rowrange=1-1
16:22:30.437          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:22:30.534          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup0.back.evt pcallnonpup0.back.evt BGAREA "89403.000" to add bg area to list
16:22:30.564          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:22:30.565          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:22:30.565          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:22:30.565          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:22:30.565          main:::  line 2194  INFO   >>  * starting orbit 2, times 656842196.827143 to 656843816.542943 *
16:22:30.565          main:::  line 2201  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
16:22:30.727          main:::  line 2204  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
                                 1999       493         1506         0         0         0
                       Writing events file
                          493 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1999       493         1506         0         0         0
                         in  1619.7     seconds
                       Image            has      493 counts for  0.3044     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:22:30.727          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:22:30.924          main:::  line 2216  INFO   >>  This event list spans 656842196.827143 to 656843816.542943
16:22:31.021          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.656842196.827143.and.TIME.le.656843816.542943, status 0
16:22:31.045          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   815545.84
                       The mean of the selected column is                  136.99745
                       The standard deviation of the selected column is   5.39999168E-04
                       The minimum of selected column is                   136.99521
                       The maximum of selected column is                   137.00151
                       The number of points used in calculation is             5953
16:22:31.050          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 136.997453632864
16:22:31.050          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 136.997453632864 -- fparkey value=136.997453632864 fitsfile=pc_orb1.evt+1 keyword=PA_PNT
16:22:31.074          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:22:31.074          main:::  line 2246  INFO   >>  Going to update the image roll to 136.997453632864: fparkey add=no value=136.997453632864 fitsfile=pc_orb1.img+0 keyword=PA_PNT
16:22:31.098          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:22:31.099          main:::  line 2424  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
16:22:31.240          main:::  line 2427  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
                                  493       493            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  493       493            0         0         0         0
                         in  1619.7     seconds
                       Image            has      493 counts for  0.3044     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 136.997453632864
16:22:31.241          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:22:31.241          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:22:31.291          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     4.9070314417552E+02,    4.9052083089705E+02
16:22:31.301          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:22:31.447          main:::  line 2457  INFO   >>  THe image had 45 counts
16:22:31.447          main:::  line 2461  INFO   >>  Going to centroid - we have 45 (>15) counts
16:22:31.447  main::dopsffit:  line 6602  INFO   >>  IN THE DOPSFFIT ROUTINE - eventfile = pc_orb1.evt
16:22:31.452 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  344  INFO   >>  Centroiding on source at (162.3842248046, 31.5128553311) with psf_centroid.
16:22:31.452 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  351  INFO   >>  ObsList is `pc_orb1.evt`
16:22:31.452 UKSSDC::Centroid::makeExpoImage:  line  647  INFO   >>  Creating exposure map image for observations: pc_orb1.evt
16:22:31.549 UKSSDC::Centroid::makeExpoImage:  line  695  INFO   >>  Need to generate an exposure map for `01081113001`
16:22:31.643 UKSSDC::Centroid::makeExpoImage:  line  708  INFO   >>  Selected stem `pat` from flag=`110` from file `pc_orb1.evt`
16:22:31.682 UKSSDC::Centroid::makeExpoImage:  line  730  INFO   >>  Calling `xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb1.evt outdir=. stemout=cent_1 hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz vigflag=yes > temp.out 2>&1` to create exposure map for obs `01081113001`
16:22:49.204 UKSSDC::Centroid::makeExpoImage:  line  750  INFO   >>  Calling extractor to create the image: `extractor adjustgti=yes gti=GTI copyall=yes clobber=yes filename=@tmp_xim_ciTX1.tmp eventsout=NONE imgfile=centroid.img fitsbinlc=NONE phafile=NONE regionfile=NONE timefile=NONE xcolf=X ycolf=Y tcol=TIME`
16:22:49.357 UKSSDC::Centroid::makeExpoImage:  line  762  INFO   >>  Getting CRVAL1 from centroid.img
16:22:49.436 UKSSDC::Centroid::makeExpoImage:  line  771  INFO   >>  Getting CRVAL2 from centroid.img
16:22:49.526 UKSSDC::Centroid::makeExpoImage:  line  779  INFO   >>  Now I need to shift all exposure maps to WCS ref (`162.3767`, `31.51939`)
16:22:49.526 UKSSDC::Centroid::makeExpoImage:  line  785  INFO   >>  Calling `shiftWCS -e -- 162.3767 31.51939 1000 cent_1_ex.img cent_1_ex_shift.img >/dev/null 2>&1` to shift WCS of exposure map `cent_1_ex.img`
16:22:53.109 UKSSDC::Centroid::makeExpoImage:  line  797  INFO   >>  Calling `sumImages tmp_ximE_zzits.tmp centroid_ex.img` to sum exposure maps
16:22:53.247 UKSSDC::Centroid::makeExpoImage:  line  810  INFO   >>  RADECSYS keyword of the first exposure map is `'FK5'`
16:22:53.468 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  376  INFO   >>  Calling psf_centroid with command: `psf_centroid_expomap_v2.7 -p swxpsf20010101v006_rc2.fits  -1 -x 490.7032 -y 490.5208 -r 30 -m centroid_ex.img centroid.img > centroid.cent 2> temp.out`
16:22:55.332 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  385  INFO   >>  Centroid output:
  Source1 491.7478388377 -0.5284755738 0.5829312078 488.6566486212 -0.5353071022 0.5010984957 162.3834223039 -0.0003817085 0.0003460505 31.5116346924 -0.0003505239 0.0003281238 1.1560576065e-03 -1.7685831267e-04 1.6803158065e-04 1.5095977730e+03 0.0000000000e+00 45.0000000000 231.8515104481 4.5534398679 swxpsf20010101v006_rc2.fits 0.0289651234 0.0289651234 0.0000000000 0.0000000000 0 0.0000000000 1.0158219708 10 2804.9094398987 0.0000000000e+00 40.0000000000 21 30.0000000000 382.2700076235 0.0000000000e+00 40.0000000000 0.9998475842 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 0 
16:22:55.333 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  399  INFO   >>  PSF fit returned a source at (162.3834223039, 31.5116346924), using PSF `swxpsf20010101v006_rc2.fits`
16:22:55.333  main::dopsffit:  line 6612  INFO   >>  AND I HAVE NOW FINISHED
16:22:55.333  main::dopsffit:  line 6616  INFO   >>  Saving centroid files to _orb1
16:22:55.433          main:::  line 2492  INFO   >>  For this orbit, pos is RA,Dec: 162.3834223039, 31.5116346924
16:22:55.433          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 47.2
16:22:55.643          main:::  line 2552  INFO   >>  Calling pointxform
16:22:55.643          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 491.7861, 488.6591 [162.3834, 31.5116 deg]
                      pointxform: 	=> DET 346.8489, 318.7458 [1.8540, 0.7298 mm]
16:22:55.643          main:::  line 2565  INFO   >>  Detector co-ordinates are (346.8489, 318.7458)
16:22:55.643          main:::  line 2578  INFO   >>  About to do this bit, dety: 318.7458
16:22:55.643          main:::  line 2588  INFO   >>  HERE _ DETX=346.8489, DETY=318.7458
16:22:55.643          main:::  line 2623  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
16:22:55.741          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.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
                                   40        40            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   40        40            0         0         0         0
                         in  1619.7     seconds
                       Fits light curve has   40.00     counts for  2.4696E-02 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 136.997453632864
16:22:55.741          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:22:55.770          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:22:55.776          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0.02603, and new srcrad=15. Old rad was 30, and cf2 was 1.0412
16:22:55.777          main:::  line 2788  INFO   >>  Old source area: 706.858347057703
16:22:55.786          main:::  line 2790  INFO   >>  New source area: 741
16:22:55.786          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 15 to pc_orb1.evt -- fcalc clobber=yes pc_orb1.evt pc_orb1.evt SRCRAD 15
16:22:55.812          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:22:55.899          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:22:55.900          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb1.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz
16:23:04.757          main:::  line 2986  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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 11 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 12 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 13 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 14 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 15 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 16 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 17 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 18 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] => 656842199.329452
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 656842203.090436
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 656842205.597756
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 656842208.105076
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 656842211.866056
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 656842216.880686
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 656842223.148986
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 656842233.178276
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 656842253.236836
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 656842273.295396
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[11] skytime DEFAULT[TMIDDLE] => 656842285.831986
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[12] skytime DEFAULT[TMIDDLE] => 656842334.724726
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[13] skytime DEFAULT[TMIDDLE] => 656842403.676036
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[14] skytime DEFAULT[TMIDDLE] => 656842495.193236
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[15] skytime DEFAULT[TMIDDLE] => 656842860.008586
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[16] skytime DEFAULT[TMIDDLE] => 656843279.985086
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[17] skytime DEFAULT[TMIDDLE] => 656843429.170816
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[18] skytime DEFAULT[TMIDDLE] => 656843637.278696
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+11"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+11
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+12"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+12
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+13"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+13
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+14"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+14
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+15"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+15
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+16"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+16
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+17"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+17
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+18"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+18
                      ![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 
                      ------------------------------------------------------------
16:23:04.886  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:23:04.983  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 88801.000      89398.000      89398.000      0.9933220         0.9933220
Area is 89398.000
16:23:04.983          main:::  line 2998  INFO   >>  calcArea has returned 89398.000
16:23:04.983          main:::  line 3032  INFO   >>  Starting pileup section.
16:23:04.986          main:::  line 3061  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
16:23:05.079          main:::  line 3064  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
 60% completed
 80% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   35        35            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   35        35            0         0         0         0
                         in  1619.7     seconds
                       Fits light curve has   35.00     counts for  2.1609E-02 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 136.997453632864
16:23:05.202          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:23:05.202          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:23:05.299          main:::  line 4031  INFO   >>  Done pileup checking
16:23:05.300          main:::  line 4099  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
16:23:05.376          main:::  line 4102  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
 60% completed
 80% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   35        35            0         0         0         0
                       Writing events file
                           35 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   35        35            0         0         0         0
                         in  1619.7     seconds
16:23:05.376          main:::  line 4115  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
16:23:05.535          main:::  line 4118  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
                                  493       493            0         0         0         0
                       Writing events file
                          493 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  493       493            0         0         0         0
                         in  1619.7     seconds
                       Image            has      493 counts for  0.3044     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 136.997453632864
16:23:05.536          main:::  line 4134  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
16:23:05.652          main:::  line 4137  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
                                  108       108            0         0         0         0
                       Writing events file
                          108 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  108       108            0         0         0         0
                         in  1619.7     seconds
16:23:05.653          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup1.evt pcallnonpup1.evt PUPRAD "0.00"
16:23:05.673          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:23:05.673          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup1.back.evt pcallnonpup1.back.evt SRCAREA "741"
16:23:05.703          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:23:05.977          main:::  line 4180  INFO   >>  Got event range of 656842196.827143 - 656843816.542943 from pc_orb1.evt
16:23:05.985          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup1.img xsky=162.3834223039 ysky=31.5116346924
16:23:06.012          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238342230390E+02,    3.1511634692400E+01
                       Output pixel coordinates:     4.9174783885457E+02,    4.8865664856408E+02
16:23:06.021          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.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=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz infile=pcallnonpup1_full.evt
16:23:08.503          main:::  line 4257  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/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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: Appended 21 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 22 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 23 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 24 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 25 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 26 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 27 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 28 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 29 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 30 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 31 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 32 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 33 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 34 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 35 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 36 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 37 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 38 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 39 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 40 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 41 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 42 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 43 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 44 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 45 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 46 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 47 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 48 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 49 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 50 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 51 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 52 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 53 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 54 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 55 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 56 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 57 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 58 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 59 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 60 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 61 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 62 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 63 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 64 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 65 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 66 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 67 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 68 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 69 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 70 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 71 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 72 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 73 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 74 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 75 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 76 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 77 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 78 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 79 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 80 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 81 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 82 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 83 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 84 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 85 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 86 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 87 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 88 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 89 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 90 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 91 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 92 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 93 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 94 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 95 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 96 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 97 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 98 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 99 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 100 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 101 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 102 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 103 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 104 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 105 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 106 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 107 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 108 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 109 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 110 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 111 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 112 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 113 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 114 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 115 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 116 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 117 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 118 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 119 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 120 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 121 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 122 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 123 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 124 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 125 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 126 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 127 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 128 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 129 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 130 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 131 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 132 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 133 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 134 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 135 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 136 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 137 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 138 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 139 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 140 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 141 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 142 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 143 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 144 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 145 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 146 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 147 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 148 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 149 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 150 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 151 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 152 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 153 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 154 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 155 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 156 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 157 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 158 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 159 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 160 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 161 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 162 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.
                      ---------------------------------------------------------------------
16:23:08.503          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup1.fits outfile=corr_region_pcallnonpup1.fits clname=TIME expr=TSTART rowrange=1-1
16:23:08.523          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:23:08.619          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup1.back.evt pcallnonpup1.back.evt BGAREA "89398.000" to add bg area to list
16:23:08.650          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:23:08.650          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:23:08.650          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:23:08.650          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:23:08.651          main:::  line 2194  INFO   >>  * starting orbit 3, times 656848236.201872 to 656849577.607372 *
16:23:08.651          main:::  line 2201  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
16:23:08.843          main:::  line 2204  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
                                 1999       485         1514         0         0         0
                       Writing events file
                          485 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1999       485         1514         0         0         0
                         in  1341.4     seconds
                       Image            has      485 counts for  0.3616     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:23:08.843          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:23:09.041          main:::  line 2216  INFO   >>  This event list spans 656848236.201872 to 656849577.607372
16:23:09.152          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.656848236.201872.and.TIME.le.656849577.607372, status 0
16:23:09.178          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   600412.43
                       The mean of the selected column is                  137.01790
                       The standard deviation of the selected column is   4.05700673E-04
                       The minimum of selected column is                   137.01685
                       The maximum of selected column is                   137.02007
                       The number of points used in calculation is             4382
16:23:09.182          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 137.017898810285
16:23:09.182          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 137.017898810285 -- fparkey value=137.017898810285 fitsfile=pc_orb2.evt+1 keyword=PA_PNT
16:23:09.205          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:23:09.205          main:::  line 2246  INFO   >>  Going to update the image roll to 137.017898810285: fparkey add=no value=137.017898810285 fitsfile=pc_orb2.img+0 keyword=PA_PNT
16:23:09.227          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:23:09.228          main:::  line 2424  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
16:23:09.509          main:::  line 2427  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
                                  485       485            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  485       485            0         0         0         0
                         in  1341.4     seconds
                       Image            has      485 counts for  0.3616     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 137.017898810285
16:23:09.510          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:23:09.510          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:23:09.593          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     4.9070314417552E+02,    4.9052083089705E+02
16:23:09.602          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:23:09.762          main:::  line 2457  INFO   >>  THe image had 38 counts
16:23:09.762          main:::  line 2461  INFO   >>  Going to centroid - we have 38 (>15) counts
16:23:09.763  main::dopsffit:  line 6602  INFO   >>  IN THE DOPSFFIT ROUTINE - eventfile = pc_orb2.evt
16:23:09.769 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  344  INFO   >>  Centroiding on source at (162.3842248046, 31.5128553311) with psf_centroid.
16:23:09.769 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  351  INFO   >>  ObsList is `pc_orb2.evt`
16:23:09.769 UKSSDC::Centroid::makeExpoImage:  line  647  INFO   >>  Creating exposure map image for observations: pc_orb2.evt
16:23:09.871 UKSSDC::Centroid::makeExpoImage:  line  695  INFO   >>  Need to generate an exposure map for `01081113001`
16:23:09.971 UKSSDC::Centroid::makeExpoImage:  line  708  INFO   >>  Selected stem `pat` from flag=`110` from file `pc_orb2.evt`
16:23:10.011 UKSSDC::Centroid::makeExpoImage:  line  730  INFO   >>  Calling `xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb2.evt outdir=. stemout=cent_1 hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz vigflag=yes > temp.out 2>&1` to create exposure map for obs `01081113001`
16:23:28.248 UKSSDC::Centroid::makeExpoImage:  line  750  INFO   >>  Calling extractor to create the image: `extractor adjustgti=yes gti=GTI copyall=yes clobber=yes filename=@tmp_xim_ZVUDo.tmp eventsout=NONE imgfile=centroid.img fitsbinlc=NONE phafile=NONE regionfile=NONE timefile=NONE xcolf=X ycolf=Y tcol=TIME`
16:23:28.389 UKSSDC::Centroid::makeExpoImage:  line  762  INFO   >>  Getting CRVAL1 from centroid.img
16:23:28.495 UKSSDC::Centroid::makeExpoImage:  line  771  INFO   >>  Getting CRVAL2 from centroid.img
16:23:28.566 UKSSDC::Centroid::makeExpoImage:  line  779  INFO   >>  Now I need to shift all exposure maps to WCS ref (`162.3767`, `31.51939`)
16:23:28.567 UKSSDC::Centroid::makeExpoImage:  line  785  INFO   >>  Calling `shiftWCS -e -- 162.3767 31.51939 1000 cent_1_ex.img cent_1_ex_shift.img >/dev/null 2>&1` to shift WCS of exposure map `cent_1_ex.img`
16:23:33.855 UKSSDC::Centroid::makeExpoImage:  line  797  INFO   >>  Calling `sumImages tmp_ximE_7gNNq.tmp centroid_ex.img` to sum exposure maps
16:23:33.981 UKSSDC::Centroid::makeExpoImage:  line  810  INFO   >>  RADECSYS keyword of the first exposure map is `'FK5'`
16:23:34.213 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  376  INFO   >>  Calling psf_centroid with command: `psf_centroid_expomap_v2.7 -p swxpsf20010101v006_rc2.fits  -1 -x 490.7032 -y 490.5208 -r 30 -m centroid_ex.img centroid.img > centroid.cent 2> temp.out`
16:23:35.834 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  385  INFO   >>  Centroid output:
  Source1 492.8072527758 -0.5673295001 0.5440446098 488.8685608152 -0.6307156180 0.6855224151 162.3826086048 -0.0003562453 0.0003714924 31.5117734944 -0.0004129982 0.0004488862 1.1806272811e-03 -1.9722241781e-04 1.8610811888e-04 1.2424487286e+03 0.0000000000e+00 38.0000000000 205.2008068404 4.4847535959 swxpsf20010101v006_rc2.fits 0.0289331844 0.0289331844 0.0000000000 0.0000000000 0 0.0000000000 1.0172646509 10 NULL NULL NULL 21 30.0000000000 NULL NULL NULL 1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 0 
16:23:35.834 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  399  INFO   >>  PSF fit returned a source at (162.3826086048, 31.5117734944), using PSF `swxpsf20010101v006_rc2.fits`
16:23:35.834  main::dopsffit:  line 6612  INFO   >>  AND I HAVE NOW FINISHED
16:23:35.834  main::dopsffit:  line 6616  INFO   >>  Saving centroid files to _orb2
16:23:35.938          main:::  line 2492  INFO   >>  For this orbit, pos is RA,Dec: 162.3826086048, 31.5117734944
16:23:35.938          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 35.4
16:23:36.131          main:::  line 2552  INFO   >>  Calling pointxform
16:23:36.131          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 492.8455, 488.8711 [162.3826, 31.5118 deg]
                      pointxform: 	=> DET 340.6353, 345.0161 [1.6054, 1.7806 mm]
16:23:36.131          main:::  line 2565  INFO   >>  Detector co-ordinates are (340.6353, 345.0161)
16:23:36.131          main:::  line 2578  INFO   >>  About to do this bit, dety: 345.0161
16:23:36.131          main:::  line 2588  INFO   >>  HERE _ DETX=340.6353, DETY=345.0161
16:23:36.131          main:::  line 2623  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
16:23:36.259          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                       40% completed
 50% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   32        32            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   32        32            0         0         0         0
                         in  1341.4     seconds
                       Fits light curve has   32.00     counts for  2.3856E-02 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 137.017898810285
16:23:36.259          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:23:36.285          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:23:36.291          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0.0256295384615385, and new srcrad=15. Old rad was 30, and cf2 was 1.0412
16:23:36.292          main:::  line 2788  INFO   >>  Old source area: 706.858347057703
16:23:36.299          main:::  line 2790  INFO   >>  New source area: 750
16:23:36.300          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 15 to pc_orb2.evt -- fcalc clobber=yes pc_orb2.evt pc_orb2.evt SRCRAD 15
16:23:36.329          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:23:36.421          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:23:36.422          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb2.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz
16:23:45.699          main:::  line 2986  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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 11 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 12 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 13 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 14 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 15 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 16 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 17 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 18 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 19 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 20 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] => 656848237.450428
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 656848239.957746
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 656848242.465096
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 656848244.972416
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 656848247.479736
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 656848251.240716
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 656848256.255356
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 656848261.269986
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 656848271.299286
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 656848287.596846
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[11] skytime DEFAULT[TMIDDLE] => 656848298.879806
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[12] skytime DEFAULT[TMIDDLE] => 656848311.416416
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[13] skytime DEFAULT[TMIDDLE] => 656848328.967666
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[14] skytime DEFAULT[TMIDDLE] => 656848364.070166
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[15] skytime DEFAULT[TMIDDLE] => 656848441.797136
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[16] skytime DEFAULT[TMIDDLE] => 656848530.807066
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[17] skytime DEFAULT[TMIDDLE] => 656848604.773066
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[18] skytime DEFAULT[TMIDDLE] => 656849013.466816
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[19] skytime DEFAULT[TMIDDLE] => 656849433.443516
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[20] skytime DEFAULT[TMIDDLE] => 656849528.721866
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+11"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+11
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+12"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+12
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+13"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+13
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+14"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+14
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+15"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+15
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+16"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+16
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+17"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+17
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+18"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+18
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+19"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+19
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+20"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+20
                      ![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 
                      ------------------------------------------------------------
16:23:45.838  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:23:45.928  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 89076.000      89409.000      89409.000      0.9962755         0.9962755
Area is 89409.000
16:23:45.928          main:::  line 2998  INFO   >>  calcArea has returned 89409.000
16:23:45.928          main:::  line 3032  INFO   >>  Starting pileup section.
16:23:45.930          main:::  line 3061  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
16:23:46.025          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                       40% completed
 50% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   32        32            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   32        32            0         0         0         0
                         in  1341.4     seconds
                       Fits light curve has   32.00     counts for  2.3856E-02 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 137.017898810285
16:23:46.134          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:23:46.135          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:23:46.244          main:::  line 4031  INFO   >>  Done pileup checking
16:23:46.244          main:::  line 4099  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
16:23:46.356          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                       40% completed
 50% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   32        32            0         0         0         0
                       Writing events file
                           32 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   32        32            0         0         0         0
                         in  1341.4     seconds
16:23:46.357          main:::  line 4115  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
16:23:46.518          main:::  line 4118  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
                                  485       485            0         0         0         0
                       Writing events file
                          485 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  485       485            0         0         0         0
                         in  1341.4     seconds
                       Image            has      485 counts for  0.3616     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 137.017898810285
16:23:46.518          main:::  line 4134  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
16:23:46.645          main:::  line 4137  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
                                   95        95            0         0         0         0
                       Writing events file
                           95 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   95        95            0         0         0         0
                         in  1341.4     seconds
16:23:46.645          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup2.evt pcallnonpup2.evt PUPRAD "0.00"
16:23:46.673          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:23:46.674          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup2.back.evt pcallnonpup2.back.evt SRCAREA "750"
16:23:46.695          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:23:46.952          main:::  line 4180  INFO   >>  Got event range of 656848236.201872 - 656849577.607372 from pc_orb2.evt
16:23:46.959          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup2.img xsky=162.3826086048 ysky=31.5117734944
16:23:46.982          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238260860480E+02,    3.1511773494400E+01
                       Output pixel coordinates:     4.9280725280056E+02,    4.8886856082919E+02
16:23:46.992          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.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=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz infile=pcallnonpup2_full.evt
16:23:49.230          main:::  line 4257  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/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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: Appended 33 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 34 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 35 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 36 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 37 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 38 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 39 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 40 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 41 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 42 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 43 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 44 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 45 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 46 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 47 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 48 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 49 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 50 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 51 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 52 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 53 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 54 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 55 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 56 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 57 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 58 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 59 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 60 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 61 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 62 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 63 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 64 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 65 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 66 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 67 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 68 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 69 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 70 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 71 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 72 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 73 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 74 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 75 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 76 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 77 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 78 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 79 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 80 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 81 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 82 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 83 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 84 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 85 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 86 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 87 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 88 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 89 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 90 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 91 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 92 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 93 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 94 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 95 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 96 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 97 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 98 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 99 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 100 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 101 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 102 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 103 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 104 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 105 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 106 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 107 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 108 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 109 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 110 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 111 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 112 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 113 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 114 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 115 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 116 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 117 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 118 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 119 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 120 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 121 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 122 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 123 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 124 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 125 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 126 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 127 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 128 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 129 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 130 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 131 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 132 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 133 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 134 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.
                      ---------------------------------------------------------------------
16:23:49.230          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup2.fits outfile=corr_region_pcallnonpup2.fits clname=TIME expr=TSTART rowrange=1-1
16:23:49.253          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:23:49.351          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup2.back.evt pcallnonpup2.back.evt BGAREA "89409.000" to add bg area to list
16:23:49.375          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:23:49.375          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:23:49.375          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:23:49.375          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:23:49.375          main:::  line 2194  INFO   >>  * starting orbit 4, times 656853992.040852 to 656855278.296492 *
16:23:49.375          main:::  line 2201  INFO   >>  Calling extractor  to get the event list of orbit 3 -- extractor adjustgti=yes gti=GTI copyall=yes filename=work.evt eventsout=pc_orb3.evt regionfile=NONE fitsbinlc=NONE clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y phafile=NONE imgfile=pc_orb3.img timefile=gti.filt
16:23:49.516          main:::  line 2204  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
                                 1999       282         1717         0         0         0
                       Writing events file
                          282 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1999       282         1717         0         0         0
                         in  1283.7     seconds
                       Image            has      282 counts for  0.2197     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:23:49.516          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:23:49.700          main:::  line 2216  INFO   >>  This event list spans 656853992.040852 to 656855278.296492
16:23:49.799          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.656853992.040852.and.TIME.le.656855278.296492, status 0
16:23:49.823          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   318881.76
                       The mean of the selected column is                  136.97670
                       The standard deviation of the selected column is   3.50257101E-04
                       The minimum of selected column is                   136.97559
                       The maximum of selected column is                   136.97841
                       The number of points used in calculation is             2328
16:23:49.827          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 136.97669954726
16:23:49.827          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 136.97669954726 -- fparkey value=136.97669954726 fitsfile=pc_orb3.evt+1 keyword=PA_PNT
16:23:49.846          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:23:49.847          main:::  line 2246  INFO   >>  Going to update the image roll to 136.97669954726: fparkey add=no value=136.97669954726 fitsfile=pc_orb3.img+0 keyword=PA_PNT
16:23:49.874          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:23:49.875          main:::  line 2424  INFO   >>  Calling extractor  to get an image orbit 3 -- extractor adjustgti=yes gti=GTI copyall=yes filename=pc_orb3.evt eventsout=NONE regionfile=NONE fitsbinlc=NONE clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y phafile=NONE imgfile=temp.img timefile=NONE
16:23:49.991          main:::  line 2427  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb3.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
                                  282       282            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  282       282            0         0         0         0
                         in  1283.7     seconds
                       Image            has      282 counts for  0.2197     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 136.97669954726
16:23:49.991          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:23:49.991          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:23:50.010          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     4.9070314417552E+02,    4.9052083089705E+02
16:23:50.018          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:23:50.159          main:::  line 2457  INFO   >>  THe image had 24 counts
16:23:50.160          main:::  line 2461  INFO   >>  Going to centroid - we have 24 (>15) counts
16:23:50.160  main::dopsffit:  line 6602  INFO   >>  IN THE DOPSFFIT ROUTINE - eventfile = pc_orb3.evt
16:23:50.165 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  344  INFO   >>  Centroiding on source at (162.3842248046, 31.5128553311) with psf_centroid.
16:23:50.165 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  351  INFO   >>  ObsList is `pc_orb3.evt`
16:23:50.166 UKSSDC::Centroid::makeExpoImage:  line  647  INFO   >>  Creating exposure map image for observations: pc_orb3.evt
16:23:50.255 UKSSDC::Centroid::makeExpoImage:  line  695  INFO   >>  Need to generate an exposure map for `01081113001`
16:23:50.352 UKSSDC::Centroid::makeExpoImage:  line  708  INFO   >>  Selected stem `pat` from flag=`110` from file `pc_orb3.evt`
16:23:50.385 UKSSDC::Centroid::makeExpoImage:  line  730  INFO   >>  Calling `xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb3.evt outdir=. stemout=cent_1 hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz vigflag=yes > temp.out 2>&1` to create exposure map for obs `01081113001`
16:24:21.918 UKSSDC::Centroid::makeExpoImage:  line  750  INFO   >>  Calling extractor to create the image: `extractor adjustgti=yes gti=GTI copyall=yes clobber=yes filename=@tmp_xim_Cw38N.tmp eventsout=NONE imgfile=centroid.img fitsbinlc=NONE phafile=NONE regionfile=NONE timefile=NONE xcolf=X ycolf=Y tcol=TIME`
16:24:22.055 UKSSDC::Centroid::makeExpoImage:  line  762  INFO   >>  Getting CRVAL1 from centroid.img
16:24:22.134 UKSSDC::Centroid::makeExpoImage:  line  771  INFO   >>  Getting CRVAL2 from centroid.img
16:24:22.221 UKSSDC::Centroid::makeExpoImage:  line  779  INFO   >>  Now I need to shift all exposure maps to WCS ref (`162.3767`, `31.51939`)
16:24:22.221 UKSSDC::Centroid::makeExpoImage:  line  785  INFO   >>  Calling `shiftWCS -e -- 162.3767 31.51939 1000 cent_1_ex.img cent_1_ex_shift.img >/dev/null 2>&1` to shift WCS of exposure map `cent_1_ex.img`
16:24:25.416 UKSSDC::Centroid::makeExpoImage:  line  797  INFO   >>  Calling `sumImages tmp_ximE_ChfVl.tmp centroid_ex.img` to sum exposure maps
16:24:25.548 UKSSDC::Centroid::makeExpoImage:  line  810  INFO   >>  RADECSYS keyword of the first exposure map is `'FK5'`
16:24:25.796 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  376  INFO   >>  Calling psf_centroid with command: `psf_centroid_expomap_v2.7 -p swxpsf20010101v006_rc2.fits  -1 -x 490.7032 -y 490.5208 -r 30 -m centroid_ex.img centroid.img > centroid.cent 2> temp.out`
16:24:27.435 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  385  INFO   >>  Centroid output:
  Source1 489.7585720873 -0.6747229675 0.7156440991 488.9586563691 -0.7780858033 0.8148071557 162.3849502246 -0.0004686101 0.0004418146 31.5118323608 -0.0005094975 0.0005335430 9.8872742839e-04 -2.1158088496e-04 1.9762248034e-04 1.2205284971e+03 0.0000000000e+00 24.0000000000 172.2087959722 3.0096467095 swxpsf20010101v006_rc2.fits 0.0242456507 0.0242456507 0.0000000000 0.0000000000 0 0.0000000000 1.2916953519 10 NULL NULL NULL 21 30.0000000000 NULL NULL NULL 1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 0 
16:24:27.435 UKSSDC::Centroid::DO_XRT_PSFFIT:  line  399  INFO   >>  PSF fit returned a source at (162.3849502246, 31.5118323608), using PSF `swxpsf20010101v006_rc2.fits`
16:24:27.435  main::dopsffit:  line 6612  INFO   >>  AND I HAVE NOW FINISHED
16:24:27.435  main::dopsffit:  line 6616  INFO   >>  Saving centroid files to _orb3
16:24:27.550          main:::  line 2492  INFO   >>  For this orbit, pos is RA,Dec: 162.3849502246, 31.5118323608
16:24:27.550          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 35.4
16:24:27.705          main:::  line 2552  INFO   >>  Calling pointxform
16:24:27.706          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 489.7969, 488.9612 [162.3850, 31.5118 deg]
                      pointxform: 	=> DET 379.9486, 345.9855 [3.1779, 1.8194 mm]
16:24:27.706          main:::  line 2565  INFO   >>  Detector co-ordinates are (379.9486, 345.9855)
16:24:27.706          main:::  line 2578  INFO   >>  About to do this bit, dety: 345.9855
16:24:27.706          main:::  line 2588  INFO   >>  HERE _ DETX=379.9486, DETY=345.9855
16:24:27.706          main:::  line 2623  INFO   >>  Calling extractor  to get a source lc of this list -- extractor adjustgti=yes gti=GTI copyall=yes filename=pc_orb3.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
16:24:27.802          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb3.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
                                   20        20            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   20        20            0         0         0         0
                         in  1283.7     seconds
                       Fits light curve has   20.00     counts for  1.5580E-02 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 136.97669954726
16:24:27.802          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:24:27.820          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:24:27.826          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0.0173533333333333, and new srcrad=15. Old rad was 30, and cf2 was 1.0412
16:24:27.826          main:::  line 2788  INFO   >>  Old source area: 706.858347057703
16:24:27.833          main:::  line 2790  INFO   >>  New source area: 739
16:24:27.833          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 15 to pc_orb3.evt -- fcalc clobber=yes pc_orb3.evt pc_orb3.evt SRCRAD 15
16:24:27.863          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:24:27.948          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:24:27.949          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb3.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz
16:24:43.176          main:::  line 2986  INFO   >>  CMD OUT:
                      --------------------------------------------------------------
                                   Running ' xrtexpomap version 0.3.1 '
                      --------------------------------------------------------------
                      ---------------------------------------------------------------------
                       		Running 'xrtinstrmap_0.3.5'
                      ---------------------------------------------------------------------
                      		 Input Parameters List: 
                      Name of the input Event file             :'pc_orb3.evt'
                      Name of the input region file            :'CALDB'
                      Name of the input HK Header file         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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_orb3.evt' file.
                      xrtinstrmap_0.3.5: Info: Processing /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 11 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 12 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 13 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 14 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 15 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 16 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 17 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 18 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 19 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 20 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 21 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 22 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 23 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 24 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 25 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 26 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 27 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 28 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 29 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 30 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 31 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 32 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 33 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 34 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 35 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] => 656853994.543092
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 656853998.304076
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 656854002.065056
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 656854005.826056
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 656854009.587036
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 656854013.348006
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 656854019.616296
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 656854027.138256
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 656854040.928526
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 656854058.479766
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[11] skytime DEFAULT[TMIDDLE] => 656854068.509036
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[12] skytime DEFAULT[TMIDDLE] => 656854074.777336
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[13] skytime DEFAULT[TMIDDLE] => 656854083.552966
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[14] skytime DEFAULT[TMIDDLE] => 656854131.192046
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[15] skytime DEFAULT[TMIDDLE] => 656854276.616656
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[16] skytime DEFAULT[TMIDDLE] => 656854383.177786
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[17] skytime DEFAULT[TMIDDLE] => 656854393.207076
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[18] skytime DEFAULT[TMIDDLE] => 656854433.324216
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[19] skytime DEFAULT[TMIDDLE] => 656854501.021896
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[20] skytime DEFAULT[TMIDDLE] => 656854538.631716
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[21] skytime DEFAULT[TMIDDLE] => 656854548.661006
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[22] skytime DEFAULT[TMIDDLE] => 656854605.075746
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[23] skytime DEFAULT[TMIDDLE] => 656854714.144266
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[24] skytime DEFAULT[TMIDDLE] => 656854793.124906
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[25] skytime DEFAULT[TMIDDLE] => 656854819.451786
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[26] skytime DEFAULT[TMIDDLE] => 656854860.822606
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[27] skytime DEFAULT[TMIDDLE] => 656854899.686116
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[28] skytime DEFAULT[TMIDDLE] => 656854913.476386
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[29] skytime DEFAULT[TMIDDLE] => 656854926.012996
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[30] skytime DEFAULT[TMIDDLE] => 656854944.817926
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[31] skytime DEFAULT[TMIDDLE] => 656855092.749986
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[32] skytime DEFAULT[TMIDDLE] => 656855233.160106
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[33] skytime DEFAULT[TMIDDLE] => 656855244.443036
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[34] skytime DEFAULT[TMIDDLE] => 656855258.233346
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[35] skytime DEFAULT[TMIDDLE] => 656855272.023626
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+11"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+11
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+12"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+12
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+13"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+13
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+14"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+14
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+15"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+15
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+16"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+16
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+17"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+17
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+18"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+18
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+19"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+19
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+20"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+20
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+21"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+21
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+22"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+22
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+23"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+23
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+24"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+24
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+25"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+25
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+26"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+26
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+27"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+27
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+28"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+28
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+29"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+29
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+30"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+30
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+31"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+31
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+32"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+32
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+33"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+33
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+34"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+34
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+35"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+35
                      ![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 
                      ------------------------------------------------------------
16:24:43.314  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:24:43.441  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 89330.000      89421.000      89421.000      0.9989824         0.9989823
Area is 89421.000
16:24:43.441          main:::  line 2998  INFO   >>  calcArea has returned 89421.000
16:24:43.441          main:::  line 3032  INFO   >>  Starting pileup section.
16:24:43.445          main:::  line 3061  INFO   >>  Calling extractor  to get an lc for pup check comm: -- \extractor adjustgti=yes gti=GTI binlc=5 filename=pc_orb3.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
16:24:43.550          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb3.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
                                   20        20            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   20        20            0         0         0         0
                         in  1283.7     seconds
                       Fits light curve has   20.00     counts for  1.5580E-02 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 136.97669954726
16:24:43.662          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:24:43.662          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:24:43.756          main:::  line 4031  INFO   >>  Done pileup checking
16:24:43.757          main:::  line 4099  INFO   >>  Calling extractor  to make non pupped evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb3.evt eventsout=pcallnonpup3.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcsource.reg timefile=NONE
16:24:43.832          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb3.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
                                   20        20            0         0         0         0
                       Writing events file
                           20 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   20        20            0         0         0         0
                         in  1283.7     seconds
16:24:43.833          main:::  line 4115  INFO   >>  Calling extractor  to make non pupped full evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb3.evt eventsout=pcallnonpup3_full.evt imgfile=pcallnonpup3.img phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=NONE timefile=NONE
16:24:43.995          main:::  line 4118  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb3.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
                                  282       282            0         0         0         0
                       Writing events file
                          282 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  282       282            0         0         0         0
                         in  1283.7     seconds
                       Image            has      282 counts for  0.2197     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 136.97669954726
16:24:43.996          main:::  line 4134  INFO   >>  Calling extractor  to make pcallnonpup3.evt -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb3.evt eventsout=pcallnonpup3.back.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcback.reg timefile=NONE
16:24:44.143          main:::  line 4137  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb3.evt[regfilter("pcback.reg",X,Y)]
                       20% completed
 30% completed
 40% completed
 50% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   62        62            0         0         0         0
                       Writing events file
                           62 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   62        62            0         0         0         0
                         in  1283.7     seconds
16:24:44.143          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup3.evt pcallnonpup3.evt PUPRAD "0.00"
16:24:44.171          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:24:44.171          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup3.back.evt pcallnonpup3.back.evt SRCAREA "739"
16:24:44.202          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:24:44.484          main:::  line 4180  INFO   >>  Got event range of 656853992.040852 - 656855278.296492 from pc_orb3.evt
16:24:44.490          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup3.img xsky=162.3849502246 ysky=31.5118323608
16:24:44.515          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238495022460E+02,    3.1511832360800E+01
                       Output pixel coordinates:     4.8975857212074E+02,    4.8895865631360E+02
16:24:44.525          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes pcnframe=4 wtnframe=10 createinstrmap=yes outinstrfile=DEFAULT lcfile=none regionfile=corr_region_pcallnonpup3.reg outfile=none corrfile=corr_region_pcallnonpup3.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz infile=pcallnonpup3_full.evt
16:24:46.382          main:::  line 4257  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_pcallnonpup3.reg'
                      Name of the output file                  :'corr_region_pcallnonpup3.fits'
                      Name of the input TELDEF file            :'/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.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             :'pcallnonpup3_full.evt'
                      Name of the input FOV region file        :'CALDB'
                      Name of the input HK Header file         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz'
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Info: Name for the output instrument file is:
                      xrtlccorr_0.4.0: Info: 'corr_region_pcallnonpup3_srawinstr.img'
                      xrtlccorr_0.4.0: Info: Processing 'pcallnonpup3_full.evt' file.
                      xrtlccorr_0.4.0: Info: Processing /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 2 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 3 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 4 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 5 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 6 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 7 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 8 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 9 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 10 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 11 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 12 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 13 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 14 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 15 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 16 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 17 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 18 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 19 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 20 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 21 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 22 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 23 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 24 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 25 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 26 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 27 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 28 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 29 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 30 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 31 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 32 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 33 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 34 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 35 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 36 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 37 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 38 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 39 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 40 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 41 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 42 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 43 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 44 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 45 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 46 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 47 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 48 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 49 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 50 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 51 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 52 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 53 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 54 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 55 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 56 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 57 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 58 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 59 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 60 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 61 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 62 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 63 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 64 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 65 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 66 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 67 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 68 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 69 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 70 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 71 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 72 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 73 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 74 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 75 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 76 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 77 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 78 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 79 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 80 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 81 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 82 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 83 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 84 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 85 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 86 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 87 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 88 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 89 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 90 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 91 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 92 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 93 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 94 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 95 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 96 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 97 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 98 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 99 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 100 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 101 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 102 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 103 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 104 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 105 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 106 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 107 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 108 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 109 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 110 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 111 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 112 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 113 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 114 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 115 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 116 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 117 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 118 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 119 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 120 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 121 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 122 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 123 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 124 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 125 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 126 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 127 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 128 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: File 'corr_region_pcallnonpup3_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_pcallnonpup3.fits' successfully written.
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Exit with success.
                      ---------------------------------------------------------------------
16:24:46.382          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup3.fits outfile=corr_region_pcallnonpup3.fits clname=TIME expr=TSTART rowrange=1-1
16:24:46.410          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:24:46.506          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup3.back.evt pcallnonpup3.back.evt BGAREA "89421.000" to add bg area to list
16:24:46.538          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:24:46.538          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:24:46.538          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:24:46.538          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:24:46.538          main:::  line 2194  INFO   >>  * starting orbit 5, times 656858491.387392 to 656859486.785492 *
16:24:46.538          main:::  line 2201  INFO   >>  Calling extractor  to get the event list of orbit 4 -- extractor adjustgti=yes gti=GTI copyall=yes filename=work.evt eventsout=pc_orb4.evt regionfile=NONE fitsbinlc=NONE clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y phafile=NONE imgfile=pc_orb4.img timefile=gti.filt
16:24:46.697          main:::  line 2204  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
                                 1999       209         1790         0         0         0
                       Writing events file
                          209 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1999       209         1790         0         0         0
                         in  995.40     seconds
                       Image            has      209 counts for  0.2100     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:24:46.697          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:24:46.861          main:::  line 2216  INFO   >>  This event list spans 656858491.387392 to 656859486.785492
16:24:46.964          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.656858491.387392.and.TIME.le.656859486.785492, status 0
16:24:46.987          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   206996.12
                       The mean of the selected column is                  114.93399
                       The standard deviation of the selected column is   2.88326070E-04
                       The minimum of selected column is                   114.93268
                       The maximum of selected column is                   114.93532
                       The number of points used in calculation is             1801
16:24:46.992          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 114.933994121647
16:24:46.992          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 114.933994121647 -- fparkey value=114.933994121647 fitsfile=pc_orb4.evt+1 keyword=PA_PNT
16:24:47.016          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:24:47.016          main:::  line 2246  INFO   >>  Going to update the image roll to 114.933994121647: fparkey add=no value=114.933994121647 fitsfile=pc_orb4.img+0 keyword=PA_PNT
16:24:47.039          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:24:47.041          main:::  line 2424  INFO   >>  Calling extractor  to get an image orbit 4 -- extractor adjustgti=yes gti=GTI copyall=yes filename=pc_orb4.evt eventsout=NONE regionfile=NONE fitsbinlc=NONE clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y phafile=NONE imgfile=temp.img timefile=NONE
16:24:47.193          main:::  line 2427  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb4.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
                                  209       209            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  209       209            0         0         0         0
                         in  995.40     seconds
                       Image            has      209 counts for  0.2100     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 114.933994121647
16:24:47.193          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:24:47.193          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:24:47.220          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     4.9070314417552E+02,    4.9052083089705E+02
16:24:47.230          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:24:47.377          main:::  line 2457  INFO   >>  THe image had 8 counts
16:24:47.377          main:::  line 2498  INFO   >>  Not centroiding, too few counts (8 < 15)
16:24:47.377          main:::  line 2502  INFO   >>  Marking this orbit as incbad for PC mode
16:24:47.378          main:::  line 2511  INFO   >>  The position is bad, so taking weighted average
16:24:47.378          main:::  line 2524  INFO   >>  Calculated the weighted position as 162.38325659394, 31.5118876440114
16:24:47.378          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 35.4
16:24:47.523          main:::  line 2552  INFO   >>  Calling pointxform
16:24:47.524          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 492.0019, 489.0454 [162.3833, 31.5119 deg]
                      pointxform: 	=> DET 325.5367, 317.0938 [1.0015, 0.6638 mm]
16:24:47.524          main:::  line 2565  INFO   >>  Detector co-ordinates are (325.5367, 317.0938)
16:24:47.524          main:::  line 2578  INFO   >>  About to do this bit, dety: 317.0938
16:24:47.524          main:::  line 2588  INFO   >>  HERE _ DETX=325.5367, DETY=317.0938
16:24:47.524          main:::  line 2623  INFO   >>  Calling extractor  to get a source lc of this list -- extractor adjustgti=yes gti=GTI copyall=yes filename=pc_orb4.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
16:24:47.644          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb4.evt[regfilter("pcsource.reg",X,Y)]
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    7         7            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    7         7            0         0         0         0
                         in  995.40     seconds
                       Fits light curve has   7.000     counts for  7.0324E-03 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 114.933994121647
16:24:47.644          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:24:47.669          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:24:47.676          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0.00694133333333333, and new srcrad=12. Old rad was 30, and cf2 was 1.0412
16:24:47.676          main:::  line 2788  INFO   >>  Old source area: 452.38934211693
16:24:47.683          main:::  line 2790  INFO   >>  New source area: 397
16:24:47.683          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 12 to pc_orb4.evt -- fcalc clobber=yes pc_orb4.evt pc_orb4.evt SRCRAD 12
16:24:47.704          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:24:47.776          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:24:47.777          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb4.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz
16:24:52.694          main:::  line 2986  INFO   >>  CMD OUT:
                      --------------------------------------------------------------
                                   Running ' xrtexpomap version 0.3.1 '
                      --------------------------------------------------------------
                      ---------------------------------------------------------------------
                       		Running 'xrtinstrmap_0.3.5'
                      ---------------------------------------------------------------------
                      		 Input Parameters List: 
                      Name of the input Event file             :'pc_orb4.evt'
                      Name of the input region file            :'CALDB'
                      Name of the input HK Header file         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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_orb4.evt' file.
                      xrtinstrmap_0.3.5: Info: Processing /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 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] => 656858493.889652
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 656858498.904286
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 656858503.918916
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 656858508.933556
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 656858516.455506
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 656858542.782326
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 656858570.362806
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 656858584.153046
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 656859025.440926
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 656859472.997116
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![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 
                      ------------------------------------------------------------
16:24:52.804  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:24:52.894  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 89047.000      89393.000      89393.000      0.9961295         0.9961295
Area is 89393.000
16:24:52.894          main:::  line 2998  INFO   >>  calcArea has returned 89393.000
16:24:52.894          main:::  line 3032  INFO   >>  Starting pileup section.
16:24:52.897          main:::  line 3061  INFO   >>  Calling extractor  to get an lc for pup check comm: -- \extractor adjustgti=yes gti=GTI binlc=5 filename=pc_orb4.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
16:24:52.990          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb4.evt[regfilter("pcsource.reg",X,Y)]
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    7         7            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    7         7            0         0         0         0
                         in  995.40     seconds
                       Fits light curve has   7.000     counts for  7.0324E-03 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 114.933994121647
16:24:53.114          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:24:53.115          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:24:53.222          main:::  line 4031  INFO   >>  Done pileup checking
16:24:53.222          main:::  line 4099  INFO   >>  Calling extractor  to make non pupped evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb4.evt eventsout=pcallnonpup4.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcsource.reg timefile=NONE
16:24:53.340          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb4.evt[regfilter("pcsource.reg",X,Y)]
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    7         7            0         0         0         0
                       Writing events file
                            7 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    7         7            0         0         0         0
                         in  995.40     seconds
16:24:53.340          main:::  line 4115  INFO   >>  Calling extractor  to make non pupped full evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb4.evt eventsout=pcallnonpup4_full.evt imgfile=pcallnonpup4.img phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=NONE timefile=NONE
16:24:53.507          main:::  line 4118  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb4.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
                                  209       209            0         0         0         0
                       Writing events file
                          209 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  209       209            0         0         0         0
                         in  995.40     seconds
                       Image            has      209 counts for  0.2100     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 137.095003700585 and 114.933994121647
16:24:53.508          main:::  line 4134  INFO   >>  Calling extractor  to make pcallnonpup4.evt -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb4.evt eventsout=pcallnonpup4.back.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcback.reg timefile=NONE
16:24:53.637          main:::  line 4137  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb4.evt[regfilter("pcback.reg",X,Y)]
                       40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   61        61            0         0         0         0
                       Writing events file
                           61 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   61        61            0         0         0         0
                         in  995.40     seconds
16:24:53.637          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup4.evt pcallnonpup4.evt PUPRAD "0.00"
16:24:53.659          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:24:53.659          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup4.back.evt pcallnonpup4.back.evt SRCAREA "397"
16:24:53.681          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:24:53.907          main:::  line 4180  INFO   >>  Got event range of 656858491.387392 - 656859486.785492 from pc_orb4.evt
16:24:53.912          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup4.img xsky=162.38325659394 ysky=31.5118876440114
16:24:53.932          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238325659394E+02,    3.1511887644011E+01
                       Output pixel coordinates:     4.9196360946770E+02,    4.8904293387584E+02
16:24:53.938          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes pcnframe=4 wtnframe=10 createinstrmap=yes outinstrfile=DEFAULT lcfile=none regionfile=corr_region_pcallnonpup4.reg outfile=none corrfile=corr_region_pcallnonpup4.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz infile=pcallnonpup4_full.evt
16:24:55.414          main:::  line 4257  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_pcallnonpup4.reg'
                      Name of the output file                  :'corr_region_pcallnonpup4.fits'
                      Name of the input TELDEF file            :'/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/auxil/sw01081113001pat.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             :'pcallnonpup4_full.evt'
                      Name of the input FOV region file        :'CALDB'
                      Name of the input HK Header file         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.hk.gz'
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Info: Name for the output instrument file is:
                      xrtlccorr_0.4.0: Info: 'corr_region_pcallnonpup4_srawinstr.img'
                      xrtlccorr_0.4.0: Info: Processing 'pcallnonpup4_full.evt' file.
                      xrtlccorr_0.4.0: Info: Processing /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113001/xrt/hk/sw01081113001xhd.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_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 2 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 3 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 4 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 5 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 6 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 7 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 8 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 9 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 10 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 11 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 12 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 13 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 14 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 15 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 16 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 17 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 18 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 19 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 20 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 21 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 22 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 23 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 24 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 25 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 26 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 27 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 28 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 29 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 30 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 31 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 32 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 33 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 34 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 35 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 36 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 37 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 38 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 39 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 40 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 41 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 42 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 43 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 44 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 45 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 46 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 47 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 48 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 49 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 50 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 51 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 52 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 53 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 54 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 55 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 56 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 57 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 58 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 59 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 60 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 61 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 62 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 63 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 64 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 65 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 66 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 67 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 68 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 69 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 70 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 71 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 72 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 73 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 74 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 75 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 76 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 77 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 78 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 79 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 80 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 81 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 82 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 83 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 84 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 85 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 86 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 87 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 88 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 89 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 90 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 91 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 92 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 93 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 94 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 95 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 96 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 97 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 98 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 99 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 100 image in corr_region_pcallnonpup4_srawinstr.img file
                      xrtlccorr_0.4.0: Info: File 'corr_region_pcallnonpup4_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_pcallnonpup4.fits' successfully written.
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Exit with success.
                      ---------------------------------------------------------------------
16:24:55.414          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup4.fits outfile=corr_region_pcallnonpup4.fits clname=TIME expr=TSTART rowrange=1-1
16:24:55.432          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:24:55.536          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup4.back.evt pcallnonpup4.back.evt BGAREA "89393.000" to add bg area to list
16:24:55.560          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:24:55.560          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:24:55.565          main:::  line 4458  INFO   >>  For pc mode there are some bad orbits in this OBSID, so I need to run this loop twice
16:24:55.565          main:::  line 4466  INFO   >>  For pc mode, checking the suffix `` list
16:24:55.570          main:::  line 4479  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
16:24:55.713          main:::  line 4482  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
                                   90        90            0         0         0         0
                       Writing events file
                           90 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
                                  108       108            0         0         0         0
                       Writing events file
                          198 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
                                   95        95            0         0         0         0
                       Writing events file
                          293 events written to the output file
                       Doing file: pcallnonpup3.back.evt
                       20% completed
 30% completed
 40% completed
 50% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   62        62            0         0         0         0
                       Writing events file
                          355 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  355       355            0         0         0         0
                         in  6067.7     seconds
16:24:55.713          main:::  line 4488  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
16:24:55.828          main:::  line 4491  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
                                  124       124            0         0         0         0
                       Writing events file
                          124 events written to the output file
                       Doing file: pcallnonpup1.evt
                       20% completed
 40% completed
 60% completed
 80% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   35        35            0         0         0         0
                       Writing events file
                          159 events written to the output file
                       Doing file: pcallnonpup2.evt
                       40% completed
 50% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   32        32            0         0         0         0
                       Writing events file
                          191 events written to the output file
                       Doing file: pcallnonpup3.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
                                   20        20            0         0         0         0
                       Writing events file
                          211 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  211       211            0         0         0         0
                         in  6067.7     seconds
16:24:55.830          main:::  line 4505  INFO   >>  USEREPROC: 1	A: '/swift/data/local_reproc/01081113001 '
16:24:55.830          main:::  line 4510  INFO   >>  Calling fcalc clobber=yes pcsrctotal.evt pcsrctotal.evt OBSDIR "'/swift/data/local_reproc/01081113001 '"
16:24:55.854          main:::  line 4513  INFO   >>  CMD OUT:
                      
16:24:55.854          main:::  line 4466  INFO   >>  For pc mode, checking the suffix `_incbad` list
16:24:55.859          main:::  line 4479  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
16:24:55.978          main:::  line 4482  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
                                   90        90            0         0         0         0
                       Writing events file
                           90 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
                                  108       108            0         0         0         0
                       Writing events file
                          198 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
                                   95        95            0         0         0         0
                       Writing events file
                          293 events written to the output file
                       Doing file: pcallnonpup3.back.evt
                       20% completed
 30% completed
 40% completed
 50% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   62        62            0         0         0         0
                       Writing events file
                          355 events written to the output file
                       Doing file: pcallnonpup4.back.evt
                       40% completed
 50% completed
 60% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   61        61            0         0         0         0
                       Writing events file
                          416 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  416       416            0         0         0         0
                         in  7063.1     seconds
16:24:55.978          main:::  line 4488  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
16:24:56.076          main:::  line 4491  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
                                  124       124            0         0         0         0
                       Writing events file
                          124 events written to the output file
                       Doing file: pcallnonpup1.evt
                       20% completed
 40% completed
 60% completed
 80% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   35        35            0         0         0         0
                       Writing events file
                          159 events written to the output file
                       Doing file: pcallnonpup2.evt
                       40% completed
 50% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   32        32            0         0         0         0
                       Writing events file
                          191 events written to the output file
                       Doing file: pcallnonpup3.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
                                   20        20            0         0         0         0
                       Writing events file
                          211 events written to the output file
                       Doing file: pcallnonpup4.evt
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    7         7            0         0         0         0
                       Writing events file
                          218 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  218       218            0         0         0         0
                         in  7063.1     seconds
16:24:56.079          main:::  line 4505  INFO   >>  USEREPROC: 1	A: '/swift/data/local_reproc/01081113001 '
16:24:56.079          main:::  line 4510  INFO   >>  Calling fcalc clobber=yes pcsrctotal_incbad.evt pcsrctotal_incbad.evt OBSDIR "'/swift/data/local_reproc/01081113001 '"
16:24:56.101          main:::  line 4513  INFO   >>  CMD OUT:
                      
16:24:56.101          main:::  line 4550  INFO   >>  Calling ftmerge @mergein.list pc_corrections.fits
16:24:56.124          main:::  line 4553  INFO   >>  CMD OUT:
                      
16:24:56.125          main:::  line 4594  INFO   >>  Done all modes for this observation
16:24:56.347          main:::  line 1448  INFO   >>  ********** STARTING OBSERVATION 01081113003 *************
16:24:56.347          main:::  line 1450  INFO   >>  Entering directory /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/01081113003
16:24:56.349          main:::  line 1457  INFO   >>  Set MKF file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003s.mkf.gz
16:24:56.581          main:::  line 1498  INFO   >>  This obs is 2.37151510983017' from the source
16:24:56.850          main:::  line 1537  INFO   >>  resetting SRMAX to 30
16:24:56.850          main:::  line 1542  INFO   >>  Also setting SRPX=30 and SRCRAD=70.8
16:24:56.850          main:::  line 1560  INFO   >>  *** STARTING wt MODE ***
16:24:56.853          main:::  line 1564  INFO   >>  Working with position 162.3842248046,31.5128553311
16:24:56.855          main:::  line 1570  INFO   >>  List of event lists is 
16:24:56.855          main:::  line 1574  INFO   >>  No wt event file found for observation 01081113003, skipping
16:24:56.855          main:::  line 1537  INFO   >>  resetting SRMAX to 30
16:24:56.855          main:::  line 1542  INFO   >>  Also setting SRPX=30 and SRCRAD=70.8
16:24:56.855          main:::  line 1560  INFO   >>  *** STARTING pc MODE ***
16:24:56.857          main:::  line 1564  INFO   >>  Working with position 162.3842248046,31.5128553311
16:24:56.859    main::getevt:  line 5803  INFO   >>  Got event file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/event/sw01081113003xpcw3po_cl.evt.gz
16:24:56.859          main:::  line 1570  INFO   >>  List of event lists is /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/event/sw01081113003xpcw3po_cl.evt.gz
16:24:56.859          main:::  line 1577  INFO   >>  Found event files /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/event/sw01081113003xpcw3po_cl.evt.gz
16:24:56.859          main:::  line 1580  INFO   >>  Getting teldef file for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/event/sw01081113003xpcw3po_cl.evt.gz
16:24:56.879          main:::  line 1600  INFO   >>  SELECTED TELDEF: /usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef
16:24:56.879          main:::  line 1616  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
16:24:56.988          main:::  line 1619  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/event/sw01081113003xpcw3po_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
                                 1143      1143            0         0         0         0
                       Writing events file
                         1143 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1143      1143            0         0         0         0
                         in  4826.6     seconds
16:24:56.989          main:::  line 1623  INFO   >>  Calling ftsort to sort the event list
16:24:57.014          main:::  line 1627  INFO   >>  CMD OUT:
                      
16:24:57.018          main:::  line 1632  INFO   >>  Trying to determine attitude file needed for this event list
16:24:57.093          main:::  line 1639  INFO   >>  Selected stem pat from flag=110
16:24:57.093          main:::  line 1666  INFO   >>  SETTING MINDET TO w3
16:24:57.093          main:::  line 1753  INFO   >>  Copying the file pc.evt to work.evt
16:24:57.454 main::getbadpix:  line 6265  INFO   >>  Adding bpfile to work.evt as BPFILE column-- fcalc clobber=yes work.evt work.evt BPFILE "'badpixel_file_number0004'"
16:24:57.486 main::getbadpix:  line 6268  INFO   >>  CMD OUT:
                      
16:24:57.486          main:::  line 1766  INFO   >>  Got bad pixels, bpfilename is /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/badpixel_file_number0004
16:24:57.633          main:::  line 1859  INFO   >>  Setting end to 656969338.641984
16:24:57.781          main:::  line 1870  INFO   >>  ONTIME for this list is 4826.55249989033
16:24:57.851          main:::  line 1883  INFO   >>  Time after settling (1) is 656928317.772483
16:24:57.852          main:::  line 1904  INFO   >>  Satellite attitude file is /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.fits.gz
16:24:58.054          main:::  line 1911  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=162.3842248046 y=31.5128553311 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.fits.gz time=656928317.772483
16:24:58.055          main:::  line 1912  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 459.4808, 456.2175 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 349.7629, 292.7218 [1.9705, -0.3111 mm]
16:24:58.055          main:::  line 1924  INFO   >>  Detector co-ordinates are (349.7629, 292.7218)
16:24:58.055 main::getorbtimes:  line 6504  INFO   >>  GETTING ORB TIMES - looking for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/per_snapshot_01081113003_pc.txt
16:24:58.055 main::getorbtimes:  line 6521  INFO   >>  Not found, so using work.evt
16:24:58.160 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656928217.772483-656929797.371483
16:24:58.160 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656951805.201312-656952717.858512
16:24:58.160 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656962989.961283-656964178.421483
16:24:58.160 main::getorbtimes:  line 6582  INFO   >>  Save orbit 656968192.805884-656969338.641984 (last orb)
16:24:58.160 main::getorbtimes:  line 6586  INFO   >>  There are 4 orbits
16:24:58.160          main:::  line 1946  INFO   >>  Is the source in the fov for orbit 0 (656928217.772483-656929797.371483)?
16:24:58.160          main:::  line 1961  INFO   >>  New settling time is 100
16:24:58.311          main:::  line 1967  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=162.3842248046 y=31.5128553311 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.fits.gz time=656929007.571983
16:24:58.311          main:::  line 1968  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 459.4808, 456.2175 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 349.6825, 292.2528 [1.9673, -0.3299 mm]
16:24:58.312          main:::  line 1982  INFO   >>  Detector co-ordinates are (349.6825, 292.2528)
16:24:58.312          main:::  line 2088  INFO   >>  Old bgarea: 90477.868423386
16:24:58.320          main:::  line 2090  INFO   >>  Background area is 87453
16:24:58.320 main::getorbtimes:  line 6504  INFO   >>  GETTING ORB TIMES - looking for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/per_snapshot_01081113003_pc.txt
16:24:58.321 main::getorbtimes:  line 6521  INFO   >>  Not found, so using work.evt
16:24:58.411 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656928217.772483-656929797.371483
16:24:58.411 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656951805.201312-656952717.858512
16:24:58.411 main::getorbtimes:  line 6575  INFO   >>  Save orbit 656962989.961283-656964178.421483
16:24:58.411 main::getorbtimes:  line 6582  INFO   >>  Save orbit 656968192.805884-656969338.641984 (last orb)
16:24:58.411 main::getorbtimes:  line 6586  INFO   >>  There are 4 orbits
16:24:58.411          main:::  line 2156  INFO   >>  SAVING SOURCE POS IN KEEPS AS 162.3842248046,31.5128553311
16:24:58.412          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:24:58.412          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:24:58.412          main:::  line 2194  INFO   >>  * starting orbit 1, times 656928217.772483 to 656929797.371483 *
16:24:58.412          main:::  line 2201  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
16:24:58.552          main:::  line 2204  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
                                 1143       352          791         0         0         0
                       Writing events file
                          352 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1143       352          791         0         0         0
                         in  1579.6     seconds
                       Image            has      352 counts for  0.2228     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:24:58.553          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:24:58.714          main:::  line 2216  INFO   >>  This event list spans 656928217.772483 to 656929797.371483
16:24:58.790          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.656928217.772483.and.TIME.le.656929797.371483, status 0
16:24:58.814          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   373144.69
                       The mean of the selected column is                  130.97392
                       The standard deviation of the selected column is   2.92906415E-04
                       The minimum of selected column is                   130.97272
                       The maximum of selected column is                   130.97569
                       The number of points used in calculation is             2849
16:24:58.817          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 130.973916072183
16:24:58.818          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 130.973916072183 -- fparkey value=130.973916072183 fitsfile=pc_orb0.evt+1 keyword=PA_PNT
16:24:58.841          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:24:58.841          main:::  line 2246  INFO   >>  Going to update the image roll to 130.973916072183: fparkey add=no value=130.973916072183 fitsfile=pc_orb0.img+0 keyword=PA_PNT
16:24:58.865          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:24:58.865          main:::  line 2424  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
16:24:58.966          main:::  line 2427  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
                                  352       352            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  352       352            0         0         0         0
                         in  1579.6     seconds
                       Image            has      352 counts for  0.2228     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 130.973916072183
16:24:58.967          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:24:58.967          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:24:58.999          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     4.5945653948807E+02,    4.5621103753134E+02
16:24:59.007          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:24:59.096          main:::  line 2457  INFO   >>  THe image had 6 counts
16:24:59.097          main:::  line 2498  INFO   >>  Not centroiding, too few counts (6 < 15)
16:24:59.097          main:::  line 2502  INFO   >>  Marking this orbit as incbad for PC mode
16:24:59.097          main:::  line 2511  INFO   >>  The position is bad, so taking weighted average
16:24:59.097          main:::  line 2524  INFO   >>  Calculated the weighted position as 162.38325659394, 31.5118876440114
16:24:59.097          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 70.8
16:24:59.244          main:::  line 2552  INFO   >>  Calling pointxform
16:24:59.245          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 460.7410, 454.7393 [162.3833, 31.5119 deg]
                      pointxform: 	=> DET 349.6947, 290.3104 [1.9678, -0.4076 mm]
16:24:59.245          main:::  line 2565  INFO   >>  Detector co-ordinates are (349.6947, 290.3104)
16:24:59.245          main:::  line 2578  INFO   >>  About to do this bit, dety: 290.3104
16:24:59.245          main:::  line 2588  INFO   >>  HERE _ DETX=349.6947, DETY=290.3104
16:24:59.245          main:::  line 2623  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
16:24:59.346          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcsource.reg",X,Y)]
                       50% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    6         6            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    6         6            0         0         0         0
                         in  1579.6     seconds
                       Fits light curve has   6.000     counts for  3.7984E-03 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 130.973916072183
16:24:59.347          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:24:59.372          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:24:59.378          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0.0041648, and new srcrad=9. Old rad was 30, and cf2 was 1.0412
16:24:59.379          main:::  line 2788  INFO   >>  Old source area: 254.469004940773
16:24:59.386          main:::  line 2790  INFO   >>  New source area: 275
16:24:59.387          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 9 to pc_orb0.evt -- fcalc clobber=yes pc_orb0.evt pc_orb0.evt SRCRAD 9
16:24:59.419          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:24:59.512          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:24:59.514          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb0.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.fits.gz
16:25:07.840          main:::  line 2986  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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 11 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 12 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 13 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 14 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 15 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 16 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 17 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 18 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] => 656928220.274771
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 656928224.035756
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 656928226.543076
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 656928231.557716
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 656928236.572366
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 656928240.333326
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 656928260.391896
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 656928282.957796
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 656928292.987066
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 656928300.509036
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[11] skytime DEFAULT[TMIDDLE] => 656928311.791976
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[12] skytime DEFAULT[TMIDDLE] => 656928354.416426
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[13] skytime DEFAULT[TMIDDLE] => 656928507.363026
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[14] skytime DEFAULT[TMIDDLE] => 656928657.802306
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[15] skytime DEFAULT[TMIDDLE] => 656928766.870866
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[16] skytime DEFAULT[TMIDDLE] => 656929146.730346
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[17] skytime DEFAULT[TMIDDLE] => 656929593.034036
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[18] skytime DEFAULT[TMIDDLE] => 656929767.293106
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+11"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+11
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+12"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+12
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+13"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+13
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+14"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+14
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+15"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+15
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+16"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+16
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+17"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+17
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+18"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+18
                      ![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 
                      ------------------------------------------------------------
16:25:07.970  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:25:08.114  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 89181.000      89422.000      89422.000      0.9973049         0.9973049
Area is 89422.000
16:25:08.114          main:::  line 2998  INFO   >>  calcArea has returned 89422.000
16:25:08.114          main:::  line 3032  INFO   >>  Starting pileup section.
16:25:08.118          main:::  line 3061  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
16:25:08.263          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcsource.reg",X,Y)]
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    3         3            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    3         3            0         0         0         0
                         in  1579.6     seconds
                       Fits light curve has   3.000     counts for  1.8992E-03 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 130.973916072183
16:25:08.389          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:25:08.389          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:25:08.496          main:::  line 4031  INFO   >>  Done pileup checking
16:25:08.497          main:::  line 4099  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
16:25:08.629          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcsource.reg",X,Y)]
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    3         3            0         0         0         0
                       Writing events file
                            3 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    3         3            0         0         0         0
                         in  1579.6     seconds
16:25:08.629          main:::  line 4115  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
16:25:08.791          main:::  line 4118  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
                                  352       352            0         0         0         0
                       Writing events file
                          352 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  352       352            0         0         0         0
                         in  1579.6     seconds
                       Image            has      352 counts for  0.2228     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 130.973916072183
16:25:08.792          main:::  line 4134  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
16:25:08.894          main:::  line 4137  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
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   79        79            0         0         0         0
                       Writing events file
                           79 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   79        79            0         0         0         0
                         in  1579.6     seconds
16:25:08.895          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup0.evt pcallnonpup0.evt PUPRAD "0.00"
16:25:08.933          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:25:08.933          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup0.back.evt pcallnonpup0.back.evt SRCAREA "275"
16:25:08.954          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:25:09.256          main:::  line 4180  INFO   >>  Got event range of 656928217.772483 - 656929797.371483 from pc_orb0.evt
16:25:09.263          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup0.img xsky=162.38325659394 ysky=31.5118876440114
16:25:09.325          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238325659394E+02,    3.1511887644011E+01
                       Output pixel coordinates:     4.6071668125815E+02,    4.5473286405942E+02
16:25:09.335          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.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=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.hk.gz infile=pcallnonpup0_full.evt
16:25:12.086          main:::  line 4257  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/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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: Appended 145 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 146 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 147 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 148 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 149 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 150 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 151 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 152 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 153 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 154 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 155 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 156 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 157 image in corr_region_pcallnonpup0_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 158 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.
                      ---------------------------------------------------------------------
16:25:12.086          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup0.fits outfile=corr_region_pcallnonpup0.fits clname=TIME expr=TSTART rowrange=1-1
16:25:12.106          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:25:12.208          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup0.back.evt pcallnonpup0.back.evt BGAREA "89422.000" to add bg area to list
16:25:12.240          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:25:12.241          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:25:12.241          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:25:12.241          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:25:12.241          main:::  line 2194  INFO   >>  * starting orbit 2, times 656951805.201312 to 656952717.858512 *
16:25:12.241          main:::  line 2201  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
16:25:12.400          main:::  line 2204  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
                                 1143       223          920         0         0         0
                       Writing events file
                          223 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1143       223          920         0         0         0
                         in  912.66     seconds
                       Image            has      223 counts for  0.2443     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:25:12.400          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:25:12.544          main:::  line 2216  INFO   >>  This event list spans 656951805.201312 to 656952717.858512
16:25:12.641          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.656951805.201312.and.TIME.le.656952717.858512, status 0
16:25:12.657          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   223623.52
                       The mean of the selected column is                  136.10683
                       The standard deviation of the selected column is   2.33661100E-04
                       The minimum of selected column is                   136.10622
                       The maximum of selected column is                   136.10771
                       The number of points used in calculation is             1643
16:25:12.660          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 136.106831490812
16:25:12.662          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 136.106831490812 -- fparkey value=136.106831490812 fitsfile=pc_orb1.evt+1 keyword=PA_PNT
16:25:12.678          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:25:12.678          main:::  line 2246  INFO   >>  Going to update the image roll to 136.106831490812: fparkey add=no value=136.106831490812 fitsfile=pc_orb1.img+0 keyword=PA_PNT
16:25:12.694          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:25:12.694          main:::  line 2424  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
16:25:12.793          main:::  line 2427  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
                                  223       223            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  223       223            0         0         0         0
                         in  912.66     seconds
                       Image            has      223 counts for  0.2443     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 136.106831490812
16:25:12.794          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:25:12.794          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:25:12.822          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     4.5945653948807E+02,    4.5621103753134E+02
16:25:12.832          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:25:12.963          main:::  line 2457  INFO   >>  THe image had 1 counts
16:25:12.964          main:::  line 2498  INFO   >>  Not centroiding, too few counts (1 < 15)
16:25:12.964          main:::  line 2502  INFO   >>  Marking this orbit as incbad for PC mode
16:25:12.964          main:::  line 2511  INFO   >>  The position is bad, so taking weighted average
16:25:12.964          main:::  line 2524  INFO   >>  Calculated the weighted position as 162.38325659394, 31.5118876440114
16:25:12.964          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 21.24
16:25:13.126          main:::  line 2552  INFO   >>  Calling pointxform
16:25:13.126          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 460.7410, 454.7393 [162.3833, 31.5119 deg]
                      pointxform: 	=> DET 271.3552, 255.5586 [-1.1658, -1.7977 mm]
16:25:13.126          main:::  line 2565  INFO   >>  Detector co-ordinates are (271.3552, 255.5586)
16:25:13.126          main:::  line 2578  INFO   >>  About to do this bit, dety: 255.5586
16:25:13.126          main:::  line 2588  INFO   >>  HERE _ DETX=271.3552, DETY=255.5586
16:25:13.126          main:::  line 2623  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
16:25:13.252          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  912.66     seconds
                       Fits light curve has   0.000     counts for   0.000     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 136.106831490812
16:25:13.252          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:25:13.276          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:25:13.282          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0, and new srcrad=5. Old rad was 30, and cf2 was 1.0412
16:25:13.283          main:::  line 2788  INFO   >>  Old source area: 78.5398163397448
16:25:13.290          main:::  line 2790  INFO   >>  New source area: 96
16:25:13.290          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 5 to pc_orb1.evt -- fcalc clobber=yes pc_orb1.evt pc_orb1.evt SRCRAD 5
16:25:13.315          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:25:13.391          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:25:13.391          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb1.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.fits.gz
16:25:19.012          main:::  line 2986  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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 11 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 12 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] => 656951807.703572
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 656951812.718206
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 656951816.479206
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 656951820.240186
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 656951826.508476
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 656951831.523116
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 656951842.806066
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 656951861.610986
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 656951877.908566
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 656951899.220796
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[11] skytime DEFAULT[TMIDDLE] => 656952212.636036
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[12] skytime DEFAULT[TMIDDLE] => 656952615.061256
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+11"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+11
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+12"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+12
                      ![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 
                      ------------------------------------------------------------
16:25:19.153  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:25:19.298  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 89395.000      89422.000      89422.000      0.9996980         0.9996981
Area is 89422.000
16:25:19.298          main:::  line 2998  INFO   >>  calcArea has returned 89422.000
16:25:19.298          main:::  line 3032  INFO   >>  Starting pileup section.
16:25:19.302          main:::  line 3061  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
16:25:19.450          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  912.66     seconds
                       Fits light curve has   0.000     counts for   0.000     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 136.106831490812
16:25:19.557          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:25:19.557          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:25:19.635          main:::  line 4031  INFO   >>  Done pileup checking
16:25:19.635          main:::  line 4099  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
16:25:19.713          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            0 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  912.66     seconds
16:25:19.714          main:::  line 4115  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
16:25:19.857          main:::  line 4118  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
                                  223       223            0         0         0         0
                       Writing events file
                          223 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  223       223            0         0         0         0
                         in  912.66     seconds
                       Image            has      223 counts for  0.2443     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 136.106831490812
16:25:19.857          main:::  line 4134  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
16:25:19.982          main:::  line 4137  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcback.reg",X,Y)]
                       20% completed
 30% completed
 50% completed
 60% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   63        63            0         0         0         0
                       Writing events file
                           63 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   63        63            0         0         0         0
                         in  912.66     seconds
16:25:19.982          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup1.evt pcallnonpup1.evt PUPRAD "0.00"
16:25:20.013          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:25:20.014          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup1.back.evt pcallnonpup1.back.evt SRCAREA "96"
16:25:20.044          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:25:20.318          main:::  line 4180  INFO   >>  Got event range of 656951805.201312 - 656952717.858512 from pc_orb1.evt
16:25:20.323          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup1.img xsky=162.38325659394 ysky=31.5118876440114
16:25:20.350          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238325659394E+02,    3.1511887644011E+01
                       Output pixel coordinates:     4.6071668125815E+02,    4.5473286405942E+02
16:25:20.358          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.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=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.hk.gz infile=pcallnonpup1_full.evt
16:25:21.847          main:::  line 4257  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/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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: Appended 21 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 22 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 23 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 24 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 25 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 26 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 27 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 28 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 29 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 30 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 31 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 32 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 33 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 34 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 35 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 36 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 37 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 38 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 39 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 40 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 41 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 42 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 43 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 44 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 45 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 46 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 47 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 48 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 49 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 50 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 51 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 52 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 53 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 54 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 55 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 56 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 57 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 58 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 59 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 60 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 61 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 62 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 63 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 64 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 65 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 66 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 67 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 68 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 69 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 70 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 71 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 72 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 73 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 74 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 75 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 76 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 77 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 78 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 79 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 80 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 81 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 82 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 83 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 84 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 85 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 86 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 87 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 88 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 89 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 90 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 91 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.
                      ---------------------------------------------------------------------
16:25:21.847          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup1.fits outfile=corr_region_pcallnonpup1.fits clname=TIME expr=TSTART rowrange=1-1
16:25:21.867          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:25:21.967          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup1.back.evt pcallnonpup1.back.evt BGAREA "89422.000" to add bg area to list
16:25:21.991          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:25:21.991          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:25:21.991          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:25:21.991          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:25:21.991          main:::  line 2194  INFO   >>  * starting orbit 3, times 656962989.961283 to 656964178.421483 *
16:25:21.991          main:::  line 2201  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
16:25:22.094          main:::  line 2204  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
                                 1143       361          782         0         0         0
                       Writing events file
                          361 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1143       361          782         0         0         0
                         in  1188.5     seconds
                       Image            has      361 counts for  0.3038     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:25:22.094          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:25:22.269          main:::  line 2216  INFO   >>  This event list spans 656962989.961283 to 656964178.421483
16:25:22.358          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.656962989.961283.and.TIME.le.656964178.421483, status 0
16:25:22.375          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   275205.72
                       The mean of the selected column is                  128.48073
                       The standard deviation of the selected column is   4.29988294E-04
                       The minimum of selected column is                   128.47963
                       The maximum of selected column is                   128.48442
                       The number of points used in calculation is             2142
16:25:22.380          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 128.48072889027
16:25:22.380          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 128.48072889027 -- fparkey value=128.48072889027 fitsfile=pc_orb2.evt+1 keyword=PA_PNT
16:25:22.404          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:25:22.404          main:::  line 2246  INFO   >>  Going to update the image roll to 128.48072889027: fparkey add=no value=128.48072889027 fitsfile=pc_orb2.img+0 keyword=PA_PNT
16:25:22.422          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:25:22.423          main:::  line 2424  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
16:25:22.524          main:::  line 2427  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
                                  361       361            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  361       361            0         0         0         0
                         in  1188.5     seconds
                       Image            has      361 counts for  0.3038     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 128.48072889027
16:25:22.525          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:25:22.525          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:25:22.546          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     4.5945653948807E+02,    4.5621103753134E+02
16:25:22.553          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:25:22.651          main:::  line 2457  INFO   >>  THe image had 5 counts
16:25:22.651          main:::  line 2498  INFO   >>  Not centroiding, too few counts (5 < 15)
16:25:22.651          main:::  line 2502  INFO   >>  Marking this orbit as incbad for PC mode
16:25:22.652          main:::  line 2511  INFO   >>  The position is bad, so taking weighted average
16:25:22.652          main:::  line 2524  INFO   >>  Calculated the weighted position as 162.38325659394, 31.5118876440114
16:25:22.652          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 11.8
16:25:22.807          main:::  line 2552  INFO   >>  Calling pointxform
16:25:22.807          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 460.7410, 454.7393 [162.3833, 31.5119 deg]
                      pointxform: 	=> DET 329.7073, 267.6208 [1.1683, -1.3152 mm]
16:25:22.807          main:::  line 2565  INFO   >>  Detector co-ordinates are (329.7073, 267.6208)
16:25:22.808          main:::  line 2578  INFO   >>  About to do this bit, dety: 267.6208
16:25:22.808          main:::  line 2588  INFO   >>  HERE _ DETX=329.7073, DETY=267.6208
16:25:22.808          main:::  line 2623  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
16:25:22.966          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                         in  1188.5     seconds
                       Fits light curve has   1.000     counts for  8.4142E-04 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 128.48072889027
16:25:22.966          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:25:22.991          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:25:22.998          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0.000946545454545454, and new srcrad=7. Old rad was 30, and cf2 was 1.0412
16:25:22.999          main:::  line 2788  INFO   >>  Old source area: 153.9380400259
16:25:23.007          main:::  line 2790  INFO   >>  New source area: 172
16:25:23.007          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 7 to pc_orb2.evt -- fcalc clobber=yes pc_orb2.evt pc_orb2.evt SRCRAD 7
16:25:23.041          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:25:23.122          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:25:23.122          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb2.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.fits.gz
16:25:28.466          main:::  line 2986  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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 11 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] => 656962993.717252
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 656962999.985546
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 656963005.000176
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 656963008.761156
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 656963013.775796
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 656963022.551386
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 656963036.341616
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 656963056.400146
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 656963075.205026
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 656963525.268636
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[11] skytime DEFAULT[TMIDDLE] => 656964073.117746
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+11"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+11
                      ![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 
                      ------------------------------------------------------------
16:25:28.577  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:25:28.667  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 89393.000      89422.000      89422.000      0.9996757         0.9996757
Area is 89422.000
16:25:28.667          main:::  line 2998  INFO   >>  calcArea has returned 89422.000
16:25:28.667          main:::  line 3032  INFO   >>  Starting pileup section.
16:25:28.669          main:::  line 3061  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
16:25:28.763          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                         in  1188.5     seconds
                       Fits light curve has   1.000     counts for  8.4142E-04 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 128.48072889027
16:25:28.874          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:25:28.874          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:25:28.975          main:::  line 4031  INFO   >>  Done pileup checking
16:25:28.975          main:::  line 4099  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
16:25:29.062          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                       Writing events file
                            1 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                         in  1188.5     seconds
16:25:29.063          main:::  line 4115  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
16:25:29.165          main:::  line 4118  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
                                  361       361            0         0         0         0
                       Writing events file
                          361 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  361       361            0         0         0         0
                         in  1188.5     seconds
                       Image            has      361 counts for  0.3038     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 128.48072889027
16:25:29.165          main:::  line 4134  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
16:25:29.259          main:::  line 4137  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
 40% completed
 50% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   77        77            0         0         0         0
                       Writing events file
                           77 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   77        77            0         0         0         0
                         in  1188.5     seconds
16:25:29.260          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup2.evt pcallnonpup2.evt PUPRAD "0.00"
16:25:29.289          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:25:29.289          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup2.back.evt pcallnonpup2.back.evt SRCAREA "172"
16:25:29.319          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:25:29.591          main:::  line 4180  INFO   >>  Got event range of 656962989.961283 - 656964178.421483 from pc_orb2.evt
16:25:29.597          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup2.img xsky=162.38325659394 ysky=31.5118876440114
16:25:29.626          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238325659394E+02,    3.1511887644011E+01
                       Output pixel coordinates:     4.6071668125815E+02,    4.5473286405942E+02
16:25:29.635          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.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=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.hk.gz infile=pcallnonpup2_full.evt
16:25:31.361          main:::  line 4257  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/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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: Appended 33 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 34 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 35 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 36 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 37 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 38 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 39 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 40 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 41 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 42 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 43 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 44 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 45 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 46 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 47 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 48 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 49 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 50 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 51 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 52 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 53 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 54 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 55 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 56 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 57 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 58 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 59 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 60 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 61 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 62 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 63 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 64 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 65 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 66 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 67 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 68 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 69 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 70 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 71 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 72 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 73 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 74 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 75 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 76 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 77 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 78 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 79 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 80 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 81 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 82 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 83 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 84 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 85 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 86 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 87 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 88 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 89 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 90 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 91 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 92 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 93 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 94 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 95 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 96 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 97 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 98 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 99 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 100 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 101 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 102 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 103 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 104 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 105 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 106 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 107 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 108 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 109 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 110 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 111 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 112 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 113 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 114 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 115 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 116 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 117 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 118 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 119 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.
                      ---------------------------------------------------------------------
16:25:31.361          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup2.fits outfile=corr_region_pcallnonpup2.fits clname=TIME expr=TSTART rowrange=1-1
16:25:31.380          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:25:31.446          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup2.back.evt pcallnonpup2.back.evt BGAREA "89422.000" to add bg area to list
16:25:31.468          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:25:31.468          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:25:31.468          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:25:31.468          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:25:31.468          main:::  line 2194  INFO   >>  * starting orbit 4, times 656968192.805884 to 656969338.641984 *
16:25:31.468          main:::  line 2201  INFO   >>  Calling extractor  to get the event list of orbit 3 -- extractor adjustgti=yes gti=GTI copyall=yes filename=work.evt eventsout=pc_orb3.evt regionfile=NONE fitsbinlc=NONE clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y phafile=NONE imgfile=pc_orb3.img timefile=gti.filt
16:25:31.583          main:::  line 2204  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
                                 1143       206          937         0         0         0
                       Writing events file
                          206 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1143       206          937         0         0         0
                         in  1145.8     seconds
                       Image            has      206 counts for  0.1798     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:25:31.583          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:25:31.748          main:::  line 2216  INFO   >>  This event list spans 656968192.805884 to 656969338.642112
16:25:31.838          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.656968192.805884.and.TIME.le.656969338.641984, status 0
16:25:31.861          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   248407.39
                       The mean of the selected column is                  119.88774
                       The standard deviation of the selected column is   4.38322673E-04
                       The minimum of selected column is                   119.88474
                       The maximum of selected column is                   119.88924
                       The number of points used in calculation is             2072
16:25:31.865          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 119.887735808678
16:25:31.865          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 119.887735808678 -- fparkey value=119.887735808678 fitsfile=pc_orb3.evt+1 keyword=PA_PNT
16:25:31.888          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:25:31.888          main:::  line 2246  INFO   >>  Going to update the image roll to 119.887735808678: fparkey add=no value=119.887735808678 fitsfile=pc_orb3.img+0 keyword=PA_PNT
16:25:31.912          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:25:31.913          main:::  line 2424  INFO   >>  Calling extractor  to get an image orbit 3 -- extractor adjustgti=yes gti=GTI copyall=yes filename=pc_orb3.evt eventsout=NONE regionfile=NONE fitsbinlc=NONE clobber=yes tcol=TIME ecol=PI xcolf=X ycolf=Y phafile=NONE imgfile=temp.img timefile=NONE
16:25:32.047          main:::  line 2427  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb3.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
                                  206       206            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  206       206            0         0         0         0
                         in  1145.8     seconds
                       Image            has      206 counts for  0.1798     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 119.887735808678
16:25:32.047          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:25:32.047          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:25:32.122          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     4.5945653948807E+02,    4.5621103753134E+02
16:25:32.131          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:25:32.294          main:::  line 2457  INFO   >>  THe image had 2 counts
16:25:32.294          main:::  line 2498  INFO   >>  Not centroiding, too few counts (2 < 15)
16:25:32.294          main:::  line 2502  INFO   >>  Marking this orbit as incbad for PC mode
16:25:32.294          main:::  line 2511  INFO   >>  The position is bad, so taking weighted average
16:25:32.294          main:::  line 2524  INFO   >>  Calculated the weighted position as 162.38325659394, 31.5118876440114
16:25:32.295          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 16.52
16:25:32.473          main:::  line 2552  INFO   >>  Calling pointxform
16:25:32.474          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 460.7410, 454.7393 [162.3833, 31.5119 deg]
                      pointxform: 	=> DET 252.0376, 280.7152 [-1.9385, -0.7914 mm]
16:25:32.474          main:::  line 2565  INFO   >>  Detector co-ordinates are (252.0376, 280.7152)
16:25:32.474          main:::  line 2578  INFO   >>  About to do this bit, dety: 280.7152
16:25:32.474          main:::  line 2588  INFO   >>  HERE _ DETX=252.0376, DETY=280.7152
16:25:32.474          main:::  line 2623  INFO   >>  Calling extractor  to get a source lc of this list -- extractor adjustgti=yes gti=GTI copyall=yes filename=pc_orb3.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
16:25:32.648          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb3.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1145.8     seconds
                       Fits light curve has   0.000     counts for   0.000     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 119.887735808678
16:25:32.648          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:25:32.673          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:25:32.679          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0, and new srcrad=5. Old rad was 30, and cf2 was 1.0412
16:25:32.679          main:::  line 2788  INFO   >>  Old source area: 78.5398163397448
16:25:32.687          main:::  line 2790  INFO   >>  New source area: 96
16:25:32.687          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 5 to pc_orb3.evt -- fcalc clobber=yes pc_orb3.evt pc_orb3.evt SRCRAD 5
16:25:32.715          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:25:32.810          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:25:32.810          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb3.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.fits.gz
16:25:36.874          main:::  line 2986  INFO   >>  CMD OUT:
                      --------------------------------------------------------------
                                   Running ' xrtexpomap version 0.3.1 '
                      --------------------------------------------------------------
                      ---------------------------------------------------------------------
                       		Running 'xrtinstrmap_0.3.5'
                      ---------------------------------------------------------------------
                      		 Input Parameters List: 
                      Name of the input Event file             :'pc_orb3.evt'
                      Name of the input region file            :'CALDB'
                      Name of the input HK Header file         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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_orb3.evt' file.
                      xrtinstrmap_0.3.5: Info: Processing /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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: Appended 8 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] => 656968197.815482
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 656968206.591076
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 656968214.113016
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 656968221.634926
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 656968227.903206
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 656968236.678806
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 656968260.498246
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 656968808.346336
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![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 
                      ------------------------------------------------------------
16:25:37.016  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:25:37.141  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 88926.000      89422.000      89422.000      0.9944533         0.9944533
Area is 89422.000
16:25:37.141          main:::  line 2998  INFO   >>  calcArea has returned 89422.000
16:25:37.141          main:::  line 3032  INFO   >>  Starting pileup section.
16:25:37.144          main:::  line 3061  INFO   >>  Calling extractor  to get an lc for pup check comm: -- \extractor adjustgti=yes gti=GTI binlc=5 filename=pc_orb3.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
16:25:37.292          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb3.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1145.8     seconds
                       Fits light curve has   0.000     counts for   0.000     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 119.887735808678
16:25:37.389          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:25:37.389          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:25:37.477          main:::  line 4031  INFO   >>  Done pileup checking
16:25:37.477          main:::  line 4099  INFO   >>  Calling extractor  to make non pupped evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb3.evt eventsout=pcallnonpup3.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcsource.reg timefile=NONE
16:25:37.562          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb3.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            0 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1145.8     seconds
16:25:37.562          main:::  line 4115  INFO   >>  Calling extractor  to make non pupped full evt list -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb3.evt eventsout=pcallnonpup3_full.evt imgfile=pcallnonpup3.img phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=NONE timefile=NONE
16:25:37.677          main:::  line 4118  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb3.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
                                  206       206            0         0         0         0
                       Writing events file
                          206 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  206       206            0         0         0         0
                         in  1145.8     seconds
                       Image            has      206 counts for  0.1798     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 130.973914495075 and 119.887735808678
16:25:37.677          main:::  line 4134  INFO   >>  Calling extractor  to make pcallnonpup3.evt -- \extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=pc_orb3.evt eventsout=pcallnonpup3.back.evt imgfile=NONE phafile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME ecol=PI regionfile=pcback.reg timefile=NONE
16:25:37.757          main:::  line 4137  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb3.evt[regfilter("pcback.reg",X,Y)]
                       10% completed
 40% completed
 70% completed
 80% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   47        47            0         0         0         0
                       Writing events file
                           47 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   47        47            0         0         0         0
                         in  1145.8     seconds
16:25:37.757          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup3.evt pcallnonpup3.evt PUPRAD "0.00"
16:25:37.780          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:25:37.780          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup3.back.evt pcallnonpup3.back.evt SRCAREA "96"
16:25:37.801          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:25:38.014          main:::  line 4180  INFO   >>  Got event range of 656968192.805884 - 656969338.642112 from pc_orb3.evt
16:25:38.021          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup3.img xsky=162.38325659394 ysky=31.5118876440114
16:25:38.045          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238325659394E+02,    3.1511887644011E+01
                       Output pixel coordinates:     4.6071668125815E+02,    4.5473286405942E+02
16:25:38.052          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes pcnframe=4 wtnframe=10 createinstrmap=yes outinstrfile=DEFAULT lcfile=none regionfile=corr_region_pcallnonpup3.reg outfile=none corrfile=corr_region_pcallnonpup3.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.hk.gz infile=pcallnonpup3_full.evt
16:25:39.954          main:::  line 4257  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_pcallnonpup3.reg'
                      Name of the output file                  :'corr_region_pcallnonpup3.fits'
                      Name of the input TELDEF file            :'/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/auxil/sw01081113003pat.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             :'pcallnonpup3_full.evt'
                      Name of the input FOV region file        :'CALDB'
                      Name of the input HK Header file         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.hk.gz'
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Info: Name for the output instrument file is:
                      xrtlccorr_0.4.0: Info: 'corr_region_pcallnonpup3_srawinstr.img'
                      xrtlccorr_0.4.0: Info: Processing 'pcallnonpup3_full.evt' file.
                      xrtlccorr_0.4.0: Info: Processing /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113003/xrt/hk/sw01081113003xhd.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_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 2 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 3 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 4 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 5 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 6 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 7 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 8 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 9 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 10 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 11 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 12 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 13 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 14 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 15 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 16 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 17 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 18 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 19 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 20 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 21 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 22 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 23 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 24 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 25 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 26 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 27 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 28 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 29 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 30 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 31 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 32 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 33 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 34 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 35 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 36 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 37 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 38 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 39 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 40 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 41 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 42 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 43 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 44 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 45 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 46 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 47 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 48 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 49 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 50 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 51 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 52 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 53 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 54 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 55 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 56 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 57 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 58 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 59 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 60 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 61 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 62 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 63 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 64 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 65 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 66 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 67 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 68 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 69 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 70 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 71 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 72 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 73 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 74 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 75 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 76 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 77 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 78 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 79 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 80 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 81 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 82 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 83 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 84 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 85 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 86 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 87 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 88 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 89 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 90 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 91 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 92 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 93 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 94 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 95 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 96 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 97 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 98 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 99 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 100 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 101 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 102 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 103 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 104 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 105 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 106 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 107 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 108 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 109 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 110 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 111 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 112 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 113 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 114 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 115 image in corr_region_pcallnonpup3_srawinstr.img file
                      xrtlccorr_0.4.0: Info: File 'corr_region_pcallnonpup3_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_pcallnonpup3.fits' successfully written.
                      ---------------------------------------------------------------------
                      xrtlccorr_0.4.0: Exit with success.
                      ---------------------------------------------------------------------
16:25:39.955          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup3.fits outfile=corr_region_pcallnonpup3.fits clname=TIME expr=TSTART rowrange=1-1
16:25:39.978          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:25:40.066          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup3.back.evt pcallnonpup3.back.evt BGAREA "89422.000" to add bg area to list
16:25:40.086          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:25:40.086          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:25:40.090          main:::  line 4458  INFO   >>  For pc mode there are some bad orbits in this OBSID, so I need to run this loop twice
16:25:40.091          main:::  line 4466  INFO   >>  For pc mode, checking the suffix `` list
16:25:40.095          main:::  line 4472  INFO   >>  No BG lists, skipping
16:25:40.095          main:::  line 4466  INFO   >>  For pc mode, checking the suffix `_incbad` list
16:25:40.099          main:::  line 4479  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
16:25:40.198          main:::  line 4482  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
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   79        79            0         0         0         0
                       Writing events file
                           79 events written to the output file
                       Doing file: pcallnonpup1.back.evt
                       20% completed
 30% completed
 50% completed
 60% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   63        63            0         0         0         0
                       Writing events file
                          142 events written to the output file
                       Doing file: pcallnonpup2.back.evt
                       10% completed
 20% completed
 40% completed
 50% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   77        77            0         0         0         0
                       Writing events file
                          219 events written to the output file
                       Doing file: pcallnonpup3.back.evt
                       10% completed
 40% completed
 70% completed
 80% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   47        47            0         0         0         0
                       Writing events file
                          266 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  266       266            0         0         0         0
                         in  4826.6     seconds
16:25:40.198          main:::  line 4488  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
16:25:40.297          main:::  line 4491  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pcallnonpup0.evt
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    3         3            0         0         0         0
                       Writing events file
                            3 events written to the output file
                       Doing file: pcallnonpup1.evt
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            3 events written to the output file
                       Doing file: pcallnonpup2.evt
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                       Writing events file
                            4 events written to the output file
                       Doing file: pcallnonpup3.evt
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            4 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    4         4            0         0         0         0
                         in  4826.6     seconds
16:25:40.299          main:::  line 4505  INFO   >>  USEREPROC: 1	A: '/swift/data/local_reproc/01081113003 '
16:25:40.299          main:::  line 4510  INFO   >>  Calling fcalc clobber=yes pcsrctotal_incbad.evt pcsrctotal_incbad.evt OBSDIR "'/swift/data/local_reproc/01081113003 '"
16:25:40.320          main:::  line 4513  INFO   >>  CMD OUT:
                      
16:25:40.321          main:::  line 4550  INFO   >>  Calling ftmerge @mergein.list pc_corrections.fits
16:25:40.340          main:::  line 4553  INFO   >>  CMD OUT:
                      
16:25:40.340          main:::  line 4594  INFO   >>  Done all modes for this observation
16:25:40.423          main:::  line 1448  INFO   >>  ********** STARTING OBSERVATION 01081113004 *************
16:25:40.423          main:::  line 1450  INFO   >>  Entering directory /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/01081113004
16:25:40.425          main:::  line 1457  INFO   >>  Set MKF file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004s.mkf.gz
16:25:40.702          main:::  line 1498  INFO   >>  This obs is 1.08053870540371' from the source
16:25:41.016          main:::  line 1537  INFO   >>  resetting SRMAX to 30
16:25:41.016          main:::  line 1542  INFO   >>  Also setting SRPX=30 and SRCRAD=70.8
16:25:41.017          main:::  line 1560  INFO   >>  *** STARTING wt MODE ***
16:25:41.020          main:::  line 1564  INFO   >>  Working with position 162.3842248046,31.5128553311
16:25:41.021          main:::  line 1570  INFO   >>  List of event lists is 
16:25:41.021          main:::  line 1574  INFO   >>  No wt event file found for observation 01081113004, skipping
16:25:41.021          main:::  line 1537  INFO   >>  resetting SRMAX to 30
16:25:41.021          main:::  line 1542  INFO   >>  Also setting SRPX=30 and SRCRAD=70.8
16:25:41.021          main:::  line 1560  INFO   >>  *** STARTING pc MODE ***
16:25:41.024          main:::  line 1564  INFO   >>  Working with position 162.3842248046,31.5128553311
16:25:41.025    main::getevt:  line 5803  INFO   >>  Got event file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/event/sw01081113004xpcw3po_cl.evt.gz
16:25:41.025          main:::  line 1570  INFO   >>  List of event lists is /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/event/sw01081113004xpcw3po_cl.evt.gz
16:25:41.025          main:::  line 1577  INFO   >>  Found event files /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/event/sw01081113004xpcw3po_cl.evt.gz
16:25:41.025          main:::  line 1580  INFO   >>  Getting teldef file for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/event/sw01081113004xpcw3po_cl.evt.gz
16:25:41.042          main:::  line 1600  INFO   >>  SELECTED TELDEF: /usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef
16:25:41.042          main:::  line 1616  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
16:25:41.157          main:::  line 1619  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/event/sw01081113004xpcw3po_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
                                  768       768            0         0         0         0
                       Writing events file
                          768 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  768       768            0         0         0         0
                         in  3648.1     seconds
16:25:41.157          main:::  line 1623  INFO   >>  Calling ftsort to sort the event list
16:25:41.189          main:::  line 1627  INFO   >>  CMD OUT:
                      
16:25:41.193          main:::  line 1632  INFO   >>  Trying to determine attitude file needed for this event list
16:25:41.269          main:::  line 1639  INFO   >>  Selected stem pat from flag=110
16:25:41.269          main:::  line 1666  INFO   >>  SETTING MINDET TO w3
16:25:41.269          main:::  line 1753  INFO   >>  Copying the file pc.evt to work.evt
16:25:41.582 main::getbadpix:  line 6265  INFO   >>  Adding bpfile to work.evt as BPFILE column-- fcalc clobber=yes work.evt work.evt BPFILE "'badpixel_file_number0005'"
16:25:41.612 main::getbadpix:  line 6268  INFO   >>  CMD OUT:
                      
16:25:41.612          main:::  line 1766  INFO   >>  Got bad pixels, bpfilename is /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/badpixel_file_number0005
16:25:41.787          main:::  line 1859  INFO   >>  Setting end to 657060597.008784
16:25:41.982          main:::  line 1870  INFO   >>  ONTIME for this list is 3648.12150001526
16:25:42.067          main:::  line 1883  INFO   >>  Time after settling (1) is 657042687.964943
16:25:42.068          main:::  line 1904  INFO   >>  Satellite attitude file is /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004pat.fits.gz
16:25:42.266          main:::  line 1911  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=162.3842248046 y=31.5128553311 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004pat.fits.gz time=657042687.964943
16:25:42.266          main:::  line 1912  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 524.6599, 487.3586 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 281.6018, 270.9814 [-0.7559, -1.1807 mm]
16:25:42.266          main:::  line 1924  INFO   >>  Detector co-ordinates are (281.6018, 270.9814)
16:25:42.267 main::getorbtimes:  line 6504  INFO   >>  GETTING ORB TIMES - looking for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/per_snapshot_01081113004_pc.txt
16:25:42.267 main::getorbtimes:  line 6521  INFO   >>  Not found, so using work.evt
16:25:42.369 main::getorbtimes:  line 6575  INFO   >>  Save orbit 657042587.965072-657043738.815772
16:25:42.369 main::getorbtimes:  line 6575  INFO   >>  Save orbit 657053851.566583-657055197.986683
16:25:42.369 main::getorbtimes:  line 6582  INFO   >>  Save orbit 657059446.158084-657060597.008784 (last orb)
16:25:42.369 main::getorbtimes:  line 6586  INFO   >>  There are 3 orbits
16:25:42.369          main:::  line 1946  INFO   >>  Is the source in the fov for orbit 0 (657042587.965072-657043738.815772)?
16:25:42.369          main:::  line 1961  INFO   >>  New settling time is 100
16:25:42.511          main:::  line 1967  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=162.3842248046 y=31.5128553311 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004pat.fits.gz time=657043163.390422
16:25:42.512          main:::  line 1968  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 524.6599, 487.3586 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 281.5565, 270.5365 [-0.7577, -1.1985 mm]
16:25:42.512          main:::  line 1982  INFO   >>  Detector co-ordinates are (281.5565, 270.5365)
16:25:42.512          main:::  line 2088  INFO   >>  Old bgarea: 90477.868423386
16:25:42.521          main:::  line 2090  INFO   >>  Background area is 86357
16:25:42.521 main::getorbtimes:  line 6504  INFO   >>  GETTING ORB TIMES - looking for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/per_snapshot_01081113004_pc.txt
16:25:42.521 main::getorbtimes:  line 6521  INFO   >>  Not found, so using work.evt
16:25:42.617 main::getorbtimes:  line 6575  INFO   >>  Save orbit 657042587.965072-657043738.815772
16:25:42.617 main::getorbtimes:  line 6575  INFO   >>  Save orbit 657053851.566583-657055197.986683
16:25:42.617 main::getorbtimes:  line 6582  INFO   >>  Save orbit 657059446.158084-657060597.008784 (last orb)
16:25:42.618 main::getorbtimes:  line 6586  INFO   >>  There are 3 orbits
16:25:42.618          main:::  line 2156  INFO   >>  SAVING SOURCE POS IN KEEPS AS 162.3842248046,31.5128553311
16:25:42.618          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:25:42.618          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:25:42.618          main:::  line 2194  INFO   >>  * starting orbit 1, times 657042587.965072 to 657043738.815772 *
16:25:42.618          main:::  line 2201  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
16:25:42.717          main:::  line 2204  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
                                  768       278          490         0         0         0
                       Writing events file
                          278 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  768       278          490         0         0         0
                         in  1150.9     seconds
                       Image            has      278 counts for  0.2416     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:25:42.717          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:25:42.886          main:::  line 2216  INFO   >>  This event list spans 657042587.965072 to 657043738.815772
16:25:42.965          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.657042587.965072.and.TIME.le.657043738.815772, status 0
16:25:42.988          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   490292.88
                       The mean of the selected column is                  115.88109
                       The standard deviation of the selected column is   3.02576125E-04
                       The minimum of selected column is                   115.87988
                       The maximum of selected column is                   115.88371
                       The number of points used in calculation is             4231
16:25:42.991          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 115.881086976555
16:25:42.992          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 115.881086976555 -- fparkey value=115.881086976555 fitsfile=pc_orb0.evt+1 keyword=PA_PNT
16:25:43.008          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:25:43.008          main:::  line 2246  INFO   >>  Going to update the image roll to 115.881086976555: fparkey add=no value=115.881086976555 fitsfile=pc_orb0.img+0 keyword=PA_PNT
16:25:43.025          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:25:43.026          main:::  line 2424  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
16:25:43.117          main:::  line 2427  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
                                  278       278            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  278       278            0         0         0         0
                         in  1150.9     seconds
                       Image            has      278 counts for  0.2416     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 116.117580430939 and 115.881086976555
16:25:43.118          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:25:43.118          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:25:43.138          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     5.2468381937231E+02,    4.8736131596984E+02
16:25:43.144          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:25:43.235          main:::  line 2457  INFO   >>  THe image had 3 counts
16:25:43.236          main:::  line 2498  INFO   >>  Not centroiding, too few counts (3 < 15)
16:25:43.236          main:::  line 2502  INFO   >>  Marking this orbit as incbad for PC mode
16:25:43.236          main:::  line 2511  INFO   >>  The position is bad, so taking weighted average
16:25:43.236          main:::  line 2524  INFO   >>  Calculated the weighted position as 162.38325659394, 31.5118876440114
16:25:43.236          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 70.8
16:25:43.414          main:::  line 2552  INFO   >>  Calling pointxform
16:25:43.415          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 525.9207, 485.8810 [162.3833, 31.5119 deg]
                      pointxform: 	=> DET 281.0617, 268.6582 [-0.7775, -1.2737 mm]
16:25:43.415          main:::  line 2565  INFO   >>  Detector co-ordinates are (281.0617, 268.6582)
16:25:43.415          main:::  line 2578  INFO   >>  About to do this bit, dety: 268.6582
16:25:43.415          main:::  line 2588  INFO   >>  HERE _ DETX=281.0617, DETY=268.6582
16:25:43.415          main:::  line 2623  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
16:25:43.504          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcsource.reg",X,Y)]
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    3         3            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    3         3            0         0         0         0
                         in  1150.9     seconds
                       Fits light curve has   3.000     counts for  2.6068E-03 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 116.117580430939 and 115.881086976555
16:25:43.505          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:25:43.522          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:25:43.529          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0.00283963636363636, and new srcrad=9. Old rad was 30, and cf2 was 1.0412
16:25:43.529          main:::  line 2788  INFO   >>  Old source area: 254.469004940773
16:25:43.538          main:::  line 2790  INFO   >>  New source area: 273
16:25:43.538          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 9 to pc_orb0.evt -- fcalc clobber=yes pc_orb0.evt pc_orb0.evt SRCRAD 9
16:25:43.567          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:25:43.659          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:25:43.661          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb0.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004pat.fits.gz
16:25:49.544          main:::  line 2986  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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 11 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] => 657042589.213588
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 657042592.974576
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 657042596.735546
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 657042599.242906
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 657042605.511186
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 657042611.779496
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 657042618.047796
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 657042638.106326
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 657042658.164916
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 657042673.208846
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[11] skytime DEFAULT[TMIDDLE] => 657043211.029716
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+11"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+11
                      ![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 
                      ------------------------------------------------------------
16:25:49.673  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:25:49.763  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 88897.000      89426.000      89426.000      0.9940845         0.9940845
Area is 89426.000
16:25:49.763          main:::  line 2998  INFO   >>  calcArea has returned 89426.000
16:25:49.763          main:::  line 3032  INFO   >>  Starting pileup section.
16:25:49.765          main:::  line 3061  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
16:25:49.857          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1150.9     seconds
                       Fits light curve has   0.000     counts for   0.000     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 116.117580430939 and 115.881086976555
16:25:49.954          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:25:49.954          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:25:50.060          main:::  line 4031  INFO   >>  Done pileup checking
16:25:50.060          main:::  line 4099  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
16:25:50.177          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            0 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1150.9     seconds
16:25:50.177          main:::  line 4115  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
16:25:50.304          main:::  line 4118  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
                                  278       278            0         0         0         0
                       Writing events file
                          278 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  278       278            0         0         0         0
                         in  1150.9     seconds
                       Image            has      278 counts for  0.2416     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 116.117580430939 and 115.881086976555
16:25:50.304          main:::  line 4134  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
16:25:50.431          main:::  line 4137  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
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   69        69            0         0         0         0
                       Writing events file
                           69 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   69        69            0         0         0         0
                         in  1150.9     seconds
16:25:50.431          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup0.evt pcallnonpup0.evt PUPRAD "0.00"
16:25:50.463          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:25:50.463          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup0.back.evt pcallnonpup0.back.evt SRCAREA "273"
16:25:50.484          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:25:50.745          main:::  line 4180  INFO   >>  Got event range of 657042587.965072 - 657043738.815772 from pc_orb0.evt
16:25:50.751          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup0.img xsky=162.38325659394 ysky=31.5118876440114
16:25:50.771          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238325659394E+02,    3.1511887644011E+01
                       Output pixel coordinates:     5.2594463669273E+02,    4.8588371903862E+02
16:25:50.777          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.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=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.hk.gz infile=pcallnonpup0_full.evt
16:25:52.536          main:::  line 4257  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/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004pat.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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.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: 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.
                      ---------------------------------------------------------------------
16:25:52.536          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup0.fits outfile=corr_region_pcallnonpup0.fits clname=TIME expr=TSTART rowrange=1-1
16:25:52.553          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:25:52.649          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup0.back.evt pcallnonpup0.back.evt BGAREA "89426.000" to add bg area to list
16:25:52.680          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:25:52.680          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:25:52.680          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:25:52.680          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:25:52.680          main:::  line 2194  INFO   >>  * starting orbit 2, times 657053851.566583 to 657055197.986683 *
16:25:52.680          main:::  line 2201  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
16:25:52.782          main:::  line 2204  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
                                  768       259          509         0         0         0
                       Writing events file
                          259 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  768       259          509         0         0         0
                         in  1346.4     seconds
                       Image            has      259 counts for  0.1924     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:25:52.783          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:25:52.937          main:::  line 2216  INFO   >>  This event list spans 657053851.566583 to 657055197.986683
16:25:53.015          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.657053851.566583.and.TIME.le.657055197.986683, status 0
16:25:53.039          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   583859.24
                       The mean of the selected column is                  120.35853
                       The standard deviation of the selected column is   3.09487005E-04
                       The minimum of selected column is                   120.35662
                       The maximum of selected column is                   120.35941
                       The number of points used in calculation is             4851
16:25:53.044          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 120.358532262522
16:25:53.044          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 120.358532262522 -- fparkey value=120.358532262522 fitsfile=pc_orb1.evt+1 keyword=PA_PNT
16:25:53.067          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:25:53.067          main:::  line 2246  INFO   >>  Going to update the image roll to 120.358532262522: fparkey add=no value=120.358532262522 fitsfile=pc_orb1.img+0 keyword=PA_PNT
16:25:53.084          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:25:53.085          main:::  line 2424  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
16:25:53.184          main:::  line 2427  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
                                  259       259            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  259       259            0         0         0         0
                         in  1346.4     seconds
                       Image            has      259 counts for  0.1924     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 116.117580430939 and 120.358532262522
16:25:53.185          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:25:53.185          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:25:53.206          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     5.2468381937231E+02,    4.8736131596984E+02
16:25:53.216          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:25:53.305          main:::  line 2457  INFO   >>  THe image had 2 counts
16:25:53.305          main:::  line 2498  INFO   >>  Not centroiding, too few counts (2 < 15)
16:25:53.306          main:::  line 2502  INFO   >>  Marking this orbit as incbad for PC mode
16:25:53.306          main:::  line 2511  INFO   >>  The position is bad, so taking weighted average
16:25:53.306          main:::  line 2524  INFO   >>  Calculated the weighted position as 162.38325659394, 31.5118876440114
16:25:53.306          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 21.24
16:25:53.444          main:::  line 2552  INFO   >>  Calling pointxform
16:25:53.444          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 525.9207, 485.8810 [162.3833, 31.5119 deg]
                      pointxform: 	=> DET 367.7224, 360.7592 [2.6889, 2.4104 mm]
16:25:53.444          main:::  line 2565  INFO   >>  Detector co-ordinates are (367.7224, 360.7592)
16:25:53.444          main:::  line 2578  INFO   >>  About to do this bit, dety: 360.7592
16:25:53.444          main:::  line 2588  INFO   >>  HERE _ DETX=367.7224, DETY=360.7592
16:25:53.444          main:::  line 2623  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
16:25:53.537          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcsource.reg",X,Y)]
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                         in  1346.4     seconds
                       Fits light curve has   1.000     counts for  7.4271E-04 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 116.117580430939 and 120.358532262522
16:25:53.538          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:25:53.559          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:25:53.564          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0.000800923076923077, and new srcrad=7. Old rad was 30, and cf2 was 1.0412
16:25:53.565          main:::  line 2788  INFO   >>  Old source area: 153.9380400259
16:25:53.571          main:::  line 2790  INFO   >>  New source area: 171
16:25:53.571          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 7 to pc_orb1.evt -- fcalc clobber=yes pc_orb1.evt pc_orb1.evt SRCRAD 7
16:25:53.597          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:25:53.683          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:25:53.683          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb1.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004pat.fits.gz
16:26:00.192          main:::  line 2986  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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 11 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 12 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 13 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 14 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 15 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] => 657053854.068892
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 657053859.083546
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 657053865.351836
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 657053872.873796
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 657053881.649436
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 657053889.171376
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 657053901.707976
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 657053934.303136
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 657053969.405636
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 657054017.044716
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[11] skytime DEFAULT[TMIDDLE] => 657054177.513226
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[12] skytime DEFAULT[TMIDDLE] => 657054443.289236
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[13] skytime DEFAULT[TMIDDLE] => 657054658.918886
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[14] skytime DEFAULT[TMIDDLE] => 657054885.831556
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[15] skytime DEFAULT[TMIDDLE] => 657055117.758936
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+11"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+11
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+12"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+12
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+13"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+13
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+14"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+14
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+15"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+15
                      ![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 
                      ------------------------------------------------------------
16:26:00.299  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:26:00.441  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 89262.000      89426.000      89426.000      0.9981661         0.9981661
Area is 89426.000
16:26:00.441          main:::  line 2998  INFO   >>  calcArea has returned 89426.000
16:26:00.441          main:::  line 3032  INFO   >>  Starting pileup section.
16:26:00.444          main:::  line 3061  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
16:26:00.565          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcsource.reg",X,Y)]
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                         in  1346.4     seconds
                       Fits light curve has   1.000     counts for  7.4271E-04 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 116.117580430939 and 120.358532262522
16:26:00.659          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:26:00.660          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:26:00.750          main:::  line 4031  INFO   >>  Done pileup checking
16:26:00.751          main:::  line 4099  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
16:26:00.828          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcsource.reg",X,Y)]
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                       Writing events file
                            1 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                         in  1346.4     seconds
16:26:00.829          main:::  line 4115  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
16:26:00.989          main:::  line 4118  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
                                  259       259            0         0         0         0
                       Writing events file
                          259 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  259       259            0         0         0         0
                         in  1346.4     seconds
                       Image            has      259 counts for  0.1924     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 116.117580430939 and 120.358532262522
16:26:00.989          main:::  line 4134  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
16:26:01.113          main:::  line 4137  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
 50% completed
 60% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   73        73            0         0         0         0
                       Writing events file
                           73 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   73        73            0         0         0         0
                         in  1346.4     seconds
16:26:01.114          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup1.evt pcallnonpup1.evt PUPRAD "0.00"
16:26:01.143          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:26:01.144          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup1.back.evt pcallnonpup1.back.evt SRCAREA "171"
16:26:01.175          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:26:01.420          main:::  line 4180  INFO   >>  Got event range of 657053851.566583 - 657055197.986683 from pc_orb1.evt
16:26:01.426          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup1.img xsky=162.38325659394 ysky=31.5118876440114
16:26:01.453          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238325659394E+02,    3.1511887644011E+01
                       Output pixel coordinates:     5.2594463669273E+02,    4.8588371903862E+02
16:26:01.463          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.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=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.hk.gz infile=pcallnonpup1_full.evt
16:26:03.466          main:::  line 4257  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/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004pat.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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.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: Appended 21 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 22 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 23 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 24 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 25 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 26 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 27 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 28 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 29 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 30 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 31 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 32 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 33 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 34 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 35 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 36 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 37 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 38 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 39 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 40 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 41 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 42 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 43 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 44 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 45 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 46 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 47 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 48 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 49 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 50 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 51 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 52 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 53 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 54 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 55 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 56 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 57 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 58 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 59 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 60 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 61 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 62 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 63 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 64 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 65 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 66 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 67 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 68 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 69 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 70 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 71 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 72 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 73 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 74 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 75 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 76 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 77 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 78 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 79 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 80 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 81 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 82 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 83 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 84 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 85 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 86 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 87 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 88 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 89 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 90 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 91 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 92 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 93 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 94 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 95 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 96 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 97 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 98 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 99 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 100 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 101 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 102 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 103 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 104 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 105 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 106 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 107 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 108 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 109 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 110 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 111 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 112 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 113 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 114 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 115 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 116 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 117 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 118 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 119 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 120 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 121 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 122 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 123 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 124 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 125 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 126 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 127 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 128 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 129 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 130 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 131 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 132 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 133 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 134 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 135 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.
                      ---------------------------------------------------------------------
16:26:03.466          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup1.fits outfile=corr_region_pcallnonpup1.fits clname=TIME expr=TSTART rowrange=1-1
16:26:03.485          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:26:03.555          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup1.back.evt pcallnonpup1.back.evt BGAREA "89426.000" to add bg area to list
16:26:03.583          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:26:03.584          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:26:03.584          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:26:03.584          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:26:03.584          main:::  line 2194  INFO   >>  * starting orbit 3, times 657059446.158084 to 657060597.008784 *
16:26:03.584          main:::  line 2201  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
16:26:03.686          main:::  line 2204  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
                                  768       230          538         0         0         0
                       Writing events file
                          230 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  768       230          538         0         0         0
                         in  1150.9     seconds
                       Image            has      230 counts for  0.1999     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:26:03.686          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:26:03.827          main:::  line 2216  INFO   >>  This event list spans 657059446.158084 to 657060597.008792
16:26:03.913          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.657059446.158084.and.TIME.le.657060597.008784, status 0
16:26:03.929          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   242221.28
                       The mean of the selected column is                  116.11758
                       The standard deviation of the selected column is   2.25153996E-04
                       The minimum of selected column is                   116.11666
                       The maximum of selected column is                   116.11864
                       The number of points used in calculation is             2086
16:26:03.932          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 116.117582063318
16:26:03.932          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 116.117582063318 -- fparkey value=116.117582063318 fitsfile=pc_orb2.evt+1 keyword=PA_PNT
16:26:03.949          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:26:03.949          main:::  line 2246  INFO   >>  Going to update the image roll to 116.117582063318: fparkey add=no value=116.117582063318 fitsfile=pc_orb2.img+0 keyword=PA_PNT
16:26:03.965          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:26:03.967          main:::  line 2424  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
16:26:04.062          main:::  line 2427  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
                                  230       230            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  230       230            0         0         0         0
                         in  1150.9     seconds
                       Image            has      230 counts for  0.1999     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:26:04.062          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:26:04.062          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:26:04.085          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     5.2468381937231E+02,    4.8736131596984E+02
16:26:04.093          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:26:04.239          main:::  line 2457  INFO   >>  THe image had 2 counts
16:26:04.239          main:::  line 2498  INFO   >>  Not centroiding, too few counts (2 < 15)
16:26:04.239          main:::  line 2502  INFO   >>  Marking this orbit as incbad for PC mode
16:26:04.239          main:::  line 2511  INFO   >>  The position is bad, so taking weighted average
16:26:04.239          main:::  line 2524  INFO   >>  Calculated the weighted position as 162.38325659394, 31.5118876440114
16:26:04.239          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 16.52
16:26:04.401          main:::  line 2552  INFO   >>  Calling pointxform
16:26:04.401          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 525.9207, 485.8810 [162.3833, 31.5119 deg]
                      pointxform: 	=> DET 273.0655, 274.8059 [-1.0974, -1.0278 mm]
16:26:04.401          main:::  line 2565  INFO   >>  Detector co-ordinates are (273.0655, 274.8059)
16:26:04.401          main:::  line 2578  INFO   >>  About to do this bit, dety: 274.8059
16:26:04.401          main:::  line 2588  INFO   >>  HERE _ DETX=273.0655, DETY=274.8059
16:26:04.401          main:::  line 2623  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
16:26:04.506          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1150.9     seconds
                       Fits light curve has   0.000     counts for   0.000     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:26:04.506          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:26:04.523          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:26:04.529          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0, and new srcrad=5. Old rad was 30, and cf2 was 1.0412
16:26:04.529          main:::  line 2788  INFO   >>  Old source area: 78.5398163397448
16:26:04.538          main:::  line 2790  INFO   >>  New source area: 87
16:26:04.538          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 5 to pc_orb2.evt -- fcalc clobber=yes pc_orb2.evt pc_orb2.evt SRCRAD 5
16:26:04.564          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:26:04.643          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:26:04.643          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb2.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004pat.fits.gz
16:26:10.389          main:::  line 2986  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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 11 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 12 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 13 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 14 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] => 657059448.660372
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 657059452.421336
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 657059454.928656
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 657059457.435976
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 657059459.943306
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 657059466.211586
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 657059473.733516
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 657059480.001796
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 657059491.284736
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 657059501.313986
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[11] skytime DEFAULT[TMIDDLE] => 657059511.343236
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[12] skytime DEFAULT[TMIDDLE] => 657059525.133466
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[13] skytime DEFAULT[TMIDDLE] => 657059541.431016
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[14] skytime DEFAULT[TMIDDLE] => 657060074.235966
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+11"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+11
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+12"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+12
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+13"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+13
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+14"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+14
                      ![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 
                      ------------------------------------------------------------
16:26:10.513  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:26:10.604  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 88816.000      89426.000      89426.000      0.9931787         0.9931787
Area is 89426.000
16:26:10.604          main:::  line 2998  INFO   >>  calcArea has returned 89426.000
16:26:10.604          main:::  line 3032  INFO   >>  Starting pileup section.
16:26:10.607          main:::  line 3061  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
16:26:10.756          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1150.9     seconds
                       Fits light curve has   0.000     counts for   0.000     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:26:10.851          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:26:10.851          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:26:10.955          main:::  line 4031  INFO   >>  Done pileup checking
16:26:10.955          main:::  line 4099  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
16:26:11.071          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            0 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1150.9     seconds
16:26:11.071          main:::  line 4115  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
16:26:11.198          main:::  line 4118  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
                                  230       230            0         0         0         0
                       Writing events file
                          230 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  230       230            0         0         0         0
                         in  1150.9     seconds
                       Image            has      230 counts for  0.1999     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:26:11.198          main:::  line 4134  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
16:26:11.281          main:::  line 4137  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
                                   55        55            0         0         0         0
                       Writing events file
                           55 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   55        55            0         0         0         0
                         in  1150.9     seconds
16:26:11.281          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup2.evt pcallnonpup2.evt PUPRAD "0.00"
16:26:11.311          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:26:11.311          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup2.back.evt pcallnonpup2.back.evt SRCAREA "87"
16:26:11.342          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:26:11.616          main:::  line 4180  INFO   >>  Got event range of 657059446.158084 - 657060597.008792 from pc_orb2.evt
16:26:11.622          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup2.img xsky=162.38325659394 ysky=31.5118876440114
16:26:11.651          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238325659394E+02,    3.1511887644011E+01
                       Output pixel coordinates:     5.2594463669273E+02,    4.8588371903862E+02
16:26:11.661          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.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=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.hk.gz infile=pcallnonpup2_full.evt
16:26:13.533          main:::  line 4257  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/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/auxil/sw01081113004pat.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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113004/xrt/hk/sw01081113004xhd.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: Appended 33 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 34 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 35 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 36 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 37 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 38 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 39 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 40 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 41 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 42 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 43 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 44 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 45 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 46 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 47 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 48 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 49 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 50 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 51 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 52 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 53 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 54 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 55 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 56 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 57 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 58 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 59 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 60 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 61 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 62 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 63 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 64 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 65 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 66 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 67 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 68 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 69 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 70 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 71 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 72 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 73 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 74 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 75 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 76 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 77 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 78 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 79 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 80 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 81 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 82 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 83 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 84 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 85 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 86 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 87 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 88 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 89 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 90 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 91 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 92 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 93 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 94 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 95 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 96 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 97 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 98 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 99 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 100 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 101 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 102 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 103 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 104 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 105 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 106 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 107 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 108 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 109 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 110 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 111 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 112 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 113 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 114 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 115 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.
                      ---------------------------------------------------------------------
16:26:13.533          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup2.fits outfile=corr_region_pcallnonpup2.fits clname=TIME expr=TSTART rowrange=1-1
16:26:13.556          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:26:13.640          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup2.back.evt pcallnonpup2.back.evt BGAREA "89426.000" to add bg area to list
16:26:13.661          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:26:13.661          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:26:13.666          main:::  line 4458  INFO   >>  For pc mode there are some bad orbits in this OBSID, so I need to run this loop twice
16:26:13.666          main:::  line 4466  INFO   >>  For pc mode, checking the suffix `` list
16:26:13.671          main:::  line 4472  INFO   >>  No BG lists, skipping
16:26:13.671          main:::  line 4466  INFO   >>  For pc mode, checking the suffix `_incbad` list
16:26:13.675          main:::  line 4479  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
16:26:13.759          main:::  line 4482  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
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   69        69            0         0         0         0
                       Writing events file
                           69 events written to the output file
                       Doing file: pcallnonpup1.back.evt
                       10% completed
 20% completed
 30% completed
 50% completed
 60% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   73        73            0         0         0         0
                       Writing events file
                          142 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
                                   55        55            0         0         0         0
                       Writing events file
                          197 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  197       197            0         0         0         0
                         in  3648.1     seconds
16:26:13.759          main:::  line 4488  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
16:26:13.846          main:::  line 4491  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pcallnonpup0.evt
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            0 events written to the output file
                       Doing file: pcallnonpup1.evt
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                       Writing events file
                            1 events written to the output file
                       Doing file: pcallnonpup2.evt
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            1 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                         in  3648.1     seconds
16:26:13.851          main:::  line 4505  INFO   >>  USEREPROC: 1	A: '/swift/data/local_reproc/01081113004 '
16:26:13.851          main:::  line 4510  INFO   >>  Calling fcalc clobber=yes pcsrctotal_incbad.evt pcsrctotal_incbad.evt OBSDIR "'/swift/data/local_reproc/01081113004 '"
16:26:13.879          main:::  line 4513  INFO   >>  CMD OUT:
                      
16:26:13.879          main:::  line 4550  INFO   >>  Calling ftmerge @mergein.list pc_corrections.fits
16:26:13.897          main:::  line 4553  INFO   >>  CMD OUT:
                      
16:26:13.897          main:::  line 4594  INFO   >>  Done all modes for this observation
16:26:13.967          main:::  line 1448  INFO   >>  ********** STARTING OBSERVATION 01081113005 *************
16:26:13.968          main:::  line 1450  INFO   >>  Entering directory /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/01081113005
16:26:13.970          main:::  line 1457  INFO   >>  Set MKF file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005s.mkf.gz
16:26:14.248          main:::  line 1498  INFO   >>  This obs is 0.488847557127838' from the source
16:26:14.503          main:::  line 1537  INFO   >>  resetting SRMAX to 30
16:26:14.503          main:::  line 1542  INFO   >>  Also setting SRPX=30 and SRCRAD=70.8
16:26:14.504          main:::  line 1560  INFO   >>  *** STARTING wt MODE ***
16:26:14.506          main:::  line 1564  INFO   >>  Working with position 162.3842248046,31.5128553311
16:26:14.508          main:::  line 1570  INFO   >>  List of event lists is 
16:26:14.508          main:::  line 1574  INFO   >>  No wt event file found for observation 01081113005, skipping
16:26:14.509          main:::  line 1537  INFO   >>  resetting SRMAX to 30
16:26:14.509          main:::  line 1542  INFO   >>  Also setting SRPX=30 and SRCRAD=70.8
16:26:14.509          main:::  line 1560  INFO   >>  *** STARTING pc MODE ***
16:26:14.512          main:::  line 1564  INFO   >>  Working with position 162.3842248046,31.5128553311
16:26:14.513    main::getevt:  line 5803  INFO   >>  Got event file /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/event/sw01081113005xpcw3po_cl.evt.gz
16:26:14.513          main:::  line 1570  INFO   >>  List of event lists is /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/event/sw01081113005xpcw3po_cl.evt.gz
16:26:14.513          main:::  line 1577  INFO   >>  Found event files /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/event/sw01081113005xpcw3po_cl.evt.gz
16:26:14.513          main:::  line 1580  INFO   >>  Getting teldef file for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/event/sw01081113005xpcw3po_cl.evt.gz
16:26:14.532          main:::  line 1600  INFO   >>  SELECTED TELDEF: /usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef
16:26:14.532          main:::  line 1616  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
16:26:14.624          main:::  line 1619  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/event/sw01081113005xpcw3po_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
                                 1015      1015            0         0         0         0
                       Writing events file
                         1015 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1015      1015            0         0         0         0
                         in  3913.9     seconds
16:26:14.624          main:::  line 1623  INFO   >>  Calling ftsort to sort the event list
16:26:14.646          main:::  line 1627  INFO   >>  CMD OUT:
                      
16:26:14.650          main:::  line 1632  INFO   >>  Trying to determine attitude file needed for this event list
16:26:14.752          main:::  line 1639  INFO   >>  Selected stem pat from flag=110
16:26:14.752          main:::  line 1666  INFO   >>  SETTING MINDET TO w3
16:26:14.752          main:::  line 1753  INFO   >>  Copying the file pc.evt to work.evt
16:26:15.105 main::getbadpix:  line 6265  INFO   >>  Adding bpfile to work.evt as BPFILE column-- fcalc clobber=yes work.evt work.evt BPFILE "'badpixel_file_number0006'"
16:26:15.139 main::getbadpix:  line 6268  INFO   >>  CMD OUT:
                      
16:26:15.139          main:::  line 1766  INFO   >>  Got bad pixels, bpfilename is /fbdata/autoproc/tmp/tmp_lc_newbuild_01081113_M9FNO/badpixel_file_number0006
16:26:15.332          main:::  line 1859  INFO   >>  Setting end to 657146577.667323
16:26:15.513          main:::  line 1870  INFO   >>  ONTIME for this list is 3913.8952999115
16:26:15.591          main:::  line 1883  INFO   >>  Time after settling (1) is 657128409.197663
16:26:15.591          main:::  line 1904  INFO   >>  Satellite attitude file is /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005pat.fits.gz
16:26:15.783          main:::  line 1911  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=162.3842248046 y=31.5128553311 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005pat.fits.gz time=657128409.197663
16:26:15.783          main:::  line 1912  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 503.5372, 488.4339 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 295.9224, 275.2869 [-0.1831, -1.0085 mm]
16:26:15.784          main:::  line 1924  INFO   >>  Detector co-ordinates are (295.9224, 275.2869)
16:26:15.784 main::getorbtimes:  line 6504  INFO   >>  GETTING ORB TIMES - looking for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/per_snapshot_01081113005_pc.txt
16:26:15.784 main::getorbtimes:  line 6521  INFO   >>  Not found, so using work.evt
16:26:15.897 main::getorbtimes:  line 6575  INFO   >>  Save orbit 657128309.197663-657129718.300263
16:26:15.897 main::getorbtimes:  line 6575  INFO   >>  Save orbit 657139808.381572-657140999.349072
16:26:15.897 main::getorbtimes:  line 6582  INFO   >>  Save orbit 657145263.842123-657146577.667323 (last orb)
16:26:15.897 main::getorbtimes:  line 6586  INFO   >>  There are 3 orbits
16:26:15.897          main:::  line 1946  INFO   >>  Is the source in the fov for orbit 0 (657128309.197663-657129718.300263)?
16:26:15.897          main:::  line 1961  INFO   >>  New settling time is 100
16:26:16.070          main:::  line 1967  INFO   >>  Calling pointxform, comm: pointxform fromworld=yes from=SKY to=DET x=162.3842248046 y=31.5128553311 teldeffile=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef alignfile=/usr/local/swift/caldb/data/swift/mis/bcf/align/swalign20041115v012.fits attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005pat.fits.gz time=657129013.748963
16:26:16.071          main:::  line 1968  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 503.5372, 488.4339 [162.3842, 31.5129 deg]
                      pointxform: 	=> DET 295.5132, 275.3536 [-0.1995, -1.0059 mm]
16:26:16.071          main:::  line 1982  INFO   >>  Detector co-ordinates are (295.5132, 275.3536)
16:26:16.071          main:::  line 2088  INFO   >>  Old bgarea: 90477.868423386
16:26:16.078          main:::  line 2090  INFO   >>  Background area is 86572
16:26:16.078 main::getorbtimes:  line 6504  INFO   >>  GETTING ORB TIMES - looking for /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/per_snapshot_01081113005_pc.txt
16:26:16.079 main::getorbtimes:  line 6521  INFO   >>  Not found, so using work.evt
16:26:16.185 main::getorbtimes:  line 6575  INFO   >>  Save orbit 657128309.197663-657129718.300263
16:26:16.185 main::getorbtimes:  line 6575  INFO   >>  Save orbit 657139808.381572-657140999.349072
16:26:16.186 main::getorbtimes:  line 6582  INFO   >>  Save orbit 657145263.842123-657146577.667323 (last orb)
16:26:16.186 main::getorbtimes:  line 6586  INFO   >>  There are 3 orbits
16:26:16.186          main:::  line 2156  INFO   >>  SAVING SOURCE POS IN KEEPS AS 162.3842248046,31.5128553311
16:26:16.186          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:26:16.186          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:26:16.186          main:::  line 2194  INFO   >>  * starting orbit 1, times 657128309.197663 to 657129718.300263 *
16:26:16.186          main:::  line 2201  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
16:26:16.290          main:::  line 2204  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
                                 1015       381          634         0         0         0
                       Writing events file
                          381 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1015       381          634         0         0         0
                         in  1409.1     seconds
                       Image            has      381 counts for  0.2704     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:26:16.290          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:26:16.440          main:::  line 2216  INFO   >>  This event list spans 657128309.197663 to 657129718.300263
16:26:16.508          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.657128309.197663.and.TIME.le.657129718.300263, status 0
16:26:16.525          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   328052.96
                       The mean of the selected column is                  115.91977
                       The standard deviation of the selected column is   2.51562808E-04
                       The minimum of selected column is                   115.91723
                       The maximum of selected column is                   115.92052
                       The number of points used in calculation is             2830
16:26:16.530          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 115.91977230382
16:26:16.530          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 115.91977230382 -- fparkey value=115.91977230382 fitsfile=pc_orb0.evt+1 keyword=PA_PNT
16:26:16.552          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:26:16.553          main:::  line 2246  INFO   >>  Going to update the image roll to 115.91977230382: fparkey add=no value=115.91977230382 fitsfile=pc_orb0.img+0 keyword=PA_PNT
16:26:16.569          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:26:16.569          main:::  line 2424  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
16:26:16.664          main:::  line 2427  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
                                  381       381            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  381       381            0         0         0         0
                         in  1409.1     seconds
                       Image            has      381 counts for  0.2704     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 117.858250317229 and 115.91977230382
16:26:16.664          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:26:16.664          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:26:16.684          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     5.0359236559944E+02,    4.8842831463929E+02
16:26:16.692          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:26:16.784          main:::  line 2457  INFO   >>  THe image had 4 counts
16:26:16.784          main:::  line 2498  INFO   >>  Not centroiding, too few counts (4 < 15)
16:26:16.784          main:::  line 2502  INFO   >>  Marking this orbit as incbad for PC mode
16:26:16.784          main:::  line 2511  INFO   >>  The position is bad, so taking weighted average
16:26:16.784          main:::  line 2524  INFO   >>  Calculated the weighted position as 162.38325659394, 31.5118876440114
16:26:16.785          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 70.8
16:26:16.950          main:::  line 2552  INFO   >>  Calling pointxform
16:26:16.950          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 504.7978, 486.9561 [162.3833, 31.5119 deg]
                      pointxform: 	=> DET 295.0199, 273.4749 [-0.2192, -1.0810 mm]
16:26:16.951          main:::  line 2565  INFO   >>  Detector co-ordinates are (295.0199, 273.4749)
16:26:16.951          main:::  line 2578  INFO   >>  About to do this bit, dety: 273.4749
16:26:16.951          main:::  line 2588  INFO   >>  HERE _ DETX=295.0199, DETY=273.4749
16:26:16.951          main:::  line 2623  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
16:26:17.100          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcsource.reg",X,Y)]
                       50% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    4         4            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    4         4            0         0         0         0
                         in  1409.1     seconds
                       Fits light curve has   4.000     counts for  2.8387E-03 counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 117.858250317229 and 115.91977230382
16:26:17.100          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:26:17.122          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:26:17.128          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0.00297485714285714, and new srcrad=9. Old rad was 30, and cf2 was 1.0412
16:26:17.128          main:::  line 2788  INFO   >>  Old source area: 254.469004940773
16:26:17.135          main:::  line 2790  INFO   >>  New source area: 192
16:26:17.135          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 9 to pc_orb0.evt -- fcalc clobber=yes pc_orb0.evt pc_orb0.evt SRCRAD 9
16:26:17.162          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:26:17.246          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:26:17.249          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb0.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005pat.fits.gz
16:26:23.359          main:::  line 2986  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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 11 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 12 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 13 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] => 657128311.699971
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 657128315.460956
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 657128317.968286
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 657128321.729246
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 657128326.743876
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 657128331.758516
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 657128336.773146
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 657128340.534096
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 657128346.802386
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 657128365.607256
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[11] skytime DEFAULT[TMIDDLE] => 657128381.904816
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[12] skytime DEFAULT[TMIDDLE] => 657128396.948716
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[13] skytime DEFAULT[TMIDDLE] => 657129063.895276
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+11"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+11
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+12"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+12
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+13"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+13
                      ![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 
                      ------------------------------------------------------------
16:26:23.497  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:26:23.593  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 89382.000      89420.000      89420.000      0.9995750         0.9995750
Area is 89420.000
16:26:23.593          main:::  line 2998  INFO   >>  calcArea has returned 89420.000
16:26:23.593          main:::  line 3032  INFO   >>  Starting pileup section.
16:26:23.596          main:::  line 3061  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
16:26:23.763          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1409.1     seconds
                       Fits light curve has   0.000     counts for   0.000     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 117.858250317229 and 115.91977230382
16:26:23.878          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:26:23.878          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:26:23.959          main:::  line 4031  INFO   >>  Done pileup checking
16:26:23.960          main:::  line 4099  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
16:26:24.086          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb0.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            0 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1409.1     seconds
16:26:24.086          main:::  line 4115  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
16:26:24.269          main:::  line 4118  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
                                  381       381            0         0         0         0
                       Writing events file
                          381 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  381       381            0         0         0         0
                         in  1409.1     seconds
                       Image            has      381 counts for  0.2704     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 117.858250317229 and 115.91977230382
16:26:24.270          main:::  line 4134  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
16:26:24.362          main:::  line 4137  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
                                   98        98            0         0         0         0
                       Writing events file
                           98 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   98        98            0         0         0         0
                         in  1409.1     seconds
16:26:24.362          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup0.evt pcallnonpup0.evt PUPRAD "0.00"
16:26:24.384          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:26:24.384          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup0.back.evt pcallnonpup0.back.evt SRCAREA "192"
16:26:24.415          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:26:24.696          main:::  line 4180  INFO   >>  Got event range of 657128309.197663 - 657129718.300263 from pc_orb0.evt
16:26:24.703          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup0.img xsky=162.38325659394 ysky=31.5118876440114
16:26:24.729          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238325659394E+02,    3.1511887644011E+01
                       Output pixel coordinates:     5.0485296438062E+02,    4.8695053145787E+02
16:26:24.737          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.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=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.hk.gz infile=pcallnonpup0_full.evt
16:26:26.911          main:::  line 4257  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/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005pat.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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.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: 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.
                      ---------------------------------------------------------------------
16:26:26.912          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup0.fits outfile=corr_region_pcallnonpup0.fits clname=TIME expr=TSTART rowrange=1-1
16:26:26.931          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:26:27.018          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup0.back.evt pcallnonpup0.back.evt BGAREA "89420.000" to add bg area to list
16:26:27.044          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:26:27.044          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:26:27.044          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:26:27.044          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:26:27.044          main:::  line 2194  INFO   >>  * starting orbit 2, times 657139808.381572 to 657140999.349072 *
16:26:27.044          main:::  line 2201  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
16:26:27.145          main:::  line 2204  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
                                 1015       310          705         0         0         0
                       Writing events file
                          310 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1015       310          705         0         0         0
                         in  1191.0     seconds
                       Image            has      310 counts for  0.2603     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:26:27.145          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:26:27.315          main:::  line 2216  INFO   >>  This event list spans 657139808.381572 to 657140999.349072
16:26:27.393          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.657139808.381572.and.TIME.le.657140999.349072, status 0
16:26:27.418          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   257613.73
                       The mean of the selected column is                  119.76464
                       The standard deviation of the selected column is   2.11042360E-04
                       The minimum of selected column is                   119.76394
                       The maximum of selected column is                   119.76519
                       The number of points used in calculation is             2151
16:26:27.422          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 119.764635661545
16:26:27.422          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 119.764635661545 -- fparkey value=119.764635661545 fitsfile=pc_orb1.evt+1 keyword=PA_PNT
16:26:27.446          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:26:27.446          main:::  line 2246  INFO   >>  Going to update the image roll to 119.764635661545: fparkey add=no value=119.764635661545 fitsfile=pc_orb1.img+0 keyword=PA_PNT
16:26:27.469          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:26:27.471          main:::  line 2424  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
16:26:27.621          main:::  line 2427  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
                                  310       310            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  310       310            0         0         0         0
                         in  1191.0     seconds
                       Image            has      310 counts for  0.2603     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 117.858250317229 and 119.764635661545
16:26:27.621          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:26:27.621          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:26:27.648          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     5.0359236559944E+02,    4.8842831463929E+02
16:26:27.657          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:26:27.806          main:::  line 2457  INFO   >>  THe image had 2 counts
16:26:27.806          main:::  line 2498  INFO   >>  Not centroiding, too few counts (2 < 15)
16:26:27.807          main:::  line 2502  INFO   >>  Marking this orbit as incbad for PC mode
16:26:27.807          main:::  line 2511  INFO   >>  The position is bad, so taking weighted average
16:26:27.807          main:::  line 2524  INFO   >>  Calculated the weighted position as 162.38325659394, 31.5118876440114
16:26:27.807          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 21.24
16:26:27.972          main:::  line 2552  INFO   >>  Calling pointxform
16:26:27.972          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 504.7978, 486.9561 [162.3833, 31.5119 deg]
                      pointxform: 	=> DET 290.1947, 290.5859 [-0.4122, -0.3966 mm]
16:26:27.973          main:::  line 2565  INFO   >>  Detector co-ordinates are (290.1947, 290.5859)
16:26:27.973          main:::  line 2578  INFO   >>  About to do this bit, dety: 290.5859
16:26:27.973          main:::  line 2588  INFO   >>  HERE _ DETX=290.1947, DETY=290.5859
16:26:27.973          main:::  line 2623  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
16:26:28.068          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1191.0     seconds
                       Fits light curve has   0.000     counts for   0.000     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 117.858250317229 and 119.764635661545
16:26:28.068          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:26:28.090          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:26:28.095          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0, and new srcrad=5. Old rad was 30, and cf2 was 1.0412
16:26:28.096          main:::  line 2788  INFO   >>  Old source area: 78.5398163397448
16:26:28.103          main:::  line 2790  INFO   >>  New source area: 49
16:26:28.103          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 5 to pc_orb1.evt -- fcalc clobber=yes pc_orb1.evt pc_orb1.evt SRCRAD 5
16:26:28.126          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:26:28.206          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:26:28.206          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb1.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005pat.fits.gz
16:26:34.578          main:::  line 2986  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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 11 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 12 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 13 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 14 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] => 657139810.883832
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 657139814.644806
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 657139817.152116
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 657139819.659446
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 657139823.420396
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 657139828.435026
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 657139833.449656
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 657139838.464296
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 657139845.986236
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 657139857.269166
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[11] skytime DEFAULT[TMIDDLE] => 657139871.059396
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[12] skytime DEFAULT[TMIDDLE] => 657139883.595956
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[13] skytime DEFAULT[TMIDDLE] => 657139899.893516
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[14] skytime DEFAULT[TMIDDLE] => 657140455.264256
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+11"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+11
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+12"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+12
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+13"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+13
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+14"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+14
                      ![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 
                      ------------------------------------------------------------
16:26:34.701  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:26:34.822  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 89387.000      89420.000      89420.000      0.9996309         0.9996310
Area is 89420.000
16:26:34.822          main:::  line 2998  INFO   >>  calcArea has returned 89420.000
16:26:34.822          main:::  line 3032  INFO   >>  Starting pileup section.
16:26:34.825          main:::  line 3061  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
16:26:34.975          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1191.0     seconds
                       Fits light curve has   0.000     counts for   0.000     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 117.858250317229 and 119.764635661545
16:26:35.098          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:26:35.099          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:26:35.184          main:::  line 4031  INFO   >>  Done pileup checking
16:26:35.185          main:::  line 4099  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
16:26:35.286          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb1.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            0 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1191.0     seconds
16:26:35.286          main:::  line 4115  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
16:26:35.449          main:::  line 4118  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
                                  310       310            0         0         0         0
                       Writing events file
                          310 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  310       310            0         0         0         0
                         in  1191.0     seconds
                       Image            has      310 counts for  0.2603     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
                      Keyword PA_PNT has two values: 117.858250317229 and 119.764635661545
16:26:35.449          main:::  line 4134  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
16:26:35.572          main:::  line 4137  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
                                   86        86            0         0         0         0
                       Writing events file
                           86 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   86        86            0         0         0         0
                         in  1191.0     seconds
16:26:35.572          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup1.evt pcallnonpup1.evt PUPRAD "0.00"
16:26:35.595          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:26:35.596          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup1.back.evt pcallnonpup1.back.evt SRCAREA "49"
16:26:35.619          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:26:35.900          main:::  line 4180  INFO   >>  Got event range of 657139808.381572 - 657140999.349072 from pc_orb1.evt
16:26:35.907          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup1.img xsky=162.38325659394 ysky=31.5118876440114
16:26:35.934          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238325659394E+02,    3.1511887644011E+01
                       Output pixel coordinates:     5.0485296438062E+02,    4.8695053145787E+02
16:26:35.942          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.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=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.hk.gz infile=pcallnonpup1_full.evt
16:26:38.092          main:::  line 4257  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/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005pat.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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.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: Appended 21 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 22 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 23 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 24 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 25 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 26 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 27 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 28 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 29 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 30 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 31 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 32 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 33 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 34 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 35 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 36 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 37 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 38 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 39 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 40 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 41 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 42 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 43 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 44 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 45 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 46 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 47 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 48 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 49 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 50 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 51 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 52 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 53 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 54 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 55 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 56 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 57 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 58 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 59 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 60 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 61 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 62 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 63 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 64 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 65 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 66 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 67 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 68 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 69 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 70 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 71 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 72 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 73 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 74 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 75 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 76 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 77 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 78 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 79 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 80 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 81 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 82 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 83 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 84 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 85 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 86 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 87 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 88 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 89 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 90 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 91 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 92 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 93 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 94 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 95 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 96 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 97 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 98 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 99 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 100 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 101 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 102 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 103 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 104 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 105 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 106 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 107 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 108 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 109 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 110 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 111 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 112 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 113 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 114 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 115 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 116 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 117 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 118 image in corr_region_pcallnonpup1_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 119 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.
                      ---------------------------------------------------------------------
16:26:38.092          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup1.fits outfile=corr_region_pcallnonpup1.fits clname=TIME expr=TSTART rowrange=1-1
16:26:38.111          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:26:38.188          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup1.back.evt pcallnonpup1.back.evt BGAREA "89420.000" to add bg area to list
16:26:38.219          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:26:38.219          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:26:38.219          main:::  line 2171  INFO   >>   SETTING SOURCE POS TO 162.3842248046,31.5128553311
16:26:38.219          main:::  line 2185  INFO   >>  Resetting SRMAX to 30
16:26:38.219          main:::  line 2194  INFO   >>  * starting orbit 3, times 657145263.842123 to 657146577.667323 *
16:26:38.220          main:::  line 2201  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
16:26:38.376          main:::  line 2204  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
                                 1015       324          691         0         0         0
                       Writing events file
                          324 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1015       324          691         0         0         0
                         in  1313.8     seconds
                       Image            has      324 counts for  0.2466     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:26:38.376          main:::  line 2209  INFO   >>  Need to get times of this orbit for the event list, for pup work
16:26:38.543          main:::  line 2216  INFO   >>  This event list spans 657145263.842123 to 657146577.667323
16:26:38.630          main:::  line 2231  INFO   >>  Called fselect infile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005s.mkf.gz outfile=temp.mkf clobber=yes expr=TIME.ge.657145263.842123.and.TIME.le.657146577.667323, status 0
16:26:38.655          main:::  line 2237  INFO   >>  CMD OUT:
                       The sum of the selected column is                   280502.64
                       The mean of the selected column is                  117.85825
                       The standard deviation of the selected column is   2.05192787E-04
                       The minimum of selected column is                   117.85764
                       The maximum of selected column is                   117.85973
                       The number of points used in calculation is             2380
16:26:38.659          main:::  line 2239  INFO   >>  Setting roll angle for this orbit to 117.858251655002
16:26:38.659          main:::  line 2242  INFO   >>  Calling fparkey to update the roll angle in the event list to 117.858251655002 -- fparkey value=117.858251655002 fitsfile=pc_orb2.evt+1 keyword=PA_PNT
16:26:38.679          main:::  line 2245  INFO   >>  CMD OUT:
                      
16:26:38.679          main:::  line 2246  INFO   >>  Going to update the image roll to 117.858251655002: fparkey add=no value=117.858251655002 fitsfile=pc_orb2.img+0 keyword=PA_PNT
16:26:38.702          main:::  line 2249  INFO   >>  CMD OUT:
                      
16:26:38.703          main:::  line 2424  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
16:26:38.816          main:::  line 2427  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
                                  324       324            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  324       324            0         0         0         0
                         in  1313.8     seconds
                       Image            has      324 counts for  0.2466     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:26:38.816          main:::  line 2431  INFO   >>  SRMAX is 30, trad is 70.8
16:26:38.816          main:::  line 2439  INFO   >>  Calling sky2xy to find skypos -- sky2xy infile=temp.img xsky=162.3842248046 ysky=31.5128553311
16:26:38.843          main:::  line 2442  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238422480460E+02,    3.1512855331100E+01
                       Output pixel coordinates:     5.0359236559944E+02,    4.8842831463929E+02
16:26:38.852          main:::  line 2448  INFO   >>  Calling ximage to get counts in source region
16:26:38.987          main:::  line 2457  INFO   >>  THe image had 0 counts
16:26:38.988          main:::  line 2498  INFO   >>  Not centroiding, too few counts (0 < 15)
16:26:38.988          main:::  line 2502  INFO   >>  Marking this orbit as incbad for PC mode
16:26:38.988          main:::  line 2511  INFO   >>  The position is bad, so taking weighted average
16:26:38.988          main:::  line 2524  INFO   >>  Calculated the weighted position as 162.38325659394, 31.5118876440114
16:26:38.988          main:::  line 2538  INFO   >>  Just created pcsource.reg with radius 11.8
16:26:39.196          main:::  line 2552  INFO   >>  Calling pointxform
16:26:39.197          main:::  line 2553  INFO   >>  CMD OUT:
                      pointxform: running getwcs
                      pointxform: running getxform
                      pointxform: running applyxform
                      pointxform: running getwcs
                      pointxform: SKY 504.7978, 486.9561 [162.3833, 31.5119 deg]
                      pointxform: 	=> DET 292.3054, 285.1164 [-0.3278, -0.6153 mm]
16:26:39.197          main:::  line 2565  INFO   >>  Detector co-ordinates are (292.3054, 285.1164)
16:26:39.197          main:::  line 2578  INFO   >>  About to do this bit, dety: 285.1164
16:26:39.197          main:::  line 2588  INFO   >>  HERE _ DETX=292.3054, DETY=285.1164
16:26:39.197          main:::  line 2623  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
16:26:39.350          main:::  line 2626  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1313.8     seconds
                       Fits light curve has   0.000     counts for   0.000     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:26:39.350          main:::  line 2629  INFO   >>  Calling ftlist -- ftlist clobber=yes infile=pc.lc option=T outfile=temp.qdp columns="TIME,RATE,ERROR" rows="-" rownum=no colheader=no
16:26:39.370          main:::  line 2632  INFO   >>  CMD OUT:
                      
16:26:39.375          main:::  line 2770  INFO   >>  CHANGING SRC RADIUS: Mean is 0, and new srcrad=5. Old rad was 30, and cf2 was 1.0412
16:26:39.375          main:::  line 2788  INFO   >>  Old source area: 78.5398163397448
16:26:39.384          main:::  line 2790  INFO   >>  New source area: 48
16:26:39.384          main:::  line 2874  INFO   >>  Calling fcalc to add source radius of 5 to pc_orb2.evt -- fcalc clobber=yes pc_orb2.evt pc_orb2.evt SRCRAD 5
16:26:39.415          main:::  line 2877  INFO   >>  CMD OUT:
                      
16:26:39.517          main:::  line 2966  INFO   >>  I need an exposure map to get the bg area
16:26:39.517          main:::  line 2983  INFO   >>  Calling xrtexpomap teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.teldef clobber=yes infile=pc_orb2.evt outdir=. stemout=centroid hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.hk.gz attfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005pat.fits.gz
16:26:46.170          main:::  line 2986  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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.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: Appended 8 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 9 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 10 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 11 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 12 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 13 image in ./centroid_rawinstr.img file
                      xrtinstrmap_0.3.5: Info: Appended 14 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] => 657145265.090768
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[2] skytime DEFAULT[TMIDDLE] => 657145267.598096
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[3] skytime DEFAULT[TMIDDLE] => 657145270.105426
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[4] skytime DEFAULT[TMIDDLE] => 657145272.612726
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[5] skytime DEFAULT[TMIDDLE] => 657145276.373696
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[6] skytime DEFAULT[TMIDDLE] => 657145281.388316
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[7] skytime DEFAULT[TMIDDLE] => 657145287.656616
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[8] skytime DEFAULT[TMIDDLE] => 657145296.432216
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[9] skytime DEFAULT[TMIDDLE] => 657145315.237096
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[10] skytime DEFAULT[TMIDDLE] => 657145336.549296
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[11] skytime DEFAULT[TMIDDLE] => 657145351.593176
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[12] skytime DEFAULT[TMIDDLE] => 657145424.305316
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[13] skytime DEFAULT[TMIDDLE] => 657145638.680746
                      swiftxform: running getxform
                      swiftxform: running imagetrans
                      swiftxform: running getwcs
                      swiftxform: running fthedit
                      swiftxform: verbose: HDU[14] skytime DEFAULT[TMIDDLE] => 657146182.768496
                      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> read "./centroid_skyinstr.img+8"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+8
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+9"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+9
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+10"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+10
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+11"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+11
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+12"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+12
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+13"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+13
                      ![XIMAGE> sum_ima          
                      ![XIMAGE> save_ima          
                      ![XIMAGE> read "./centroid_skyinstr.img+14"
                      ![XIMAGE>   read_image ./centroid_skyinstr.img+14
                      ![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 
                      ------------------------------------------------------------
16:26:46.266  main::calcArea:  line 6891  INFO   >>  Calculate BG area
16:26:46.357  main::calcArea:  line 6902  INFO   >>  CALCAREA: xim is # 87685.000      89420.000      89420.000      0.9805972         0.9805972
Area is 89420.000
16:26:46.357          main:::  line 2998  INFO   >>  calcArea has returned 89420.000
16:26:46.358          main:::  line 3032  INFO   >>  Starting pileup section.
16:26:46.362          main:::  line 3061  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
16:26:46.455          main:::  line 3064  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1313.8     seconds
                       Fits light curve has   0.000     counts for   0.000     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:26:46.558          main:::  line 3073  INFO   >>  ftlist for puptimes.lc->qdp
16:26:46.558          main:::  line 3074  INFO   >>  CMD OUT:
                      
16:26:46.639          main:::  line 4031  INFO   >>  Done pileup checking
16:26:46.639          main:::  line 4099  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
16:26:46.718          main:::  line 4102  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pc_orb2.evt[regfilter("pcsource.reg",X,Y)]
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            0 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  1313.8     seconds
16:26:46.718          main:::  line 4115  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
16:26:46.820          main:::  line 4118  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
                                  324       324            0         0         0         0
                       Writing events file
                          324 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  324       324            0         0         0         0
                         in  1313.8     seconds
                       Image            has      324 counts for  0.2466     counts/sec
                      Keyword TLM2FITS has two values: 'V6.4' and 'V6.4    '
16:26:46.820          main:::  line 4134  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
16:26:46.902          main:::  line 4137  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
                                   82        82            0         0         0         0
                       Writing events file
                           82 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   82        82            0         0         0         0
                         in  1313.8     seconds
16:26:46.902          main:::  line 4143  INFO   >>  Calling fcalc clobber=yes pcallnonpup2.evt pcallnonpup2.evt PUPRAD "0.00"
16:26:46.924          main:::  line 4146  INFO   >>  CMD OUT:
                      
16:26:46.924          main:::  line 4156  INFO   >>  Calling fcalc clobber=yes pcallnonpup2.back.evt pcallnonpup2.back.evt SRCAREA "48"
16:26:46.947          main:::  line 4159  INFO   >>  CMD OUT:
                      
16:26:47.208          main:::  line 4180  INFO   >>  Got event range of 657145263.842123 - 657146577.667323 from pc_orb2.evt
16:26:47.214          main:::  line 4207  INFO   >>  Calling sky2xy infile=pcallnonpup2.img xsky=162.38325659394 ysky=31.5118876440114
16:26:47.239          main:::  line 4210  INFO   >>  CMD OUT:
                       Input sky coordinates:     1.6238325659394E+02,    3.1511887644011E+01
                       Output pixel coordinates:     5.0485296438062E+02,    4.8695053145787E+02
16:26:47.249          main:::  line 4254  INFO   >>  Calling xrtlccorr teldef=/usr/local/swift/caldb/data/swift/xrt/bcf/teldef/swx20210701v001.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=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005pat.fits.gz hdfile=/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.hk.gz infile=pcallnonpup2_full.evt
16:26:49.254          main:::  line 4257  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/swx20210701v001.teldef'
                      Name of the the input attitude file      :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/auxil/sw01081113005pat.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         :'/tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.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 /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113005/xrt/hk/sw01081113005xhd.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: Appended 33 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 34 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 35 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 36 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 37 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 38 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 39 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 40 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 41 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 42 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 43 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 44 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 45 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 46 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 47 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 48 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 49 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 50 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 51 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 52 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 53 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 54 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 55 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 56 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 57 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 58 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 59 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 60 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 61 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 62 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 63 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 64 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 65 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 66 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 67 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 68 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 69 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 70 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 71 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 72 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 73 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 74 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 75 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 76 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 77 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 78 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 79 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 80 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 81 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 82 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 83 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 84 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 85 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 86 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 87 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 88 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 89 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 90 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 91 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 92 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 93 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 94 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 95 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 96 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 97 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 98 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 99 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 100 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 101 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 102 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 103 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 104 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 105 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 106 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 107 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 108 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 109 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 110 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 111 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 112 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 113 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 114 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 115 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 116 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 117 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 118 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 119 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 120 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 121 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 122 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 123 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 124 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 125 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 126 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 127 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 128 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 129 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 130 image in corr_region_pcallnonpup2_srawinstr.img file
                      xrtlccorr_0.4.0: Info: Appended 131 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.
                      ---------------------------------------------------------------------
16:26:49.254          main:::  line 4265  INFO   >>  Calling fcalc clobber=yes infile=corr_region_pcallnonpup2.fits outfile=corr_region_pcallnonpup2.fits clname=TIME expr=TSTART rowrange=1-1
16:26:49.273          main:::  line 4268  INFO   >>  CMD OUT:
                      
16:26:49.343          main:::  line 4416  INFO   >>  Using fcalc clobber=yes pcallnonpup2.back.evt pcallnonpup2.back.evt BGAREA "89420.000" to add bg area to list
16:26:49.365          main:::  line 4419  INFO   >>  CMD OUT:
                      
16:26:49.365          main:::  line 4426  INFO   >>  End of orbit, resetting source position to 162.3842248046, 31.5128553311
16:26:49.369          main:::  line 4458  INFO   >>  For pc mode there are some bad orbits in this OBSID, so I need to run this loop twice
16:26:49.370          main:::  line 4466  INFO   >>  For pc mode, checking the suffix `` list
16:26:49.373          main:::  line 4472  INFO   >>  No BG lists, skipping
16:26:49.374          main:::  line 4466  INFO   >>  For pc mode, checking the suffix `_incbad` list
16:26:49.377          main:::  line 4479  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
16:26:49.461          main:::  line 4482  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
                                   98        98            0         0         0         0
                       Writing events file
                           98 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
                                   86        86            0         0         0         0
                       Writing events file
                          184 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
                                   82        82            0         0         0         0
                       Writing events file
                          266 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  266       266            0         0         0         0
                         in  3913.9     seconds
16:26:49.461          main:::  line 4488  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
16:26:49.546          main:::  line 4491  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: pcallnonpup0.evt
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            0 events written to the output file
                       Doing file: pcallnonpup1.evt
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            0 events written to the output file
                       Doing file: pcallnonpup2.evt
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       Writing events file
                            0 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                         in  3913.9     seconds
16:26:49.548          main:::  line 4505  INFO   >>  USEREPROC: 1	A: '/swift/data/local_reproc/01081113005 '
16:26:49.548          main:::  line 4510  INFO   >>  Calling fcalc clobber=yes pcsrctotal_incbad.evt pcsrctotal_incbad.evt OBSDIR "'/swift/data/local_reproc/01081113005 '"
16:26:49.570          main:::  line 4513  INFO   >>  CMD OUT:
                      
16:26:49.571          main:::  line 4550  INFO   >>  Calling ftmerge @mergein.list pc_corrections.fits
16:26:49.587          main:::  line 4553  INFO   >>  CMD OUT:
                      
16:26:49.588          main:::  line 4594  INFO   >>  Done all modes for this observation
16:26:49.696          main:::  line 4771  INFO   >>  Finished all observations.
16:26:49.696          main:::  line 4788  INFO   >>  There are no bad wt-mode centroids to worry about
16:26:49.696          main:::  line 4818  INFO   >>  Calling extractor  to merge wt source  event list -- comm=extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@wtallsource.list eventsout=wtsourcetotal.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
16:26:49.806          main:::  line 4821  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: 01081113000/wtsrctotal.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
                                 5585      5585            0         0         0         0
                       Writing events file
                         5585 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 5585      5585            0         0         0         0
                         in  203.74     seconds
16:26:49.878          main:::  line 4852  INFO   >>  Calling fsort to sort wtsourcetotal.evt-- fsort wtsourcetotal.evt+1 TIME heap
16:26:49.918          main:::  line 4855  INFO   >>  CMD OUT:
                      
16:26:49.918          main:::  line 4818  INFO   >>  Calling extractor  to merge wt back  event list -- comm=extractor adjustgti=yes gti=GTI clobber=yes copyall=yes filename=@wtallback.list eventsout=wtbacktotal.evt imgfile=NONE phafile=NONE regionfile=NONE timefile=NONE fitsbinlc=NONE xcolf=X ycolf=Y tcol=TIME
16:26:49.987          main:::  line 4821  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                       Getting FITS WCS Keywords
                       Doing file: 01081113000/wtbgtotal.evt
                       10% completed
 20% completed
 40% completed
 50% completed
 70% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   77        77            0         0         0         0
                       Writing events file
                           77 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                   77        77            0         0         0         0
                         in  203.74     seconds
16:26:50.078          main:::  line 4852  INFO   >>  Calling fsort to sort wtbacktotal.evt-- fsort wtbacktotal.evt+1 TIME heap
16:26:50.098          main:::  line 4855  INFO   >>  CMD OUT:
                      
16:26:50.250          main:::  line 4784  INFO   >>  Adding _incbad to the datasets to combine
16:26:50.250          main:::  line 4818  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
16:26:50.372          main:::  line 4821  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                      Input event files have inconsistent DEADC
                      Input event files have inconsistent image TCRVL
                         162.37670       162.36920      difference =  7.50000000E-03
                         31.519390       31.570260      difference = -5.08700000E-02
                       Getting FITS WCS Keywords
                       Doing file: 01081113000/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
                                  166       166            0         0         0         0
                       Writing events file
                          166 events written to the output file
                       Doing file: 01081113001/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
                                  211       211            0         0         0         0
                       NOTICE: Event files have differing WCS values, using slow method
                       Writing events file
                          377 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  377       377            0         0         0         0
                         in  6664.4     seconds
16:26:50.469          main:::  line 4852  INFO   >>  Calling fsort to sort pcsourcetotal.evt-- fsort pcsourcetotal.evt+1 TIME heap
16:26:50.495          main:::  line 4855  INFO   >>  CMD OUT:
                      
16:26:50.495          main:::  line 4818  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
16:26:50.590          main:::  line 4821  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                      Input event files have inconsistent DEADC
                      Input event files have inconsistent image TCRVL
                         162.37670       162.36920      difference =  7.50000000E-03
                         31.519390       31.570260      difference = -5.08700000E-02
                       Getting FITS WCS Keywords
                       Doing file: 01081113000/pcbgtotal.evt
                       10% completed
 20% completed
 30% completed
 50% completed
 60% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   73        73            0         0         0         0
                       Writing events file
                           73 events written to the output file
                       Doing file: 01081113001/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
                                  355       355            0         0         0         0
                       NOTICE: Input file structure is not an exact match
                       to the output events file, using slow method
                       NOTICE: Event files have differing WCS values, using slow method
                       Writing events file
                          428 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  428       428            0         0         0         0
                         in  6664.4     seconds
16:26:50.690          main:::  line 4852  INFO   >>  Calling fsort to sort pcbacktotal.evt-- fsort pcbacktotal.evt+1 TIME heap
16:26:50.715          main:::  line 4855  INFO   >>  CMD OUT:
                      
16:26:50.907          main:::  line 4818  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
16:26:51.004          main:::  line 4821  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                      Input event files have inconsistent DEADC
                      Input event files have inconsistent image TCRVL
                         162.37670       162.36920      difference =  7.50000000E-03
                         31.519390       31.570260      difference = -5.08700000E-02
                      Input event files have inconsistent DEADC
                      Input event files have inconsistent image TCRVL
                         162.35270       162.36920      difference = -1.65000000E-02
                         31.541860       31.570260      difference = -2.84000000E-02
                      Input event files have inconsistent DEADC
                      Input event files have inconsistent image TCRVL
                         162.40280       162.36920      difference =  3.36000000E-02
                         31.521460       31.570260      difference = -4.88000000E-02
                      Input event files have inconsistent DEADC
                      Input event files have inconsistent image TCRVL
                         162.38660       162.36920      difference =  1.74000000E-02
                         31.520760       31.570260      difference = -4.95000000E-02
                       Getting FITS WCS Keywords
                       Doing file: 01081113000/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
                                  166       166            0         0         0         0
                       Writing events file
                          166 events written to the output file
                       Doing file: 01081113001/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
                                  218       218            0         0         0         0
                       NOTICE: Event files have differing WCS values, using slow method
                       Writing events file
                          384 events written to the output file
                       Doing file: 01081113003/pcsrctotal_incbad.evt
                       50% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    4         4            0         0         0         0
                       NOTICE: Event files have differing WCS values, using slow method
                       Writing events file
                          388 events written to the output file
                       Doing file: 01081113004/pcsrctotal_incbad.evt
                      100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    1         1            0         0         0         0
                       NOTICE: Event files have differing WCS values, using slow method
                       Writing events file
                          389 events written to the output file
                       Doing file: 01081113005/pcsrctotal_incbad.evt
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                    0         0            0         0         0         0
                       NOTICE: Event files have differing WCS values, using slow method
                       Writing events file
                          389 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                  389       389            0         0         0         0
                         in  20048.     seconds
16:26:51.084          main:::  line 4852  INFO   >>  Calling fsort to sort pcsourcetotal_incbad.evt-- fsort pcsourcetotal_incbad.evt+1 TIME heap
16:26:51.101          main:::  line 4855  INFO   >>  CMD OUT:
                      
16:26:51.101          main:::  line 4818  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
16:26:51.203          main:::  line 4821  INFO   >>  CMD OUT:
                      extractor v6.19    30 May 2025
                      Input event files have inconsistent DEADC
                      Input event files have inconsistent image TCRVL
                         162.37670       162.36920      difference =  7.50000000E-03
                         31.519390       31.570260      difference = -5.08700000E-02
                      Input event files have inconsistent DEADC
                      Input event files have inconsistent image TCRVL
                         162.35270       162.36920      difference = -1.65000000E-02
                         31.541860       31.570260      difference = -2.84000000E-02
                      Input event files have inconsistent DEADC
                      Input event files have inconsistent image TCRVL
                         162.40280       162.36920      difference =  3.36000000E-02
                         31.521460       31.570260      difference = -4.88000000E-02
                      Input event files have inconsistent DEADC
                      Input event files have inconsistent image TCRVL
                         162.38660       162.36920      difference =  1.74000000E-02
                         31.520760       31.570260      difference = -4.95000000E-02
                       Getting FITS WCS Keywords
                       Doing file: 01081113000/pcbgtotal.evt
                       10% completed
 20% completed
 30% completed
 50% completed
 60% completed
 80% completed
 90% completed
100% completed
                                Total      Good    Bad: Time     Phase     Grade       Cut
                                   73        73            0         0         0         0
                       Writing events file
                           73 events written to the output file
                       Doing file: 01081113001/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
                                  416       416            0         0         0         0
                       NOTICE: Input file structure is not an exact match
                       to the output events file, using slow method
                       NOTICE: Event files have differing WCS values, using slow method
                       Writing events file
                          489 events written to the output file
                       Doing file: 01081113003/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
                                  266       266            0         0         0         0
                       NOTICE: Input file structure is not an exact match
                       to the output events file, using slow method
                       NOTICE: Event files have differing WCS values, using slow method
                       Writing events file
                          755 events written to the output file
                       Doing file: 01081113004/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
                                  197       197            0         0         0         0
                       NOTICE: Input file structure is not an exact match
                       to the output events file, using slow method
                       NOTICE: Event files have differing WCS values, using slow method
                       Writing events file
                          952 events written to the output file
                       Doing file: 01081113005/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
                                  266       266            0         0         0         0
                       NOTICE: Input file structure is not an exact match
                       to the output events file, using slow method
                       NOTICE: Event files have differing WCS values, using slow method
                       Writing events file
                         1218 events written to the output file
                      ===============================================================================
                          Grand Total      Good    Bad: Time     Phase     Grade       Cut
                                 1218      1218            0         0         0         0
                         in  20048.     seconds
16:26:51.285          main:::  line 4852  INFO   >>  Calling fsort to sort pcbacktotal_incbad.evt-- fsort pcbacktotal_incbad.evt+1 TIME heap
16:26:51.306          main:::  line 4855  INFO   >>  CMD OUT:
                      
16:26:51.478          main:::  line 4886  INFO   >>  Copying 01081113000/wt_corrections.fits to wtcorr.fits
16:26:51.478          main:::  line 4903  INFO   >>  Calling fsort to sort wtcorr.fits-- fsort wtcorr.fits+1 TIME heap
16:26:51.499          main:::  line 4906  INFO   >>  CMD OUT:
                      
16:26:51.499          main:::  line 4924  INFO   >>  Calling ftmerge @mergein.list  pccorr.fits
16:26:51.515          main:::  line 4927  INFO   >>  CMD OUT:
                      
16:26:51.515          main:::  line 4931  INFO   >>  Calling fsort to sort pccorr.fits-- fsort pccorr.fits+1 TIME heap
16:26:51.535          main:::  line 4934  INFO   >>  CMD OUT:
                      
16:26:51.539          main:::  line 4944  INFO   >>  Copying 01081113000/wt_syserr.fits to wtsys.fits
16:26:51.540          main:::  line 4961  INFO   >>  Calling fsort to sort wtsys.fits-- fsort wtsys.fits+1 TIME heap
16:26:51.563          main:::  line 4964  INFO   >>  CMD OUT:
                      
16:26:51.563          main:::  line 4973  INFO   >>  Forcing wtstop to be the forced value: 3000 (333.414473056793)
16:26:52.790          main:::  line 5174  INFO   >>  Calling genlc. Command is genlc_v1.4  -g -- 0 129.673617005348 3000 335.107151985168 315129.667322993 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 864000 1.5 -1000 -1
16:26:53.083          main:::  line 5334  INFO   >>  TSOFT2 is 1.5, match was 1.5
16:26:53.084          main:::  line 5349  INFO   >>  Need to create the settling mode curve
16:26:53.084          main:::  line 5381  INFO   >>  Looking in 01081113000 for the data
16:26:53.084          main:::  line 5410  INFO   >>  Ready to build st mode light curve, files:
  OBS:     01081113000
  EVENT:   /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xwtw2st_cl.evt.gz
  HD:      /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/hk/sw01081113000xhd.hk.gz
  ATT:     /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/auxil/sw01081113000pat.fits.gz
16:26:53.087          main:::  line 5416  INFO   >>  Trying to find the start time
16:26:53.089          main:::  line 5424  INFO   >>  Got a list of times: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xwtw2po_cl.evt.gz
16:26:53.169          main:::  line 5431  INFO   >>  Got a time 656831577.673617 from /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xwtw2po_cl.evt.gz, ststart is 1e+80
16:26:53.169          main:::  line 5436  INFO   >>  Updating ststart to 656831577.673617
16:26:53.170          main:::  line 5424  INFO   >>  Got a list of times: /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_cl.evt.gz
16:26:53.260          main:::  line 5431  INFO   >>  Got a time 656831783.107144 from /tmp/tmp_lc_newbuild_01081113_obs_a2Cjl/01081113000/xrt/event/sw01081113000xpcw3po_cl.evt.gz, ststart is 656831577.673617
16:26:53.261          main:::  line 5459  INFO   >>  Calling WTSLEW.pl: -- wtslew.pl -s 129.673617005348 -t 01081113 162.3842248046 31.5128553311 mincmin=15 ratefact=10 binfact=1.5 counts_min=30 soft1=0.3 soft2=1.5 hard1=1.51 hard2=10 gdmin=0 gdmax=12 minevt=15 minen=0.3 maxen=10 t0=656831448
16:29:15.226          main:::  line 5463  INFO   >>  Completed OK
16:29:15.233          main:::  line 5465  INFO   >>  Got 519 events
16:29:15.245          main:::  line 5602  INFO   >>  Calling curvegen.pl-- curvegen_cpp.pl --mission=BAT   -xy "GRB 211025A" 0.3 10 0.3 1.5 1.51 10 1 '01081113' 656831448 
16:29:19.996          main:::  line 5605  INFO   >>  CMD OUT:
                      **** Running swifttime v1.8 ****
                      Converted time: 2021Oct25 at 05:10:20.038UTC
                      Spacecraft clock correction (-22.962400 s) was applied
                      **** Running swifttime v1.8 ****
                      Converted time: 59512.215509694448
                      Spacecraft clock correction (-22.962400 s) was 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: WTSLEWUL.qdp: No such file or directory
                      **** Running swifttime v1.8 ****
                      Converted time: 59512.2168287354507
                      Spacecraft clock correction (-22.962400 s) was 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 211025A
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT>
                      !PLT> la x Time since BAT trigger (s)
                      !PLT>
                      !PLT> la y Count Rate (0.3-10 keV) (s\u-1\d)
                      !PLT> la f cyan: WT settling - blue: WT - red: PC
                      !PLT> r 79.5707997323741 378155.6004 0.000216664 1456.30934381982
                      !PLT> time off
                      !PLT> col 5 on 1
                      !PLT> col 11 on 2
                      !PLT> col 2 on 3
                      !PLT> col 2 on 4
                      !PLT> ma 31 on 4
                      !PLT> mar si 4 on 4
                      !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 211025A
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT> col 11 on 1
                      !PLT> col 6 on 2
                      !PLT> col 11 on 3
                      !PLT> col 2 on 4
                      !PLT> col 3 on 5
                      !PLT> col 2 on 6
                      !PLT> col 2 on 7
                      !PLT> ma 31 on 7
                      !PLT> mar si 4 on 7
                      !PLT> col 3 on 8
                      !PLT> col 2 on 9
                      !PLT> win 1
                      !PLT> r 79.5707997323741 378155.6004 0.00145630934381982 1456.30934381982
                      !PLT> time off
                      !PLT> loc 0 0.349999999994 1 1
                      !PLT> win 2
                      !PLT> r 79.5707997323741 378155.6004 0 1.2
                      !PLT> time off
                      !PLT> loc 0 0.0799999982 1 0.449999988
                      !PLT> log y off
                      !PLT> yplot 3 6 9
                      !PLT> mark 1 on 3 6 9
                      !PLT> mark size 0.001 on 3 6 9
                      !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 blue: WT  - red: PC  :: pink: WT  - green: PC
                      !PLT> win 2
                      !PLT> la y Frac. Exp
                      !PLT> la x Time since BAT 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 211025A
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT>
                      !PLT> la x Time since BAT trigger (s)
                      !PLT>
                      !PLT> la y Count Rate (0.3-10 keV) (s\u-1\d)
                      !PLT> la f cyan: WT settling - blue: WT - red: PC
                      !PLT> r 79.5707997323741 378155.6004 0.000216664 1456.30934381982
                      !PLT> time off
                      !PLT> col 5 on 1
                      !PLT> col 11 on 2
                      !PLT> col 2 on 3
                      !PLT> col 2 on 4
                      !PLT> ma 31 on 4
                      !PLT> mar si 4 on 4
                      !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 211025A
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT> col 11 on 1
                      !PLT> col 6 on 2
                      !PLT> col 11 on 3
                      !PLT> col 2 on 4
                      !PLT> col 3 on 5
                      !PLT> col 2 on 6
                      !PLT> col 2 on 7
                      !PLT> ma 31 on 7
                      !PLT> mar si 4 on 7
                      !PLT> col 3 on 8
                      !PLT> col 2 on 9
                      !PLT> win 1
                      !PLT> r 79.5707997323741 378155.6004 0.00145630934381982 1456.30934381982
                      !PLT> time off
                      !PLT> loc 0 0.349999999994 1 1
                      !PLT> win 2
                      !PLT> r 79.5707997323741 378155.6004 0 1.2
                      !PLT> time off
                      !PLT> loc 0 0.0799999982 1 0.449999988
                      !PLT> log y off
                      !PLT> yplot 3 6 9
                      !PLT> mark 1 on 3 6 9
                      !PLT> mark size 0.001 on 3 6 9
                      !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 blue: WT  - red: PC  :: pink: WT  - green: PC
                      !PLT> win 2
                      !PLT> la y Frac. Exp
                      !PLT> la x Time since BAT trigger (s)
                      !PLT>
                      !PLT> plot
                      !PLT> hard curve2_nosys_incbad.ps/CPS
                      !PLT> q
                      PGPLOT file/type: /null
                      PLT> @hr.pco
                      PLT> hard ratio_incbad.ps/CPS
                      PLT> exit
                       To produce plot, please enter
                      !PLT> skip on
                      !PLT> viewport 0.1 0.1 0.9 0.77
                      !PLT> lw 5
                      !PLT> csize 1.3
                      !PLT> col 2 on 1 2 3
                      !PLT> log x on
                      !PLT> time off
                      !PLT>
                      !PLT> win 1
                      !PLT> loc 0 0.6 1 1
                      !PLT> yplot 1
                      !PLT> la nx1 off
                      !PLT> log y on
                      !PLT> r y 0.000216664 1456.30934381982
                      !PLT> r x 79.5707997323741 378155.6004
                      !PLT> la pos y 3.5
                      !PLT> la y 1.51-10 keV c/s
                      !PLT> la rotate
                      !PLT>
                      !PLT> win 2
                      !PLT> loc 0 0.32 1 0.735
                      !PLT> yplot 2
                      !PLT> la nx1 off
                      !PLT> log y on
                      !PLT> r y 0.000216664 1456.30934381982
                      !PLT> r x 79.5707997323741 378155.6004
                      !PLT> la pos y 3.5
                      !PLT> la y 0.3-1.5 keV c/s
                      !PLT>
                      !PLT> win 3
                      !PLT> loc 0 0.05 1 0.455
                      !PLT> yplot 3,6,9
                      !PLT> r y 0.1518216 0.6560543
                      !PLT> r x 79.5707997323741 378155.6004
                      !PLT> la pos y 3.5
                      !PLT> la y Ratio
                      !PLT>
                      !PLT> win 1
                      !PLT> la f red: PC
                      !PLT> la T Hardness ratio of GRB 211025A
                      !PLT>
                      !PLT> win all
                      !PLT> win 3
                      !PLT> la x Time since BAT trigger (s)
                      !PLT> plot
                      PGPLOT file/type: /null
                      PLT> @hr.pco
                      PLT> hard ratio_nosys_incbad.ps/CPS
                      PLT> exit
                       To produce plot, please enter
                      !PLT> skip on
                      !PLT> viewport 0.1 0.1 0.9 0.77
                      !PLT> lw 5
                      !PLT> csize 1.3
                      !PLT> col 2 on 1 2 3
                      !PLT> log x on
                      !PLT> time off
                      !PLT>
                      !PLT> win 1
                      !PLT> loc 0 0.6 1 1
                      !PLT> yplot 1
                      !PLT> la nx1 off
                      !PLT> log y on
                      !PLT> r y 0.000216664 1456.30934381982
                      !PLT> r x 79.5707997323741 378155.6004
                      !PLT> la pos y 3.5
                      !PLT> la y 1.51-10 keV c/s
                      !PLT> la rotate
                      !PLT>
                      !PLT> win 2
                      !PLT> loc 0 0.32 1 0.735
                      !PLT> yplot 2
                      !PLT> la nx1 off
                      !PLT> log y on
                      !PLT> r y 0.000216664 1456.30934381982
                      !PLT> r x 79.5707997323741 378155.6004
                      !PLT> la pos y 3.5
                      !PLT> la y 0.3-1.5 keV c/s
                      !PLT>
                      !PLT> win 3
                      !PLT> loc 0 0.05 1 0.455
                      !PLT> yplot 3,6,9
                      !PLT> r y 0.1518216 0.6560543
                      !PLT> r x 79.5707997323741 378155.6004
                      !PLT> la pos y 3.5
                      !PLT> la y Ratio
                      !PLT>
                      !PLT> win 1
                      !PLT> la f red: PC
                      !PLT> la T Hardness ratio of GRB 211025A
                      !PLT>
                      !PLT> win all
                      !PLT> win 3
                      !PLT> la x Time since BAT trigger (s)
                      !PLT> plot
                      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 211025A
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT>
                      !PLT> la x Time since BAT trigger (s)
                      !PLT>
                      !PLT> la y Count Rate (0.3-10 keV) (s\u-1\d)
                      !PLT> la f cyan: WT settling - blue: WT - red: PC
                      !PLT> r 55.6995598126619 453786.72048 0.0001516648 1601.9402782018
                      !PLT> time off
                      !PLT> col 5 on 1
                      !PLT> col 11 on 2
                      !PLT> col 2 on 3
                      !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 211025A
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT> col 11 on 1
                      !PLT> col 6 on 2
                      !PLT> col 11 on 3
                      !PLT> col 2 on 4
                      !PLT> col 3 on 5
                      !PLT> col 2 on 6
                      !PLT> win 1
                      !PLT> r 55.6995598126619 453786.72048 0.0016019402782018 1601.9402782018
                      !PLT> time off
                      !PLT> loc 0 0.349999999994 1 1
                      !PLT> win 2
                      !PLT> r 55.6995598126619 453786.72048 0 1.2
                      !PLT> time off
                      !PLT> loc 0 0.0799999982 1 0.449999988
                      !PLT> log y off
                      !PLT> yplot 3 6
                      !PLT> mark 1 on 3 6
                      !PLT> mark size 0.001 on 3 6
                      !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 blue: WT  - red: PC  :: pink: WT  - green: PC
                      !PLT> win 2
                      !PLT> la y Frac. Exp
                      !PLT> la x Time since BAT 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 211025A
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT>
                      !PLT> la x Time since BAT trigger (s)
                      !PLT>
                      !PLT> la y Count Rate (0.3-10 keV) (s\u-1\d)
                      !PLT> la f cyan: WT settling - blue: WT - red: PC
                      !PLT> r 55.6995598126619 453786.72048 0.0001516648 1601.9402782018
                      !PLT> time off
                      !PLT> col 5 on 1
                      !PLT> col 11 on 2
                      !PLT> col 2 on 3
                      !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 211025A
                      !PLT> la par off
                      !PLT> csize 1.3
                      !PLT> lw 5
                      !PLT> col 11 on 1
                      !PLT> col 6 on 2
                      !PLT> col 11 on 3
                      !PLT> col 2 on 4
                      !PLT> col 3 on 5
                      !PLT> col 2 on 6
                      !PLT> win 1
                      !PLT> r 55.6995598126619 453786.72048 0.0016019402782018 1601.9402782018
                      !PLT> time off
                      !PLT> loc 0 0.349999999994 1 1
                      !PLT> win 2
                      !PLT> r 55.6995598126619 453786.72048 0 1.2
                      !PLT> time off
                      !PLT> loc 0 0.0799999982 1 0.449999988
                      !PLT> log y off
                      !PLT> yplot 3 6
                      !PLT> mark 1 on 3 6
                      !PLT> mark size 0.001 on 3 6
                      !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 blue: WT  - red: PC  :: pink: WT  - green: PC
                      !PLT> win 2
                      !PLT> la y Frac. Exp
                      !PLT> la x Time since BAT trigger (s)
                      !PLT>
                      !PLT> plot
                      !PLT> hard curve2_nosys.ps/CPS
                      !PLT> q
                      PGPLOT file/type: /null
                      PLT> @hr.pco
                      PLT> hard ratio.ps/CPS
                      PLT> exit
                       To produce plot, please enter
                      !PLT> skip on
                      !PLT> viewport 0.1 0.1 0.9 0.77
                      !PLT> lw 5
                      !PLT> csize 1.3
                      !PLT> col 5 on 1 2 3
                      !PLT> col 11 on 4 5 6
                      !PLT> col 2 on 7 8 9
                      !PLT> log x on
                      !PLT> time off
                      !PLT>
                      !PLT> win 1
                      !PLT> loc 0 0.6 1 1
                      !PLT> yplot 1,4,7
                      !PLT> la nx1 off
                      !PLT> log y on
                      !PLT> r y 0.0001516648 1601.9402782018
                      !PLT> r x 55.6995598126619 453786.72048
                      !PLT> la pos y 3.5
                      !PLT> la y 1.51-10 keV c/s
                      !PLT> la rotate
                      !PLT>
                      !PLT> win 2
                      !PLT> loc 0 0.32 1 0.735
                      !PLT> yplot 2,5,8
                      !PLT> la nx1 off
                      !PLT> log y on
                      !PLT> r y 0.0001516648 1601.9402782018
                      !PLT> r x 55.6995598126619 453786.72048
                      !PLT> la pos y 3.5
                      !PLT> la y 0.3-1.5 keV c/s
                      !PLT>
                      !PLT> win 3
                      !PLT> loc 0 0.05 1 0.455
                      !PLT> yplot 3,6,9
                      !PLT> r y 0.1518216 1.98111977787808
                      !PLT> r x 55.6995598126619 453786.72048
                      !PLT> la pos y 3.5
                      !PLT> la y Ratio
                      !PLT>
                      !PLT> win 1
                      !PLT> la f cyan: WT settling - blue: WT - red: PC
                      !PLT> la T Hardness ratio of GRB 211025A
                      !PLT>
                      !PLT> win all
                      !PLT> win 3
                      !PLT> la x Time since BAT trigger (s)
                      !PLT> plot
                      PGPLOT file/type: /null
                      PLT> @hr.pco
                      PLT> hard ratio_nosys.ps/CPS
                      PLT> exit
                       To produce plot, please enter
                      !PLT> skip on
                      !PLT> viewport 0.1 0.1 0.9 0.77
                      !PLT> lw 5
                      !PLT> csize 1.3
                      !PLT> col 5 on 1 2 3
                      !PLT> col 11 on 4 5 6
                      !PLT> col 2 on 7 8 9
                      !PLT> log x on
                      !PLT> time off
                      !PLT>
                      !PLT> win 1
                      !PLT> loc 0 0.6 1 1
                      !PLT> yplot 1,4,7
                      !PLT> la nx1 off
                      !PLT> log y on
                      !PLT> r y 0.0001516648 1601.9402782018
                      !PLT> r x 55.6995598126619 453786.72048
                      !PLT> la pos y 3.5
                      !PLT> la y 1.51-10 keV c/s
                      !PLT> la rotate
                      !PLT>
                      !PLT> win 2
                      !PLT> loc 0 0.32 1 0.735
                      !PLT> yplot 2,5,8
                      !PLT> la nx1 off
                      !PLT> log y on
                      !PLT> r y 0.0001516648 1601.9402782018
                      !PLT> r x 55.6995598126619 453786.72048
                      !PLT> la pos y 3.5
                      !PLT> la y 0.3-1.5 keV c/s
                      !PLT>
                      !PLT> win 3
                      !PLT> loc 0 0.05 1 0.455
                      !PLT> yplot 3,6,9
                      !PLT> r y 0.1518216 1.98111977787808
                      !PLT> r x 55.6995598126619 453786.72048
                      !PLT> la pos y 3.5
                      !PLT> la y Ratio
                      !PLT>
                      !PLT> win 1
                      !PLT> la f cyan: WT settling - blue: WT - red: PC
                      !PLT> la T Hardness ratio of GRB 211025A
                      !PLT>
                      !PLT> win all
                      !PLT> win 3
                      !PLT> la x Time since BAT trigger (s)
                      !PLT> plot
16:29:19.996          main:::  line 5649  INFO   >>  Calling plot detx etc.-- plot_detx_sys.pl -x 656831448
16:29:20.480          main:::  line 5652  INFO   >>  CMD OUT:
                      PGPLOT file/type: /null
                      PLT> @sys.pco
                      PLT> hard sys_time.ps/CPS
                      PLT> exit
                       To produce plot, please enter
                      !PLT> skip on
                      !PLT> lw 5
                      !PLT> win 1
                      !PLT> loc 0.1 0.1 0.9 0.9
                      !PLT> view 0 0.67 1 1
                      !PLT> la nx off
                      !PLT> yplot 1
                      !PLT> li on 1
                      !PLT> mark off 1
                      !PLT> col 11 on 1
                      !PLT> lw 5 on 1
                      !PLT> la y DETX
                      !PLT> r y 355.35610098639 357.740200268198
                      !PLT> la f
                      !PLT> la t Detector position errors for WT mode data
                      !PLT> win 2
                      !PLT> loc 0.1 0.1 0.9 0.9
                      !PLT> view 0 0.33 1 0.67
                      !PLT> la nx off
                      !PLT> yplot 3
                      !PLT> mark 5 on 3
                      !PLT> li off 3
                      !PLT> col 4 on 3
                      !PLT> lw 5 on 3
                      !PLT> la y Upper Sys
                      !PLT> log y on
                      !PLT> r y 0.700305344768589 1.20057372521156
                      !PLT> win 3
                      !PLT> loc 0.1 0.1 0.9 0.9
                      !PLT> view 0 0.0 1 0.33
                      !PLT> la nx on
                      !PLT> yplot 2
                      !PLT> mark 5 on 2
                      !PLT> li off 2
                      !PLT> col 4 on 2
                      !PLT> lw 5 on 2
                      !PLT> la y Lower Sys
                      !PLT> la x Time (s)
                      !PLT> la rot
                      !PLT> cs 1.3
                      !PLT> lw 5 on 1..99
                      !PLT> time off
                      !PLT> la pos y 2.75
                      !PLT> log y on
                      !PLT> r y 0.699621151638055 1.1994095399107
                      !PLT> win all
                      !PLT> log x on
                      !PLT> r x 90.7715319037437 399.808340406418
                      !PLT> plot
16:29:20.481          main:::  line 5663  INFO   >>  We have WT normal and incbad, checking the differences.
16:29:20.490          main:::  line 5680  INFO   >>  Deleted all wt incbad stuff as it's irrelevant
16:29:20.490          main:::  line 5663  INFO   >>  We have PC normal and incbad, checking the differences.
16:29:20.511          main:::  line 5718  INFO   >>  CMD OUT:
                      renamed 'PC.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PC.qdp'
                      renamed 'PCCURVE.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PCCURVE.qdp'
                      renamed 'PCCURVENOSYS.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PCCURVENOSYS.qdp'
                      renamed 'PCCURVENOSYS_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PCCURVENOSYS_incbad.qdp'
                      renamed 'PCCURVE_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PCCURVE_incbad.qdp'
                      renamed 'PCHR.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PCHR.qdp'
                      renamed 'PCHRNOSYS.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PCHRNOSYS.qdp'
                      renamed 'PCHRNOSYS_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PCHRNOSYS_incbad.qdp'
                      renamed 'PCHR_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PCHR_incbad.qdp'
                      renamed 'PCNOSYS.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PCNOSYS.qdp'
                      renamed 'PCNOSYS_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PCNOSYS_incbad.qdp'
                      renamed 'PCULNOSYS_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PCULNOSYS_incbad.qdp'
                      renamed 'PCUL_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PCUL_incbad.qdp'
                      renamed 'PC_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PC_incbad.qdp'
                      renamed 'WT.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/WT.qdp'
                      renamed 'WTCURVE.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/WTCURVE.qdp'
                      renamed 'WTCURVENOSYS.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/WTCURVENOSYS.qdp'
                      renamed 'WTHR.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/WTHR.qdp'
                      renamed 'WTHRNOSYS.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/WTHRNOSYS.qdp'
                      renamed 'WTNOSYS.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/WTNOSYS.qdp'
                      renamed 'WTSLEW.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/WTSLEW.qdp'
                      renamed 'WTSLEWCURVE.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/WTSLEWCURVE.qdp'
                      renamed 'WTSLEWCURVENOSYS.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/WTSLEWCURVENOSYS.qdp'
                      renamed 'WTSLEWHR.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/WTSLEWHR.qdp'
                      renamed 'WTSLEWHRNOSYS.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/WTSLEWHRNOSYS.qdp'
                      renamed 'WTSLEWNOSYS.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/WTSLEWNOSYS.qdp'
                      renamed 'PLOT2PCUL_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PLOT2PCUL_incbad.qdp'
                      renamed 'PLOTPCUL_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/PLOTPCUL_incbad.qdp'
                      mv: cannot stat 'dumpedFE.dat': No such file or directory
                      mv: cannot stat 'dumpedWT.dat': No such file or directory
                      renamed 'curve.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve.qdp'
                      renamed 'curve2.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2.qdp'
                      renamed 'curve2_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_incbad.qdp'
                      renamed 'curve2_nosys.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_nosys.qdp'
                      renamed 'curve2_nosys_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_nosys_incbad.qdp'
                      renamed 'curve2_plot.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_plot.qdp'
                      renamed 'curve2_plot_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_plot_incbad.qdp'
                      renamed 'curve2_plot_nosys.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_plot_nosys.qdp'
                      renamed 'curve2_plot_nosys_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_plot_nosys_incbad.qdp'
                      renamed 'curve_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_incbad.qdp'
                      renamed 'curve_nosys.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_nosys.qdp'
                      renamed 'curve_nosys_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_nosys_incbad.qdp'
                      renamed 'curve_plot.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_plot.qdp'
                      renamed 'curve_plot_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_plot_incbad.qdp'
                      renamed 'curve_plot_nosys.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_plot_nosys.qdp'
                      renamed 'curve_plot_nosys_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_plot_nosys_incbad.qdp'
                      renamed 'hardrat.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/hardrat.qdp'
                      renamed 'hardrat_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/hardrat_incbad.qdp'
                      renamed 'hardrat_nosys.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/hardrat_nosys.qdp'
                      renamed 'hardrat_nosys_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/hardrat_nosys_incbad.qdp'
                      renamed 'hardrat_nosys_plot.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/hardrat_nosys_plot.qdp'
                      renamed 'hardrat_nosys_plot_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/hardrat_nosys_plot_incbad.qdp'
                      renamed 'hardrat_plot.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/hardrat_plot.qdp'
                      renamed 'hardrat_plot_incbad.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/hardrat_plot_incbad.qdp'
                      renamed 'wtbacktotal.evt' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/wtbacktotal.evt'
                      renamed 'wtsourcetotal.evt' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/wtsourcetotal.evt'
                      renamed 'curve2_plain.dat' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_plain.dat'
                      renamed 'curve2_plain_incbad.dat' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_plain_incbad.dat'
                      renamed 'curve2_plain_nosys.dat' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_plain_nosys.dat'
                      renamed 'curve2_plain_nosys_incbad.dat' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_plain_nosys_incbad.dat'
                      renamed 'curve_plain.dat' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_plain.dat'
                      renamed 'curve_plain_incbad.dat' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_plain_incbad.dat'
                      renamed 'curve_plain_nosys.dat' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_plain_nosys.dat'
                      renamed 'curve_plain_nosys_incbad.dat' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_plain_nosys_incbad.dat'
                      renamed 'hardrat_plain.dat' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/hardrat_plain.dat'
                      renamed 'hardrat_plain_incbad.dat' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/hardrat_plain_incbad.dat'
                      renamed 'wt_orbit_pos.dat' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/wt_orbit_pos.dat'
                      renamed 'hr.pco' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/hr.pco'
                      renamed 'qdp.pco' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/qdp.pco'
                      renamed 'qdp2.pco' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/qdp2.pco'
                      renamed 'qdp2_incbad.pco' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/qdp2_incbad.pco'
                      renamed 'qdp2_nosys.pco' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/qdp2_nosys.pco'
                      renamed 'qdp2_nosys_incbad.pco' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/qdp2_nosys_incbad.pco'
                      renamed 'qdp_incbad.pco' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/qdp_incbad.pco'
                      renamed 'qdp_nosys.pco' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/qdp_nosys.pco'
                      renamed 'qdp_nosys_incbad.pco' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/qdp_nosys_incbad.pco'
                      renamed 'sys.pco' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/sys.pco'
                      renamed 'ratio.ps' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/ratio.ps'
                      renamed 'ratio_incbad.ps' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/ratio_incbad.ps'
                      renamed 'ratio_nosys.ps' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/ratio_nosys.ps'
                      renamed 'ratio_nosys_incbad.ps' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/ratio_nosys_incbad.ps'
                      renamed 'ratio.gif' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/ratio.gif'
                      renamed 'ratio_incbad.gif' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/ratio_incbad.gif'
                      renamed 'ratio_nosys.gif' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/ratio_nosys.gif'
                      renamed 'ratio_nosys_incbad.gif' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/ratio_nosys_incbad.gif'
                      renamed 'pcbacktotal.evt' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/pcbacktotal.evt'
                      renamed 'pcbacktotal_incbad.evt' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/pcbacktotal_incbad.evt'
                      renamed 'pcsourcetotal.evt' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/pcsourcetotal.evt'
                      renamed 'pcsourcetotal_incbad.evt' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/pcsourcetotal_incbad.evt'
                      renamed 'curve.ps' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve.ps'
                      renamed 'curve2.ps' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2.ps'
                      renamed 'curve2_incbad.ps' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_incbad.ps'
                      renamed 'curve2_nosys.ps' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_nosys.ps'
                      renamed 'curve2_nosys_incbad.ps' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_nosys_incbad.ps'
                      renamed 'curve_incbad.ps' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_incbad.ps'
                      renamed 'curve_nosys.ps' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_nosys.ps'
                      renamed 'curve_nosys_incbad.ps' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_nosys_incbad.ps'
                      renamed 'curve.gif' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve.gif'
                      renamed 'curve2.gif' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2.gif'
                      renamed 'curve2_incbad.gif' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_incbad.gif'
                      renamed 'curve2_nosys.gif' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_nosys.gif'
                      renamed 'curve2_nosys_incbad.gif' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve2_nosys_incbad.gif'
                      renamed 'curve_incbad.gif' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_incbad.gif'
                      renamed 'curve_nosys.gif' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve_nosys.gif'
                      renamed 'curve_nosys_incbad.gif' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/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' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/obstimes.txt'
                      mv: cannot stat 'unsortedobstimes.txt': No such file or directory
                      renamed 'GRB_info.txt' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/GRB_info.txt'
                      renamed 'allpcback.area' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/allpcback.area'
                      renamed 'allwtback.area' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/allwtback.area'
                      renamed 'pcpuptimes.list' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/pcpuptimes.list'
                      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' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curvegen.log'
                      renamed 'genlc.log' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/genlc.log'
                      renamed 'psf_centroid.log' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/psf_centroid.log'
                      renamed 'wtslew.log' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/wtslew.log'
                      renamed 'wtslew_info.txt' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/wtslew_info.txt'
                      renamed 'events.txt' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/events.txt'
                      mv: cannot stat 'WTSLEW.qdp': No such file or directory
                      mv: cannot stat 'WTSLEWCURVE.qdp': No such file or directory
                      mv: cannot stat 'WTSLEWCURVENOSYS.qdp': No such file or directory
                      mv: cannot stat 'WTSLEWHR.qdp': No such file or directory
                      mv: cannot stat 'WTSLEWHRNOSYS.qdp': No such file or directory
                      mv: cannot stat 'WTSLEWNOSYS.qdp': No such file or directory
                      renamed 'pccorr.fits' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/pccorr.fits'
                      renamed 'wtcorr.fits' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/wtcorr.fits'
                      renamed 'wtsys.fits' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/wtsys.fits'
                      renamed 'pc_bad_orb.txt' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/pc_bad_orb.txt'
                      renamed 'detxvtime.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/detxvtime.qdp'
                      mv: cannot stat 'wt_orbit_pos.dat': No such file or directory
                      renamed 'sys_time.gif' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/sys_time.gif'
                      renamed 'sys_time.ps' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/sys_time.ps'
                      mv: cannot stat 'sys.pco': No such file or directory
                      renamed 'pcbaddiff.txt' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/pcbaddiff.txt'
                      renamed 'wt_sys_plot.qdp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/wt_sys_plot.qdp'
                      renamed 't0.date' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/t0.date'
                      renamed 'curve.jsp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/curve.jsp'
                      renamed 'enrange.jsp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/enrange.jsp'
                      renamed 'hr.jsp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/hr.jsp'
                      renamed 'sys.jsp' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/sys.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' -> '/fbdata/autoproc/tmp/tmp_lc_prods_01081113_HLx7f/TIMEFORMAT'
16:29:21.955          main:::  line 5748  INFO   >>  Complete. Leaving it there.
16:29:21.956          main:::  line 5764  INFO   >>  xrt_lc_gen finished at 2025-08-12 T 16:29:21
