# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 260126d11h30m56s219134usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021899001 -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
# ========= unknown GRB ===================
Could not find/read custom source region custom_021899_src.reg
Used archived BAT position of 151.57000 -6.57600
Reference: GCN_FOM_Notice_Mon_26_Jan_26_03:12:33_UT
The position is (10:06:16.80, -06:34:33.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(151.570,-6.576,3") # color=red dash=0
Source region spec. is: 151.570 -6.576 3"
Region file centered at (151.570,-6.576), which is (10:06:16.80, -06:34:33.6)
Could not find/read custom background region custom_021899_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 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.
Found 2 bright star(s) within 50.0 arcsec of 151.570 -6.576:
ra: 151.5714 dec: -6.5744 mag: 11.28
ra: 151.5717 dec: -6.5744 mag: 11.26
Failed to find trigger time in BAT summary file for trigger 00021899
# ============ Reading file sw00021899001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 791084729
The processing date in extension 0 is: 2026-01-26T11:21:16
The trigger time is: 0. The reference is trigger time unknown
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 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(151.570,-6.576,25")
fk5;-circle(151.570,-6.576,12.5")
fk5;-circle(151.5714083,-6.5744500,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 wh791084728I 791084728.6  0.97  353.1 2794.3 116   7443  1480  0.000 0.081 99.00 21.1  0.0000 0.0809 99.00 21.1   353  0.000 75239.878 99.00 0.000 
   2 wh791090397I 791090397.8  0.97  294.1 2197.2 104   6959  1456  0.000 0.090 99.00 21.0  0.0000 0.0601 99.00 21.4   647  0.000 55843.974 99.00 0.000 
    Sum (T+791084729 to 791090697):            1080.4       1080.4 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  21.40
  0   647 791087470 791087470.4   3226.2  -2741.8    0.0000   0.0601 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-53853.995 snr:  0.0 mag: 99.00 UL:  6.52
Rebinned Data for sw00021899001uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      628 791087467.0   3229.6  -2738.4    0.0000   0.0601 99.00 99.00 791087467.0    0.0000   0.0601 99.00 99.00 21.90
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00021899001uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.231 at 791085094
The processing date in extension 0 is:  2026-01-26T11:21:17
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 17.659 for filter V
Use aperture correction of  1.087 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(151.570,-6.576,25")
fk5;-circle(151.570,-6.576,12.5")
fk5;-circle(151.5714083,-6.5744500,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 vv791085093I 791085093.5  0.99  168.6  265.1 120    888  1504  0.000 0.057 99.00 19.0  0.0000 0.0568 99.00 19.0   169  0.000 506983.853 99.00 0.000 
   2 vv791090702I 791090702.7  0.99  234.4  317.9 108   1298  1476  0.000 0.047 99.00 19.2  0.0000 0.0363 99.00 19.5   403  0.000 323906.156 99.00 0.000 
    Sum (T+791085094 to 791090941):             165.9        165.9 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  19.49
  0   403 791088461 791088460.9   2480.0  -3367.3    0.0000   0.0363 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-52129.170 snr:  0.0 mag: 99.00 UL:  4.10
Rebinned Data for sw00021899001uvv_sk.img using a zero point of 17.659:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      400 791088460.7   2480.1  -3367.2    0.0000   0.0363 99.00 99.00 791088460.7    0.0000   0.0363 99.00 99.00 19.99
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00021899001uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.252 at 791084364
The processing date in extension 0 is:  2026-01-26T11:21:16
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 18.088 for filter U
Use aperture correction of  1.100 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(151.570,-6.576,25")
fk5;-circle(151.570,-6.576,12.5")
fk5;-circle(151.5714083,-6.5744500,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 uu791084364I 791084364.1  1.00  353.1  758.6 108   1221  1472  0.000 0.031 99.00 20.1  0.0000 0.0307 99.00 20.1   353  0.000 184292.649 99.00 0.000 
   2 uu791090093I 791090093.1  1.00  294.0  634.2 116   1028  1484  0.000 0.035 99.00 20.0  0.0000 0.0231 99.00 20.4   647  0.000 138578.890 99.00 0.000 
   3 uu791094180I 791094180.7  0.99  291.5  571.1 108   1254  1508  0.000 0.037 99.00 19.9  0.0000 0.0197 99.00 20.6   939  0.000 117800.972 99.00 0.000 
   4 uu791099791I 791099791.1  0.99  619.6 1270.1 112   2386  1496  0.000 0.025 99.00 20.3  0.0000 0.0154 99.00 20.9  1558  0.000 92301.433 99.00 0.000 
   5 uu791105313I 791105313.3  0.99  365.7  829.8 116   1489  1496  0.000 0.034 99.00 20.0  0.0000 0.0140 99.00 21.0  1924  0.000 83997.482 99.00 0.000 
    Sum (T+791084364 to 791105685):             553.8        553.8 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  20.95
  0  1924 791095892 791095891.9   9793.0 -11527.8    0.0000   0.0140 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-44180.322 snr:  0.0 mag: 99.00 UL:  4.71
Rebinned Data for sw00021899001uuu_sk.img using a zero point of 18.088:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.91e+03 791095889.6   9795.2 -11525.5    0.0000   0.0140 99.00 99.00 791095889.6    0.0000   0.0140 99.00 99.00 21.45
The data range from T+791084364.1 s (9156.07 d) to T+791105684.9 s (9156.32 d)
Wrote uvot_fluxes_260126d11h30m56s219134usUT.qdp
Wrote uvot_fluxes_260126d11h30m56s219134usUT.gif
Wrote uvot_fluxes_260126d11h30m56s219134usUT.ps
Wrote uvot_fluxes_260126d11h30m56s219134usUT_vis.qdp
Wrote uvot_fluxes_260126d11h30m56s219134usUT_uv.qdp
Wrote uvot_fluxes_260126d11h30m56s219134usUT_vis.gif
Wrote uvot_fluxes_260126d11h30m56s219134usUT_vis.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  u (0)  , v (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 2.92e-10 791087952.3  17732.6  -3588.2    0.0000   0.0662 99.00 99.00 791087952.3    0.0000   0.0662 99.00 99.00 21.97
The data range from T+791084364.1 s (9156.07 d) to T+791105684.9 s (9156.32 d)
Wrote uvot_fluxes_wtd_260126d11h30m56s219134usUT.qdp
Wrote uvot_fluxes_wtd_260126d11h30m56s219134usUT.gif
Wrote uvot_fluxes_wtd_260126d11h30m56s219134usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem