# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 130624d08h18m28s900692usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020283002 -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
# ========= GRB130606B ===================
Used archived XRT position of 218.52933 -22.10228 4.00
Reference: GCN_Circulars-14820-Fri,_7_Jun_2013_20:26:53_-0400_(EDT)
The position is (14:34:07.04, -22:06:08.2)
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(218.52933,-22.10228,4") # color=red dash=0
Region file centered at (218.52933,-22.10228), which is (14:34:07.04, -22:06:08.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 -10.65548 from trigger time of 392212533 in BAT summary file
# ============ Reading file sw00020283001uwh_sk.img ================
Long-term sensitivity correction is 0.086 at 392319100
The processing date in extension 0 is: 2013-06-08T12:55:52
The trigger time is: 392212543.65548. The reference is BAT GRB summary file
Using zero point of 20.376 for filter WHITE
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(218.52933,-22.10228,25")
fk5;-circle(218.52933,-22.10228,12.5")
fk5;-circle(218.536837,-22.098498,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 wh392319099I  106555.9  0.96  144.5  535.8 200  15589  5781 -0.026 0.175 99.00 21.0 -0.0258 0.1749 99.00 21.0   144 -2.544 17.228 99.00 0.003 
   2 wh392319249I  106705.6  0.97 1447.5 5050.4 188 153995  5749  0.011 0.053 25.30 22.2  0.0074 0.0511 25.70 22.3  1592  0.752  5.069 20.60 0.003 
   3 wh392320725I  108182.1  0.97  118.7  440.1 208  12806  5798 -0.174 0.193 99.00 21.1 -0.0052 0.0494 99.00 22.4  1711 -0.377  4.903 99.00 0.003 
   4 wh392325253I  112709.7  0.97  113.0  424.4 204  11959  5784  0.025 0.199 24.39 20.8 -0.0033 0.0480 99.00 22.4  1824 -0.219  4.771 99.00 0.003 
   5 wh392325370I  112827.3  0.97 1129.7 4094.2 204 119522  5766 -0.127 0.062 99.00 22.7 -0.0508 0.0379 99.00 23.0  2953 -4.752  3.840 99.00 0.003 
   6 wh392326523I  113980.2  0.97   88.9  299.2 204   9540  5744 -0.477 0.212 99.00 21.4 -0.0632 0.0373 99.00 23.1  3042 -5.926  3.785 99.00 0.003 
   7 wh392331297I  118753.4  0.97   90.3  320.4 192   9520  5758  0.034 0.216 24.03 20.7 -0.0604 0.0368 99.00 23.1  3132 -5.679  3.738 99.00 0.003 
   8 wh392331391I  118848.0  0.96  902.3 3387.6 200  95868  5775  0.080 0.070 23.12 21.7 -0.0291 0.0326 99.00 23.1  4035 -2.872  3.367 99.00 0.003 
   9 wh392332312I  119769.2  0.97   67.7  221.3 184   7249  5735 -0.177 0.239 99.00 20.9 -0.0315 0.0323 99.00 23.1  4103 -3.128  3.340 99.00 0.003 
  10 wh392335520I  122977.1  0.92   39.6  344.1 200   9803  5813  0.193 0.556 22.16 19.7 -0.0295 0.0324 99.00 23.1  4142 -3.051  3.336 99.00 0.003 
    Sum (T+106556 to 123017):           15117.5      15231.3 (est. in src region)   SNR_unwtd_sum:  -0.91 0.9987 signif. UL:  23.07
  0  4142 392325075  112530.9  10486.4  -5975.0   -0.0295   0.0324 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -3.051 +/- 3.279 snr: -0.9 mag: 99.00 UL: 18.06
Rebinned Data for sw00020283001uwh_sk.img using a zero point of 20.376:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0    4e+03  112525.0  10492.3  -5969.1   -0.0295   0.0324 99.00 99.00  112525.0   -0.0295   0.0324 99.00 99.00 23.07
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00020283002um2_sk.img ================
Use keyword TRIGTIME of 392172501.958 for trigger time.
Long-term sensitivity correction is  0.086 at 392948785
The processing date in extension 0 is:  2013-06-24T07:45:12
The trigger time is: 392172501.958. The reference is keyword in image file
Using zero point of 16.936 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(218.52933,-22.10228,25")
fk5;-circle(218.52933,-22.10228,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 m2392948784I  776282.7  1.00  390.1   11.8 184    373  5808 -0.000 0.009 99.00 20.8 -0.0001 0.0092 99.00 20.8   390 -2.078 157.065 99.00 0.002 
    Sum (T+776283 to 776679):              11.8         11.8 (est. in src region)   SNR_unwtd_sum:  -0.01 0.9987 signif. UL:  20.76
  0   390 392948983  776480.9    198.2   -198.2   -0.0001   0.0092 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -3.040 +/- 3.267 snr: -0.9 mag: 99.00 UL: 14.62
Rebinned Data for sw00020283002um2_sk.img using a zero point of 16.936:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      390  776480.9    198.2   -198.2   -0.0001   0.0092 99.00 99.00  776480.9   -0.0001   0.0092 99.00 99.00 20.76
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw00020283002uw2_sk.img ================
Use keyword TRIGTIME of 392172501.958 for trigger time.
Long-term sensitivity correction is  0.086 at 392896600
The processing date in extension 0 is:  2013-06-24T07:45:11
The trigger time is: 392172501.958. The reference is keyword in image file
Using zero point of 17.466 for filter UVW2
Use aperture correction of  1.035 based on aperture of  4.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(218.52933,-22.10228,25")
fk5;-circle(218.52933,-22.10228,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 w2392896599I  724097.5  1.00  907.0   64.7 208   1543  5888  0.012 0.009 22.30 21.0  0.0117 0.0093 22.30 21.0   907 113.827 90.951 15.15 0.002 
   2 w2392901527I  729025.8  1.00 1076.0   72.7 208   2039  5880  0.001 0.008 25.52 21.4  0.0057 0.0062 23.09 21.5  1983 58.567 61.115 15.87 0.002 
   3 w2392906656I  734154.1  1.00 1697.7  107.9 208   3418  5880 -0.008 0.006 99.00 22.0 -0.0006 0.0045 99.00 22.1  3681 -0.209 44.398 99.00 0.002 
   4 w2392912564I  740062.1  1.00  607.1   47.7 208   1437  5880 -0.005 0.012 99.00 21.1 -0.0013 0.0042 99.00 22.2  4288 -6.266 41.637 99.00 0.001 
   5 w2392943230I  770728.5  1.00  187.5    6.1 200    339  5839 -0.030 0.014 99.00 21.4 -0.0025 0.0041 99.00 22.3  4475 -19.164 40.359 99.00 0.001 
    Sum (T+724098 to 770919):             299.2        310.0 (est. in src region)   SNR_unwtd_sum:  -0.61 0.9987 signif. UL:  22.33
  0  4475 392906317  733814.6  37104.4  -9717.1   -0.0025   0.0041 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -3.159 +/- 3.268 snr: -1.0 mag: 99.00 UL: 15.16
Rebinned Data for sw00020283002uw2_sk.img using a zero point of 17.466:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 4.47e+03  733814.9  37104.2  -9717.3   -0.0025   0.0041 99.00 99.00  733814.9   -0.0025   0.0041 99.00 99.00 22.33
The data range from T+106555.9 s (1.23 d) to T+776679.1 s (8.99 d)
Wrote uvot_fluxes_130624d08h18m28s900692usUT.qdp
Wrote uvot_fluxes_130624d08h18m28s900692usUT.gif
Wrote uvot_fluxes_130624d08h18m28s900692usUT.ps
Wrote uvot_fluxes_130624d08h18m28s900692usUT_vis.qdp
Wrote uvot_fluxes_130624d08h18m28s900692usUT_uv.qdp
Wrote uvot_fluxes_130624d08h18m28s900692usUT_vis.gif
Wrote uvot_fluxes_130624d08h18m28s900692usUT_vis.ps
Wrote uvot_fluxes_130624d08h18m28s900692usUT_uv.gif
Wrote uvot_fluxes_130624d08h18m28s900692usUT_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.0974  111963.4  11053.9  -5407.5   -0.0298   0.0298 99.00 99.00  111963.4   -0.0298   0.0298 99.00 99.00 23.10
The data range from T+106555.9 s (1.23 d) to T+776679.1 s (8.99 d)
Wrote uvot_fluxes_wtd_130624d08h18m28s900692usUT.qdp
Wrote uvot_fluxes_wtd_130624d08h18m28s900692usUT.gif
Wrote uvot_fluxes_wtd_130624d08h18m28s900692usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem