# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 120721d02h52m21s845454usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020224992 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -zp_2011 -search_src_reg -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB120709A ===================
Use custom source region custom_020224_src.reg
Using source region:
# Region file format: DS9 version 4.1
global color=green dashlist=8 3 width=1 font="helvetica 10 normal" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
fk5
circle(318.17279,-49.97297,3.0") # color=red width=2 font="helvetica 14 bold" text={GRB 120709A U}
-circle(318.17439,-49.97326,3.0") # color=blue width=2
Region file centered at (318.17279,-49.97297), which is (21:12:41.47, -49:58:22.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 -9.41256 from trigger time of 363561101 in BAT summary file
# ============ Reading file sw00020224992uuu_sk.img ================
Long-term sensitivity correction is 0.077 at 364442535
The processing date in extension 0 is: 2012-07-21T02:42:49
The trigger time is: 363561110.41256. The reference is BAT GRB summary file
Using zero point of 18.417 for filter U
Use aperture correction of 1.100 based on aperture of 3.00
Using background region based on sources found in extension 3:
# 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(318.17279,-49.97297,25")
fk5;-circle(318.17279,-49.97297,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 uu364442534I  881424.5  0.99  813.0  186.4  92  10828  5895  0.024 0.019 22.48 21.2  0.0236 0.0187 22.48 21.2   813 116.935 92.629 15.12 0.001 
   2 uu364452506I  891396.3  0.99  683.2  133.7  80   8890  5820  0.019 0.019 22.74 21.2  0.0214 0.0133 22.59 21.4  1496 105.400 66.077 15.23 0.001 
   3 uu364475570I  914460.0  0.99 1014.2  189.7  80  12826  5838  0.015 0.015 22.96 21.4  0.0189 0.0100 22.73 21.7  2510 94.054 50.324 15.36 0.001 
   4 uu364492908I  931797.9  0.99  898.2  179.6  88  11450  5884  0.010 0.017 23.39 21.4  0.0166 0.0086 22.87 21.8  3409 84.210 43.570 15.48 0.001 
   5 uu364498876I  937765.7  0.99  811.7  160.3  84  10418  5860  0.015 0.017 22.98 21.3  0.0163 0.0077 22.89 21.9  4220 83.168 39.338 15.49 0.001 
   6 uu364504919I  943809.0  0.99  532.9  117.1  80   6956  5845  0.045 0.023 21.77 20.8  0.0195 0.0073 22.69 21.9  4753 100.367 37.404 15.29 0.001 
   7 uu364511104I  949993.7  0.99  174.0   36.0  88   2243  5865  0.015 0.038 23.00 20.6  0.0194 0.0072 22.70 21.9  4927 99.660 36.796 15.29 0.001 
    Sum (T+881424 to 950170):            1002.6        916.4 (est. in src region)   SNR_unwtd_sum:   2.71 0.9987 signif. UL:  21.89
  0  4927 364478756  917645.8  32524.7 -36221.3    0.0194   0.0072 22.700  0.501  -0.342
Total wtd_rate (for all exposures so far): 99.660 +/-36.556 snr:  2.7 mag: 15.29 UL: 12.61
Rebinned Data for sw00020224992uuu_sk.img using a zero point of 18.4173808529051:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 4.89e+03  917642.3  32528.1 -36217.8    0.0194   0.0072 22.70  0.34  917642.3    0.0194   0.0072 22.70  0.34 21.89
The data range from T+881424.5 s (10.20 d) to T+950170.5 s (11.00 d)
Wrote uvot_fluxes_120721d02h52m21s845454usUT.qdp
Wrote uvot_fluxes_120721d02h52m21s845454usUT.gif
Wrote uvot_fluxes_120721d02h52m21s845454usUT.ps
Wrote uvot_fluxes_120721d02h52m21s845454usUT_vis.qdp
Wrote uvot_fluxes_120721d02h52m21s845454usUT_uv.qdp
Wrote uvot_fluxes_120721d02h52m21s845454usUT_vis.gif
Wrote uvot_fluxes_120721d02h52m21s845454usUT_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.000132  916925.9  33244.5 -35501.4    0.1064   0.0401 22.72  0.35  916925.9    0.1064   0.0401 22.72  0.35 21.90
The data range from T+881424.5 s (10.20 d) to T+950170.5 s (11.00 d)
Wrote uvot_fluxes_wtd_120721d02h52m21s845454usUT.qdp
Wrote uvot_fluxes_wtd_120721d02h52m21s845454usUT.gif
Wrote uvot_fluxes_wtd_120721d02h52m21s845454usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem