# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 250401d03h13m23s681863usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021825002 -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_021825_src.reg
Used archived BAT position of 48.52500 62.30600
Reference: GCN_FOM_Notice_Mon_31_Mar_25_18:22:36_UT
The position is (03:14:06.00, +62:18:21.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(48.525,+62.306,3") # color=red dash=0
Source region spec. is: 48.525 +62.306 3"
Region file centered at (48.525,+62.306), which is (03:14:06.00, +62:18:21.6)
Could not find/read custom background region custom_021825_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.
Subtract UTCF of -35.33536 from uncorrected trigger time of 765006557 in BAT summary file
# ============ Reading file sw00021825001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 765138308
The processing date in extension 0 is: 2025-03-31T23:18:40
The trigger time is: 765006592.33536. The reference is BAT GRB summary file
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 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(48.525,+62.306,25")
fk5;-circle(48.525,+62.306,12.5")
fk5;-circle(48.536107,62.300424,6")
fk5;-circle(48.525577,62.303674,6")
fk5;-circle(48.541710,62.309115,6")
 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 wh765138308I  131715.7  0.90  154.6  900.8 116  44764  5700  0.000 0.242 99.00 19.9  0.0000 0.2419 99.00 19.9   155  0.000 37.461 99.00 0.001 
   2 wh765138497I  131905.6  0.93  801.4 3226.4 108 161337  5632  0.000 0.083 99.00 21.0  0.0000 0.0798 99.00 21.1   956  0.000 12.254 99.00 0.001 
   3 wh765143763I  137171.6  0.89  161.1 1124.1 112  54161  5640  0.000 0.257 99.00 19.8  0.0000 0.0774 99.00 21.1  1117  0.000 11.751 99.00 0.001 
above line uses coinc_corr_src:  0.886 corr_bkg:  0.886
   4 wh765143968I  137376.6  0.93  668.4 2736.7 112 139402  5660  0.000 0.095 99.00 20.9  0.0000 0.0600 99.00 21.4  1786  0.000  9.326 99.00 0.001 
    Sum (T+131716 to 138587):            7838.8       7838.8 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  21.40
  0  1786 765141568  134975.5   3611.9  -3259.7    0.0000   0.0600 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 9.236 snr:  0.0 mag: 99.00 UL: 15.94
# ============ Reading file sw00021825002uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 765155034
The processing date in extension 0 is:  2025-04-01T03:05:12
The trigger time is: 765006592.33536. The reference is BAT GRB summary file
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 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(48.525,+62.306,25")
fk5;-circle(48.525,+62.306,12.5")
fk5;-circle(48.536263,62.300460,6")
fk5;-circle(48.525378,62.303648,6")
fk5;-circle(48.541717,62.309044,6")
 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 wh765155034I  148442.0  0.91  159.6  868.3 104  44591  5648  0.000 0.221 99.00 20.0  0.0000 0.2210 99.00 20.0   160  0.000 38.582 99.00 0.001 
   2 wh765155236I  148643.7  0.93  857.4 3507.1 108 184936  5644  0.000 0.084 99.00 21.0  0.0000 0.0786 99.00 21.1  1017  0.000 13.735 99.00 0.001 
High bkg:   3 wh765160600I  162.3  55020  5632 60.185  0.257
   3 wh765160600I  154007.9  0.89  162.3 1009.5 108  55020  5632  0.000 0.252 99.00 19.8  0.0000 0.0759 99.00 21.1  1179  0.000 13.154 99.00 0.001 
above line uses coinc_corr_src:  0.887 corr_bkg:  0.887
   4 wh765160807I  154215.0  0.89  101.7  650.2 116  31796  5664  0.000 0.314 99.00 19.6  0.0000 0.0741 99.00 21.2  1281  0.000 12.816 99.00 0.001 
above line uses coinc_corr_src:  0.895 corr_bkg:  0.895
    Sum (T+148442 to 154466):            6066.2       6066.2 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  21.17
  0  1281 765156918  150326.1   4140.2  -1884.2    0.0000   0.0741 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 7.469 snr:  0.0 mag: 99.00 UL: 16.16
Rebinned Data for sw00021825002uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.83e+03  141341.8  13124.5  -9626.0    0.0000   0.0467 99.00 99.00  141341.8    0.0000   0.0467 99.00 99.00 22.17
The data range from T+131715.7 s (1.52 d) to T+154466.3 s (1.79 d)
Wrote uvot_fluxes_250401d03h13m23s681863usUT.qdp
Wrote uvot_fluxes_250401d03h13m23s681863usUT.gif
Wrote uvot_fluxes_250401d03h13m23s681863usUT.ps
Wrote uvot_fluxes_250401d03h13m23s681863usUT_vis.qdp
Wrote uvot_fluxes_250401d03h13m23s681863usUT_uv.qdp
Wrote uvot_fluxes_250401d03h13m23s681863usUT_vis.gif
Wrote uvot_fluxes_250401d03h13m23s681863usUT_vis.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  b (0)  , u (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    0.015  140046.4  14419.8  -8330.7    0.0000   0.0538 99.00 99.00  140046.4    0.0000   0.0538 99.00 99.00 22.19
The data range from T+131715.7 s (1.52 d) to T+154466.3 s (1.79 d)
Wrote uvot_fluxes_wtd_250401d03h13m23s681863usUT.qdp
Wrote uvot_fluxes_wtd_250401d03h13m23s681863usUT.gif
Wrote uvot_fluxes_wtd_250401d03h13m23s681863usUT.ps
Found 1 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem