# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 130522d04h43m47s665693usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020281002 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/home/khamseen/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/home/khamseen/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB130518A ===================
Used archived opt source position of 355.66781 47.46493 3.00
Reference: GCN_Circulars-14679
The position is (23:42:40.27, +47:27:53.7)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl opt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(355.66781,47.46493,3") # color=red dash=0
Region file centered at (355.66781,47.46493), which is (23:42:40.27, +47:27:53.7)
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 -10.55612 from trigger time of 390578077.53 in BAT summary file
# ============ Reading file sw00020281001uwh_sk.img ================
Long-term sensitivity correction is 0.086 at 390701247
The processing date in extension 0 is: 2013-05-20T04:27:53
The trigger time is: 390578088.08612. The reference is BAT GRB summary file
Using zero point of 20.376 for filter WHITE
Use aperture correction of 1.108 based on aperture of 3.00
Using background region based on sources found in extension 1:
# 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(355.66781,47.46493,25")
fk5;-circle(355.66781,47.46493,12.5")
fk5;-circle(355.677344,47.460293,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 wh390701247I  123159.1  0.91  382.4 2220.4 116 106835  5828  0.300 0.157 21.68 20.7  0.3002 0.1570 21.68 20.7   382 34.260 17.919 16.45 0.001 
    Sum (T+123159 to 123853):            2220.4       2126.5 (est. in src region)   SNR_unwtd_sum:   1.91 0.9987 signif. UL:  20.65
  0   382 390701594  123506.0    346.9   -346.9    0.3002   0.1570 21.682  0.804  -0.457
Total wtd_rate (for all exposures so far): 34.260 +/-17.192 snr:  2.0 mag: 16.45 UL: 15.54
# ============ Reading file sw00020281002uwh_sk.img ================
Use keyword TRIGTIME of 390578117.899 for trigger time.
Long-term sensitivity correction is  0.086 at 390798585
The processing date in extension 0 is:  2013-05-22T04:17:24
The trigger time is: 390578117.899. The reference is keyword in image file
Using zero point of 20.376 for filter WHITE
Use aperture correction of  1.108 based on aperture of  3.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(355.66781,47.46493,25")
fk5;-circle(355.66781,47.46493,12.5")
fk5;-circle(355.672047,47.457432,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 wh390798584I  220466.9  0.94  297.0 1154.2 112  57750  5771  0.133 0.141 22.57 21.0  0.1327 0.1413 22.57 21.0   297 27.048 28.809 16.71 0.001 
   2 wh390804926I  226808.1  0.92  345.2 1664.0 112  82424  5804  0.256 0.149 21.86 20.8  0.1984 0.1031 22.13 21.1   642 39.403 21.158 16.30 0.001 
   3 wh390811001I  232883.9  0.91  311.9 1615.7 112  83233  5808  0.042 0.164 23.83 21.0  0.1477 0.0875 22.45 21.3   954 31.518 18.144 16.54 0.001 
   4 wh390816915I  238797.3  0.91  257.5 1360.2 112  69800  5812  0.071 0.183 23.24 20.9  0.1317 0.0791 22.58 21.5  1212 28.898 16.546 16.64 0.001 
   5 wh390868370I  290252.1  0.93  423.5 1854.6 108  95394  5762  0.188 0.127 22.19 21.0  0.1464 0.0672 22.46 21.5  1635 33.053 14.880 16.49 0.001 
    Sum (T+220467 to 290863):            7648.7       7449.4 (est. in src region)   SNR_unwtd_sum:   2.18 0.9987 signif. UL:  21.52
  0  1635 390823496  245378.0  45484.9 -24911.1    0.1464   0.0672 22.462  0.666  -0.410
Total wtd_rate (for all exposures so far): 33.549 +/-10.966 snr:  3.1 mag: 16.48 UL: 15.82
Rebinned Data for sw00020281002uwh_sk.img using a zero point of 20.376:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      625  166801.2  53981.8 -43642.1    0.2255   0.1074 21.99  0.42  166801.2    0.2255   0.1074 21.99  0.42 21.03
  1 1.23e+03  251019.9  39843.1 -24211.8    0.1495   0.0759 22.44  0.45  222617.8    0.1752   0.0620 22.27  0.33 21.48
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020281001uuu_sk.img ================
Long-term sensitivity correction is  0.086 at 390694288
The processing date in extension 0 is:  2013-05-20T04:27:52
The trigger time is: 390578117.899. The reference is keyword in image file
Using zero point of 18.426 for filter U
Use aperture correction of  1.100 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(355.66781,47.46493,25")
fk5;-circle(355.66781,47.46493,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 uu390694288I  116170.2  0.99  203.5   86.2 104   4708  5820 
   2 uu390700058I  121941.0  0.99 1162.1  952.8 108  46878  5813  0.078 0.030 21.19 20.4  0.0784 0.0298 21.19 20.4  1162 53.481 20.358 15.97 0.002 
   3 uu390705830I  127712.3  0.99  741.2  515.1 116  25384  5829  0.015 0.034 23.00 20.7  0.0536 0.0226 21.60 20.7  1903 36.680 15.673 16.38 0.002 
    Sum (T+121941 to 128465):            1467.9       1376.2 (est. in src region)   SNR_unwtd_sum:   2.37 0.9987 signif. UL:  20.71
  0  1903 390702813  124695.5   3769.8  -2754.5    0.0536   0.0226 21.602  0.595  -0.382
Total wtd_rate (for all exposures so far): 34.436 +/- 8.915 snr:  3.9 mag: 16.45 UL: 13.96
# ============ Reading file sw00020281002uuu_sk.img ================
Use keyword TRIGTIME of 390578117.899 for trigger time.
Long-term sensitivity correction is  0.086 at 390798266
The processing date in extension 0 is:  2013-05-22T04:17:23
The trigger time is: 390578117.899. The reference is keyword in image file
Using zero point of 18.426 for filter U
Use aperture correction of  1.100 based on aperture of  3.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(355.66781,47.46493,25")
fk5;-circle(355.66781,47.46493,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 uu390798266I  220148.2  0.99  306.9  186.3 116   8631  5866  0.057 0.050 21.54 20.1  0.0566 0.0498 21.54 20.1   307 69.421 61.134 15.69 0.001 
   2 uu390804402I  226284.3  0.98  511.8  591.2 128  22481  5891  0.224 0.054 20.05 19.5  0.1612 0.0383 20.41 19.8   819 170.989 45.391 14.71 0.001 
   3 uu390810468I  232351.0  0.98  518.5  520.8 112  24527  5831  0.107 0.050 20.85 19.9  0.1403 0.0303 20.56 20.0  1337 160.536 37.080 14.78 0.001 
   4 uu390816503I  238385.6  0.98  399.4  435.3 116  21034  5866  0.054 0.059 21.59 20.0  0.1206 0.0270 20.72 20.2  1736 145.447 33.540 14.88 0.001 
   5 uu390867759I  289641.8  0.99  594.2  442.4 104  23696  5796  0.032 0.040 22.16 20.5  0.0980 0.0225 20.95 20.4  2331 126.551 29.740 15.03 0.001 
    Sum (T+220148 to 290246):            2176.1       1971.4 (est. in src region)   SNR_unwtd_sum:   4.35 0.9987 signif. UL:  20.38
  0  2331 390823419  245301.5  44944.1 -25153.3    0.0980   0.0225 20.948  0.283  -0.225
Total wtd_rate (for all exposures so far): 42.549 +/- 8.534 snr:  5.0 mag: 16.22 UL: 13.84
Rebinned Data for sw00020281002uuu_sk.img using a zero point of 18.426:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.88e+03  124697.8   3767.6  -2756.8    0.0536   0.0226 21.60  0.38  124697.8    0.0536   0.0226 21.60  0.38 20.71
  1  2.3e+03  245320.5  44925.1 -25172.3    0.0980   0.0225 20.95  0.23  191024.3    0.0780   0.0160 21.20  0.20 20.67
The data range from T+121941.0 s (1.41 d) to T+290863.0 s (3.37 d)
Wrote uvot_fluxes_130522d04h43m47s665693usUT.qdp
Wrote uvot_fluxes_130522d04h43m47s665693usUT.gif
Wrote uvot_fluxes_130522d04h43m47s665693usUT.ps
Wrote uvot_fluxes_130522d04h43m47s665693usUT_vis.qdp
Wrote uvot_fluxes_130522d04h43m47s665693usUT_uv.qdp
Wrote uvot_fluxes_130522d04h43m47s665693usUT_vis.gif
Wrote uvot_fluxes_130522d04h43m47s665693usUT_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.00545  147750.1  73032.9 -25809.1    0.2239   0.0895 21.91  0.36  147750.1    0.2239   0.0895 21.91  0.36 21.06
  1 3.93e-05  226546.2    261.9   -261.9    1.2488   0.2982 20.05  0.23  148314.4    0.2351   0.0885 21.86  0.35 21.04
  2   0.0037  247575.4  43287.6 -20767.3    0.1482   0.0682 22.36  0.41  188267.3    0.1891   0.0551 22.10  0.28 21.41
The data range from T+121941.0 s (1.41 d) to T+290863.0 s (3.37 d)
Wrote uvot_fluxes_wtd_130522d04h43m47s665693usUT.qdp
Wrote uvot_fluxes_wtd_130522d04h43m47s665693usUT.gif
Wrote uvot_fluxes_wtd_130522d04h43m47s665693usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem