# uvot_fluxes_wget.pl vrs. 2015-09-01 fem at 151121d07h40m32s653044usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020558002 -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
# ========= GRB151019 ===================
Used archived BAT position of 292.82330 31.13590
Reference: GCN_Notice_Mon_19_Oct_15_12:40:38_UT
The position is (19:31:17.59, +31:08:09.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(292.8233,+31.1359,3") # color=red dash=0
Region file centered at (292.8233,+31.1359), which is (19:31:17.59, +31:08:09.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 4900.0,
3 sigma should become about 5.1 sigma and 2 sigma should become about 4.6 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999973.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Found 1 bright star(s) within 50.0 arcsec of 292.8233 +31.1359:
ra: 292.8152 dec: 31.1415 mag: 11.82
Subtract UTCF of -15.30084 from trigger time of 466941017.13 in BAT summary file
# ============ Reading file sw00020558002uw1_sk.img ================
Use keyword TRIGTIME of 466941032.2932 for trigger time.
Long-term sensitivity correction to zero point is -0.214 at 469759612
The processing date in extension 0 is: 2015-11-21T04:06:40
The trigger time is: 466941032.2932. The reference is keyword in image file
Using zero point of 17.226 for filter UVW1
Use aperture correction of 1.123 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(292.8233,+31.1359,25")
fk5;-circle(292.8233,+31.1359,12.5")
fk5;-circle(292.830234,31.137242,6")
fk5;-circle(292.816431,31.135905,6")
fk5;-circle(292.8152389,31.1415250,25")
 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 w1469759612I 2818580.1  1.00 1012.3  106.1 108   4270  3796  0.000 0.012 99.00 20.2  0.0000 0.0124 99.00 20.2  1012  0.000 589.113 99.00 0.000 
    Sum (T+2818580 to 2819609):             121.5        121.5 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999734693878 signif. UL:  20.21
  0  1012 469760127 2819094.4    514.3   -514.3    0.0000   0.0124 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-580.907 snr:  0.0 mag: 99.00 UL:  8.54
Rebinned Data for sw00020558002uw1_sk.img using a zero point of 17.226:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.01e+03 2819094.4    514.3   -514.3    0.0000   0.0124 99.00 99.00 2819094.4    0.0000   0.0124 99.00 99.00 20.72
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00020558001um2_sk.img ================
Long-term sensitivity correction to zero point is -0.214 at 466950637
The processing date in extension 0 is:  2015-10-29T10:39:26
The trigger time is: 466941032.2932. The reference is keyword in image file
Using zero point of 16.636 for filter UVM2
Use aperture correction of  1.106 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(292.8233,+31.1359,25")
fk5;-circle(292.8233,+31.1359,12.5")
fk5;-circle(292.830121,31.137254,6")
fk5;-circle(292.8152389,31.1415250,25")
 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 m2466950637I    9605.1  1.00 1381.4   51.7 116   1972  3868  0.000 0.006 99.00 20.4  0.0000 0.0063 99.00 20.4  1381  0.000  1.864 99.00 0.078 
   2 m2466955842I   14810.6  1.00 2385.8   91.9 116   3344  3816  0.000 0.005 99.00 20.7  0.0000 0.0038 99.00 20.9  3767  0.000  1.423 99.00 0.061 
   3 m2466961499I   20467.5  1.00  138.9    8.9 112    231  3852  0.000 0.021 99.00 19.1  0.0000 0.0037 99.00 20.9  3906  0.000  1.413 99.00 0.060 
   4 m2466962861I   21829.2  1.00 1132.9   42.6 116   1449  3816  0.000 0.007 99.00 20.3  0.0000 0.0032 99.00 21.1  5039  0.000  1.342 99.00 0.056 
   5 m2466967259I   26227.4  1.00  257.1   13.4 116    434  3820  0.000 0.016 99.00 19.4  0.0000 0.0032 99.00 21.1  5296  0.000  1.333 99.00 0.054 
   6 m2466969118I   28086.1  1.00  567.9   25.6 116    687  3812  0.000 0.009 99.00 20.0  0.0000 0.0030 99.00 21.2  5864  0.000  1.312 99.00 0.052 
    Sum (T+  9605 to  28663):             245.6        245.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999734693878 signif. UL:  21.16
  0  5864 466958698   17665.5  10997.6  -8060.3    0.0000   0.0030 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 1.293 snr:  0.0 mag: 99.00 UL: 14.58
# ============ Reading file sw00020558002um2_sk.img ================
Use keyword TRIGTIME of 466941032.2932 for trigger time.
Long-term sensitivity correction to zero point is -0.217 at 469685052
The processing date in extension 0 is:  2015-11-21T04:06:39
The trigger time is: 466941032.2932. The reference is keyword in image file
Using zero point of 16.633 for filter UVM2
Use aperture correction of  1.106 based on aperture of  3.00
Using background region based on sources found in extension 5:
# 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(292.8233,+31.1359,25")
fk5;-circle(292.8233,+31.1359,12.5")
fk5;-circle(292.8152389,31.1415250,25")
 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 m2469685051I 2744019.6  1.00 1229.5   52.1 116   1795  4196  0.000 0.006 99.00 20.3  0.0000 0.0064 99.00 20.3  1229  0.000 512.058 99.00 0.000 
   2 m2469690744I 2749712.4  1.00 1295.5   57.2 116   1842  4204  0.000 0.006 99.00 20.4  0.0000 0.0045 99.00 20.7  2525  0.000 355.120 99.00 0.000 
   3 m2469702402I 2761370.4  1.00 1159.6   29.7 108   1639  4188  0.000 0.006 99.00 20.4  0.0000 0.0036 99.00 21.0  3685  0.000 290.250 99.00 0.000 
   4 m2469707911I 2766879.5  1.00 1288.5   51.6 104   1917  4220  0.000 0.006 99.00 20.4  0.0000 0.0031 99.00 21.1  4973  0.000 248.389 99.00 0.000 
   5 m2469713797I 2772764.8  1.00 1460.4   48.4 116   2218  4232  0.000 0.006 99.00 20.4  0.0000 0.0028 99.00 21.3  6433  0.000 220.814 99.00 0.000 
   6 m2469742392I 2801360.2  1.00  657.9   25.0 116   1122  4212  0.000 0.009 99.00 19.9  0.0000 0.0027 99.00 21.3  7091  0.000 212.281 99.00 0.000 
   7 m2469754213I 2813181.4  1.00  538.6   18.5 112    877  4192  0.000 0.010 99.00 19.8  0.0000 0.0026 99.00 21.3  7630  0.000 205.554 99.00 0.000 
    Sum (T+2744020 to 2813729):             305.1        305.1 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999734693878 signif. UL:  21.33
  0  7630 469708447 2767414.4  46314.2 -23394.8    0.0000   0.0026 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 1.293 snr:  0.0 mag: 99.00 UL: 14.57
Rebinned Data for sw00020558002um2_sk.img using a zero point of 16.633:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 3.76e+03   13926.7   3307.9  -4321.6    0.0000   0.0038 99.00 99.00   13926.7    0.0000   0.0038 99.00 99.00 21.42
  1  2.1e+03   24382.8   4280.3  -3915.3    0.0000   0.0049 99.00 99.00   17665.6    0.0000   0.0030 99.00 99.00 21.67
  2 7.62e+03 2767413.7  46314.9 -23394.1    0.0000   0.0026 99.00 99.00 1572470.0    0.0000   0.0020 99.00 99.00 22.14
The data range from T+9605.1 s (0.11 d) to T+2819608.7 s (32.63 d)
Wrote uvot_fluxes_151121d07h40m32s653044usUT.qdp
Wrote uvot_fluxes_151121d07h40m32s653044usUT.gif
Wrote uvot_fluxes_151121d07h40m32s653044usUT.ps
Wrote uvot_fluxes_151121d07h40m32s653044usUT_vis.qdp
Wrote uvot_fluxes_151121d07h40m32s653044usUT_uv.qdp
Wrote uvot_fluxes_151121d07h40m32s653044usUT_uv.gif
Wrote uvot_fluxes_151121d07h40m32s653044usUT_uv.ps
Normal end of uvot_fluxes_wget.pl vrs. 2015-09-01 fem