# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 261013d10h05m38s137347usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021917002 -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_021917_src.reg
Used archived XRT position of 11.61404 -17.69197 4.00
Reference: GCN_Circulars-45850-Thu,_8_Oct_2026_07:22:32_+0000
The position is (00:46:27.37, -17:41:31.1)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl xrt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(11.61404,-17.69197,4") # color=red dash=0
Source region spec. is: 11.61404 -17.69197 4"
Region file centered at (11.61404,-17.69197), which is (00:46:27.37, -17:41:31.1)
Could not find/read custom background region custom_021917_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.
Failed to find trigger time in BAT summary file for trigger 00021917
# ============ Reading file sw00021917001uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.260 at 813082870
The processing date in extension 0 is: 2026-10-07T20:25:39
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 18.080 for filter U
Use aperture correction of 1.032 based on aperture of 4.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(11.61404,-17.69197,25")
fk5;-circle(11.61404,-17.69197,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 uu813082869I 813082869.8  0.99 1231.3  746.9 200  17816  5837  0.115 0.023 20.43 19.9  0.1150 0.0234 20.43 19.9  1231 715876.580 145414.354  5.65 0.000 
   2 uu813087644I 813087644.5  0.99  655.1  459.0 196  11674  5828  0.105 0.034 20.52 19.8  0.1116 0.0194 20.46 20.0  1886 697664.881 120396.504  5.68 0.000 
    Sum (T+813082870 to 813088310):            1206.0       1003.1 (est. in src region)   SNR_unwtd_sum:   5.76 0.9987 signif. UL:  20.00
  0  1886 813085052 813085051.8   3258.3  -2182.0    0.1116   0.0194 20.460  0.207  -0.174
Total wtd_rate (for all exposures so far): 697664.881 +/-118732.251 snr:  5.9 mag:  5.68 UL:  3.02
# ============ Reading file sw00021917002uuu_sk.img ================
Use keyword TRIGTIME of 813044561.603 for trigger time.
Long-term sensitivity correction to zero point is -0.261 at 813494583
The processing date in extension 0 is:  2026-10-13T09:56:03
The trigger time is: 813044561.603. The reference is keyword in image file
Using zero point of 18.079 for filter U
Use aperture correction of  1.032 based on aperture of  4.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(11.61404,-17.69197,25")
fk5;-circle(11.61404,-17.69197,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 uu813494583I  450021.4  0.99 1592.3  922.0 200  25950  5829  0.021 0.020 22.30 20.8  0.0206 0.0201 22.30 20.8  1592 71.005 69.447 15.66 0.001 
   2 uu813499983I  455421.9  0.99 1592.0  864.0 192  25737  5832  0.011 0.019 22.98 20.9  0.0157 0.0140 22.59 21.2  3184 54.342 48.587 15.95 0.001 
   3 uu813505405I  460843.7  0.99 1157.2  677.0 200  19776  5852  0.001 0.024 25.66 20.9  0.0118 0.0121 22.90 21.4  4341 41.740 42.043 16.24 0.001 
    Sum (T+450021 to 462019):            2463.0       2413.7 (est. in src region)   SNR_unwtd_sum:   0.98 0.9987 signif. UL:  21.36
  0  4341 813500198  455636.2   6383.2  -5614.8    0.0118   0.0121 22.901 76.099  -0.765
Total wtd_rate (for all exposures so far): 41.840 +/-41.365 snr:  1.0 mag: 16.24 UL: 12.51
Rebinned Data for sw00021917002uuu_sk.img using a zero point of 18.079:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 4.32e+03  455636.1   6383.3  -5614.7    0.0118   0.0121 22.90  0.77  455636.1    0.0118   0.0121 22.90  0.77 21.36
  1 1.88e+03 813085050.8   3259.2  -2181.0    0.1116   0.0194 20.46  0.17 246508855.9    0.0420   0.0102 21.52  0.24 20.92
The data range from T+450021.4 s (5.21 d) to T+813088310.1 s (9410.74 d)
Wrote uvot_fluxes_261013d10h05m38s137347usUT.qdp
Wrote uvot_fluxes_261013d10h05m38s137347usUT.gif
Wrote uvot_fluxes_261013d10h05m38s137347usUT.ps
Wrote uvot_fluxes_261013d10h05m38s137347usUT_vis.qdp
Wrote uvot_fluxes_261013d10h05m38s137347usUT_uv.qdp
Wrote uvot_fluxes_261013d10h05m38s137347usUT_vis.gif
Wrote uvot_fluxes_261013d10h05m38s137347usUT_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 7.39e-05  455558.8   6460.5  -5537.4    0.0909   0.0923 22.89  0.76  455558.8    0.0909   0.0923 22.89  0.76 21.36
  1 9.01e-12 813084906.1   3403.9  -2036.3    0.8573   0.1480 20.46  0.17  455658.0    0.0911   0.0923 22.89  0.76 21.36
The data range from T+450021.4 s (5.21 d) to T+813088310.1 s (9410.74 d)
Wrote uvot_fluxes_wtd_261013d10h05m38s137347usUT.qdp
Wrote uvot_fluxes_wtd_261013d10h05m38s137347usUT.gif
Wrote uvot_fluxes_wtd_261013d10h05m38s137347usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem