# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 120901d00h05m37s084183usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020228002 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -useprev -zp_2011 -search_src_reg -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB120830A ===================
Used archived uvot source position of 88.50270 -28.70178 3.00
Reference: uvotdetect
The position is (05:54:00.65, -28:42:06.4)
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(88.50270,-28.70178,3") # color=red dash=0
Region file centered at (88.50270,-28.70178), which is (05:54:00.65, -28:42:06.4)
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 -9.55448 from trigger time of 368003223.53 in BAT summary file
# ============ Reading file sw00020228001uwh_sk.img ================
Long-term sensitivity correction is 0.079 at 368063037
The processing date in extension 0 is: 2012-08-31T06:27:16
The trigger time is: 368003233.08448. The reference is BAT GRB summary file
Using zero point of 20.369 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(88.50270,-28.70178,25")
fk5;-circle(88.50270,-28.70178,12.5")
fk5;-circle(88.497788,-28.695857,6")
fk5;-circle(88.509332,-28.697430,6")
fk5;-circle(88.503204,-28.699277,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 wh368063036I   59803.8  0.97  190.7  439.4 112  13898  5450  0.921 0.126 20.46 20.1  0.9209 0.1264 20.46 20.1   191 51.311  7.042 16.01 0.012 
   2 wh368063233I   60000.5  0.96 1765.5 5735.0 120 194158  5513  0.990 0.050 20.38 20.2  0.9833 0.0468 20.39 20.2  1956 55.404  2.638 15.93 0.007 
   3 wh368065177I   61943.9  0.88   74.4  529.5 104  23625  5463  1.344 0.403 20.05 19.3  0.9956 0.0473 20.37 20.2  2031 55.659  2.621 15.93 0.007 
above line uses coinc_corr_src:  0.885 corr_bkg:  0.891
   4 wh368068865I   65632.3  0.97  185.8  412.1 112  13795  5516  0.813 0.126 20.59 20.2  0.9800 0.0446 20.39 20.3  2216 55.004  2.481 15.94 0.007 
   5 wh368069057I   65824.0  0.96 1462.8 4078.7 120 135113  5521  0.898 0.051 20.48 20.3  0.9474 0.0335 20.43 20.3  3679 55.242  1.946 15.93 0.007 
    Sum (T+ 59804 to  67310):           11194.6       8178.3 (est. in src region)   SNR_unwtd_sum:  28.24 0.9987 signif. UL:  20.32
  0  3679 368066634   63401.0   3909.2  -3597.2    0.9474   0.0335 20.427  0.039  -0.038
Total wtd_rate (for all exposures so far): 55.242 +/- 1.930 snr: 28.6 mag: 15.93 UL: 15.90
# ============ Reading file sw00020228002uwh_sk.img ================
Long-term sensitivity correction is  0.079 at 368132082
The processing date in extension 0 is:  2012-08-31T23:51:22
The trigger time is: 368003233.08448. The reference is BAT GRB summary file
Using zero point of 20.369 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(88.50270,-28.70178,25")
fk5;-circle(88.50270,-28.70178,12.5")
fk5;-circle(88.509192,-28.697396,6")
fk5;-circle(88.503154,-28.699203,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 wh368132082I  128849.2  0.97  209.4  479.1 112  15847  5617  0.891 0.120 20.49 20.1  0.8915 0.1204 20.49 20.1   209 106.934 14.437 15.22 0.005 
   2 wh368132298I  129065.2  0.96 1956.7 5467.2 112 197145  5573  0.887 0.044 20.50 20.3  0.8877 0.0413 20.50 20.4  2166 107.304  4.989 15.21 0.004 
   3 wh368137820I  134587.0  0.97  212.4  565.2 116  15925  5650  1.287 0.129 20.09 19.8  0.9235 0.0394 20.45 20.3  2379 112.962  4.777 15.16 0.004 
   4 wh368138039I  134806.3  0.96 1504.8 3949.4 120 125198  5633  0.978 0.048 20.39 20.2  0.9448 0.0305 20.43 20.3  3883 117.009  3.759 15.12 0.004 
    Sum (T+128849 to 136335):           10460.9       7272.4 (est. in src region)   SNR_unwtd_sum:  30.95 0.9987 signif. UL:  20.33
  0  3883 368135631  132397.7   3937.5  -3548.5    0.9448   0.0305 20.430  0.036  -0.034
Total wtd_rate (for all exposures so far): 68.714 +/- 1.715 snr: 40.1 mag: 15.70 UL: 15.70
Rebinned Data for sw00020228002uwh_sk.img using a zero point of 20.3685623065378:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 3.53e+03   63411.0   3899.3  -3607.2    0.9474   0.0335 20.43  0.04   63411.0    0.9474   0.0335 20.43  0.04 20.32
  1 3.74e+03  132403.0   3932.3  -3553.8    0.9448   0.0305 20.43  0.03   98912.1    0.9460   0.0226 20.43  0.03 20.35
The data range from T+59803.8 s (0.69 d) to T+136335.3 s (1.58 d)
Wrote uvot_fluxes_120901d00h05m37s084183usUT.qdp
Wrote uvot_fluxes_120901d00h05m37s084183usUT.gif
Wrote uvot_fluxes_120901d00h05m37s084183usUT.ps
Wrote uvot_fluxes_120901d00h05m37s084183usUT_vis.qdp
Wrote uvot_fluxes_120901d00h05m37s084183usUT_uv.qdp
Wrote uvot_fluxes_120901d00h05m37s084183usUT_vis.gif
Wrote uvot_fluxes_120901d00h05m37s084183usUT_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.284   63352.4   3957.8  -3548.6    0.8732   0.0307 20.44  0.04   63352.4    0.8732   0.0307 20.44  0.04 20.33
  1   0.0432  129942.8   1145.1  -1093.6    0.8258   0.0384 20.50  0.05   72140.4    0.8619   0.0251 20.45  0.03 20.36
  2   0.0041  134694.9    107.9   -107.9    1.1971   0.1202 20.09  0.10   72914.1    0.8696   0.0247 20.44  0.03 20.35
  3    0.029  135570.8    764.5   -764.5    0.9100   0.0449 20.39  0.05   77950.0    0.8752   0.0221 20.43  0.03 20.36
The data range from T+59803.8 s (0.69 d) to T+136335.3 s (1.58 d)
Wrote uvot_fluxes_wtd_120901d00h05m37s084183usUT.qdp
Wrote uvot_fluxes_wtd_120901d00h05m37s084183usUT.gif
Wrote uvot_fluxes_wtd_120901d00h05m37s084183usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem