# uvot_fluxes_wget.pl vrs. 2020-11-03a fem at 210117d03h33m41s728251usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01013243002 -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
# ========= GRB201216C ===================
Could not find/read custom source region custom_1013243_src.reg
Used archived opt source position of 16.37075 16.51667 3.00
Reference: GCN_Circulars-29066
The position is (01:05:28.98, +16:31:00.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(16.37075,16.51667,3") # color=red dash=0
Source region spec. is: 16.37075 16.51667 3"
Region file centered at (16.37075,16.51667), which is (01:05:28.98, +16:31:00.0)
Could not find/read custom background region custom_1013243_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 -26.16542 from uncorrected trigger time of 629852851.72 in BAT summary file
# ============ Reading file sw01013243001ubb_sk.img ================
Use keyword TRIGTIME of 629852877.888 for trigger time.
Long-term sensitivity correction to zero point is -0.172 at 629873898
The processing date in extension 0 is: 2020-12-27T12:02:01
The trigger time is: 629852877.888. The reference is keyword in image file
Using zero point of 18.938 for filter B
Use aperture correction of 1.108 based on aperture of 3.00
There are no aspect corrected images to process.
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01013243001uuu_sk.img ================
Use keyword TRIGTIME of 629852877.888 for trigger time.
Long-term sensitivity correction to zero point is -0.187 at 629872986
The processing date in extension 0 is: 2020-12-27T12:02:00
The trigger time is: 629852877.888. The reference is keyword in image file
Using zero point of 18.153 for filter U
Use aperture correction of 1.100 based on aperture of 3.00
There are no aspect corrected images to process.
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01013243001uw1_sk.img ================
Use keyword TRIGTIME of 629852877.888 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 629861774
The processing date in extension 0 is: 2020-12-27T12:02:00
The trigger time is: 629852877.888. 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 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(16.37075,16.51667,25")
fk5;-circle(16.37075,16.51667,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 w1629861773I    8895.8  1.00  400.7   29.8 104   1506  5864  0.009 0.015 22.31 20.3  0.0088 0.0154 22.31 20.3   401  1.414  2.489 19.91 0.093 
   2 w1629867374I   14496.6  1.00  616.3   43.4 104   2908  5808 -0.016 0.012 99.00 21.0 -0.0061 0.0096 99.00 21.1  1017 -0.330  1.979 99.00 0.061 
#  3 w1629891106I   38228.4  1.00  885.6   42.1 104   2478  5865 
    Sum (T+  8896 to  15123):              73.3         78.8 (est. in src region)   SNR_unwtd_sum:  -0.64 0.9987 signif. UL:  21.12
  0  1017 629865438   12559.8   2563.0  -3664.0   -0.0061   0.0096 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.330 +/- 1.962 snr: -0.2 mag: 99.00 UL: 15.21
Rebinned Data for sw01013243001uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.02e+03   12559.5   2563.2  -3663.7   -0.0061   0.0096 99.00 99.00   12559.5   -0.0061   0.0096 99.00 99.00 21.12
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01013243001um2_sk.img ================
Use keyword TRIGTIME of 629852877.888 for trigger time.
Long-term sensitivity correction to zero point is -0.260 at 629890200
The processing date in extension 0 is:  2020-12-27T12:02:01
The trigger time is: 629852877.888. The reference is keyword in image file
Using zero point of 16.590 for filter UVM2
Use aperture correction of  1.106 based on aperture of  3.00
There are no aspect corrected images to process.
# ============ Reading file sw01013243002um2_sk.img ================
Use keyword TRIGTIME of 629852877.888 for trigger time.
Long-term sensitivity correction to zero point is -0.260 at 631762134
The processing date in extension 0 is:  2021-01-17T03:17:06
The trigger time is: 629852877.888. The reference is keyword in image file
Using zero point of 16.590 for filter UVM2
Use aperture correction of  1.106 based on aperture of  3.00
Using background region based on sources found in extension 5:
# 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(16.37075,16.51667,25")
fk5;-circle(16.37075,16.51667,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 m2631762133I 1909256.0  1.00  597.3   11.5 116    468  5844  0.004 0.006 22.58 20.7  0.0040 0.0063 22.58 20.7   597 231.916 364.519 14.38 0.001 
   2 m2631779353I 1926475.4  1.00  420.9    8.4 116    319  5872  0.005 0.008 22.25 20.4  0.0046 0.0049 22.43 20.9  1018 266.849 282.324 14.22 0.001 
   3 m2631785113I 1932236.0  1.00  538.3    9.2 112    384  5832  0.004 0.006 22.66 20.7  0.0043 0.0039 22.51 21.1  1556 248.879 223.622 14.30 0.001 
   4 m2631790548I 1937670.6  1.00  326.9    9.1 116    220  5872  0.016 0.010 21.07 19.9  0.0064 0.0037 22.08 21.0  1883 378.426 213.596 13.85 0.001 
   5 m2631794618I 1941740.6  1.00 1045.4   20.5 116    967  5868  0.001 0.005 23.66 21.0  0.0046 0.0029 22.43 21.3  2929 290.775 172.003 14.13 0.001 
   6 m2631800653I 1947775.2  1.00  598.1   11.1 116    534  5832  0.001 0.006 24.13 20.8  0.0040 0.0026 22.59 21.4  3527 255.662 156.198 14.27 0.001 
   7 m2631806622I 1953745.1  1.00  288.3    7.4 112    304  5824  0.006 0.011 22.15 20.1  0.0041 0.0026 22.55 21.4  3815 261.329 151.466 14.25 0.001 
    Sum (T+1909256 to 1954038):              77.2         62.9 (est. in src region)   SNR_unwtd_sum:   1.61 0.9987 signif. UL:  21.40
  0  3815 631788341 1935462.6  18575.4 -26206.6    0.0041   0.0026 22.546  1.049  -0.523
Total wtd_rate (for all exposures so far): -0.271 +/- 1.932 snr: -0.1 mag: 99.00 UL: 14.64
Rebinned Data for sw01013243002um2_sk.img using a zero point of 16.590:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 3.81e+03 1935462.3  18575.7 -26206.3    0.0041   0.0026 22.55  0.52 1935462.3    0.0041   0.0026 22.55  0.52 21.40
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01013243002uw2_sk.img ================
Use keyword TRIGTIME of 629852877.888 for trigger time.
Long-term sensitivity correction to zero point is -0.340 at 631748756
The processing date in extension 0 is:  2021-01-17T03:17:06
The trigger time is: 629852877.888. The reference is keyword in image file
Using zero point of 17.040 for filter UVW2
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(16.37075,16.51667,25")
fk5;-circle(16.37075,16.51667,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 w2631748755I 1895877.8  1.00  595.5   31.4 108   1596  5828  0.003 0.011 23.20 20.6  0.0034 0.0105 23.20 20.6   596 129.972 398.338 15.01 0.001 
    Sum (T+1895878 to 1896483):              31.4         29.6 (est. in src region)   SNR_unwtd_sum:   0.33 0.9987 signif. UL:  20.63
  0   596 631749058 1896180.3    302.5   -302.5    0.0034   0.0105 23.200 75.800  -1.523
Total wtd_rate (for all exposures so far): -0.269 +/- 1.935 snr: -0.1 mag: 99.00 UL: 15.09
Rebinned Data for sw01013243002uw2_sk.img using a zero point of 17.040:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      595 1896180.3    302.5   -302.5    0.0034   0.0105 23.20  1.52 1896180.3    0.0034   0.0105 23.20  1.52 20.63
The data range from T+8895.8 s (0.10 d) to T+1954038.0 s (22.62 d)
Wrote uvot_fluxes_210117d03h33m41s728251usUT.qdp
Wrote uvot_fluxes_210117d03h33m41s728251usUT.gif
Wrote uvot_fluxes_210117d03h33m41s728251usUT.ps
Wrote uvot_fluxes_210117d03h33m41s728251usUT_vis.qdp
Wrote uvot_fluxes_210117d03h33m41s728251usUT_uv.qdp
Wrote uvot_fluxes_210117d03h33m41s728251usUT_uv.gif
Wrote uvot_fluxes_210117d03h33m41s728251usUT_uv.ps
Normal end of uvot_fluxes_wget.pl vrs. 2020-11-03a fem