# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 140330d08h27m56s698459usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020371001 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc -web -useprev -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
# ========= GRB140320C ===================
Used archived opt source position of 134.39333 71.19853 3.00
Reference: GCN_Circulars-16036
The position is (08:57:34.40, +71:11:54.7)
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(134.39333,71.19853,3") # color=red dash=0
Region file centered at (134.39333,71.19853), which is (08:57:34.40, +71:11:54.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 -11.78192 from trigger time of 417014260.33 in BAT summary file
# ============ Reading file sw00020371001uwh_sk.img ================
Long-term sensitivity correction is 0.094 at 417034483
The processing date in extension 0 is: 2014-03-30T08:12:16
The trigger time is: 417014272.11192. The reference is BAT GRB summary file
Using zero point of 20.384 for filter WHITE
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(134.39333,71.19853,25")
fk5;-circle(134.39333,71.19853,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 wh417034482I   20210.7  0.98  756.6 1013.7 116  51019  5829 -0.002 0.048 99.00 22.4 -0.0024 0.0481 99.00 22.4   757 -0.046  0.909 99.00 0.039 
   2 wh417046952I   32680.3  0.98  299.0  365.2 116  19831  5827 -0.112 0.073 99.00 22.4 -0.0335 0.0402 99.00 22.8  1056 -0.500  0.841 99.00 0.035 
    Sum (T+ 20211 to  32984):            1378.9       1410.1 (est. in src region)   SNR_unwtd_sum:  -0.83 0.9987 signif. UL:  22.82
  0  1056 417038333   24061.0   8923.1  -3850.4   -0.0335   0.0402 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.500 +/- 0.832 snr: -0.6 mag: 99.00 UL: 19.47
Rebinned Data for sw00020371001uwh_sk.img using a zero point of 20.384:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.03e+03   24064.6   8919.5  -3853.9   -0.0335   0.0402 99.00 99.00   24064.6   -0.0335   0.0402 99.00 99.00 22.82
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020371001uvv_sk.img ================
Long-term sensitivity correction is  0.138 at 417035259
The processing date in extension 0 is:  2014-03-30T08:12:16
The trigger time is: 417014272.11192. The reference is BAT GRB summary file
Using zero point of 18.028 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(134.39333,71.19853,25")
fk5;-circle(134.39333,71.19853,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 vv417035258I   20986.5  0.99  756.6  219.7 116  11827  5867 -0.020 0.022 99.00 21.2 -0.0205 0.0216 99.00 21.2   757 -3.511  3.712 99.00 0.019 
   2 vv417036031I   21759.4  0.99   26.1    9.5 116    412  5827  0.053 0.130 21.21 18.9 -0.0180 0.0214 99.00 21.2   783 -3.105  3.666 99.00 0.019 
   3 vv417047262I   32990.2  1.00  299.0   65.7 116   4581  5865 -0.091 0.030 99.00 21.3 -0.0382 0.0175 99.00 21.7  1082 -6.053  3.345 99.00 0.017 
   4 vv417047569I   33297.1  1.00    5.3    0.8 116     76  5872 -0.139 0.192 99.00 18.7 -0.0386 0.0175 99.00 21.7  1087 -6.134  3.339 99.00 0.017 
    Sum (T+ 20986 to  33302):             295.7        334.1 (est. in src region)   SNR_unwtd_sum:  -2.21 0.9987 signif. UL:  21.71
  0  1087 417038948   24675.9   8626.6  -3689.4   -0.0386   0.0175 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.793 +/- 0.793 snr: -1.0 mag: 99.00 UL: 17.27
Rebinned Data for sw00020371001uvv_sk.img using a zero point of 18.028:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.08e+03   24678.5   8624.0  -3692.0   -0.0386   0.0175 99.00 99.00   24678.5   -0.0386   0.0175 99.00 99.00 21.71
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020371001uuu_sk.img ================
Long-term sensitivity correction is  0.094 at 417033707
The processing date in extension 0 is:  2014-03-30T08:12:16
The trigger time is: 417014272.11192. The reference is BAT GRB summary file
Using zero point of 18.434 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(134.39333,71.19853,25")
fk5;-circle(134.39333,71.19853,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 uu417033707I   19435.1  1.00  756.6  164.7 116   8075  5831  0.006 0.019 24.02 21.4  0.0059 0.0189 24.02 21.4   757  0.641  2.069 20.77 0.043 
   2 uu417046642I   32370.6  1.00  299.0   51.6 116   3037  5829 -0.033 0.027 99.00 21.4 -0.0051 0.0155 99.00 21.8  1056 -0.229  1.904 99.00 0.039 
   3 uu417050853I   36581.1  1.00  685.1  158.0 116   8069  5828 -0.004 0.020 99.00 21.4 -0.0047 0.0124 99.00 22.0  1741 -0.334  1.733 99.00 0.031 
    Sum (T+ 19435 to  37277):             374.2        381.7 (est. in src region)   SNR_unwtd_sum:  -0.38 0.9987 signif. UL:  22.03
  0  1741 417043007   28735.1   8542.1  -9300.0   -0.0047   0.0124 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.717 +/- 0.727 snr: -1.0 mag: 99.00 UL: 17.77
Rebinned Data for sw00020371001uuu_sk.img using a zero point of 18.434:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.73e+03   28733.6   8543.6  -9298.5   -0.0047   0.0124 99.00 99.00   28733.6   -0.0047   0.0124 99.00 99.00 22.03
The data range from T+19435.1 s (0.22 d) to T+37277.2 s (0.43 d)
Wrote uvot_fluxes_140330d08h27m56s698459usUT.qdp
Wrote uvot_fluxes_140330d08h27m56s698459usUT.gif
Wrote uvot_fluxes_140330d08h27m56s698459usUT.ps
Wrote uvot_fluxes_140330d08h27m56s698459usUT_vis.qdp
Wrote uvot_fluxes_140330d08h27m56s698459usUT_uv.qdp
Wrote uvot_fluxes_140330d08h27m56s698459usUT_vis.gif
Wrote uvot_fluxes_140330d08h27m56s698459usUT_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     1.62   22463.0  14814.2  -3027.9   -0.0255   0.0359 99.00 99.00   22463.0   -0.0255   0.0359 99.00 99.00 22.82
The data range from T+19435.1 s (0.22 d) to T+37277.2 s (0.43 d)
Wrote uvot_fluxes_wtd_140330d08h27m56s698459usUT.qdp
Wrote uvot_fluxes_wtd_140330d08h27m56s698459usUT.gif
Wrote uvot_fluxes_wtd_140330d08h27m56s698459usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem