# uvot_fluxes_wget.pl vrs. 2011-02-18b fem at 110329d17h25m21s149382usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020158002 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -useprev -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB110319B ===================
Used archived XRT position of 326.09488 -56.78236 4.00
Reference: GCN_Circulars-11814-Sun,_20_Mar_2011_08:01:04_-0400_(EDT)
The position is (21:44:22.77, -56:46:56.5)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl xrt
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(326.09488,-56.78236,4")
Region file centered at (326.09488,-56.78236), which is (21:44:22.77, -56:46:56.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 -6.76862 from trigger time of 322256042.28 in BAT summary file
# ============ Reading file sw00020158992uwh_sk.img ================
The processing date in extension 0 is: 2011-03-20T07:51:52
The trigger time is: 322256049.04862. The reference is BAT GRB summary file
Using zero point of 20.29 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(326.09488,-56.78236,25")
fk5;-circle(326.09488,-56.78236,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 wh322284561I   28512.4  0.95  795.1 4075.1 204 114140  5831  0.112 0.089 22.67 21.3  0.1119 0.0888 22.67 21.3   795  3.236  2.567 19.02 0.007 
   2 wh322290378I   34329.4  0.95  774.6 3894.0 208 110689  5893 -0.018 0.089 99.00 21.7  0.0478 0.0628 23.59 21.8  1570  1.680  1.975 19.73 0.006 
    Sum (T+ 28512 to  35131):            7969.1       7900.1 (est. in src region)   SNR_unwtd_sum:   0.76 0.9987 signif. UL:  21.83
  0  1570   31788.7   3342.5  -3276.3    0.0478   0.0628 23.59  0.91
Total wtd_rate (for all exposures so far):  1.680 +/- 1.941 snr:  0.9 mag: 19.73 UL: 18.08
# ============ Reading file sw00020158001uwh_sk.img ================
The processing date in extension 0 is:  2011-03-20T07:50:27
The trigger time is: 322256049.04862. The reference is BAT GRB summary file
Using zero point of 20.29 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(326.09488,-56.78236,25")
fk5;-circle(326.09488,-56.78236,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 wh322284561I   28512.4  0.95  795.1 4075.6 204 114059  5827  0.113 0.089 22.66 21.3  0.1126 0.0888 22.66 21.3   795  3.258  2.567 19.01 0.007 
   2 wh322290378I   34329.4  0.95  774.6 3893.5 208 110458  5881 -0.018 0.089 99.00 21.7  0.0479 0.0628 23.59 21.8  1570  1.688  1.975 19.72 0.006 
    Sum (T+ 28512 to  35131):            7969.1       7899.8 (est. in src region)   SNR_unwtd_sum:   0.76 0.9987 signif. UL:  21.83
  0  1570   31788.7   3342.5  -3276.3    0.0479   0.0628 23.59  0.91
Total wtd_rate (for all exposures so far):  1.684 +/- 1.373 snr:  1.2 mag: 19.72 UL: 18.37
Rebinned Data for sw00020158001uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0  1.5e+03   31791.2   3339.9  -3278.9    0.0478   0.0628 23.59  0.91   31791.2    0.0478   0.0628 23.59  0.91 21.83
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020158992uvv_sk.img ================
The processing date in extension 0 is:  2011-03-20T07:51:53
The trigger time is: 322256049.04862. The reference is BAT GRB summary file
Using zero point of 17.89 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(326.09488,-56.78236,25")
fk5;-circle(326.09488,-56.78236,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 vv322285389I   29340.4  0.98  807.8 1635.2 200  47529  5873  0.022 0.053 22.05 19.7  0.0217 0.0535 22.05 19.7   808  5.882 14.510 18.37 0.002 
   2 vv322286214I   30165.9  0.98   61.2  141.4 204   3889  5842  0.096 0.208 20.43 18.2  0.0269 0.0518 21.81 19.7   869  7.166 14.064 18.15 0.002 
   3 vv322291187I   35138.4  0.98  789.1 1580.9 208  43974  5886  0.036 0.054 21.50 19.6  0.0312 0.0373 21.66 20.0  1658  8.922 10.946 17.91 0.002 
   4 vv322291993I   35944.4  0.97   19.6   59.9 204   1585  5851  0.248 0.425 19.40 17.4  0.0337 0.0372 21.57 20.0  1678  9.397 10.912 17.86 0.002 
    Sum (T+ 29340 to  35964):            3417.3       3363.6 (est. in src region)   SNR_unwtd_sum:   0.90 0.9987 signif. UL:  19.96
  0  1678   32562.0   3402.2  -3221.7    0.0337   0.0372 21.57  0.81
Total wtd_rate (for all exposures so far):  1.800 +/- 1.355 snr:  1.3 mag: 19.65 UL: 15.96
# ============ Reading file sw00020158001uvv_sk.img ================
The processing date in extension 0 is:  2011-03-20T07:50:27
The trigger time is: 322256049.04862. The reference is BAT GRB summary file
Using zero point of 17.89 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(326.09488,-56.78236,25")
fk5;-circle(326.09488,-56.78236,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 vv322285389I   29340.4  0.98  807.8 1635.1 200  47528  5873  0.022 0.053 22.05 19.7  0.0216 0.0535 22.05 19.7   808  5.865 14.510 18.37 0.002 
   2 vv322286214I   30165.9  0.98   61.2  141.4 204   3885  5838  0.097 0.208 20.42 18.2  0.0269 0.0518 21.82 19.7   869  7.162 14.064 18.15 0.002 
   3 vv322291187I   35138.4  0.98  789.1 1580.7 208  43940  5882  0.036 0.054 21.51 19.6  0.0311 0.0373 21.66 20.0  1658  8.906 10.945 17.92 0.002 
   4 vv322291993I   35944.4  0.97   19.6   59.8 204   1588  5854  0.244 0.424 19.42 17.4  0.0336 0.0372 21.57 20.0  1678  9.370 10.912 17.86 0.002 
    Sum (T+ 29340 to  35964):            3417.0       3363.4 (est. in src region)   SNR_unwtd_sum:   0.90 0.9987 signif. UL:  19.96
  0  1678   32562.0   3402.2  -3221.7    0.0336   0.0372 21.57  0.81
Total wtd_rate (for all exposures so far):  1.919 +/- 1.345 snr:  1.4 mag: 19.58 UL: 15.94
Rebinned Data for sw00020158001uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.65e+03   32563.8   3400.5  -3223.4    0.0337   0.0372 21.57  0.81   32563.8    0.0337   0.0372 21.57  0.81 19.96
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020158992uuu_sk.img ================
The processing date in extension 0 is:  2011-03-20T07:51:52
The trigger time is: 322256049.04862. The reference is BAT GRB summary file
Using zero point of 18.34 for filter U
Use aperture correction of  1.032 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(326.09488,-56.78236,25")
fk5;-circle(326.09488,-56.78236,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 uu322283733I   27684.8  0.99  807.8  834.0 196  23892  5829  0.040 0.038 21.85 20.4  0.0396 0.0379 21.85 20.4   808  6.701  6.408 18.23 0.006 
   2 uu322289569I   33520.9  0.99  789.1  794.2 200  23248  5865  0.002 0.038 25.11 20.6  0.0210 0.0268 22.54 20.8  1597  4.190  4.936 18.73 0.005 
    Sum (T+ 27685 to  34323):            1628.2       1596.1 (est. in src region)   SNR_unwtd_sum:   0.78 0.9987 signif. UL:  20.80
  0  1597   30974.4   3348.3  -3289.6    0.0210   0.0268 22.54  0.89
Total wtd_rate (for all exposures so far):  2.087 +/- 1.298 snr:  1.6 mag: 19.49 UL: 16.39
# ============ Reading file sw00020158001uuu_sk.img ================
The processing date in extension 0 is:  2011-03-20T07:50:27
The trigger time is: 322256049.04862. The reference is BAT GRB summary file
Using zero point of 18.34 for filter U
Use aperture correction of  1.032 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(326.09488,-56.78236,25")
fk5;-circle(326.09488,-56.78236,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 uu322283733I   27684.8  0.99  807.8  833.7 196  23892  5829  0.039 0.038 21.86 20.4  0.0391 0.0378 21.86 20.4   808  6.624  6.407 18.24 0.006 
   2 uu322289569I   33520.9  0.99  789.1  794.1 200  23230  5861  0.002 0.038 25.16 20.6  0.0207 0.0268 22.55 20.8  1597  4.135  4.935 18.75 0.005 
    Sum (T+ 27685 to  34323):            1627.7       1596.0 (est. in src region)   SNR_unwtd_sum:   0.77 0.9987 signif. UL:  20.80
  0  1597   30974.4   3348.3  -3289.6    0.0207   0.0268 22.55  0.90
Total wtd_rate (for all exposures so far):  2.225 +/- 1.254 snr:  1.8 mag: 19.42 UL: 16.39
Rebinned Data for sw00020158001uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.58e+03   30973.8   3348.9  -3289.0    0.0210   0.0268 22.54  0.89   30973.8    0.0210   0.0268 22.54  0.89 20.80
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw00020158002uw1_sk.img ================
Use keyword TRIGTIME of 322256048.765 for trigger time.
The processing date in extension 0 is:  2011-03-29T16:43:36
The trigger time is: 322256048.765. The reference is keyword in image file
Using zero point of 17.49 for filter UVW1
Use aperture correction of  1.035 based on aperture of  4.00
Using background region based on sources found in extension 4:
# 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(326.09488,-56.78236,25")
fk5;-circle(326.09488,-56.78236,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 w1322595859I  339810.7  1.00  257.4   28.3 204    842  5836 -0.004 0.022 99.00 20.4 -0.0044 0.0218 99.00 20.4   257 -19.784 97.713 99.00 0.002 
   2 w1322601622I  345573.7  1.00 1494.5  160.4 204   4963  5848 -0.009 0.009 99.00 21.6 -0.0082 0.0083 99.00 21.7  1752 -37.301 37.664 99.00 0.002 
   3 w1322607509I  351460.4  1.00 1547.0  170.0 200   4830  5844  0.003 0.009 23.75 21.3 -0.0029 0.0061 99.00 21.9  3299 -12.462 27.830 99.00 0.002 
   4 w1322613321I  357273.0  1.00 1554.3  178.1 204   5494  5823 -0.010 0.009 99.00 21.6 -0.0050 0.0050 99.00 22.2  4853 -21.888 23.332 99.00 0.002 
    Sum (T+339811 to 358852):             536.7        560.3 (est. in src region)   SNR_unwtd_sum:  -1.00 0.9987 signif. UL:  22.23
  0  4853  351635.4   7216.8 -11824.7   -0.0050   0.0050 99.00 99.00
Total wtd_rate (for all exposures so far):  2.162 +/- 1.256 snr:  1.7 mag: 19.45 UL: 15.55
Rebinned Data for sw00020158002uw1_sk.img using a zero point of 17.49:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 4.85e+03  351635.4   7216.8 -11824.7   -0.0050   0.0050 99.00 99.00  351635.4   -0.0050   0.0050 99.00 99.00 22.23
The data range from T+27684.8 s (0.32 d) to T+358852.1 s (4.15 d)
Wrote uvot_fluxes_110329d17h25m21s149382usUT.qdp
Wrote uvot_fluxes_110329d17h25m21s149382usUT.gif
Wrote uvot_fluxes_110329d17h25m21s149382usUT.ps
Wrote uvot_fluxes_110329d17h25m21s149382usUT_vis.qdp
Wrote uvot_fluxes_110329d17h25m21s149382usUT_uv.qdp
Wrote uvot_fluxes_110329d17h25m21s149382usUT_vis.gif
Wrote uvot_fluxes_110329d17h25m21s149382usUT_vis.ps
Wrote uvot_fluxes_110329d17h25m21s149382usUT_uv.gif
Wrote uvot_fluxes_110329d17h25m21s149382usUT_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.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0    0.264   31276.4   4687.9  -3591.7    0.0560   0.0614 23.42  0.80   31276.4    0.0560   0.0614 23.42  0.80 21.82
The data range from T+27684.8 s (0.32 d) to T+358852.1 s (4.15 d)
Wrote uvot_fluxes_wtd_110329d17h25m21s149382usUT.qdp
Wrote uvot_fluxes_wtd_110329d17h25m21s149382usUT.gif
Wrote uvot_fluxes_wtd_110329d17h25m21s149382usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2011-02-18b fem