# uvot_fluxes_wget.pl vrs. 2014-08-21 fem at 141107d00h15m22s839107usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020434992 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc -web -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
# ========= unknown GRB ===================
Used archived BAT position of 279.48800 -12.70200
Reference: GCN_FOM_Notice_Thu_06_Nov_14_15:41:17_UT
The position is (18:37:57.12, -12:42:07.2)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl bat
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(279.488,-12.702,3") # color=red dash=0
Region file centered at (279.488,-12.702), which is (18:37:57.12, -12:42:07.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.
*** Since no accurate position is available, set rates to 0. and compute ULs based on expected background in source aperture.
Because there are many possible positions for a source, the confidence levels should be increased for upper limits.
Using the ratio of the BAT region and the aperture of 3600.0,
3 sigma should become about 5.1 sigma and 2 sigma should become about 4.5 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999964.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Failed to find trigger time in BAT summary file for trigger 00020434
# ============ Reading file sw00020434992uwh_sk.img ================
Long-term sensitivity correction is 0.100 at 436982374
The processing date in extension 0 is: 2014-11-07T00:03:58
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 20.390 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(279.488,-12.702,25")
fk5;-circle(279.488,-12.702,12.5")
fk5;-circle(279.483510,-12.704987,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 wh436982374I 436982374.4  0.92  195.4  919.7 108  47459  5360  0.000 0.199 99.00 20.4  0.0000 0.1989 99.00 20.4   195  0.000 79250.993 99.00 0.000 
   2 wh436988351I 436988351.1  0.91  196.3  899.3 116  47565  5388  0.000 0.206 99.00 20.3  0.0000 0.1432 99.00 20.7   392  0.000 57027.382 99.00 0.000 
   3 wh436992530I 436992530.1  0.90  142.7  831.5 104  42582  5336  0.000 0.265 99.00 20.1  0.0000 0.1265 99.00 20.9   534  0.000 50169.033 99.00 0.000 
above line uses coinc_corr_src:  0.899 corr_bkg:  0.899
   4 wh436994341I 436994341.5  0.92  196.3  900.7 108  47196  5356  0.000 0.198 99.00 20.4  0.0000 0.1067 99.00 21.1   731  0.000 42353.555 99.00 0.000 
   5 wh436998283I 436998283.7  0.90  192.6 1060.0 108  55260  5364  0.000 0.223 99.00 20.3  0.0000 0.0964 99.00 21.2   923  0.000 38222.786 99.00 0.000 
   6 wh437000044I 437000044.7  0.91  118.1  585.6 116  28773  5396  0.000 0.270 99.00 20.0  0.0000 0.0908 99.00 21.2  1041  0.000 36017.685 99.00 0.000 
    Sum (T+436982374 to 437000177):            5493.1       5493.1 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  21.23
  0  1041 436992227 436992226.7   7950.5  -9852.4    0.0000   0.0908 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-34361.595 snr:  0.0 mag: 99.00 UL:  7.28
Rebinned Data for sw00020434992uwh_sk.img using a zero point of 20.390:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      949 436992203.2   7974.0  -9828.9    0.0000   0.0908 99.00 99.00 436992203.2    0.0000   0.0908 99.00 99.00 21.73
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020434992uvv_sk.img ================
Long-term sensitivity correction is  0.147 at 436982680
The processing date in extension 0 is:  2014-11-07T00:03:58
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 18.037 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(279.488,-12.702,25")
fk5;-circle(279.488,-12.702,12.5")
fk5;-circle(279.483557,-12.705024,6")
fk5;-circle(279.490877,-12.700641,6")
fk5;-circle(279.486872,-12.695419,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 vv436982680I 436982680.0  0.98  549.4  747.5 112  33223  4928  0.000 0.056 99.00 19.4  0.0000 0.0563 99.00 19.4   549  0.000 195942.751 99.00 0.000 
   2 vv436988657I 436988657.2  0.98  330.1  400.5 104  20467  4944  0.000 0.071 99.00 19.1  0.0000 0.0441 99.00 19.7   879  0.000 153293.610 99.00 0.000 
   3 vv436994647I 436994647.3  0.98   97.9  125.1 108   5982  4928  0.000 0.132 99.00 18.5  0.0000 0.0418 99.00 19.7   977  0.000 145363.814 99.00 0.000 
   4 vv436998589I 436998589.5  0.98  306.6  419.1 116  19581  4976  0.000 0.079 99.00 19.0  0.0000 0.0369 99.00 19.9  1284  0.000 128369.309 99.00 0.000 
    Sum (T+436982680 to 436998901):            1773.2       1773.2 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  19.85
  0  1284 436989132 436989131.6   9769.4  -6451.5    0.0000   0.0369 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-32603.131 snr:  0.0 mag: 99.00 UL:  4.99
Rebinned Data for sw00020434992uvv_sk.img using a zero point of 18.037:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.25e+03 436989127.5   9773.4  -6447.5    0.0000   0.0369 99.00 99.00 436989127.5    0.0000   0.0369 99.00 99.00 20.35
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020434992uuu_sk.img ================
Long-term sensitivity correction is  0.100 at 436982069
The processing date in extension 0 is:  2014-11-07T00:03:57
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 18.440 for filter U
Use aperture correction of  1.100 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(279.488,-12.702,25")
fk5;-circle(279.488,-12.702,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 uu436982069I 436982069.0  0.99  295.0  221.0 116  12446  5860  0.000 0.060 99.00 19.7  0.0000 0.0599 99.00 19.7   295  0.000 143831.126 99.00 0.000 
High bkg:   2 uu436986471I  128.0  12615  5884 16.753  0.149
   2 uu436986471I 436986471.0  0.97  128.0  234.7 116  12615  5884  0.000 0.141 99.00 18.8  0.0000 0.0596 99.00 19.7   423  0.000 132425.397 99.00 0.000 
   3 uu436988045I 436988045.7  0.99  295.0  225.4 108  12499  5808  0.000 0.058 99.00 19.8  0.0000 0.0424 99.00 20.1   718  0.000 96023.859 99.00 0.000 
   4 uu436992224I 436992224.8  0.97  295.0  432.3 108  23632  5820  0.000 0.081 99.00 19.4  0.0000 0.0381 99.00 20.2  1013  0.000 86057.944 99.00 0.000 
   5 uu436994036I 436994036.2  0.99  295.0  226.9 112  12291  5804  0.000 0.059 99.00 19.8  0.0000 0.0324 99.00 20.4  1308  0.000 73459.636 99.00 0.000 
   6 uu436997978I 436997978.5  0.97  295.0  485.2 112  25785  5844  0.000 0.086 99.00 19.3  0.0000 0.0308 99.00 20.5  1603  0.000 69223.641 99.00 0.000 
   7 uu436999739I 436999739.3  0.99  295.0  242.8 108  12437  5824  0.000 0.058 99.00 19.8  0.0000 0.0275 99.00 20.6  1898  0.000 61962.676 99.00 0.000 
    Sum (T+436982069 to 437000039):            2128.0       2128.0 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  20.58
  0  1898 436992097 436992097.0   7942.1 -10028.0    0.0000   0.0275 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-29042.129 snr:  0.0 mag: 99.00 UL:  5.52
Rebinned Data for sw00020434992uuu_sk.img using a zero point of 18.440:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.86e+03 436992088.9   7950.2 -10019.9    0.0000   0.0275 99.00 99.00 436992088.9    0.0000   0.0275 99.00 99.00 21.07
The data range from T+436982069.0 s (5057.66 d) to T+437000177.2 s (5057.87 d)
Wrote uvot_fluxes_141107d00h15m22s839107usUT.qdp
Wrote uvot_fluxes_141107d00h15m22s839107usUT.gif
Wrote uvot_fluxes_141107d00h15m22s839107usUT.ps
Wrote uvot_fluxes_141107d00h15m22s839107usUT_vis.qdp
Wrote uvot_fluxes_141107d00h15m22s839107usUT_uv.qdp
Wrote uvot_fluxes_141107d00h15m22s839107usUT_vis.gif
Wrote uvot_fluxes_141107d00h15m22s839107usUT_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 9.01e-10 436991899.2   8278.1  -9830.1    0.0000   0.0778 99.00 99.00 436991899.2    0.0000   0.0778 99.00 99.00 21.80
The data range from T+436982069.0 s (5057.66 d) to T+437000177.2 s (5057.87 d)
Wrote uvot_fluxes_wtd_141107d00h15m22s839107usUT.qdp
Wrote uvot_fluxes_wtd_141107d00h15m22s839107usUT.gif
Wrote uvot_fluxes_wtd_141107d00h15m22s839107usUT.ps
Found 1 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2014-08-21 fem