# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 140509d04h18m31s342661usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020376992 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc -web -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
# ========= GRB140508A ===================
Used archived opt source position of 255.46645 46.78042 3.00
Reference: GCN_Circulars-16226
The position is (17:01:51.95, +46:46:49.5)
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(255.46645,46.78042,3") # color=red dash=0
Region file centered at (255.46645,46.78042), which is (17:01:51.95, +46:46:49.5)
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 -11.9776 from trigger time of 421211034.6 in BAT summary file
# ============ Reading file sw00020376992uvv_sk.img ================
Long-term sensitivity correction is 0.140 at 421280012
The processing date in extension 0 is: 2014-05-09T04:12:21
The trigger time is: 421211046.5776. The reference is BAT GRB summary file
Using zero point of 18.030 for filter V
Use aperture correction of 1.087 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(255.46645,46.78042,25")
fk5;-circle(255.46645,46.78042,12.5")
fk5;-circle(255.477178,46.777231,6")
fk5;-circle(255.469130,46.783815,6")
fk5;-circle(255.468646,46.788805,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 vv421280012I   68965.4  0.99  813.7  419.1 112  10099  5506  0.287 0.028 19.38 19.1  0.2873 0.0277 19.38 19.1   814 159.750 15.384 14.78 0.007 
   2 vv421285731I   74684.8  0.99  478.2  204.3 112   5801  5495  0.197 0.033 19.80 19.4  0.2538 0.0213 19.52 19.3  1292 145.622 12.172 14.88 0.007 
    Sum (T+ 68965 to  75171):             623.4        323.7 (est. in src region)   SNR_unwtd_sum:  11.94 0.9987 signif. UL:  19.27
  0  1292 421282479   71432.8   3737.8  -2467.4    0.2538   0.0213 19.519  0.095  -0.087
Total wtd_rate (for all exposures so far): 145.622 +/-12.108 snr: 12.0 mag: 14.88 UL: 12.38
Rebinned Data for sw00020376992uvv_sk.img using a zero point of 18.030:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.28e+03   71433.6   3737.0  -2468.2    0.2538   0.0213 19.52  0.09   71433.6    0.2538   0.0213 19.52  0.09 19.27
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw00020376992ubb_sk.img ================
Long-term sensitivity correction is  0.095 at 421281679
The processing date in extension 0 is:  2014-05-09T04:12:22
The trigger time is: 421211046.5776. The reference is BAT GRB summary file
Using zero point of 19.205 for filter B
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(255.46645,46.78042,25")
fk5;-circle(255.46645,46.78042,12.5")
fk5;-circle(255.477197,46.777227,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 bb421281678I   70632.3  0.99  782.3  906.6 108  22400  5798  0.703 0.043 19.59 19.4  0.7027 0.0434 19.59 19.4   782 135.528  8.375 14.96 0.010 
    Sum (T+ 70632 to  71427):             906.6        417.2 (est. in src region)   SNR_unwtd_sum:  16.18 0.9987 signif. UL:  19.40
  0   782 421282076   71029.8    397.4   -397.4    0.7027   0.0434 19.589  0.069  -0.066
Total wtd_rate (for all exposures so far): 139.230 +/- 6.918 snr: 20.1 mag: 14.93 UL: 13.70
Rebinned Data for sw00020376992ubb_sk.img using a zero point of 19.205:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      771   71029.8    397.4   -397.4    0.7027   0.0434 19.59  0.07   71029.8    0.7027   0.0434 19.59  0.07 19.40
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020376992uuu_sk.img ================
Long-term sensitivity correction is  0.095 at 421280846
The processing date in extension 0 is:  2014-05-09T04:12:21
The trigger time is: 421211046.5776. The reference is BAT GRB summary file
Using zero point of 18.435 for filter U
Use aperture correction of  1.100 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(255.46645,46.78042,25")
fk5;-circle(255.46645,46.78042,12.5")
fk5;-circle(255.477280,46.777187,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 uu421280845I   69799.4  0.99  813.7  664.8 112   7467  5818  0.709 0.035 18.81 18.7  0.7093 0.0352 18.81 18.7   814 274.845 13.629 14.19 0.014 
    Sum (T+ 69799 to  70626):             664.8        143.7 (est. in src region)   SNR_unwtd_sum:  20.17 0.9987 signif. UL:  18.66
  0   814 421281259   70212.8    413.4   -413.4    0.7093   0.0352 18.808  0.056  -0.052
Total wtd_rate (for all exposures so far): 187.276 +/- 6.574 snr: 28.5 mag: 14.61 UL: 12.64
Rebinned Data for sw00020376992uuu_sk.img using a zero point of 18.435:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      808   70212.8    413.4   -413.4    0.7093   0.0352 18.81  0.05   70212.8    0.7093   0.0352 18.81  0.05 18.66
The data range from T+68965.4 s (0.80 d) to T+75170.7 s (0.87 d)
Wrote uvot_fluxes_140509d04h18m31s342661usUT.qdp
Wrote uvot_fluxes_140509d04h18m31s342661usUT.gif
Wrote uvot_fluxes_140509d04h18m31s342661usUT.ps
Wrote uvot_fluxes_140509d04h18m31s342661usUT_vis.qdp
Wrote uvot_fluxes_140509d04h18m31s342661usUT_uv.qdp
Wrote uvot_fluxes_140509d04h18m31s342661usUT_vis.gif
Wrote uvot_fluxes_140509d04h18m31s342661usUT_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.000527   69378.8    413.4   -413.4    2.3026   0.2217 19.38  0.10   69378.8    2.3026   0.2217 19.38  0.10 19.11
  1 0.000976   70212.8    413.4   -413.4    3.9145   0.1941 18.81  0.05   69920.2    3.3533   0.1482 18.98  0.05 18.84
  2  0.00557   71253.7   3917.0   -621.4    1.8881   0.1119 19.60  0.06   70970.4    2.1947   0.0938 19.44  0.05 19.30
The data range from T+68965.4 s (0.80 d) to T+75170.7 s (0.87 d)
Wrote uvot_fluxes_wtd_140509d04h18m31s342661usUT.qdp
Wrote uvot_fluxes_wtd_140509d04h18m31s342661usUT.gif
Wrote uvot_fluxes_wtd_140509d04h18m31s342661usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem