# uvot_fluxes_wget.pl vrs. 2014-08-21 fem at 150209d22h36m04s617722usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020476001 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc -web -usex -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
# ========= GRB150202B ===================
Used archived XRT position of 86.95650 58.83010 4.00
Reference: GCN_Circulars-17405
The position is (05:47:49.56, +58:49:48.4)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl xrt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(86.9565,58.8301,4") # color=red dash=0
Region file centered at (86.9565,58.8301), which is (05:47:49.56, +58:49:48.4)
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 -13.1395 from trigger time of 444614348.27 in BAT summary file
# ============ Reading file sw00020476001ubb_sk.img ================
Long-term sensitivity correction is 0.103 at 444717322
The processing date in extension 0 is: 2015-02-04T10:49:48
The trigger time is: 444614361.4095. The reference is BAT GRB summary file
Using zero point of 19.213 for filter B
Use aperture correction of 1.035 based on aperture of 4.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(86.9565,58.8301,25")
fk5;-circle(86.9565,58.8301,12.5")
fk5;-circle(86.950008,58.824373,6")
fk5;-circle(86.968228,58.833375,6")
fk5;-circle(86.963929,58.828366,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 bb444717321I  102960.2  0.99  295.0  357.0 196   9182  4968 -0.019 0.068 99.00 20.9 -0.0186 0.0684 99.00 20.9   295 -5.177 19.023 99.00 0.003 
   2 bb444717625I  103264.3  0.99  295.1  353.3 196   8963  4971 -0.000 0.068 99.00 20.9 -0.0094 0.0482 99.00 21.3   590 -2.582 13.427 99.00 0.003 
   3 bb444717929I  103568.1  0.99   53.3   68.6 204   1623  4983  0.042 0.166 22.66 19.8 -0.0051 0.0463 99.00 21.3   644 -1.429 12.896 99.00 0.003 
    Sum (T+102960 to 103622):             778.9        782.0 (est. in src region)   SNR_unwtd_sum:  -0.11 0.9987 signif. UL:  21.31
  0   644 444717651  103289.8    332.5   -329.6   -0.0051   0.0463 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -1.429 +/-12.647 snr: -0.1 mag: 99.00 UL: 15.22
Rebinned Data for sw00020476001ubb_sk.img using a zero point of 19.213:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      636  103289.9    332.4   -329.7   -0.0051   0.0463 99.00 99.00  103289.9   -0.0051   0.0463 99.00 99.00 21.31
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020476001uuu_sk.img ================
Long-term sensitivity correction is  0.103 at 444716409
The processing date in extension 0 is:  2015-02-04T10:49:48
The trigger time is: 444614361.4095. The reference is BAT GRB summary file
Using zero point of 18.443 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(86.9565,58.8301,25")
fk5;-circle(86.9565,58.8301,12.5")
fk5;-circle(86.968045,58.833392,6")
fk5;-circle(86.949606,58.824317,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 uu444716408I  102047.5  1.00  295.1  132.6 188   4078  5321 -0.040 0.041 99.00 20.9 -0.0404 0.0412 99.00 20.9   295 -22.628 23.082 99.00 0.004 
   2 uu444716712I  102351.2  1.00  295.0  149.0 196   4080  5340 -0.003 0.044 99.00 20.6 -0.0215 0.0300 99.00 21.2   590 -12.280 16.827 99.00 0.004 
   3 uu444717016I  102654.8  0.99  295.0  168.6 196   4179  5386  0.058 0.046 21.53 20.2  0.0050 0.0253 24.19 21.1   885  2.268 14.181 19.40 0.004 
    Sum (T+102048 to 102955):             450.2        445.9 (est. in src region)   SNR_unwtd_sum:   0.20 0.9987 signif. UL:  21.11
  0   885 444716862  102501.1    453.5   -453.5    0.0050   0.0253 24.192 74.808  -1.953
Total wtd_rate (for all exposures so far):  0.247 +/- 9.351 snr:  0.0 mag: 21.81 UL: 14.74
Rebinned Data for sw00020476001uuu_sk.img using a zero point of 18.443:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      881  102500.9    453.6   -453.4    0.0050   0.0253 24.19  1.95  102500.9    0.0050   0.0253 24.19  1.95 21.11
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw00020476001uw1_sk.img ================
Long-term sensitivity correction is  0.103 at 444715503
The processing date in extension 0 is:  2015-02-04T10:49:48
The trigger time is: 444614361.4095. The reference is BAT GRB summary file
Using zero point of 17.543 for filter UVW1
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(86.9565,58.8301,25")
fk5;-circle(86.9565,58.8301,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 w1444715502I  101141.3  1.00  885.6  188.2 192   5851  5827 -0.005 0.016 99.00 20.8 -0.0053 0.0163 99.00 20.8   886 -6.761 20.832 99.00 0.004 
    Sum (T+101141 to 102041):             188.2        192.8 (est. in src region)   SNR_unwtd_sum:  -0.32 0.9987 signif. UL:  20.83
  0   886 444715953  101591.1    449.9   -449.9   -0.0053   0.0163 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.942 +/- 8.526 snr: -0.1 mag: 99.00 UL: 13.98
Rebinned Data for sw00020476001uw1_sk.img using a zero point of 17.543:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      884  101591.1    449.9   -449.9   -0.0053   0.0163 99.00 99.00  101591.1   -0.0053   0.0163 99.00 99.00 20.83
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00020476001um2_sk.img ================
Long-term sensitivity correction is  0.103 at 444721202
The processing date in extension 0 is:  2015-02-04T10:49:48
The trigger time is: 444614361.4095. The reference is BAT GRB summary file
Using zero point of 16.953 for filter UVM2
Use aperture correction of  1.031 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(86.9565,58.8301,25")
fk5;-circle(86.9565,58.8301,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 m2444721201I  106840.5  1.00  498.5   33.0 196    993  5824 -0.001 0.012 99.00 20.5 -0.0009 0.0121 99.00 20.5   499 -2.056 27.988 99.00 0.006 
    Sum (T+106840 to 107347):              33.0         33.4 (est. in src region)   SNR_unwtd_sum:  -0.07 0.9987 signif. UL:  20.50
  0   499 444721455  107093.7    253.3   -253.3   -0.0009   0.0121 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -1.035 +/- 8.117 snr: -0.1 mag: 99.00 UL: 13.44
Rebinned Data for sw00020476001um2_sk.img using a zero point of 16.953:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      498  107093.7    253.3   -253.3   -0.0009   0.0121 99.00 99.00  107093.7   -0.0009   0.0121 99.00 99.00 20.50
The data range from T+101141.3 s (1.17 d) to T+107347.0 s (1.24 d)
Wrote uvot_fluxes_150209d22h36m04s617722usUT.qdp
Wrote uvot_fluxes_150209d22h36m04s617722usUT.gif
Wrote uvot_fluxes_150209d22h36m04s617722usUT.ps
Wrote uvot_fluxes_150209d22h36m04s617722usUT_vis.qdp
Wrote uvot_fluxes_150209d22h36m04s617722usUT_uv.qdp
Wrote uvot_fluxes_150209d22h36m04s617722usUT_vis.gif
Wrote uvot_fluxes_150209d22h36m04s617722usUT_vis.ps
Wrote uvot_fluxes_150209d22h36m04s617722usUT_uv.gif
Wrote uvot_fluxes_150209d22h36m04s617722usUT_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.290:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0  0.00314  103052.7    569.7  -1005.1   -0.0085   0.0973 99.00 99.00  103052.7   -0.0085   0.0973 99.00 99.00 21.57
The data range from T+101141.3 s (1.17 d) to T+107347.0 s (1.24 d)
Wrote uvot_fluxes_wtd_150209d22h36m04s617722usUT.qdp
Wrote uvot_fluxes_wtd_150209d22h36m04s617722usUT.gif
Wrote uvot_fluxes_wtd_150209d22h36m04s617722usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2014-08-21 fem