# uvot_fluxes_wget.pl vrs. 2011-11-14 fem at 120203d18h07m20s375358usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020206001 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -useprev -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB120202A ===================
Used archived BAT position of 203.50650 22.77470
Reference: GCN_Circ_12909
The position is (13:34:01.56, +22:46:28.9)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl bat
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(203.5065,22.7747,3")
Region file centered at (203.5065,22.7747), which is (13:34:01.56, +22:46:28.9)
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.
*** Since no accurate position is available, set rates to 0. and compute ULs based on expected background in source aperture.
Because there are many possible positions for a source, the confidence levels should be increased for upper limits.
Using the ratio of the BAT region and the aperture of 2500.0,
3 sigma should become about 5.0 sigma and 2 sigma should become about 4.4 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999948.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Subtract UTCF of -7.83642 from trigger time of 349911617 in BAT summary file
# ============ Reading file sw00020206001uwh_sk.img ================
The processing date in extension 0 is: 2012-02-03T17:37:10
The trigger time is: 349911624.83642. The reference is BAT GRB summary file
Using zero point of 20.29 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(203.5065,22.7747,25")
fk5;-circle(203.5065,22.7747,12.5")
fk5;-circle(203.513155,22.775601,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 wh349946146I   34521.7  0.97   14.2   21.8 104   1111  5484  0.000 0.370 99.00 19.6  0.0000 0.3697 99.00 19.6    14  0.000 12.766 99.00 0.019 
   2 wh349947267I   35642.2  0.90   76.5  471.2 116  22291  5528  0.000 0.378 99.00 19.6  0.0000 0.3205 99.00 19.8    91  0.000  9.294 99.00 0.005 
above line uses coinc_corr_src:  0.898 corr_bkg:  0.898
   3 wh349952892I   41267.6  0.92  146.4  659.8 112  31669  5500  0.000 0.221 99.00 20.2  0.0000 0.1835 99.00 20.4   237  0.000  6.523 99.00 0.005 
   4 wh349957819I   46194.4  0.97  454.3  750.5 116  37297  5504  0.000 0.071 99.00 21.4  0.0000 0.0771 99.00 21.3   692  0.000  2.948 99.00 0.008 
   5 wh349969418I   57793.7  0.97  524.4  974.2 116  45290  5508  0.000 0.068 99.00 21.5  0.0000 0.0526 99.00 21.7  1216  0.000  2.362 99.00 0.008 
   6 wh349976114I   64489.9  0.90   89.3  517.2 120  24640  5528  0.000 0.342 99.00 19.7  0.0000 0.0540 99.00 21.7  1305  0.000  2.348 99.00 0.007 
    Sum (T+ 34522 to  64581):            3408.5       3408.5 (est. in src region)   SNR_unwtd_sum:   0.00 0.99999948 signif. UL:  21.71
  0  1305   51008.6  13572.0 -16487.0    0.0000   0.0540 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 2.307 snr:  0.0 mag: 99.00 UL: 17.63
Rebinned Data for sw00020206001uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.25e+03   51061.3  13519.3 -16539.6    0.0000   0.0540 99.00 99.00   51061.3    0.0000   0.0540 99.00 99.00 22.19
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020206001uvv_sk.img ================
The processing date in extension 0 is:  2012-02-03T17:37:10
The trigger time is: 349911624.83642. The reference is BAT GRB summary file
Using zero point of 17.89 for filter V
Use aperture correction of  1.087 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(203.5065,22.7747,25")
fk5;-circle(203.5065,22.7747,12.5")
fk5;-circle(203.513164,22.775461,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 vv349947351I   35726.8  0.98   70.5   91.4 116   4819  5504  0.000 0.161 99.00 18.1  0.0000 0.1609 99.00 18.1    70  0.000 52.489 99.00 0.002 
   2 vv349953046I   41422.1  0.98  146.4  164.4 112   8878  5512  0.000 0.103 99.00 18.6  0.0000 0.0870 99.00 18.8   217  0.000 31.285 99.00 0.002 
   3 vv349969957I   58333.1  0.99  259.0  165.4 112   9229  5528  0.000 0.059 99.00 19.2  0.0000 0.0508 99.00 19.4   476  0.000 22.132 99.00 0.002 
   4 vv349976211I   64586.8  0.98    9.2   13.8 112    652  5508  0.000 0.447 99.00 17.0  0.0000 0.0506 99.00 19.4   485  0.000 22.054 99.00 0.002 
    Sum (T+ 35727 to  64596):             482.2        482.2 (est. in src region)   SNR_unwtd_sum:   0.00 0.99999948 signif. UL:  19.38
  0   485   50160.6  14435.5 -14433.8    0.0000   0.0506 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 2.253 snr:  0.0 mag: 99.00 UL: 15.26
Rebinned Data for sw00020206001uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      477   50203.9  14392.3 -14477.0    0.0000   0.0506 99.00 99.00   50203.9    0.0000   0.0506 99.00 99.00 19.86
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020206001uuu_sk.img ================
The processing date in extension 0 is:  2012-02-03T17:37:09
The trigger time is: 349911624.83642. The reference is BAT GRB summary file
Using zero point of 18.34 for filter U
Use aperture correction of  1.100 based on aperture of  3.00
Using background region based on sources found in extension 6:
# 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(203.5065,22.7747,25")
fk5;-circle(203.5065,22.7747,12.5")
fk5;-circle(203.513390,22.775590,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 uu349945523I   33898.8  1.00  606.1  173.3 116   7757  5568  0.000 0.023 99.00 20.7  0.0000 0.0234 99.00 20.7   606  0.000  4.825 99.00 0.018 
   2 uu349947184I   35559.2  0.98   76.5   88.3 112   4344  5520  0.000 0.139 99.00 18.7  0.0000 0.0259 99.00 20.6   683  0.000  4.763 99.00 0.013 
   3 uu349950826I   39202.0  1.00  191.0   37.0 108   2498  5540  0.000 0.041 99.00 20.1  0.0000 0.0221 99.00 20.7   874  0.000  4.270 99.00 0.014 
   4 uu349952737I   41112.4  0.99  146.4   87.3 104   4880  5556  0.000 0.073 99.00 19.4  0.0000 0.0216 99.00 20.8  1020  0.000  4.157 99.00 0.012 
   5 uu349957257I   45632.4  1.00  547.0  124.6 116   6951  5564  0.000 0.025 99.00 20.6  0.0000 0.0165 99.00 21.0  1567  0.000  3.546 99.00 0.012 
   6 uu349962486I   50861.7  1.00  703.0  168.3 112   9046  5564  0.000 0.021 99.00 20.8  0.0000 0.0132 99.00 21.3  2270  0.000  3.125 99.00 0.012 
   7 uu349968879I   57254.9  1.00  524.4  123.0 108   6542  5524  0.000 0.024 99.00 20.6  0.0000 0.0116 99.00 21.4  2794  0.000  2.926 99.00 0.012 
   8 uu349976018I   64394.0  0.98   89.3   77.9 112   4604  5552  0.000 0.122 99.00 18.9  0.0000 0.0119 99.00 21.4  2884  0.000  2.920 99.00 0.011 
    Sum (T+ 33899 to  64485):             937.6        937.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.99999948 signif. UL:  21.40
  0  2884   46478.6  18006.1 -12579.8    0.0000   0.0119 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 1.789 snr:  0.0 mag: 99.00 UL: 15.96
Rebinned Data for sw00020206001uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.87e+03   46477.4  18007.3 -12578.5    0.0000   0.0119 99.00 99.00   46477.4    0.0000   0.0119 99.00 99.00 21.89
The data range from T+33898.8 s (0.39 d) to T+64596.1 s (0.75 d)
Wrote uvot_fluxes_120203d18h07m20s375358usUT.qdp
Wrote uvot_fluxes_120203d18h07m20s375358usUT.gif
Wrote uvot_fluxes_120203d18h07m20s375358usUT.ps
Wrote uvot_fluxes_120203d18h07m20s375358usUT_vis.qdp
Wrote uvot_fluxes_120203d18h07m20s375358usUT_uv.qdp
Wrote uvot_fluxes_120203d18h07m20s375358usUT_vis.gif
Wrote uvot_fluxes_120203d18h07m20s375358usUT_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.201   49069.4  15526.8 -15170.5    0.0000   0.0435 99.00 99.00   49069.4    0.0000   0.0435 99.00 99.00 22.43
The data range from T+33898.8 s (0.39 d) to T+64596.1 s (0.75 d)
Wrote uvot_fluxes_wtd_120203d18h07m20s375358usUT.qdp
Wrote uvot_fluxes_wtd_120203d18h07m20s375358usUT.gif
Wrote uvot_fluxes_wtd_120203d18h07m20s375358usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2011-11-14 fem