# uvot_fluxes_wget.pl vrs. 2016-02-01 fem at 171013d02h36m18s343176usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020779002 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc -web -useprev -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB171010A ===================
Used archived uvot source position of 66.58113 -10.46279 3.00
Reference: uvotdetect_output
The position is (04:26:19.47, -10:27:46.0)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl uvot
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(66.58113,-10.46279,3") # color=red dash=0
Region file centered at (66.58113,-10.46279), which is (04:26:19.47, -10:27:46.0)
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 -19.80288 from uncorrected trigger time of 529354850.58 in BAT summary file
# ============ Reading file sw00020779002uwh_sk.img ================
Use keyword TRIGTIME of 529354870.412 for trigger time.
Long-term sensitivity correction to zero point is -0.183 at 529487648
The processing date in extension 0 is: 2017-10-13T02:24:41
The trigger time is: 529354870.412. The reference is keyword in image file
Using zero point of 20.107 for filter WHITE
Use aperture correction of 1.108 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(66.58113,-10.46279,25")
fk5;-circle(66.58113,-10.46279,12.5")
fk5;-circle(66.579542,-10.468577,6")
fk5;-circle(66.584924,-10.467948,6")
fk5;-circle(66.584832,-10.458245,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 wh529487648I  132777.8  0.96  105.1  280.8 116   7847  4815  1.003 0.185 20.10 19.6  1.0033 0.1848 20.10 19.6   105 157.747 29.055 14.79 0.003 
   2 wh529487757I  132887.4  0.96 1050.9 2902.0 116  76440  4842  1.173 0.059 19.93 19.8  1.1571 0.0566 19.95 19.8  1156 182.733  8.932 14.63 0.003 
   3 wh529488830I  133960.0  0.96  128.5  342.1 112   9141  4802  1.154 0.167 19.95 19.6  1.1568 0.0536 19.95 19.8  1284 182.767  8.463 14.63 0.004 
   4 wh529493398I  138528.2  0.97   55.9  129.7 116   3980  4803  0.689 0.236 20.51 19.7  1.1372 0.0523 19.97 19.8  1340 180.014  8.271 14.65 0.004 
   5 wh529493458I  138587.7  0.96  558.8 1445.9 104  38899  4763  1.226 0.079 19.89 19.7  1.1633 0.0435 19.94 19.8  1899 186.610  6.971 14.61 0.004 
   6 wh529494029I  139159.2  0.97   30.8   73.1 104   2141  4791  0.993 0.321 20.11 19.4  1.1606 0.0432 19.95 19.8  1930 186.226  6.912 14.62 0.004 
   7 wh529528347I  173477.4  0.96  130.7  321.7 112   9115  4823  0.967 0.159 20.14 19.7  1.1483 0.0417 19.96 19.8  2061 186.727  6.762 14.61 0.004 
   8 wh529528483I  173612.9  0.96  962.2 2586.2 112  68367  4789  1.180 0.061 19.93 19.8  1.1583 0.0344 19.95 19.9  3023 199.391  5.960 14.54 0.003 
   9 wh529539824I  184954.4  0.96   15.8   42.6 112   1146  4792  1.156 0.480 19.95 19.1  1.1583 0.0343 19.95 19.9  3039 199.562  5.950 14.54 0.003 
  10 wh529545192I  190321.9  0.97   30.3   82.0 116   2159  4787  1.123 0.345 19.98 19.3  1.1580 0.0342 19.95 19.9  3069 199.865  5.933 14.54 0.003 
  11 wh529545225I  190355.3  0.97  306.9  726.8 104  22050  4817  0.937 0.101 20.18 19.9  1.1379 0.0324 19.97 19.9  3376 200.553  5.743 14.53 0.003 
  12 wh529545540I  190670.2  0.96   59.3  155.9 112   4290  4768  1.069 0.244 20.04 19.5  1.1367 0.0321 19.97 19.9  3435 200.976  5.712 14.53 0.003 
    Sum (T+132778 to 190730):            9088.8       5691.7 (est. in src region)   SNR_unwtd_sum:  35.38 0.9987 signif. UL:  19.88
  0  3435 529509067  154196.3  36534.2 -21418.5    1.1367   0.0321 19.968  0.031  -0.030
Total wtd_rate (for all exposures so far): 200.976 +/- 5.672 snr: 35.4 mag: 14.53 UL: 14.26
Rebinned Data for sw00020779002uwh_sk.img using a zero point of 20.107:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.86e+03  135250.4   3940.0  -2472.6    1.1606   0.0432 19.95  0.04  135250.4    1.1606   0.0432 19.95  0.04 19.83
  1 1.45e+03  178499.0  12231.5  -5021.6    1.1060   0.0481 20.00  0.05  154207.0    1.1367   0.0321 19.97  0.03 19.88
The data range from T+132777.8 s (1.54 d) to T+190730.5 s (2.21 d)
Wrote uvot_fluxes_171013d02h36m18s343176usUT.qdp
Wrote uvot_fluxes_171013d02h36m18s343176usUT.gif
Wrote uvot_fluxes_171013d02h36m18s343176usUT.ps
Wrote uvot_fluxes_171013d02h36m18s343176usUT_vis.qdp
Wrote uvot_fluxes_171013d02h36m18s343176usUT_uv.qdp
Wrote uvot_fluxes_171013d02h36m18s343176usUT_vis.gif
Wrote uvot_fluxes_171013d02h36m18s343176usUT_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.0177  135245.9   3944.6  -2468.1    1.3714   0.0511 19.95  0.04  135245.9    1.3714   0.0511 19.95  0.04 19.83
  1 0.000794  173543.8     66.4    -66.4    1.1441   0.1879 20.14  0.16  136888.3    1.3590   0.0493 19.96  0.04 19.84
  2  0.00742  178710.5  12019.9  -5097.6    1.3231   0.0597 19.99  0.05  148851.3    1.3467   0.0383 19.97  0.03 19.88
The data range from T+132777.8 s (1.54 d) to T+190730.5 s (2.21 d)
Wrote uvot_fluxes_wtd_171013d02h36m18s343176usUT.qdp
Wrote uvot_fluxes_wtd_171013d02h36m18s343176usUT.gif
Wrote uvot_fluxes_wtd_171013d02h36m18s343176usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2016-02-01 fem