# uvot_fluxes_wget.pl vrs. 2020-11-03a fem at 210805d15h40m50s743639usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01061482002 -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
# ========= GRB210724A ===================
Could not find/read custom source region custom_1061482_src.reg
Used archived opt source position of 227.41433 -6.29056 3.00
Reference: GCN_Circulars-30511
The position is (15:09:39.44, -06:17:26.0)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl opt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(227.41433,-6.29056,3") # color=red dash=0
Source region spec. is: 227.41433 -6.29056 3"
Region file centered at (227.41433,-6.29056), which is (15:09:39.44, -06:17:26.0)
Could not find/read custom background region custom_1061482_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 -27.43142 from uncorrected trigger time of 648850449.24 in BAT summary file
# ============ Reading file sw01061482992uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.177 at 648850601
The processing date in extension 0 is: 2021-07-24T22:16:01
The trigger time is: 648850476.67142. The reference is BAT GRB summary file
Using zero point of 20.113 for filter WHITE
Use aperture correction of 1.108 based on aperture of 3.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(227.41433,-6.29056,25")
fk5;-circle(227.41433,-6.29056,12.5")
fk5;-circle(227.416797,-6.290358,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 wh648850601I     124.7  0.97  147.4  273.2 112  15516  5761 -0.221 0.130 99.00 21.5 -0.2212 0.1301 99.00 21.5   147 -0.052  0.031 99.00 2.007 
    Sum (T+   125 to    274):             273.2        301.7 (est. in src region)   SNR_unwtd_sum:  -1.70 0.9987 signif. UL:  21.49
  0   147 648850676     199.6     74.9    -74.9   -0.2212   0.1301 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.052 +/- 0.030 snr: -1.7 mag: 99.00 UL: 23.08
Rebinned Data for sw01061482992uwh_sk.img using a zero point of 20.113:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      142     199.6     74.9    -74.9   -0.2212   0.1301 99.00 99.00     199.6   -0.2212   0.1301 99.00 99.00 21.49
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01061482001uvv_sk.img ================
Use keyword TRIGTIME of 648850476.672 for trigger time.
Long-term sensitivity correction to zero point is -0.214 at 648855339
The processing date in extension 0 is:  2021-08-03T05:09:57
The trigger time is: 648850476.672. The reference is keyword in image file
Using zero point of 17.676 for filter V
Use aperture correction of  1.087 based on aperture of  3.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(227.41433,-6.29056,25")
fk5;-circle(227.41433,-6.29056,12.5")
fk5;-circle(227.416857,-6.290379,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 vv648855339I    4862.8  0.99  196.6  105.1 112   4995  5774  0.046 0.058 21.03 19.3  0.0455 0.0577 21.03 19.3   197  2.510  3.181 19.29 0.036 
   2 vv648877168I   26691.8  0.98  295.0  301.1 108  16040  5726 -0.005 0.066 99.00 19.4  0.0151 0.0457 22.23 19.7   492  2.414  3.140 19.33 0.011 
   3 vv648877472I   26995.3  0.99  230.9  156.0 112   8384  5752 -0.034 0.060 99.00 19.6 -0.0007 0.0365 99.00 20.0   723  2.082  3.094 19.49 0.009 
    Sum (T+  4863 to  27230):             562.2        562.7 (est. in src region)   SNR_unwtd_sum:  -0.02 0.9987 signif. UL:  20.01
  0   723 648871452   20975.0   6254.9 -16112.2   -0.0007   0.0365 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.051 +/- 0.030 snr: -1.7 mag: 99.00 UL: 20.66
Rebinned Data for sw01061482001uvv_sk.img using a zero point of 17.676:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      195    4962.7     99.9    -99.9    0.0455   0.0577 21.03  0.89    4962.7    0.0455   0.0577 21.03  0.89 19.30
  1      518   26961.2    268.8   -269.3   -0.0181   0.0453 99.00 99.00   20944.7   -0.0007   0.0365 99.00 99.00 20.01
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01061482002ubb_sk.img ================
Use keyword TRIGTIME of 648850476.672 for trigger time.
Long-term sensitivity correction to zero point is -0.180 at 648912125
The processing date in extension 0 is:  2021-08-05T15:26:45
The trigger time is: 648850476.672. The reference is keyword in image file
Using zero point of 18.930 for filter B
Use aperture correction of  1.108 based on aperture of  3.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(227.41433,-6.29056,25")
fk5;-circle(227.41433,-6.29056,12.5")
fk5;-circle(227.416812,-6.290378,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 bb648912125I   61648.8  0.98  290.8  282.2 116  13481  5764  0.042 0.066 22.37 20.5  0.0423 0.0656 22.37 20.5   291  9.133 14.184 17.89 0.005 
    Sum (T+ 61649 to  61944):             282.2        271.3 (est. in src region)   SNR_unwtd_sum:   0.64 0.9987 signif. UL:  20.45
  0   291 648912273   61796.5    147.7   -147.7    0.0423   0.0656 22.366 76.634  -1.018
Total wtd_rate (for all exposures so far): -0.052 +/- 0.030 snr: -1.7 mag: 99.00 UL: 21.90
Rebinned Data for sw01061482002ubb_sk.img using a zero point of 18.930:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      286   61796.5    147.7   -147.7    0.0423   0.0656 22.37  1.02   61796.5    0.0423   0.0656 22.37  1.02 20.45
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01061482992uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.194 at 648850759
The processing date in extension 0 is:  2021-07-24T22:16:01
The trigger time is: 648850476.672. The reference is keyword in image file
Using zero point of 18.146 for filter U
Use aperture correction of  1.100 based on aperture of  3.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(227.41433,-6.29056,25")
fk5;-circle(227.41433,-6.29056,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 uu648850759I     282.7  0.99  226.5   73.2 112   3931  5848 -0.010 0.042 99.00 20.4 -0.0104 0.0422 99.00 20.4   227 -0.030  0.121 99.00 1.043 
    Sum (T+   283 to    513):              73.2         75.3 (est. in src region)   SNR_unwtd_sum:  -0.25 0.9987 signif. UL:  20.38
  0   227 648850874     397.8    115.1   -115.1   -0.0104   0.0422 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.050 +/- 0.029 snr: -1.7 mag: 99.00 UL: 21.16
Rebinned Data for sw01061482992uuu_sk.img using a zero point of 18.146:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      225     397.8    115.1   -115.1   -0.0104   0.0422 99.00 99.00     397.8   -0.0104   0.0422 99.00 99.00 20.38
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01061482001uw1_sk.img ================
Use keyword TRIGTIME of 648850476.672 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 648855749
The processing date in extension 0 is:  2021-08-03T05:09:57
The trigger time is: 648850476.672. The reference is keyword in image file
Using zero point of 17.169 for filter UVW1
Use aperture correction of  1.123 based on aperture of  3.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(227.41433,-6.29056,25")
fk5;-circle(227.41433,-6.29056,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 w1648855749I    5272.6  1.00   90.0    2.7 112    323  5860 -0.043 0.021 99.00 20.6 -0.0429 0.0211 99.00 20.6    90 -4.047  1.987 99.00 0.155 
    Sum (T+  5273 to   5364):               2.7          6.2 (est. in src region)   SNR_unwtd_sum:  -2.04 0.9987 signif. UL:  20.61
  0    90 648855795    5318.3     45.7    -45.7   -0.0429   0.0211 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.051 +/- 0.030 snr: -1.7 mag: 99.00 UL: 20.16
Rebinned Data for sw01061482001uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     89.9    5318.3     45.7    -45.7   -0.0429   0.0211 99.00 99.00    5318.3   -0.0429   0.0211 99.00 99.00 20.61
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01061482001um2_sk.img ================
Use keyword TRIGTIME of 648850476.672 for trigger time.
Long-term sensitivity correction to zero point is -0.259 at 648855544
The processing date in extension 0 is:  2021-08-03T05:09:57
The trigger time is: 648850476.672. The reference is keyword in image file
Using zero point of 16.591 for filter UVM2
Use aperture correction of  1.106 based on aperture of  3.00
There are no aspect corrected images to process.
The data range from T+124.7 s (0.00 d) to T+61944.3 s (0.72 d)
Wrote uvot_fluxes_210805d15h40m50s743639usUT.qdp
Wrote uvot_fluxes_210805d15h40m50s743639usUT.gif
Wrote uvot_fluxes_210805d15h40m50s743639usUT.ps
Wrote uvot_fluxes_210805d15h40m50s743639usUT_vis.qdp
Wrote uvot_fluxes_210805d15h40m50s743639usUT_uv.qdp
Wrote uvot_fluxes_210805d15h40m50s743639usUT_vis.gif
Wrote uvot_fluxes_210805d15h40m50s743639usUT_vis.ps
Wrote uvot_fluxes_210805d15h40m50s743639usUT_uv.gif
Wrote uvot_fluxes_210805d15h40m50s743639usUT_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      909     199.6     74.9    -74.9   -0.2605   0.1531 99.00 99.00     199.6   -0.2605   0.1531 99.00 99.00 21.49
  1     9.49     397.8    115.1   -115.1   -0.0750   0.3039 99.00 99.00     201.6   -0.2567   0.1501 99.00 99.00 21.52
  2   0.0089    4962.7     99.9    -99.9    0.5058   0.6409 21.03  0.89     201.7   -0.2566   0.1501 99.00 99.00 21.52
  3  0.00193   52621.7   9322.6 -25929.8    0.0962   0.2094 22.83  1.26     201.8   -0.2564   0.1500 99.00 99.00 21.52
The data range from T+124.7 s (0.00 d) to T+61944.3 s (0.72 d)
Wrote uvot_fluxes_wtd_210805d15h40m50s743639usUT.qdp
Wrote uvot_fluxes_wtd_210805d15h40m50s743639usUT.gif
Wrote uvot_fluxes_wtd_210805d15h40m50s743639usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2020-11-03a fem