# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 250408d14h49m29s564217usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021826001 -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_021826_src.reg
Used archived XRT position of 110.75875 36.79828 4.00
Reference: GCN_Circulars-40113-Tue,_8_Apr_2025_00:14:53_+0000
The position is (07:23:02.10, +36:47:53.8)
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(110.75875,36.79828,4") # color=red dash=0
Source region spec. is: 110.75875 36.79828 4"
Region file centered at (110.75875,36.79828), which is (07:23:02.10, +36:47:53.8)
Could not find/read custom background region custom_021826_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.
Found 1 bright star(s) within 50.0 arcsec of 110.75875 36.79828:
ra: 110.7731 dec: 36.7939 mag: 10.92
Failed to find trigger time in BAT summary file for trigger 00021826
# ============ Reading file sw00021826001uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.242 at 765752529
The processing date in extension 0 is: 2025-04-08T14:43:39
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 18.098 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(110.75875,36.79828,25")
fk5;-circle(110.75875,36.79828,12.5")
fk5;-circle(110.7731389,36.7938667,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 uu765752529I 765752529.3  0.98  286.8  662.7 200  18726  5515 -0.060 0.096 99.00 19.5 -0.0603 0.0965 99.00 19.5   287 -347781.972 556220.363 99.00 0.000 
   2 uu765769262I 765769262.8  0.98 1362.1 2437.1 204  63114  5514  0.079 0.039 20.86 19.9  0.0547 0.0361 21.25 20.1  1649 349288.312 207134.308  6.43 0.000 
   3 uu765780696I 765780696.5  0.98  163.7  383.0 200  11185  5488 -0.159 0.129 99.00 19.4  0.0355 0.0348 21.72 20.2  1813 265342.969 199561.576  6.73 0.000 
    Sum (T+765752529 to 765780863):            3482.9       3421.6 (est. in src region)   SNR_unwtd_sum:   1.02 0.9987 signif. UL:  20.22
  0  1813 765768198 765768197.9  12664.9 -15668.6    0.0355   0.0348 21.723  4.314  -0.743
Total wtd_rate (for all exposures so far): 265342.969 +/-196078.422 snr:  1.4 mag:  6.73 UL:  3.26
Rebinned Data for sw00021826001uuu_sk.img using a zero point of 18.098:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.78e+03 765768204.8  12658.0 -15675.5    0.0355   0.0348 21.72  0.74 765768204.8    0.0355   0.0348 21.72  0.74 20.22
The data range from T+765752529.3 s (8862.88 d) to T+765780862.8 s (8863.20 d)
Wrote uvot_fluxes_250408d14h49m29s564217usUT.qdp
Wrote uvot_fluxes_250408d14h49m29s564217usUT.gif
Wrote uvot_fluxes_250408d14h49m29s564217usUT.ps
Wrote uvot_fluxes_250408d14h49m29s564217usUT_vis.qdp
Wrote uvot_fluxes_250408d14h49m29s564217usUT_uv.qdp
Wrote uvot_fluxes_250408d14h49m29s564217usUT_vis.gif
Wrote uvot_fluxes_250408d14h49m29s564217usUT_vis.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  v (0)  , b (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 3.34e-12 765768514.8  12348.0 -15985.5    0.3291   0.2605 21.50  0.63 765768514.8    0.3291   0.2605 21.50  0.63 20.16
The data range from T+765752529.3 s (8862.88 d) to T+765780862.8 s (8863.20 d)
Wrote uvot_fluxes_wtd_250408d14h49m29s564217usUT.qdp
Wrote uvot_fluxes_wtd_250408d14h49m29s564217usUT.gif
Wrote uvot_fluxes_wtd_250408d14h49m29s564217usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem