# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 250813d07h17m55s266825usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021856001 -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_021856_src.reg
Used archived XRT position of 32.80721 -43.16381 4.00
Reference: GRB_Auto_Processing-Wed,_13_Aug_2025_02:28:30_+0100
The position is (02:11:13.73, -43:09:49.7)
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(32.80721,-43.16381,4") # color=red dash=0
Source region spec. is: 32.80721 -43.16381 4"
Region file centered at (32.80721,-43.16381), which is (02:11:13.73, -43:09:49.7)
Could not find/read custom background region custom_021856_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 00021856
# ============ Reading file sw00021856001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 776733685
The processing date in extension 0 is: 2025-08-13T07:07:43
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.035 based on aperture of 4.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(32.80721,-43.16381,25")
fk5;-circle(32.80721,-43.16381,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 wh776733684I 776733684.6  0.95  310.8 1749.1 196  39706  5894  1.503 0.148 19.67 19.4  1.5027 0.1484 19.67 19.4   311 1371534.278 135454.564  4.95 0.000 
   2 wh776750353I 776750353.2  0.96  384.6 1757.5 204  42294  5879  0.813 0.119 20.34 19.9  1.1193 0.0935 19.99 19.7   695 1003461.449 84926.199  5.29 0.000 
    Sum (T+776733685 to 776750744):            3506.6       2788.0 (est. in src region)   SNR_unwtd_sum:  11.97 0.9987 signif. UL:  19.75
  0   695 776743082 776743082.4   7661.6  -9397.8    1.1193   0.0935 19.992  0.095  -0.087
Total wtd_rate (for all exposures so far): 1003461.449 +/-83791.355 snr: 12.0 mag:  5.29 UL:  4.87
Rebinned Data for sw00021856001uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      664 776743124.5   7619.5  -9440.0    1.1193   0.0935 19.99  0.09 776743124.5    1.1193   0.0935 19.99  0.09 19.75
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00021856001uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.230 at 776734006
The processing date in extension 0 is:  2025-08-13T07:07:44
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 17.660 for filter V
Use aperture correction of  1.030 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(32.80721,-43.16381,25")
fk5;-circle(32.80721,-43.16381,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 vv776734006I 776734006.4  0.98  250.3  504.5 196  13140  5862  0.273 0.096 19.07 18.3  0.2732 0.0955 19.07 18.3   250 2391248.375 836109.277  4.34 0.000 
   2 vv776750750I 776750750.4  0.99  174.6  201.0 200   5679  5861  0.043 0.086 21.08 18.9  0.1781 0.0664 19.53 18.7   425 1325752.480 559855.182  4.98 0.000 
    Sum (T+776734006 to 776750928):             705.5        633.1 (est. in src region)   SNR_unwtd_sum:   2.68 0.9987 signif. UL:  18.72
  0   425 776740998 776740997.6   9930.2  -6991.2    0.1781   0.0664 19.534  0.506  -0.344
Total wtd_rate (for all exposures so far): 1005241.669 +/-82483.153 snr: 12.2 mag:  5.28 UL:  2.42
Rebinned Data for sw00021856001uvv_sk.img using a zero point of 17.660:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      418 776741029.1   9898.7  -7022.7    0.1781   0.0664 19.53  0.34 776741029.1    0.1781   0.0664 19.53  0.34 18.72
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00021856001uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.246 at 776733363
The processing date in extension 0 is:  2025-08-13T07:07:42
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 18.094 for filter U
Use aperture correction of  1.032 based on aperture of  4.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(32.80721,-43.16381,25")
fk5;-circle(32.80721,-43.16381,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 uu776733363I 776733363.3  0.99  310.8  247.2 200   3840  5857  0.388 0.053 19.12 18.7  0.3879 0.0530 19.12 18.7   311 2277297.218 311194.855  4.40 0.000 
   2 uu776749955I 776749955.2  1.00  384.6  190.6 200   3423  5848  0.198 0.038 19.85 19.4  0.2828 0.0315 19.46 19.2   695 1572419.335 180441.216  4.80 0.000 
    Sum (T+776733363 to 776750346):             437.8        248.2 (est. in src region)   SNR_unwtd_sum:   8.98 0.9987 signif. UL:  19.15
  0   695 776742718 776742718.4   7627.6  -9355.1    0.2828   0.0315 19.465  0.128  -0.115
Total wtd_rate (for all exposures so far): 1136016.158 +/-75693.707 snr: 15.0 mag:  5.15 UL:  2.76
Rebinned Data for sw00021856001uuu_sk.img using a zero point of 18.094:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      692 776742726.6   7619.4  -9363.4    0.2828   0.0315 19.46  0.11 776742726.6    0.2828   0.0315 19.46  0.11 19.15
The data range from T+776733363.3 s (8989.97 d) to T+776750927.8 s (8990.17 d)
Wrote uvot_fluxes_250813d07h17m55s266825usUT.qdp
Wrote uvot_fluxes_250813d07h17m55s266825usUT.gif
Wrote uvot_fluxes_250813d07h17m55s266825usUT.ps
Wrote uvot_fluxes_250813d07h17m55s266825usUT_vis.qdp
Wrote uvot_fluxes_250813d07h17m55s266825usUT_uv.qdp
Wrote uvot_fluxes_250813d07h17m55s266825usUT_vis.gif
Wrote uvot_fluxes_250813d07h17m55s266825usUT_vis.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  b (0)  , v (0)  , white (0)  , u (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 1.37e-12 776733521.1    157.9   -157.9    2.9319   0.4006 19.12  0.14 776733521.1    2.9319   0.4006 19.12  0.14 18.75
  1 4.92e-11 776734743.3  15602.7  -1058.7    1.7543   0.1651 19.68  0.10 776734710.3    1.7861   0.1610 19.66  0.09 19.40
  2  7.2e-11 776750549.2    378.6   -196.0    0.9539   0.1398 20.34  0.15 776744014.7    1.2972   0.1056 20.01  0.09 19.77
The data range from T+776733363.3 s (8989.97 d) to T+776750927.8 s (8990.17 d)
Wrote uvot_fluxes_wtd_250813d07h17m55s266825usUT.qdp
Wrote uvot_fluxes_wtd_250813d07h17m55s266825usUT.gif
Wrote uvot_fluxes_wtd_250813d07h17m55s266825usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem