# uvot_fluxes_wget.pl vrs. 2016-02-01 fem at 171018d08h23m20s303696usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020780002 -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
# ========= GRB171010B ===================
Used archived BAT position of 34.12300 -54.41000
Reference: GCN_Circ-21995
The position is (02:16:29.52, -54:24:36.0)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl bat
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(34.123,-54.410,3") # color=red dash=0
Region file centered at (34.123,-54.410), which is (02:16:29.52, -54:24:36.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.
*** Since no accurate position is available, set rates to 0. and compute ULs based on expected background in source aperture.
Because there are many possible positions for a source, the confidence levels should be increased for upper limits.
Using the ratio of the BAT region and the aperture of 1024.0,
3 sigma should become about 4.8 sigma and 2 sigma should become about 4.2 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999873.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Subtract UTCF of -19.8313 from uncorrected trigger time of 529361964.17 in BAT summary file
# ============ Reading file sw00020780001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.183 at 529453154
The processing date in extension 0 is: 2017-10-12T11:54:08
The trigger time is: 529361984.0013. The reference is BAT GRB summary 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(34.123,-54.410,25")
fk5;-circle(34.123,-54.410,12.5")
fk5;-circle(34.133409,-54.413059,6")
fk5;-circle(34.124400,-54.405062,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 wh529453154I   91170.3  0.98  117.9  142.8 120   6324  5172  0.000 0.118 99.00 20.7  0.0000 0.1176 99.00 20.7   118  0.000 12.695 99.00 0.007 
   2 wh529453276I   91292.9  0.98 1179.9 1370.1 116  62867  5152  0.000 0.036 99.00 22.0  0.0000 0.0348 99.00 22.0  1298  0.000  3.783 99.00 0.007 
   3 wh529454480I   92496.8  0.98   27.5   35.9 112   1466  5168  0.000 0.234 99.00 20.0  0.0000 0.0344 99.00 22.1  1325  0.000  3.743 99.00 0.007 
   4 wh529459270I   97286.1  0.98   81.5  105.2 116   4392  5172  0.000 0.139 99.00 20.5  0.0000 0.0334 99.00 22.1  1407  0.000  3.645 99.00 0.007 
   5 wh529459355I   97371.7  0.98  813.7  904.0 108  43469  5128  0.000 0.042 99.00 21.8  0.0000 0.0263 99.00 22.3  2220  0.000  2.927 99.00 0.007 
   6 wh529460187I   98203.1  0.98   57.7   82.2 120   3167  5184  0.000 0.170 99.00 20.3  0.0000 0.0260 99.00 22.4  2278  0.000  2.895 99.00 0.007 
   7 wh529463532I  101548.3  0.98  166.0  224.9 112   9965  5148  0.000 0.102 99.00 20.9  0.0000 0.0252 99.00 22.4  2444  0.000  2.817 99.00 0.007 
   8 wh529469267I  107283.8  0.98  203.5  233.0 108  11540  5144  0.000 0.087 99.00 21.0  0.0000 0.0242 99.00 22.4  2648  0.000  2.731 99.00 0.007 
   9 wh529469477I  107493.7  0.98  278.8  309.7 116  15405  5184  0.000 0.076 99.00 21.2  0.0000 0.0231 99.00 22.5  2926  0.000  2.629 99.00 0.007 
  10 wh529475730I  113746.6  0.98  143.5  141.6 112   7758  5156  0.000 0.103 99.00 20.9  0.0000 0.0225 99.00 22.5  3070  0.000  2.583 99.00 0.007 
  11 wh529475879I  113895.9  0.98  119.1  123.0 112   6285  5156  0.000 0.112 99.00 20.8  0.0000 0.0221 99.00 22.5  3189  0.000  2.546 99.00 0.007 
  12 wh529476506I  114522.6  0.98   79.5   81.0 116   4268  5196  0.000 0.140 99.00 20.5  0.0000 0.0218 99.00 22.5  3268  0.000  2.524 99.00 0.007 
  13 wh529476590I  114606.9  0.98  659.5  704.7 108  34853  5156  0.000 0.047 99.00 21.7  0.0000 0.0198 99.00 22.7  3928  0.000  2.346 99.00 0.007 
  14 wh529481792I  119808.4  0.98  115.9  140.3 108   6256  5152  0.000 0.113 99.00 20.8  0.0000 0.0195 99.00 22.7  4044  0.000  2.321 99.00 0.007 
  15 wh529481913I  119929.0  0.98  185.4  228.2 112   9917  5136  0.000 0.091 99.00 21.0  0.0000 0.0190 99.00 22.7  4229  0.000  2.284 99.00 0.007 
    Sum (T+ 91170 to 120117):            4962.9       4962.9 (est. in src region)   SNR_unwtd_sum:   0.00 0.99999873046875 signif. UL:  22.70
  0  4229 529464738  102753.8  17363.5 -11583.6    0.0000   0.0190 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 2.260 snr:  0.0 mag: 99.00 UL: 17.51
# ============ Reading file sw00020780002uwh_sk.img ================
Use keyword TRIGTIME of 529361984 for trigger time.
Long-term sensitivity correction to zero point is -0.183 at 529895204
The processing date in extension 0 is:  2017-10-18T07:57:20
The trigger time is: 529361984. 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 13:
# 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(34.123,-54.410,25")
fk5;-circle(34.123,-54.410,12.5")
fk5;-circle(34.133419,-54.413100,6")
fk5;-circle(34.124527,-54.405163,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 wh529895204I  533220.4  0.98   17.5   16.4 112    948  5148  0.000 0.297 99.00 19.7  0.0000 0.2967 99.00 19.7    17  0.000 187.324 99.00 0.001 
   2 wh529895224I  533240.7  0.98  173.5  201.7 116   9202  5164  0.000 0.095 99.00 21.0  0.0000 0.0902 99.00 21.0   191  0.000 56.954 99.00 0.001 
   3 wh529947005I  585021.6  0.98   61.8   69.1 116   3375  5204  0.000 0.160 99.00 20.4  0.0000 0.0786 99.00 21.2   253  0.000 50.684 99.00 0.001 
   4 wh529947071I  585088.0  0.98  621.8  706.8 112  33381  5160  0.000 0.049 99.00 21.7  0.0000 0.0419 99.00 21.8   875  0.000 28.386 99.00 0.001 
   5 wh529947707I  585723.8  0.98   72.0   88.3 112   3838  5152  0.000 0.145 99.00 20.5  0.0000 0.0402 99.00 21.9   947  0.000 27.319 99.00 0.001 
   6 wh529952778I  590794.9  0.98   61.8   66.2 116   3321  5192  0.000 0.159 99.00 20.4  0.0000 0.0390 99.00 21.9  1008  0.000 26.533 99.00 0.001 
   7 wh529952844I  590860.3  0.98  621.8  730.4 112  33115  5176  0.000 0.049 99.00 21.7  0.0000 0.0306 99.00 22.2  1630  0.000 21.014 99.00 0.001 
   8 wh529953480I  591496.3  0.98   59.7   66.5 112   3230  5168  0.000 0.160 99.00 20.4  0.0000 0.0300 99.00 22.2  1690  0.000 20.655 99.00 0.001 
   9 wh529958480I  596496.6  0.98   51.9   52.8 116   2691  5180  0.000 0.171 99.00 20.3  0.0000 0.0296 99.00 22.2  1742  0.000 20.358 99.00 0.001 
  10 wh529958536I  596552.2  0.98  523.4  601.3 116  28347  5200  0.000 0.055 99.00 21.5  0.0000 0.0260 99.00 22.4  2265  0.000 18.028 99.00 0.001 
  11 wh529959071I  597087.7  0.98   50.0   52.0 112   2696  5196  0.000 0.174 99.00 20.3  0.0000 0.0257 99.00 22.4  2315  0.000 17.839 99.00 0.001 
  12 wh529964269I  602285.6  0.98   61.8   56.1 112   3339  5180  0.000 0.157 99.00 20.4  0.0000 0.0254 99.00 22.4  2377  0.000 17.617 99.00 0.001 
  13 wh529964335I  602351.0  0.98  621.8  731.2 112  33167  5144  0.000 0.049 99.00 21.7  0.0000 0.0226 99.00 22.5  2999  0.000 15.755 99.00 0.001 
  14 wh529964970I  602986.7  0.98   29.8   37.2 108   1552  5156  0.000 0.218 99.00 20.0  0.0000 0.0225 99.00 22.5  3028  0.000 15.675 99.00 0.001 
  15 wh529969951I  607967.6  0.98   56.8   53.3 112   3112  5156  0.000 0.165 99.00 20.3  0.0000 0.0223 99.00 22.5  3085  0.000 15.541 99.00 0.001 
  16 wh529970012I  608028.0  0.98  572.6  660.0 116  30766  5188  0.000 0.052 99.00 21.6  0.0000 0.0205 99.00 22.6  3658  0.000 14.369 99.00 0.001 
  17 wh529970597I  608613.7  0.98   42.6   41.7 112   2297  5140  0.000 0.190 99.00 20.2  0.0000 0.0204 99.00 22.6  3701  0.000 14.290 99.00 0.001 
  18 wh529975687I  613703.3  0.98   61.8   69.0 112   3305  5156  0.000 0.157 99.00 20.4  0.0000 0.0202 99.00 22.6  3762  0.000 14.179 99.00 0.001 
  19 wh529975752I  613768.7  0.98  621.8  794.6 120  33381  5180  0.000 0.051 99.00 21.6  0.0000 0.0188 99.00 22.7  4384  0.000 13.249 99.00 0.001 
  20 wh529976388I  614404.4  0.98   71.4   86.2 116   3769  5200  0.000 0.147 99.00 20.5  0.0000 0.0186 99.00 22.7  4456  0.000 13.148 99.00 0.001 
    Sum (T+533220 to 614477):            5283.6       5283.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.99999873046875 signif. UL:  22.72
  0  4456 529958799  596814.5  17662.4 -63594.1    0.0000   0.0186 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 2.226 snr:  0.0 mag: 99.00 UL: 17.52
Rebinned Data for sw00020780002uwh_sk.img using a zero point of 20.107:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 4.15e+03  102754.6  17362.8 -11584.3    0.0000   0.0190 99.00 99.00  102754.6    0.0000   0.0190 99.00 99.00 23.14
  1 4.37e+03  596811.6  17665.3 -63591.2    0.0000   0.0186 99.00 99.00  356196.1    0.0000   0.0133 99.00 99.00 23.53
The data range from T+91170.3 s (1.06 d) to T+614476.9 s (7.11 d)
Wrote uvot_fluxes_171018d08h23m20s303696usUT.qdp
Wrote uvot_fluxes_171018d08h23m20s303696usUT.gif
Wrote uvot_fluxes_171018d08h23m20s303696usUT.ps
Wrote uvot_fluxes_171018d08h23m20s303696usUT_vis.qdp
Wrote uvot_fluxes_171018d08h23m20s303696usUT_uv.qdp
Wrote uvot_fluxes_171018d08h23m20s303696usUT_vis.gif
Wrote uvot_fluxes_171018d08h23m20s303696usUT_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.162  101061.8  19055.6  -9891.5    0.0000   0.0226 99.00 99.00  101061.8    0.0000   0.0226 99.00 99.00 23.14
  1  0.00489  595649.7  18827.2 -62429.3    0.0000   0.0221 99.00 99.00  115549.6    0.0000   0.0195 99.00 99.00 23.30
The data range from T+91170.3 s (1.06 d) to T+614476.9 s (7.11 d)
Wrote uvot_fluxes_wtd_171018d08h23m20s303696usUT.qdp
Wrote uvot_fluxes_wtd_171018d08h23m20s303696usUT.gif
Wrote uvot_fluxes_wtd_171018d08h23m20s303696usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2016-02-01 fem