# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 130528d07h55m38s717269usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020275002 -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
# ========= GRB130514B ===================
Used archived XRT position of 147.60859 -18.96517 4.00
Reference: GCN_Circulars-14651
The position is (09:50:26.06, -18:57:54.6)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl xrt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(147.60859,-18.96517,4") # color=red dash=0
Region file centered at (147.60859,-18.96517), which is (09:50:26.06, -18:57:54.6)
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 390230792 in BAT summary file
# ============ Reading file sw00020275001uwh_sk.img ================
Use keyword TRIGTIME of 390230802.49 for trigger time.
Long-term sensitivity correction is 0.086 at 390236267
The processing date in extension 0 is: 2013-05-24T07:51:13
The trigger time is: 390230802.49. The reference is keyword in image file
Using zero point of 20.376 for filter WHITE
Use aperture correction of 1.035 based on aperture of 4.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(147.60859,-18.96517,25")
fk5;-circle(147.60859,-18.96517,12.5")
fk5;-circle(147.605815,-18.965787,6")
fk5;-circle(147.606147,-18.963474,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 wh390236267I    5464.6  0.97  478.1 1379.3 192  35813  5581  0.328 0.084 21.59 21.0  0.3275 0.0839 21.59 21.0   478  1.728  0.443 19.70 0.072 
    Sum (T+  5465 to   5950):            1379.3       1232.1 (est. in src region)   SNR_unwtd_sum:   3.90 0.9987 signif. UL:  20.97
  0   478 390236510    5707.5    242.9   -242.9    0.3275   0.0839 21.588  0.321  -0.248
Total wtd_rate (for all exposures so far):  1.728 +/- 0.436 snr:  4.0 mag: 19.70 UL: 19.17
Rebinned Data for sw00020275001uwh_sk.img using a zero point of 20.376:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      465    5707.5    242.9   -242.9    0.3275   0.0839 21.59  0.25    5707.5    0.3275   0.0839 21.59  0.25 20.97
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020275001uvv_sk.img ================
Use keyword TRIGTIME of 390230802.49 for trigger time.
Long-term sensitivity correction is  0.126 at 390236759
The processing date in extension 0 is:  2013-05-24T07:51:13
The trigger time is: 390230802.49. The reference is keyword in image file
Using zero point of 18.016 for filter V
Use aperture correction of  1.030 based on aperture of  4.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(147.60859,-18.96517,25")
fk5;-circle(147.60859,-18.96517,12.5")
fk5;-circle(147.605807,-18.965814,6")
fk5;-circle(147.606172,-18.963475,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 vv390236759I    5957.0  0.99  478.1  379.7 204   8502  5572  0.149 0.043 20.09 19.4  0.1487 0.0429 20.09 19.4   478  7.485  2.161 18.11 0.030 
   2 vv390237248I    6446.2  0.99   16.0   14.6 200    263  5591  0.334 0.250 19.21 17.9  0.1547 0.0423 20.04 19.4   494  7.817  2.134 18.06 0.030 
    Sum (T+  5957 to   6462):             394.3        320.7 (est. in src region)   SNR_unwtd_sum:   3.65 0.9987 signif. UL:  19.39
  0   494 390237011    6208.1    254.4   -251.1    0.1547   0.0423 20.042  0.347  -0.262
Total wtd_rate (for all exposures so far):  1.992 +/- 0.425 snr:  4.7 mag: 19.54 UL: 16.73
Rebinned Data for sw00020275001uvv_sk.img using a zero point of 18.016:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      490    6208.1    254.4   -251.1    0.1547   0.0423 20.04  0.26    6208.1    0.1547   0.0423 20.04  0.26 19.39
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020275001uuu_sk.img ================
Use keyword TRIGTIME of 390230802.49 for trigger time.
Long-term sensitivity correction is  0.086 at 390235776
The processing date in extension 0 is:  2013-05-24T07:51:13
The trigger time is: 390230802.49. The reference is keyword in image file
Using zero point of 18.426 for filter U
Use aperture correction of  1.032 based on aperture of  4.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(147.60859,-18.96517,25")
fk5;-circle(147.60859,-18.96517,12.5")
fk5;-circle(147.605782,-18.965852,6")
fk5;-circle(147.606097,-18.963507,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 uu390235775I    4973.0  0.99  478.1  256.8 208   6128  5609  0.064 0.035 21.41 20.3  0.0642 0.0353 21.41 20.3   478  1.865  1.026 19.61 0.072 
   2 uu390241084I   10282.0  0.99  490.0  319.3 200   8975  5558 -0.008 0.039 99.00 20.7  0.0278 0.0262 22.32 20.8   968  1.509  0.936 19.84 0.045 
    Sum (T+  4973 to  10780):             576.1        550.2 (est. in src region)   SNR_unwtd_sum:   1.06 0.9987 signif. UL:  20.84
  0   968 390238709    7906.0   2873.8  -2933.0    0.0278   0.0262 22.317  3.111  -0.721
Total wtd_rate (for all exposures so far):  1.911 +/- 0.387 snr:  4.9 mag: 19.59 UL: 17.21
Rebinned Data for sw00020275001uuu_sk.img using a zero point of 18.426:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      476    5215.9    242.9   -242.9    0.0642   0.0353 21.41  0.48    5215.9    0.0642   0.0353 21.41  0.48 20.34
  1      487   10530.9    248.9   -248.9   -0.0079   0.0386 99.00 99.00    7904.1    0.0278   0.0262 22.32  0.72 20.84
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00020275002um2_sk.img ================
Use keyword TRIGTIME of 390230802.49 for trigger time.
Long-term sensitivity correction is  0.086 at 390546537
The processing date in extension 0 is:  2013-05-28T07:34:45
The trigger time is: 390230802.49. The reference is keyword in image file
Using zero point of 16.936 for filter UVM2
Use aperture correction of  1.031 based on aperture of  4.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(147.60859,-18.96517,25")
fk5;-circle(147.60859,-18.96517,12.5")
fk5;-circle(147.605755,-18.965820,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 m2390546536I  315734.2  1.00 1008.0   36.9 204   1209  5720 -0.006 0.006 99.00 21.4 -0.0063 0.0063 99.00 21.4  1008 -43.981 44.074 99.00 0.003 
   2 m2390552296I  321493.8  1.00 1008.5   60.6 208   1324  5721  0.013 0.008 21.68 20.5  0.0032 0.0051 23.18 21.2  2017 18.085 35.494 17.15 0.003 
    Sum (T+315734 to 322518):              97.5         91.3 (est. in src region)   SNR_unwtd_sum:   0.62 0.9987 signif. UL:  21.23
  0  2017 390549929  319126.9   3391.6  -3392.7    0.0032   0.0051 23.176 75.824  -1.041
Total wtd_rate (for all exposures so far):  1.911 +/- 0.386 snr:  4.9 mag: 19.59 UL: 15.72
Rebinned Data for sw00020275002um2_sk.img using a zero point of 16.936:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.02e+03  319126.6   3391.9  -3392.4    0.0032   0.0051 23.18  1.04  319126.6    0.0032   0.0051 23.18  1.04 21.23
The data range from T+4973.0 s (0.06 d) to T+322518.5 s (3.73 d)
Wrote uvot_fluxes_130528d07h55m38s717269usUT.qdp
Wrote uvot_fluxes_130528d07h55m38s717269usUT.gif
Wrote uvot_fluxes_130528d07h55m38s717269usUT.ps
Wrote uvot_fluxes_130528d07h55m38s717269usUT_vis.qdp
Wrote uvot_fluxes_130528d07h55m38s717269usUT_uv.qdp
Wrote uvot_fluxes_130528d07h55m38s717269usUT_vis.gif
Wrote uvot_fluxes_130528d07h55m38s717269usUT_vis.ps
Wrote uvot_fluxes_130528d07h55m38s717269usUT_uv.gif
Wrote uvot_fluxes_130528d07h55m38s717269usUT_uv.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     5.69    5692.7    257.6   -719.7    0.3042   0.0756 21.58  0.24    5692.7    0.3042   0.0756 21.58  0.24 20.98
  1   0.0271    6206.6    255.9   -249.6    1.2488   0.3436 20.05  0.26    5695.2    0.3091   0.0753 21.57  0.24 20.97
  2   0.0351   10530.9    248.9   -248.9   -0.0437   0.2147 99.00 99.00    5724.7    0.3051   0.0745 21.58  0.24 20.98
The data range from T+4973.0 s (0.06 d) to T+322518.5 s (3.73 d)
Wrote uvot_fluxes_wtd_130528d07h55m38s717269usUT.qdp
Wrote uvot_fluxes_wtd_130528d07h55m38s717269usUT.gif
Wrote uvot_fluxes_wtd_130528d07h55m38s717269usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem