# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 250108d01h47m49s970507usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021754001 -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
# ========= GRB250107A ===================
Could not find/read custom source region custom_021754_src.reg
Used archived BAT position of 302.52000 45.56400
Reference: GCN_Circ-38840
The position is (20:10:04.80, +45:33:50.4)
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(302.52,45.564,3") # color=red dash=0
Source region spec. is: 302.52 45.564 3"
Region file centered at (302.52,45.564), which is (20:10:04.80, +45:33:50.4)
Could not find/read custom background region custom_021754_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 6400.0,
3 sigma should become about 5.2 sigma and 2 sigma should become about 4.6 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999980.
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 302.52 45.564:
ra: 302.5147 dec: 45.5666 mag: 11.01
Subtract UTCF of -34.82974 from uncorrected trigger time of 757832550.29 in BAT summary file
# ============ Reading file sw00021754001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 757958075
The processing date in extension 0 is: 2025-01-08T01:39:32
The trigger time is: 757832585.11974. 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(302.52,45.564,25")
fk5;-circle(302.52,45.564,12.5")
fk5;-circle(302.526872,45.561612,6")
fk5;-circle(302.529892,45.566828,6")
fk5;-circle(302.5147258,45.5665850,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 wh757958074I  125489.8  0.93  191.2  931.4 112  16220  2372  0.000 0.176 99.00 20.2  0.0000 0.1759 99.00 20.2   191  0.000 25.964 99.00 0.002 
   2 wh757958284I  125699.7  0.94  785.7 3613.7 116  58515  2368  0.000 0.082 99.00 21.0  0.0000 0.0745 99.00 21.1   977  0.000 11.045 99.00 0.002 
   3 wh757964453I  131868.8  0.94  140.5  606.5 104  10820  2332  0.000 0.188 99.00 20.1  0.0000 0.0693 99.00 21.2  1117  0.000 10.330 99.00 0.002 
   4 wh757964599I  132014.5  0.94  454.5 2003.8 112  32681  2360  0.000 0.104 99.00 20.8  0.0000 0.0578 99.00 21.4  1572  0.000  8.714 99.00 0.002 
   5 wh757970285I  137700.5  0.94  124.8  523.8 104   8830  2372  0.000 0.189 99.00 20.1  0.0000 0.0553 99.00 21.5  1697  0.000  8.381 99.00 0.002 
   6 wh757970415I  137830.3  0.94  470.3 2255.2 108  35959  2336  0.000 0.105 99.00 20.8  0.0000 0.0489 99.00 21.6  2167  0.000  7.519 99.00 0.002 
   7 wh757975055I  142469.9  0.93  177.7  957.0 116  15847  2356  0.000 0.192 99.00 20.1  0.0000 0.0475 99.00 21.6  2345  0.000  7.322 99.00 0.002 
   8 wh757975258I  142673.6  0.93  246.8 1184.4 116  19920  2364  0.000 0.154 99.00 20.4  0.0000 0.0454 99.00 21.7  2592  0.000  7.045 99.00 0.002 
   9 wh757980688I  148103.1  0.93  178.9  969.3 116  15611  2368  0.000 0.189 99.00 20.1  0.0000 0.0442 99.00 21.7  2770  0.000  6.888 99.00 0.002 
  10 wh757980893I  148308.0  0.93  225.1  986.1 108  18951  2368  0.000 0.159 99.00 20.3  0.0000 0.0425 99.00 21.8  2996  0.000  6.684 99.00 0.002 
    Sum (T+125490 to 148769):           11102.2      11102.2 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999796875 signif. UL:  21.75
  0  2996 757967712  135126.8  13641.8  -9637.0    0.0000   0.0425 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 6.531 snr:  0.0 mag: 99.00 UL: 16.29
Rebinned Data for sw00021754001uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.81e+03  135101.1  13667.5  -9611.3    0.0000   0.0425 99.00 99.00  135101.1    0.0000   0.0425 99.00 99.00 22.27
The data range from T+125489.8 s (1.45 d) to T+148768.6 s (1.72 d)
Wrote uvot_fluxes_250108d01h47m49s970507usUT.qdp
Wrote uvot_fluxes_250108d01h47m49s970507usUT.gif
Wrote uvot_fluxes_250108d01h47m49s970507usUT.ps
Wrote uvot_fluxes_250108d01h47m49s970507usUT_vis.qdp
Wrote uvot_fluxes_250108d01h47m49s970507usUT_uv.qdp
Wrote uvot_fluxes_250108d01h47m49s970507usUT_vis.gif
Wrote uvot_fluxes_250108d01h47m49s970507usUT_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    0.019  134006.7  14761.8  -8516.9    0.0000   0.0499 99.00 99.00  134006.7    0.0000   0.0499 99.00 99.00 22.28
The data range from T+125489.8 s (1.45 d) to T+148768.6 s (1.72 d)
Wrote uvot_fluxes_wtd_250108d01h47m49s970507usUT.qdp
Wrote uvot_fluxes_wtd_250108d01h47m49s970507usUT.gif
Wrote uvot_fluxes_wtd_250108d01h47m49s970507usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem