# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 250115d10h15m08s810363usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021756002 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/data/uvot/swift_data/home/uvot_lc -web -useprev -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /data/uvot/swift_data/home/uvot_lc
# ========= GRB250114 ===================
Could not find/read custom source region custom_021756_src.reg
Used archived BAT position of 48.87650 -2.30740
Reference: GCN_Notice_Tue_14_Jan_25_16:24:07_UT
The position is (03:15:30.36, -02:18:26.6)
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(48.8765,-2.3074,3") # color=red dash=0
Source region spec. is: 48.8765 -2.3074 3"
Region file centered at (48.8765,-2.3074), which is (03:15:30.36, -02:18:26.6)
Could not find/read custom background region custom_021756_bkg.reg
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 1936.0,
3 sigma should become about 5.0 sigma and 2 sigma should become about 4.4 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999933.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Subtract UTCF of -34.89264 from uncorrected trigger time of 758553337.34 in BAT summary file
# ============ Reading file sw00021756001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 758564783
The processing date in extension 0 is: 2025-01-14T22:36:47
The trigger time is: 758553372.23264. The reference is BAT GRB summary file
Using zero point of 20.115 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(48.8765,-2.3074,25")
fk5;-circle(48.8765,-2.3074,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 wh758564782I   11410.7  0.97  119.9  200.4 112  10828  5812  0.000 0.139 99.00 20.5  0.0000 0.1387 99.00 20.5   120  0.000  1.870 99.00 0.041 
   2 wh758564907I   11535.2  0.97 1202.5 1997.0 112 104564  5836  0.000 0.043 99.00 21.8  0.0000 0.0410 99.00 21.8  1322  0.000  0.582 99.00 0.041 
   3 wh758566134I   12762.2  0.97   63.6  101.8 108   5545  5824  0.000 0.183 99.00 20.2  0.0000 0.0400 99.00 21.9  1386  0.000  0.569 99.00 0.041 
   4 wh758570835I   17463.3  0.97   85.4  129.7 112   7320  5828  0.000 0.160 99.00 20.4  0.0000 0.0388 99.00 21.9  1471  0.000  0.561 99.00 0.040 
   5 wh758570926I   17553.8  0.97  854.2 1422.4 116  74524  5872  0.000 0.052 99.00 21.6  0.0000 0.0310 99.00 22.1  2326  0.000  0.499 99.00 0.035 
   6 wh758576598I   23226.0  0.97   75.6  106.0 108   6645  5828  0.000 0.169 99.00 20.3  0.0000 0.0305 99.00 22.2  2401  0.000  0.496 99.00 0.035 
   7 wh758576677I   23305.4  0.97  691.8 1230.0 116  61417  5872  0.000 0.058 99.00 21.5  0.0000 0.0270 99.00 22.3  3093  0.000  0.474 99.00 0.031 
    Sum (T+ 11411 to  24008):            5267.5       5267.5 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999328512397 signif. UL:  22.30
  0  3093 758570113   16740.7   7267.6  -5330.1    0.0000   0.0270 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 0.470 snr:  0.0 mag: 99.00 UL: 19.19
# ============ Reading file sw00021756002uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 758582281
The processing date in extension 0 is:  2025-01-15T10:03:30
The trigger time is: 758553372.23264. The reference is BAT GRB summary file
Using zero point of 20.115 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(48.8765,-2.3074,25")
fk5;-circle(48.8765,-2.3074,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 wh758582281I   28909.1  0.97   71.6  113.6 112   6256  5864  0.000 0.176 99.00 20.3  0.0000 0.1757 99.00 20.3    72  0.000  5.975 99.00 0.017 
   2 wh758582356I   28984.6  0.97  692.7 1163.6 120  60092  5888  0.000 0.058 99.00 21.5  0.0000 0.0552 99.00 21.5   764  0.000  1.901 99.00 0.016 
   3 wh758588155I   34783.4  0.97   51.9   75.0 104   4503  5824  0.000 0.198 99.00 20.1  0.0000 0.0532 99.00 21.6   816  0.000  1.851 99.00 0.016 
   4 wh758588211I   34838.9  0.97  482.0  897.6 116  42286  5876  0.000 0.069 99.00 21.3  0.0000 0.0422 99.00 21.8  1298  0.000  1.552 99.00 0.015 
   5 wh758591942I   38570.0  0.90  168.0  966.4 108  52971  5824  0.000 0.232 99.00 20.0  0.0000 0.0451 99.00 21.7  1466  0.000  1.535 99.00 0.012 
above line uses coinc_corr_src:  0.898 corr_bkg:  0.898
   6 wh758592157I   38784.9  0.95  370.5 1076.4 116  54504  5852  0.000 0.104 99.00 20.8  0.0000 0.0417 99.00 21.8  1837  0.000  1.462 99.00 0.010 
   7 wh758597563I   44191.2  0.90  166.5 1027.8 116  50972  5844  0.000 0.237 99.00 19.9  0.0000 0.0427 99.00 21.8  2003  0.000  1.452 99.00 0.009 
   8 wh758597779I   44407.1  0.93   85.3  352.1 108  19703  5844  0.000 0.270 99.00 19.8  0.0000 0.0424 99.00 21.8  2089  0.000  1.444 99.00 0.009 
    Sum (T+ 28909 to  44566):            5698.0       5698.0 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999328512397 signif. UL:  21.81
  0  2089 758588440   35068.1   9497.5  -6158.9    0.0000   0.0424 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 0.446 snr:  0.0 mag: 99.00 UL: 19.25
Rebinned Data for sw00021756002uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.26e+03   14471.7   3950.0  -3061.1    0.0000   0.0310 99.00 99.00   14471.7    0.0000   0.0310 99.00 99.00 22.62
  1 2.74e+03   31872.3  12693.3  -8646.3    0.0000   0.0343 99.00 99.00   24007.1    0.0000   0.0234 99.00 99.00 22.92
The data range from T+11410.7 s (0.13 d) to T+44565.6 s (0.52 d)
Wrote uvot_fluxes_250115d10h15m08s810363usUT.qdp
Wrote uvot_fluxes_250115d10h15m08s810363usUT.gif
Wrote uvot_fluxes_250115d10h15m08s810363usUT.ps
Wrote uvot_fluxes_250115d10h15m08s810363usUT_vis.qdp
Wrote uvot_fluxes_250115d10h15m08s810363usUT_uv.qdp
Wrote uvot_fluxes_250115d10h15m08s810363usUT_vis.gif
Wrote uvot_fluxes_250115d10h15m08s810363usUT_vis.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  u (0)  , b (0)  , v (0)  , white (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     4.02   15315.3  14373.1  -3904.6    0.0000   0.0300 99.00 99.00   15315.3    0.0000   0.0300 99.00 99.00 22.83
  1    0.173   36602.6   7963.0  -1819.2    0.0000   0.0607 99.00 99.00   16191.8    0.0000   0.0278 99.00 99.00 22.91
The data range from T+11410.7 s (0.13 d) to T+44565.6 s (0.52 d)
Wrote uvot_fluxes_wtd_250115d10h15m08s810363usUT.qdp
Wrote uvot_fluxes_wtd_250115d10h15m08s810363usUT.gif
Wrote uvot_fluxes_wtd_250115d10h15m08s810363usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem