# uvot_fluxes_wget.pl vrs. 2010-06-28 fem at 101113d14h17m34s437755usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020149992 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB101112 ===================
Used archived opt source position of 292.22860 39.35310 3.00
Reference: GCN_Circ_11397
The position is (19:28:54.86, +39:21:11.2)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl opt
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(292.2286,39.3531,3")
Region file centered at (292.2286,39.3531), which is (19:28:54.86, +39:21:11.2)
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 -6.32376 from trigger time of 311292624 in BAT summary file
# ============ Reading file sw00020149992uwh_sk.img ================
The processing date in extension 0 is: 2010-11-13T09:28:35
The trigger time is: 311292630.32376. 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 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(292.2286,39.3531,25")
fk5;-circle(292.2286,39.3531,12.5")
fk5;-circle(292.232369,39.346710,6")
fk5;-circle(292.229684,39.345715,6")
fk5;-circle(292.228049,39.350170,6")
fk5;-circle(292.235969,39.350234,6")
fk5;-circle(292.233197,39.350844,6")
fk5;-circle(292.222421,39.351891,6")
fk5;-circle(292.233189,39.355807,6")
fk5;-circle(292.235447,39.359238,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 wh311299699I    7069.7  0.96  828.5 2090.5 112  53987  3945  0.775 0.064 20.57 20.3  0.7745 0.0641 20.57 20.3   828  5.802  0.480 18.38 0.070 
   2 wh311305462I   12831.7  0.96  838.3 2106.1 116  54724  3955  0.688 0.064 20.70 20.4  0.7309 0.0452 20.63 20.4  1667  6.590  0.418 18.24 0.053 
    Sum (T+  7070 to  13683):            4196.6       3137.6 (est. in src region)   SNR_unwtd_sum:  16.17 0.9987 signif. UL:  20.45
  0  1667   10391.1   3292.4  -3321.4    0.7309   0.0452 20.63  0.06
Total wtd_rate (for all exposures so far):  6.590 +/- 0.413 snr: 15.9 mag: 18.24 UL: 18.05
Rebinned Data for sw00020149992uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      798    7490.5    420.9   -420.9    0.7745   0.0641 20.57  0.09    7490.5    0.7745   0.0641 20.57  0.09 20.33
  1      807   13257.6    425.9   -425.9    0.6877   0.0637 20.70  0.10   10390.8    0.7309   0.0452 20.63  0.06 20.45
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020149992uvv_sk.img ================
The processing date in extension 0 is:  2010-11-13T09:28:36
The trigger time is: 311292630.32376. 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(292.2286,39.3531,25")
fk5;-circle(292.2286,39.3531,12.5")
fk5;-circle(292.229746,39.345728,6")
fk5;-circle(292.232423,39.346741,6")
fk5;-circle(292.228133,39.350179,6")
fk5;-circle(292.235936,39.350234,6")
fk5;-circle(292.233154,39.350861,6")
fk5;-circle(292.222480,39.351909,6")
fk5;-circle(292.233197,39.355839,6")
fk5;-circle(292.235512,39.359277,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 vv311300549I    7918.7  0.99  828.5  408.4 108  11717  3904  0.111 0.027 20.27 19.7  0.1115 0.0270 20.27 19.7   828  8.478  2.056 17.97 0.033 
   2 vv311301395I    8764.9  0.99   59.0   33.3 104    827  3946  0.215 0.108 19.56 18.6  0.1183 0.0262 20.21 19.7   887  9.031  2.003 17.90 0.033 
   3 vv311306321I   13690.8  0.99  838.3  432.1 108  11578  3924  0.148 0.027 19.96 19.5  0.1328 0.0190 20.08 19.7  1726 11.583  1.743 17.63 0.027 
   4 vv311307177I   14546.8  0.99   56.5   31.7 108    818  3966  0.182 0.110 19.74 18.6  0.1344 0.0187 20.07 19.7  1782 11.776  1.731 17.61 0.027 
    Sum (T+  7919 to  14604):             905.5        686.9 (est. in src region)   SNR_unwtd_sum:   7.19 0.9987 signif. UL:  19.69
  0  1782   11269.7   3334.5  -3351.0    0.1344   0.0187 20.07  0.14
Total wtd_rate (for all exposures so far):  6.741 +/- 0.395 snr: 17.1 mag: 18.22 UL: 15.64
Rebinned Data for sw00020149992uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      880    8369.8    455.0   -451.1    0.1183   0.0262 20.21  0.22    8369.8    0.1183   0.0262 20.21  0.22 19.65
  1      888   14145.6    458.6   -454.9    0.1503   0.0266 19.95  0.18   11270.5    0.1344   0.0187 20.07  0.14 19.69
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020149992uuu_sk.img ================
The processing date in extension 0 is:  2010-11-13T09:28:35
The trigger time is: 311292630.32376. 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 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(292.2286,39.3531,25")
fk5;-circle(292.2286,39.3531,12.5")
fk5;-circle(292.232453,39.346735,6")
fk5;-circle(292.229659,39.345710,6")
fk5;-circle(292.228046,39.350205,6")
fk5;-circle(292.222445,39.351976,6")
fk5;-circle(292.235499,39.359234,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 uu311298851I    6221.0  0.99  828.5  723.1 116  29349  4920  0.042 0.037 21.79 20.4  0.0419 0.0366 21.79 20.4   828  1.675  1.465 19.73 0.029 
   2 uu311304602I   11972.1  0.98  838.3  745.2 108  33291  4912  0.017 0.037 22.73 20.5  0.0296 0.0259 22.16 20.7  1667  1.595  1.292 19.78 0.022 
   3 uu311310381I   17751.4  0.98  731.8  685.9 112  29011  4924  0.040 0.040 21.84 20.3  0.0327 0.0218 22.05 20.9  2399  1.813  1.240 19.64 0.018 
    Sum (T+  6221 to  18495):            2154.3       2083.9 (est. in src region)   SNR_unwtd_sum:   1.50 0.9987 signif. UL:  20.85
  0  2399   12156.7   6338.4  -5935.7    0.0327   0.0218 22.05  0.55
Total wtd_rate (for all exposures so far):  6.439 +/- 0.380 snr: 16.9 mag: 18.27 UL: 16.14
Rebinned Data for sw00020149992uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      817    6641.9    420.9   -420.9    0.0419   0.0366 21.79  0.68    6641.9    0.0419   0.0366 21.79  0.68 20.37
  1 1.55e+03   15065.5   3429.5  -3093.4    0.0279   0.0272 22.23  0.74   12153.2    0.0327   0.0218 22.05  0.55 20.85
The data range from T+6221.0 s (0.07 d) to T+18495.0 s (0.21 d)
Wrote uvot_fluxes_101113d14h17m34s437755usUT.qdp
Wrote uvot_fluxes_101113d14h17m34s437755usUT.gif
Wrote uvot_fluxes_101113d14h17m34s437755usUT.ps
Wrote uvot_fluxes_101113d14h17m34s437755usUT_vis.qdp
Wrote uvot_fluxes_101113d14h17m34s437755usUT_uv.qdp
Wrote uvot_fluxes_101113d14h17m34s437755usUT_vis.gif
Wrote uvot_fluxes_101113d14h17m34s437755usUT_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.0773    6641.9    420.9   -420.9    0.2522   0.2206 21.79  0.68    6641.9    0.2522   0.2206 21.79  0.68 20.37
  1     4.33    7490.5    420.9   -420.9    0.7745   0.0641 20.57  0.09    7475.7    0.7664   0.0632 20.58  0.09 20.34
  2   0.0274    8363.7    461.1   -445.0    1.0690   0.2392 20.22  0.22    7481.1    0.7685   0.0628 20.58  0.09 20.34
  3    0.022   12398.0    425.9   -425.9    0.1053   0.2214 22.73  1.23    7505.4    0.7631   0.0623 20.58  0.09 20.34
  4     1.42   13292.5   5202.5   -460.8    0.6888   0.0628 20.70  0.09    8903.7    0.7363   0.0458 20.62  0.07 20.44
The data range from T+6221.0 s (0.07 d) to T+18495.0 s (0.21 d)
Wrote uvot_fluxes_wtd_101113d14h17m34s437755usUT.qdp
Wrote uvot_fluxes_wtd_101113d14h17m34s437755usUT.gif
Wrote uvot_fluxes_wtd_101113d14h17m34s437755usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2010-06-28 fem