# uvot_fluxes_wget.pl vrs. 2020-11-03a fem at 221006d12h31m00s475938usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01125354001 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/data/uvot/swift_data/home/uvot_lc -web -useprev -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /data/uvot/swift_data/home/uvot_lc
# ========= GRB220926A ===================
Could not find/read custom source region custom_1125354_src.reg
Used archived XRT position of 245.00220 -16.04380 4.00
Reference: GCN_Notice_Mon_26_Sep_22_09:25:26_UT-spacecraft
The position is (16:20:00.53, -16:02:37.7)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl xrt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(245.0022,-16.0438,4") # color=red dash=0
Source region spec. is: 245.0022 -16.0438 4"
Region file centered at (245.0022,-16.0438), which is (16:20:00.53, -16:02:37.7)
Could not find/read custom background region custom_1125354_bkg.reg
Made source region file with 5" aper with name uvot_flux_src5.reg
Coincidence losses are calculated using a 5" aperture.
Exposure times (t_exp) have NOT been corrected for coinc. loss, but rates and mags have been.
The no. of background pixels has been corrected by the ratio of coincidence loss corrections in the source and background regions.
The errors have been adjusted to account for the binomial distribution of counts at large rates.
A table entry starting with # is an exposure with no aspect solution.
A table entry starting with ! has no pixels in either source or background region.
A table entry starting with % is unreliable because it is not well inside the image.
Upper limits in tables give the 0.9987 confidence limit using Bayesian analysis for detection taking the observed counts into account.
Upper limits in plots give the 0.9772 confidence limit using Bayesian analysis.
Weighted rates in tables (wtd_rate) combine rates from different exposures weighted by the expected source rate divided by the background rate
The source is assumed to produce the same magnitude in all filters.
The source is assumed to decay as t**(-1.0), and the rate is normalized so that the white filter produces 1 cps at 1000 sec.
The Rebinned Data for All_files combine rates from different exposures weighted by the expected rate divided by the observed sigma squared.
A plot of these data is stored in uvot_fluxes_wtd_date.ps and .gif.
A zero point of 20.29 is adopted for weighting rates.
Subtract UTCF of -29.92734 from uncorrected trigger time of 685876970.07 in BAT summary file
# ============ Reading file sw01125354992uwh_sk.img ================
Use keyword TRIGTIME of 685877000.004 for trigger time.
Long-term sensitivity correction to zero point is -0.175 at 685877143
The processing date in extension 0 is: 2022-09-26T15:33:17
The trigger time is: 685877000.004. The reference is keyword in image file
Using zero point of 20.115 for filter WHITE
Use aperture correction of 1.035 based on aperture of 4.00
There are no aspect corrected images to process.
# ============ Reading file sw01125354001uwh_sk.img ================
Use keyword TRIGTIME of 685877000 for trigger time.
Long-term sensitivity correction to zero point is -0.175 at 685884028
The processing date in extension 0 is: 2022-09-26T20:34:07
The trigger time is: 685877000. The reference is keyword in image file
Using zero point of 20.115 for filter WHITE
Use aperture correction of 1.035 based on aperture of 4.00
Using background region based on sources found in extension 1:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(245.0022,-16.0438,25")
fk5;-circle(245.0022,-16.0438,12.5")
fk5;-circle(245.004261,-16.035487,6")
fk5;-circle(245.003872,-16.045945,6")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 wh685884028I    7028.0  0.92  196.6 1566.9 200  44601  5761  0.105 0.229 22.56 20.3  0.1052 0.2292 22.56 20.3   197  0.881  1.920 20.43 0.014 
    Sum (T+  7028 to   7228):            1566.9       1548.5 (est. in src region)   SNR_unwtd_sum:   0.46 0.9987 signif. UL:  20.33
  0   197 685884128    7127.9     99.9    -99.9    0.1052   0.2292 22.560 76.440  -1.256
Total wtd_rate (for all exposures so far):  0.881 +/- 1.888 snr:  0.5 mag: 20.43 UL: 18.04
Rebinned Data for sw01125354001uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      182    7127.9     99.9    -99.9    0.1052   0.2292 22.56  1.26    7127.9    0.1052   0.2292 22.56  1.26 20.33
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01125354992uvv_sk.img ================
Use keyword TRIGTIME of 685877000.004 for trigger time.
Long-term sensitivity correction to zero point is -0.219 at 685877124
The processing date in extension 0 is:  2022-09-26T15:32:51
The trigger time is: 685877000.004. The reference is keyword in image file
Using zero point of 17.671 for filter V
Use aperture correction of  1.030 based on aperture of  4.00
There are no aspect corrected images to process.
# ============ Reading file sw01125354001uvv_sk.img ================
Use keyword TRIGTIME of 685877000 for trigger time.
Long-term sensitivity correction to zero point is -0.219 at 685888677
The processing date in extension 0 is:  2022-09-26T20:34:07
The trigger time is: 685877000. The reference is keyword in image file
Using zero point of 17.671 for filter V
Use aperture correction of  1.030 based on aperture of  4.00
Using background region based on sources found in extension 2:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(245.0022,-16.0438,25")
fk5;-circle(245.0022,-16.0438,12.5")
fk5;-circle(245.003840,-16.046008,6")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 vv685888677I   11677.2  0.98  295.0  574.6 196  16649  5729  0.018 0.087 22.03 19.0  0.0181 0.0867 22.03 19.0   295  2.388 11.444 19.34 0.004 
   2 vv685888980I   11980.7  0.98  295.0  600.1 204  16331  5695  0.054 0.089 20.85 18.9  0.0359 0.0620 21.28 19.3   590  4.729  8.283 18.60 0.004 
   3 vv685889284I   12284.1  0.98  295.0  556.0 200  16772  5758 -0.095 0.085 99.00 19.4 -0.0076 0.0502 99.00 19.7   885 -0.892  6.791 99.00 0.004 
    Sum (T+ 11677 to  12584):            1730.7       1737.1 (est. in src region)   SNR_unwtd_sum:  -0.15 0.9987 signif. UL:  19.69
  0   885 685889131   12130.5    453.3   -453.4   -0.0076   0.0502 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.749 +/- 1.809 snr:  0.4 mag: 20.60 UL: 15.65
Rebinned Data for sw01125354001uvv_sk.img using a zero point of 17.671:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      868   12130.6    453.3   -453.4   -0.0076   0.0502 99.00 99.00   12130.6   -0.0076   0.0502 99.00 99.00 19.69
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01125354992ubb_sk.img ================
Use keyword TRIGTIME of 685877000.004 for trigger time.
Long-term sensitivity correction to zero point is -0.193 at 685877611
The processing date in extension 0 is:  2022-09-26T15:33:03
The trigger time is: 685877000.004. The reference is keyword in image file
Using zero point of 18.917 for filter B
Use aperture correction of  1.035 based on aperture of  4.00
There are no aspect corrected images to process.
# ============ Reading file sw01125354001ubb_sk.img ================
Use keyword TRIGTIME of 685877000 for trigger time.
Long-term sensitivity correction to zero point is -0.193 at 685883823
The processing date in extension 0 is:  2022-09-26T20:34:07
The trigger time is: 685877000. The reference is keyword in image file
Using zero point of 18.917 for filter B
Use aperture correction of  1.035 based on aperture of  4.00
Using background region based on sources found in extension 1:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(245.0022,-16.0438,25")
fk5;-circle(245.0022,-16.0438,12.5")
fk5;-circle(245.003962,-16.046020,6")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 bb685883823I    6823.1  0.97  196.6  565.4 200  17585  5691 -0.285 0.131 99.00 20.4 -0.2847 0.1312 99.00 20.4   197 -6.982  3.218 99.00 0.013 
    Sum (T+  6823 to   7023):             565.4        618.0 (est. in src region)   SNR_unwtd_sum:  -2.17 0.9987 signif. UL:  20.40
  0   197 685883923    6923.0     99.9    -99.9   -0.2847   0.1312 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -1.032 +/- 1.577 snr: -0.7 mag: 99.00 UL: 17.32
Rebinned Data for sw01125354001ubb_sk.img using a zero point of 18.917:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      191    6923.0     99.9    -99.9   -0.2847   0.1312 99.00 99.00    6923.0   -0.2847   0.1312 99.00 99.00 20.40
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01125354992uuu_sk.img ================
Use keyword TRIGTIME of 685877000.004 for trigger time.
Long-term sensitivity correction to zero point is -0.210 at 685877356
The processing date in extension 0 is:  2022-09-26T15:33:18
The trigger time is: 685877000.004. The reference is keyword in image file
Using zero point of 18.130 for filter U
Use aperture correction of  1.032 based on aperture of  4.00
There are no aspect corrected images to process.
# ============ Reading file sw01125354001uuu_sk.img ================
Use keyword TRIGTIME of 685877000 for trigger time.
Long-term sensitivity correction to zero point is -0.210 at 685883618
The processing date in extension 0 is:  2022-09-26T20:34:07
The trigger time is: 685877000. The reference is keyword in image file
Using zero point of 18.130 for filter U
Use aperture correction of  1.032 based on aperture of  4.00
Using background region based on sources found in extension 2:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(245.0022,-16.0438,25")
fk5;-circle(245.0022,-16.0438,12.5")
fk5;-circle(245.004258,-16.035425,6")
fk5;-circle(245.003926,-16.045959,6")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 uu685883617I    6617.5  0.99  196.6  271.4 200   7507  5716  0.047 0.089 21.46 19.4  0.0465 0.0891 21.46 19.4   197  2.285  4.373 19.39 0.015 
   2 uu685895672I   18672.4  0.99  233.7  312.2 200   9135  5735 -0.028 0.080 99.00 19.7  0.0060 0.0597 23.69 19.9   430  1.487  4.066 19.86 0.010 
    Sum (T+  6618 to  18910):             583.7        581.2 (est. in src region)   SNR_unwtd_sum:   0.10 0.9987 signif. UL:  19.90
  0   430 685890274   13274.1   5635.7  -6656.6    0.0060   0.0597 23.694 75.306  -2.607
Total wtd_rate (for all exposures so far): -0.681 +/- 1.463 snr: -0.5 mag: 99.00 UL: 16.57
Rebinned Data for sw01125354001uuu_sk.img using a zero point of 18.130:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      194    6717.4     99.9    -99.9    0.0465   0.0891 21.46  1.16    6717.4    0.0465   0.0891 21.46  1.16 19.35
  1      231   18791.1    118.7   -118.7   -0.0282   0.0804 99.00 99.00   13273.9    0.0060   0.0597 23.69  2.61 19.90
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01125354992uw1_sk.img ================
Use keyword TRIGTIME of 685877000.004 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 685877735
The processing date in extension 0 is:  2022-09-26T15:33:05
The trigger time is: 685877000.004. The reference is keyword in image file
Using zero point of 17.169 for filter UVW1
Use aperture correction of  1.035 based on aperture of  4.00
There are no aspect corrected images to process.
# ============ Reading file sw01125354001uw1_sk.img ================
Use keyword TRIGTIME of 685877000 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 685894766
The processing date in extension 0 is:  2022-09-26T20:34:07
The trigger time is: 685877000. The reference is keyword in image file
Using zero point of 17.169 for filter UVW1
Use aperture correction of  1.035 based on aperture of  4.00
Using background region based on sources found in extension 1:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(245.0022,-16.0438,25")
fk5;-circle(245.0022,-16.0438,12.5")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 w1685894766I   17766.1  1.00  885.6  219.0 208   6479  5876 -0.012 0.018 99.00 20.5 -0.0121 0.0176 99.00 20.5   886 -3.919  5.697 99.00 0.012 
    Sum (T+ 17766 to  18666):             219.0        229.4 (est. in src region)   SNR_unwtd_sum:  -0.69 0.9987 signif. UL:  20.46
  0   886 685895216   18215.9    449.9   -449.9   -0.0121   0.0176 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.883 +/- 1.419 snr: -0.6 mag: 99.00 UL: 15.68
Rebinned Data for sw01125354001uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      883   18215.9    449.9   -449.9   -0.0121   0.0176 99.00 99.00   18215.9   -0.0121   0.0176 99.00 99.00 20.46
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01125354992um2_sk.img ================
Use keyword TRIGTIME of 685877000.004 for trigger time.
Long-term sensitivity correction to zero point is -0.259 at 685877710
The processing date in extension 0 is:  2022-09-26T15:33:05
The trigger time is: 685877000.004. The reference is keyword in image file
Using zero point of 16.591 for filter UVM2
Use aperture correction of  1.031 based on aperture of  4.00
There are no aspect corrected images to process.
# ============ Reading file sw01125354001um2_sk.img ================
Use keyword TRIGTIME of 685877000 for trigger time.
Long-term sensitivity correction to zero point is -0.259 at 685889589
The processing date in extension 0 is:  2022-09-26T20:34:07
The trigger time is: 685877000. The reference is keyword in image file
Using zero point of 16.591 for filter UVM2
Use aperture correction of  1.031 based on aperture of  4.00
Using background region based on sources found in extension 1:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(245.0022,-16.0438,25")
fk5;-circle(245.0022,-16.0438,12.5")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 m2685889588I   12588.9  1.00  641.5   42.2 204   1382  5843 -0.010 0.011 99.00 20.5 -0.0097 0.0106 99.00 20.5   642 -3.796  4.148 99.00 0.034 
    Sum (T+ 12589 to  13241):              42.2         48.2 (est. in src region)   SNR_unwtd_sum:  -0.92 0.9987 signif. UL:  20.49
  0   642 685889915   12914.8    325.9   -325.9   -0.0097   0.0106 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -1.161 +/- 1.337 snr: -0.9 mag: 99.00 UL: 15.23
Rebinned Data for sw01125354001um2_sk.img using a zero point of 16.591:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      641   12914.8    325.9   -325.9   -0.0097   0.0106 99.00 99.00   12914.8   -0.0097   0.0106 99.00 99.00 20.49
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01125354992uw2_sk.img ================
Use keyword TRIGTIME of 685877000.004 for trigger time.
Long-term sensitivity correction to zero point is -0.345 at 685877661
The processing date in extension 0 is:  2022-09-26T15:33:05
The trigger time is: 685877000.004. The reference is keyword in image file
Using zero point of 17.035 for filter UVW2
Use aperture correction of  1.035 based on aperture of  4.00
There are no aspect corrected images to process.
# ============ Reading file sw01125354001uw2_sk.img ================
Use keyword TRIGTIME of 685877000 for trigger time.
Long-term sensitivity correction to zero point is -0.345 at 685884234
The processing date in extension 0 is:  2022-09-26T20:34:07
The trigger time is: 685877000. The reference is keyword in image file
Using zero point of 17.035 for filter UVW2
Use aperture correction of  1.035 based on aperture of  4.00
Using background region based on sources found in extension 2:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(245.0022,-16.0438,25")
fk5;-circle(245.0022,-16.0438,12.5")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 w2685884233I    7233.7  1.00  196.6   27.8 204    804  5819 -0.002 0.028 99.00 19.7 -0.0018 0.0283 99.00 19.7   197 -0.271  4.157 99.00 0.047 
   2 w2685900762I   23762.9  1.00  283.3   45.0 188   1170  5801  0.026 0.025 21.00 19.5  0.0146 0.0187 21.63 19.9   480  1.341  3.932 19.97 0.029 
    Sum (T+  7234 to  24051):              72.8         66.1 (est. in src region)   SNR_unwtd_sum:   0.78 0.9987 signif. UL:  19.89
  0   480 685894117   17116.8   6933.9  -9883.1    0.0146   0.0187 21.626 77.374  -0.896
Total wtd_rate (for all exposures so far): -0.888 +/- 1.268 snr: -0.7 mag: 99.00 UL: 15.69
Rebinned Data for sw01125354001uw2_sk.img using a zero point of 17.035:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      196    7333.6     99.9    -99.9   -0.0018   0.0283 99.00 99.00    7333.6   -0.0018   0.0283 99.00 99.00 19.66
  1      283   23906.8    143.9   -143.9    0.0260   0.0249 21.00  0.73   17115.6    0.0146   0.0187 21.63  0.90 19.89
=========================================================
================ Start New Filter UGRISM ==================
=========================================================
# ============ Reading file sw01125354992ugu_sk.img ================
The data range from T+6617.5 s (0.08 d) to T+24050.7 s (0.28 d)
Wrote uvot_fluxes_221006d12h31m00s475938usUT.qdp
Wrote uvot_fluxes_221006d12h31m00s475938usUT.gif
Wrote uvot_fluxes_221006d12h31m00s475938usUT.ps
Wrote uvot_fluxes_221006d12h31m00s475938usUT_vis.qdp
Wrote uvot_fluxes_221006d12h31m00s475938usUT_uv.qdp
Wrote uvot_fluxes_221006d12h31m00s475938usUT_vis.gif
Wrote uvot_fluxes_221006d12h31m00s475938usUT_vis.ps
Wrote uvot_fluxes_221006d12h31m00s475938usUT_uv.gif
Wrote uvot_fluxes_221006d12h31m00s475938usUT_uv.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  u (0)  , white (0)  , b (0)  , v (0)  , 
Rebinned Data for All_files using a zero point of 20.290:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0    0.268    7181.1  11728.7   -563.6    0.0118   0.2353 25.11  3.30    7181.1    0.0118   0.2353 25.11  3.30 20.58
The data range from T+6617.5 s (0.08 d) to T+24050.7 s (0.28 d)
Wrote uvot_fluxes_wtd_221006d12h31m00s475938usUT.qdp
Wrote uvot_fluxes_wtd_221006d12h31m00s475938usUT.gif
Wrote uvot_fluxes_wtd_221006d12h31m00s475938usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2020-11-03a fem