# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 251027d22h23m52s849012usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021872001 -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_021872_src.reg
Used archived BAT position of 133.22800 -6.25800
Reference: GCN_FOM_Notice_Mon_27_Oct_25_15:40:32_UT
The position is (08:52:54.72, -06:15:28.8)
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(133.228,-6.258,3") # color=red dash=0
Source region spec. is: 133.228 -6.258 3"
Region file centered at (133.228,-6.258), which is (08:52:54.72, -06:15:28.8)
Could not find/read custom background region custom_021872_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 1 bright star(s) within 50.0 arcsec of 133.228 -6.258:
ra: 133.2291 dec: -6.2585 mag: 11.97
Failed to find trigger time in BAT summary file for trigger 00021872
# ============ Reading file sw00021872001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 783273423
The processing date in extension 0 is: 2025-10-27T22:16:47
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(133.228,-6.258,25")
fk5;-circle(133.228,-6.258,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 wh783273422I 783273422.7  0.96  769.5 3957.6 112  86030  5868  0.000 0.061 99.00 21.4  0.0000 0.0612 99.00 21.4   769  0.000 56302.847 99.00 0.000 
    Sum (T+783273423 to 783274204):            1642.0       1642.0 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  21.38
  0   769 783273814 783273813.6    390.9   -390.9    0.0000   0.0612 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-55773.104 snr:  0.0 mag: 99.00 UL:  6.48
Rebinned Data for sw00021872001uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      741 783273813.6    390.9   -390.9    0.0000   0.0612 99.00 99.00 783273813.6    0.0000   0.0612 99.00 99.00 21.88
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00021872001uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.230 at 783274213
The processing date in extension 0 is:  2025-10-27T22:16:47
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.087 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(133.228,-6.258,25")
fk5;-circle(133.228,-6.258,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 vv783274212I 783274212.6  0.99  119.2  178.3 112   3575  5836  0.000 0.077 99.00 18.7  0.0000 0.0770 99.00 18.7   119  0.000 680454.854 99.00 0.000 
    Sum (T+783274213 to 783274334):              68.6         68.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  18.68
  0   119 783274273 783274273.2     60.6    -60.6    0.0000   0.0770 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-54575.343 snr:  0.0 mag: 99.00 UL:  4.05
Rebinned Data for sw00021872001uvv_sk.img using a zero point of 17.660:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      118 783274273.2     60.6    -60.6    0.0000   0.0770 99.00 99.00 783274273.2    0.0000   0.0770 99.00 99.00 19.18
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00021872001uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.249 at 783272634
The processing date in extension 0 is:  2025-10-27T22:16:46
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 18.091 for filter U
Use aperture correction of  1.100 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(133.228,-6.258,25")
fk5;-circle(133.228,-6.258,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 uu783272634I 783272634.2  0.99  769.4  645.5 112  13232  5868  0.000 0.023 99.00 20.4  0.0000 0.0231 99.00 20.4   769  0.000 136832.549 99.00 0.000 
   2 uu783278336I 783278336.3  0.99  294.7  235.8 116   4866  5876  0.000 0.037 99.00 19.9  0.0000 0.0196 99.00 20.6  1064  0.000 116244.149 99.00 0.000 
    Sum (T+783272634 to 783278636):             348.6        348.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  20.59
  0  1064 783274537 783274537.4   4098.3  -1903.2    0.0000   0.0196 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-49762.122 snr:  0.0 mag: 99.00 UL:  4.58
Rebinned Data for sw00021872001uuu_sk.img using a zero point of 18.091:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.06e+03 783274537.7   4098.0  -1903.5    0.0000   0.0196 99.00 99.00 783274537.7    0.0000   0.0196 99.00 99.00 21.09
The data range from T+783272634.2 s (9065.66 d) to T+783278635.7 s (9065.72 d)
Wrote uvot_fluxes_251027d22h23m52s849012usUT.qdp
Wrote uvot_fluxes_251027d22h23m52s849012usUT.gif
Wrote uvot_fluxes_251027d22h23m52s849012usUT.ps
Wrote uvot_fluxes_251027d22h23m52s849012usUT_vis.qdp
Wrote uvot_fluxes_251027d22h23m52s849012usUT_uv.qdp
Wrote uvot_fluxes_251027d22h23m52s849012usUT_vis.gif
Wrote uvot_fluxes_251027d22h23m52s849012usUT_vis.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  b (0)  , u (0)  , white (0)  , v (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.78e-10 783273839.6   4796.1  -1205.3    0.0000   0.0695 99.00 99.00 783273839.6    0.0000   0.0695 99.00 99.00 21.92
The data range from T+783272634.2 s (9065.66 d) to T+783278635.7 s (9065.72 d)
Wrote uvot_fluxes_wtd_251027d22h23m52s849012usUT.qdp
Wrote uvot_fluxes_wtd_251027d22h23m52s849012usUT.gif
Wrote uvot_fluxes_wtd_251027d22h23m52s849012usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem