# uvot_fluxes_wget.pl vrs. 2020-11-03a fem at 201119d02h50m26s480503usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021043001 -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
# ========= GRB201116A ===================
Could not find/read custom source region custom_021043_src.reg
Used archived XRT position of 149.32492 0.27586 4.00
Reference: GCN_Circulars-28916-Tue,_17_Nov_2020_03:49:02_-0500
The position is (09:57:17.98, +00:16:33.1)
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(149.32492,0.27586,4") # color=red dash=0
Source region spec. is: 149.32492 0.27586 4"
Region file centered at (149.32492,0.27586), which is (09:57:17.98, +00:16:33.1)
Could not find/read custom background region custom_021043_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 -25.99464 from uncorrected trigger time of 627180587 in BAT summary file
# ============ Reading file sw00021043001uwh_sk.img ================
Use keyword TRIGTIME of 627180613.009 for trigger time.
Long-term sensitivity correction to zero point is -0.180 at 627369536
The processing date in extension 0 is: 2020-11-19T02:36:20
The trigger time is: 627180613.009. The reference is keyword in image file
Using zero point of 20.110 for filter WHITE
Use aperture correction of 1.035 based on aperture of 4.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(149.32492,0.27586,25")
fk5;-circle(149.32492,0.27586,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 wh627369535I  188922.8  0.96   56.9  239.7 196   6748  5828  0.242 0.298 21.65 19.9  0.2425 0.2979 21.65 19.9    57 54.057 66.411 15.96 0.001 
   2 wh627369596I  188983.3  0.96  567.7 2403.5 196  71534  5833 -0.001 0.095 99.00 21.4  0.0215 0.0902 24.28 21.4   625  5.082 20.147 18.52 0.001 
   3 wh627370176I  189563.9  0.96   82.8  386.6 192  10605  5874  0.522 0.261 20.82 19.8  0.0799 0.0853 22.85 21.3   707 18.093 19.053 17.15 0.001 
   4 wh627386672I  206059.1  0.96   96.2  421.3 204  11961  5826  0.027 0.234 24.02 20.4  0.0736 0.0801 22.94 21.3   804 16.948 18.067 17.22 0.001 
   5 wh627386772I  206159.7  0.96  963.3 4421.6 208 127080  5885 -0.079 0.076 99.00 21.9 -0.0094 0.0551 99.00 22.0  1767 -0.433 12.929 99.00 0.001 
   6 wh627387756I  207143.1  0.94   83.4  496.2 200  14229  5836  0.113 0.297 22.48 20.1 -0.0040 0.0543 99.00 22.0  1850  0.438 12.730 21.19 0.001 
   7 wh627398913I  218300.6  0.96   22.4  102.5 200   2939  5838  0.086 0.498 22.77 19.6 -0.0029 0.0540 99.00 22.0  1873  0.654 12.667 20.75 0.001 
   8 wh627398939I  218326.0  0.95  225.2 1052.0 200  31528  5828 -0.144 0.159 99.00 21.1 -0.0180 0.0511 99.00 22.2  2098 -2.550 12.102 99.00 0.001 
   9 wh627399171I  218558.2  0.95    9.5   46.7 204   1520  5836 -0.726 0.794 99.00 19.3 -0.0212 0.0510 99.00 22.2  2107 -3.120 12.082 99.00 0.001 
  10 wh627409924I  229311.7  0.96   92.3  407.6 204  11488  5821  0.058 0.240 23.20 20.3 -0.0179 0.0499 99.00 22.2  2200 -2.481 11.878 99.00 0.001 
  11 wh627410021I  229408.2  0.95  879.3 4196.7 192 127613  5817 -0.019 0.081 99.00 21.6 -0.0183 0.0425 99.00 22.4  3079 -3.104 10.454 99.00 0.001 
  12 wh627410964I  230351.5  0.92   49.5  423.7 200  11883  5837  0.375 0.475 21.18 19.4 -0.0123 0.0425 99.00 22.3  3129 -2.392 10.420 99.00 0.001 
  13 wh627415478I  234865.1  0.96   92.3  371.1 192  11335  5835 -0.022 0.229 99.00 20.5 -0.0126 0.0418 99.00 22.4  3221 -2.489 10.282 99.00 0.001 
  14 wh627415574I  234961.6  0.95  929.9 4431.4 204 127346  5874  0.010 0.079 25.06 21.6 -0.0074 0.0369 99.00 22.5  4151 -1.513  9.310 99.00 0.001 
  15 wh627416524I  235911.2  0.93   47.9  364.6 208   9028  5906  1.079 0.449 20.03 19.1  0.0047 0.0369 25.93 22.4  4199  0.390  9.284 21.31 0.001 
  16 wh627421237I  240624.8  0.96   18.5   69.3 200   2242  5856 -0.423 0.494 99.00 19.8  0.0028 0.0368 26.50 22.4  4217 -0.088  9.264 99.00 0.001 
  17 wh627421259I  240646.2  0.96  178.6  709.1 192  22056  5814 -0.116 0.163 99.00 21.0 -0.0021 0.0359 99.00 22.5  4396 -1.321  9.084 99.00 0.001 
    Sum (T+188923 to 240828):           20543.5      20551.9 (est. in src region)   SNR_unwtd_sum:  -0.06 0.9987 signif. UL:  22.47
  0  4396 627399076  218463.2  22364.5 -29540.4   -0.0021   0.0359 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -1.321 +/- 8.933 snr: -0.1 mag: 99.00 UL: 16.50
Rebinned Data for sw00021043001uwh_sk.img using a zero point of 20.110:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0  4.2e+03  218432.7  22394.9 -29509.9   -0.0021   0.0359 99.00 99.00  218432.7   -0.0021   0.0359 99.00 99.00 22.47
The data range from T+188922.8 s (2.19 d) to T+240827.6 s (2.79 d)
Wrote uvot_fluxes_201119d02h50m26s480503usUT.qdp
Wrote uvot_fluxes_201119d02h50m26s480503usUT.gif
Wrote uvot_fluxes_201119d02h50m26s480503usUT.ps
Wrote uvot_fluxes_201119d02h50m26s480503usUT_vis.qdp
Wrote uvot_fluxes_201119d02h50m26s480503usUT_uv.qdp
Wrote uvot_fluxes_201119d02h50m26s480503usUT_vis.gif
Wrote uvot_fluxes_201119d02h50m26s480503usUT_vis.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.0103  214991.1  25836.5 -26068.3   -0.0102   0.0422 99.00 99.00  214991.1   -0.0102   0.0422 99.00 99.00 22.52
The data range from T+188922.8 s (2.19 d) to T+240827.6 s (2.79 d)
Wrote uvot_fluxes_wtd_201119d02h50m26s480503usUT.qdp
Wrote uvot_fluxes_wtd_201119d02h50m26s480503usUT.gif
Wrote uvot_fluxes_wtd_201119d02h50m26s480503usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2020-11-03a fem