# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 251019d06h29m37s716244usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021861002 -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
# ========= GRB251013D ===================
Could not find/read custom source region custom_021861_src.reg
Used archived uvot source position of 46.96971 8.81595 3.00
Reference: GCN_Circ_42299
The position is (03:07:52.73, +08:48:57.4)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl uvot
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(46.96971,8.81595,3") # color=red dash=0
Source region spec. is: 46.96971 8.81595 3"
Region file centered at (46.96971,8.81595), which is (03:07:52.73, +08:48:57.4)
Could not find/read custom background region custom_021861_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.
Subtract UTCF of -36.48396 from uncorrected trigger time of 781985820.39 in BAT summary file
# ============ Reading file sw00021861001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 782143301
The processing date in extension 0 is: 2025-10-15T00:59:32
The trigger time is: 781985856.87396. 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 4:
# 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(46.96971,8.81595,25")
fk5;-circle(46.96971,8.81595,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 wh782143300I  157444.0  0.96  196.6  460.5 112  21347  5860  0.307 0.127 21.40 20.5  0.3070 0.1267 21.40 20.5   197 56.843 23.456 15.90 0.003 
   2 wh782143504I  157647.8  0.96 1426.3 3648.2 116 148260  5838  0.566 0.049 20.73 20.5  0.5347 0.0458 20.80 20.5  1623 99.450  8.513 15.30 0.003 
   3 wh782148874I  163017.2  0.96  197.6  520.6 112  21101  5844  0.677 0.134 20.54 20.0  0.5501 0.0433 20.76 20.5  1821 102.588  8.081 15.26 0.003 
   4 wh782149078I  163221.3  0.96 1560.7 3765.2 112 162509  5849  0.481 0.046 20.91 20.6  0.5183 0.0314 20.83 20.6  3381 98.121  5.946 15.31 0.003 
   5 wh782154464I  168607.8  0.96  197.6  505.1 112  21360  5847  0.560 0.132 20.75 20.2  0.5206 0.0306 20.82 20.6  3579 98.756  5.799 15.30 0.002 
   6 wh782154669I  168812.2  0.96 1225.4 2810.9 104 128031  5868  0.509 0.050 20.85 20.6  0.5177 0.0261 20.83 20.7  4804 99.433  5.015 15.30 0.003 
    Sum (T+157444 to 170057):           11710.6       9548.4 (est. in src region)   SNR_unwtd_sum:  19.83 0.9987 signif. UL:  20.68
  0  4804 782149470  163613.1   6444.1  -6169.1    0.5177   0.0261 20.830  0.056  -0.054
Total wtd_rate (for all exposures so far): 99.433 +/- 4.977 snr: 20.0 mag: 15.30 UL: 14.97
# ============ Reading file sw00021861002uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 782395027
The processing date in extension 0 is:  2025-10-19T06:19:32
The trigger time is: 781985856.87396. 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 16:
# 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(46.96971,8.81595,25")
fk5;-circle(46.96971,8.81595,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 wh782395026I  409169.6  0.96   17.5   46.3 108   1818  5847  0.840 0.451 20.30 19.3  0.8402 0.4512 20.30 19.3    17 403.994 216.931 13.77 0.001 
   2 wh782395046I  409189.9  0.97  174.0  386.4 104  17850  5834  0.449 0.130 20.98 20.3  0.4850 0.1255 20.90 20.3   191 232.432 60.312 14.37 0.001 
   3 wh782395226I  409369.9  0.96   33.6   92.4 116   3475  5875  0.815 0.332 20.34 19.5  0.5340 0.1177 20.80 20.2   225 254.007 56.451 14.28 0.001 
   4 wh782446129I  460272.9  0.96   70.6  181.2 104   7334  5888  0.843 0.221 20.30 19.7  0.6075 0.1040 20.66 20.2   296 294.342 51.107 14.12 0.001 
   5 wh782446204I  460347.8  0.96  708.4 1834.2 112  77264  5855  0.580 0.070 20.71 20.4  0.5881 0.0583 20.69 20.4  1004 306.877 30.522 14.07 0.001 
   6 wh782446928I  461071.6  0.95   51.6  139.6 108   6902  5844  0.271 0.269 21.53 20.0  0.5728 0.0570 20.72 20.4  1056 300.964 29.883 14.09 0.001 
   7 wh782456132I  470276.0  0.96   77.5  218.4 120   8520  5905  0.674 0.222 20.54 19.8  0.5797 0.0552 20.71 20.4  1133 305.025 29.033 14.08 0.001 
   8 wh782456214I  470357.5  0.96  779.3 1926.6 116  82150  5876  0.450 0.065 20.98 20.6  0.5267 0.0422 20.81 20.6  1913 283.627 22.638 14.16 0.001 
   9 wh782457010I  471153.5  0.96   49.7  122.1 120   5144  5891  0.401 0.258 21.11 19.9  0.5235 0.0416 20.82 20.6  1962 282.182 22.360 14.16 0.001 
  10 wh782461809I  475952.4  0.96   86.4  207.6 112   9535  5855  0.337 0.194 21.30 20.2  0.5157 0.0407 20.83 20.6  2049 278.624 21.903 14.18 0.001 
  11 wh782461899I  476043.0  0.96  862.0 2195.0 116  92261  5858  0.491 0.063 20.89 20.5  0.5085 0.0342 20.85 20.6  2911 277.678 18.616 14.18 0.001 
  12 wh782462780I  476923.5  0.96   40.0   96.4 112   4233  5898  0.462 0.285 20.95 19.8  0.5079 0.0340 20.85 20.7  2951 277.428 18.490 14.18 0.001 
  13 wh782474488I  488631.6  0.96   15.5   33.0 104   1623  5840  0.307 0.430 21.40 19.6  0.5068 0.0338 20.85 20.7  2966 276.896 18.439 14.18 0.001 
  14 wh782474506I  488649.9  0.96   72.9  180.4 116   7723  5869  0.438 0.214 21.01 20.0  0.5052 0.0334 20.86 20.7  3039 276.350 18.235 14.19 0.001 
  15 wh782478629I  492772.6  0.96   92.4  220.7 116   9771  5852  0.336 0.186 21.30 20.2  0.5002 0.0329 20.87 20.7  3131 274.218 17.981 14.20 0.001 
  16 wh782478726I  492869.2  0.96  926.9 2218.4 112  96668  5862  0.461 0.059 20.96 20.6  0.4912 0.0287 20.89 20.7  4058 272.716 15.910 14.20 0.001 
  17 wh782479672I  493815.9  0.97   67.2  156.3 108   7048  5830  0.439 0.215 21.01 20.0  0.4904 0.0285 20.89 20.7  4125 272.434 15.782 14.20 0.001 
    Sum (T+409170 to 493884):           10255.0       8497.7 (est. in src region)   SNR_unwtd_sum:  17.21 0.9987 signif. UL:  20.71
  0  4125 782458925  473067.8  20816.3 -63898.1    0.4904   0.0285 20.889  0.064  -0.062
Total wtd_rate (for all exposures so far): 115.108 +/- 4.743 snr: 24.3 mag: 15.14 UL: 14.84
Rebinned Data for sw00021861002uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 4.63e+03  163610.1   6447.2  -6166.0    0.5177   0.0261 20.83  0.05  163610.1    0.5177   0.0261 20.83  0.05 20.68
  1 2.92e+03  465815.0  22909.0 -56645.4    0.5052   0.0334 20.86  0.07  280620.1    0.5129   0.0206 20.84  0.04 20.72
  2 1.05e+03  493327.4    556.7   -554.8    0.4490   0.0543 20.98  0.12  306520.5    0.5051   0.0192 20.86  0.04 20.74
The data range from T+157444.0 s (1.82 d) to T+493884.1 s (5.72 d)
Wrote uvot_fluxes_251019d06h29m37s716244usUT.qdp
Wrote uvot_fluxes_251019d06h29m37s716244usUT.gif
Wrote uvot_fluxes_251019d06h29m37s716244usUT.ps
Wrote uvot_fluxes_251019d06h29m37s716244usUT_vis.qdp
Wrote uvot_fluxes_251019d06h29m37s716244usUT_uv.qdp
Wrote uvot_fluxes_251019d06h29m37s716244usUT_vis.gif
Wrote uvot_fluxes_251019d06h29m37s716244usUT_vis.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  v (0)  , u (0)  , white (0)  , b (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.00155  157543.9     99.9    -99.9    0.3608   0.1489 21.40  0.38  157543.9    0.3608   0.1489 21.40  0.38 20.52
  1   0.0323  163806.3   6251.0  -6158.5    0.6178   0.0313 20.81  0.05  163520.1    0.6065   0.0307 20.83  0.05 20.68
  2  0.00256  463879.6  24844.4 -54709.9    0.5919   0.0393 20.86  0.07  184662.3    0.6039   0.0262 20.84  0.05 20.70
  3 0.000857  493328.2    555.9   -555.5    0.5276   0.0639 20.98  0.12  191763.7    0.5994   0.0249 20.85  0.04 20.72
The data range from T+157444.0 s (1.82 d) to T+493884.1 s (5.72 d)
Wrote uvot_fluxes_wtd_251019d06h29m37s716244usUT.qdp
Wrote uvot_fluxes_wtd_251019d06h29m37s716244usUT.gif
Wrote uvot_fluxes_wtd_251019d06h29m37s716244usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem