# uvot_fluxes_wget.pl vrs. 2011-11-14 fem at 111222d05h19m46s122799usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020192002 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -useprev -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB111211A ===================
Used archived uvot source position of 153.09037 11.20803 3.00
Reference: GCN_Circ_12678
The position is (10:12:21.69, +11:12:28.9)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl uvot
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(153.090375,11.2080277777778,3")
Region file centered at (153.090375,11.2080277777778), which is (10:12:21.69, +11:12:28.9)
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 -7.66782 from trigger time of 345334653 in BAT summary file
# ============ Reading file sw00020192001uwh_sk.img ================
The processing date in extension 0 is: 2011-12-12T20:30:16
The trigger time is: 345334660.66782. The reference is BAT GRB summary file
Using zero point of 20.29 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(153.090375,11.2080277777778,25")
fk5;-circle(153.090375,11.2080277777778,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 wh345398173I   63512.4  0.95  208.4  830.0 112  25898  5901  1.898 0.167 19.59 19.3  1.8978 0.1672 19.59 19.3   208 120.732 10.635 15.09 0.006 
   2 wh345398387I   63727.1  0.94 1947.7 8013.6 112 271757  5933  1.738 0.056 19.69 19.6  1.7533 0.0530 19.68 19.6  2156 113.492  3.426 15.15 0.006 
   3 wh345400515I   65855.0  0.89   74.3  558.2 112  24272  5860  1.579 0.410 19.79 19.2  1.7478 0.0529 19.68 19.6  2230 113.379  3.401 15.15 0.005 
above line uses coinc_corr_src:  0.891 corr_bkg:  0.896
   4 wh345403945I   69285.3  0.95  208.4  837.5 112  26044  5931  1.940 0.168 19.57 19.3  1.7643 0.0505 19.67 19.6  2439 115.170  3.265 15.14 0.005 
   5 wh345404160I   69500.0  0.95  413.6 1595.8 104  51771  5895  1.927 0.117 19.58 19.4  1.7880 0.0463 19.66 19.6  2853 118.059  3.032 15.11 0.005 
   6 wh345406274I   71613.8  0.87   16.5  148.5 120   5481  6009  3.008 1.037 19.09 18.3  1.7945 0.0464 19.66 19.6  2869 118.215  3.029 15.11 0.005 
above line uses coinc_corr_src:  0.871 corr_bkg:  0.891
High bkg:   7 wh345406293I  124.2  44883  5856 61.718  0.291
   7 wh345406293I   71633.3  0.87  124.2 1005.2 116  44883  5911  1.270 0.347 20.03 19.4  1.7742 0.0466 19.67 19.6  2993 117.912  3.008 15.11 0.005 
above line uses coinc_corr_src:  0.874 corr_bkg:  0.882
    Sum (T+ 63512 to  71804):           12988.8       8481.2 (est. in src region)   SNR_unwtd_sum:  38.09 0.9987 signif. UL:  19.59
  0  2993   66060.9   5743.2  -2548.5    1.7742   0.0466 19.67  0.03
Total wtd_rate (for all exposures so far): 117.912 +/- 2.906 snr: 40.6 mag: 15.11 UL: 15.03
# ============ Reading file sw00020192002uwh_sk.img ================
Use keyword TRIGTIME of 345334660.658 for trigger time.
The processing date in extension 0 is:  2011-12-22T04:53:35
The trigger time is: 345334660.658. The reference is keyword in image file
Using zero point of 20.29 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(153.090375,11.2080277777778,25")
fk5;-circle(153.090375,11.2080277777778,12.5")
fk5;-circle(153.097657,11.209374,6")
fk5;-circle(153.088299,11.212909,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 wh346120341I  785680.6  0.96  132.6  322.0 108  14069  5243  0.280 0.158 21.67 20.6  0.2797 0.1576 21.67 20.6   133 219.800 123.801 14.44 0.001 
   2 wh346120479I  785818.5  0.96 1325.5 3627.8 120 142648  5299  0.346 0.053 21.44 21.0  0.3403 0.0503 21.46 21.1  1458 267.080 39.507 14.22 0.001 
   3 wh346121831I  787170.9  0.96  107.7  303.5 112  11532  5227  0.605 0.188 20.84 20.1  0.3585 0.0486 21.40 21.0  1566 282.124 38.186 14.16 0.001 
   4 wh346137825I  803164.4  0.96   68.7  173.4 116   7219  5244  0.230 0.223 21.89 20.4  0.3531 0.0475 21.42 21.1  1635 278.047 37.349 14.18 0.001 
   5 wh346137897I  803236.8  0.96  593.9 1432.7 112  63053  5225  0.158 0.074 22.30 21.3  0.3010 0.0400 21.59 21.2  2228 237.314 31.671 14.35 0.001 
   6 wh346161953I  827292.9  0.96   54.9  135.5 112   5859  5226  0.209 0.247 21.99 20.3  0.2987 0.0395 21.60 21.2  2283 235.844 31.298 14.36 0.001 
   7 wh346162012I  827351.4  0.96  549.0 1377.9 116  59676  5238  0.118 0.079 22.61 21.4  0.2638 0.0353 21.74 21.4  2832 211.308 28.231 14.48 0.001 
   8 wh346162573I  827913.2  0.95   46.3  156.1 116   5968  5267  0.622 0.329 20.80 19.8  0.2695 0.0352 21.71 21.4  2879 215.038 28.084 14.46 0.001 
   9 wh346167712I  833052.1  0.96   74.6  165.4 112   7867  5240 -0.042 0.200 99.00 20.8  0.2616 0.0347 21.75 21.4  2953 208.847 27.699 14.49 0.001 
  10 wh346167791I  833131.0  0.96  745.8 1930.1 108  89339  5217  0.125 0.069 22.55 21.5  0.2342 0.0310 21.87 21.5  3699 189.963 24.958 14.59 0.000 
  11 wh346168553I  833892.9  0.93   66.2  299.9 116  12862  5288  0.320 0.331 21.53 20.0  0.2356 0.0310 21.86 21.5  3765 190.630 24.858 14.59 0.000 
  12 wh346189699I  855038.8  0.96   24.4   54.1 112   2542  5220 -0.023 0.352 99.00 20.2  0.2340 0.0308 21.87 21.5  3790 189.328 24.774 14.60 0.000 
  13 wh346189726I  855066.1  0.96  244.9  554.9 112  25604  5234  0.033 0.112 24.00 21.3  0.2217 0.0298 21.93 21.6  4034 179.845 23.987 14.65 0.000 
  15 wh346196331I  861670.5  0.96   25.4   55.0 108   2684  5176 -0.047 0.340 99.00 20.2  0.2200 0.0296 21.93 21.6  4060 178.511 23.908 14.66 0.000 
  16 wh346196359I  861698.9  0.96  253.7  588.9 116  26604  5267  0.014 0.111 24.95 21.4  0.2079 0.0287 22.00 21.6  4313 169.425 23.203 14.72 0.000 
  17 wh346196620I  861959.9  0.96   20.1   50.9 112   2159  5260  0.286 0.414 21.65 19.8  0.2082 0.0286 21.99 21.6  4334 169.761 23.155 14.71 0.000 
    Sum (T+785681 to 861980):           11228.1      10447.3 (est. in src region)   SNR_unwtd_sum:   7.28 0.9987 signif. UL:  21.62
  0  4334  814345.3  47635.0 -28664.6    0.2082   0.0286 21.99  0.14
Total wtd_rate (for all exposures so far): 118.466 +/- 2.885 snr: 41.1 mag: 15.11 UL: 15.03
Rebinned Data for sw00020192002uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.81e+03   66044.2   5759.9  -2531.8    1.7742   0.0466 19.67  0.03   66044.2    1.7742   0.0466 19.67  0.03 19.59
  1 4.15e+03  814332.4  47647.9 -28651.8    0.2082   0.0286 21.99  0.14  512108.6    0.8407   0.0254 20.48  0.03 20.38
The data range from T+63512.4 s (0.74 d) to T+861980.3 s (9.98 d)
Wrote uvot_fluxes_111222d05h19m46s122799usUT.qdp
Wrote uvot_fluxes_111222d05h19m46s122799usUT.gif
Wrote uvot_fluxes_111222d05h19m46s122799usUT.ps
Wrote uvot_fluxes_111222d05h19m46s122799usUT_vis.qdp
Wrote uvot_fluxes_111222d05h19m46s122799usUT_uv.qdp
Wrote uvot_fluxes_111222d05h19m46s122799usUT_vis.gif
Wrote uvot_fluxes_111222d05h19m46s122799usUT_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.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0    0.111   65798.7   6005.4  -2286.3    1.7844   0.0456 19.66  0.03   65798.7    1.7844   0.0456 19.66  0.03 19.58
  1  0.00187  813705.3  48275.0 -28024.7    0.2022   0.0284 22.03  0.14   78197.4    1.5115   0.0381 19.84  0.03 19.76
The data range from T+63512.4 s (0.74 d) to T+861980.3 s (9.98 d)
Wrote uvot_fluxes_wtd_111222d05h19m46s122799usUT.qdp
Wrote uvot_fluxes_wtd_111222d05h19m46s122799usUT.gif
Wrote uvot_fluxes_wtd_111222d05h19m46s122799usUT.ps
Found 1 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2011-11-14 fem