# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 250603d12h52m00s522721usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021843002 -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
# ========= GRB250527C ===================
Could not find/read custom source region custom_021843_src.reg
Used archived BAT position of 319.63300 52.73700
Reference: GCN_Circ-40563
The position is (21:18:31.92, +52:44:13.2)
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(319.633,52.737,3") # color=red dash=0
Source region spec. is: 319.633 52.737 3"
Region file centered at (319.633,52.737), which is (21:18:31.92, +52:44:13.2)
Could not find/read custom background region custom_021843_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 0.1,
3 sigma should become about 2.5 sigma and 2 sigma should become about 1.3 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.98830000.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Subtract UTCF of -35.69828 from uncorrected trigger time of 769960712.41 in BAT summary file
# ============ Reading file sw00021843001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 770143149
The processing date in extension 0 is: 2025-05-28T23:56:29
The trigger time is: 769960748.10828. 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 7:
# 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(319.633,52.737,25")
fk5;-circle(319.633,52.737,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 wh770143149I  182400.9  0.97  120.8  209.1 108  10894  5800  0.000 0.136 99.00 21.3  0.0000 0.1357 99.00 21.3   121  0.000 29.097 99.00 0.003 
   2 wh770143274I  182526.6  0.95 1082.0 2845.9 112 151063  5828  0.000 0.058 99.00 22.2  0.0000 0.0542 99.00 22.3  1203  0.000 11.536 99.00 0.002 
   3 wh770144506I  183758.8  0.91    7.2   39.0 112   1905  5856  0.000 1.022 99.00 19.1  0.0000 0.0542 99.00 22.3  1210  0.000 11.520 99.00 0.002 
   4 wh770147797I  187049.7  0.97  202.5  326.9 112  17235  5824  0.000 0.103 99.00 21.6  0.0000 0.0487 99.00 22.4  1413  0.000 10.277 99.00 0.002 
   5 wh770148006I  187258.5  0.97  752.9 1213.3 104  62333  5804  0.000 0.051 99.00 22.3  0.0000 0.0363 99.00 22.7  2165  0.000  7.584 99.00 0.002 
   6 wh770153392I  192644.6  0.97  203.5  382.7 120  17764  5876  0.000 0.108 99.00 21.5  0.0000 0.0345 99.00 22.8  2369  0.000  7.243 99.00 0.002 
   7 wh770153602I  192854.4  0.97 1495.3 2792.7 116 142836  5844  0.000 0.041 99.00 22.6  0.0000 0.0264 99.00 23.1  3864  0.000  5.727 99.00 0.002 
   8 wh770159542I  198794.4  0.97  158.2  260.4 108  13519  5816  0.000 0.115 99.00 21.5  0.0000 0.0258 99.00 23.1  4023  0.000  5.601 99.00 0.002 
   9 wh770159706I  198958.0  0.97  513.4  834.8 108  43856  5820  0.000 0.064 99.00 22.1  0.0000 0.0240 99.00 23.2  4536  0.000  5.245 99.00 0.002 
    Sum (T+182401 to 199480):            8853.6       8853.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.9883 signif. UL:  23.16
  0  4536 770151050  190301.8   9177.8  -7900.9    0.0000   0.0240 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 5.196 snr:  0.0 mag: 99.00 UL: 17.32
# ============ Reading file sw00021843002uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 770602704
The processing date in extension 0 is:  2025-06-03T12:42:59
The trigger time is: 769960748.10828. 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(319.633,52.737,25")
fk5;-circle(319.633,52.737,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 wh770602704I  641956.2  0.97  135.6  229.5 112  11568  5848  0.000 0.126 99.00 21.4  0.0000 0.1263 99.00 21.4   136  0.000 95.292 99.00 0.001 
   2 wh770602844I  642096.9  0.97 1362.9 2451.7 108 138366  5836  0.000 0.043 99.00 22.5  0.0000 0.0406 99.00 22.6  1499  0.000 30.662 99.00 0.001 
   3 wh770604235I  643487.1  0.94  119.9  360.3 112  20982  5852  0.000 0.198 99.00 20.9  0.0000 0.0403 99.00 22.6  1618  0.000 30.041 99.00 0.001 
   4 wh770608247I  647499.5  0.97  135.6  252.5 112  11572  5828  0.000 0.127 99.00 21.4  0.0000 0.0385 99.00 22.6  1754  0.000 28.678 99.00 0.001 
   5 wh770608388I  647640.1  0.97 1362.9 2445.2 112 133587  5832  0.000 0.043 99.00 22.5  0.0000 0.0287 99.00 23.0  3117  0.000 21.560 99.00 0.001 
   6 wh770609778I  649030.4  0.94  153.2  457.7 104  27940  5796  0.000 0.173 99.00 21.0  0.0000 0.0285 99.00 23.0  3270  0.000 21.279 99.00 0.001 
   7 wh770614210I  653462.1  0.97  115.9  199.9 112   9866  5868  0.000 0.136 99.00 21.3  0.0000 0.0279 99.00 23.0  3386  0.000 20.852 99.00 0.001 
   8 wh770614331I  653583.0  0.97 1166.1 2396.6 116 121635  5828  0.000 0.049 99.00 22.4  0.0000 0.0242 99.00 23.1  4552  0.000 18.232 99.00 0.001 
   9 wh770615521I  654773.2  0.93   58.6  213.2 112  11669  5824  0.000 0.306 99.00 20.4  0.0000 0.0242 99.00 23.1  4611  0.000 18.178 99.00 0.001 
    Sum (T+641956 to 654833):            9306.6       9306.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.9883 signif. UL:  23.15
  0  4611 770608826  648077.9   6754.9  -6121.7    0.0000   0.0242 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 4.992 snr:  0.0 mag: 99.00 UL: 17.36
Rebinned Data for sw00021843002uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 4.39e+03  190331.8   9147.9  -7930.9    0.0000   0.0240 99.00 99.00  190331.8    0.0000   0.0240 99.00 99.00 22.90
  1 4.45e+03  648073.3   6759.5  -6117.1    0.0000   0.0242 99.00 99.00  420971.3    0.0000   0.0170 99.00 99.00 23.27
The data range from T+182400.9 s (2.11 d) to T+654832.8 s (7.58 d)
Wrote uvot_fluxes_250603d12h52m00s522721usUT.qdp
Wrote uvot_fluxes_250603d12h52m00s522721usUT.gif
Wrote uvot_fluxes_250603d12h52m00s522721usUT.ps
Wrote uvot_fluxes_250603d12h52m00s522721usUT_vis.qdp
Wrote uvot_fluxes_250603d12h52m00s522721usUT_uv.qdp
Wrote uvot_fluxes_250603d12h52m00s522721usUT_vis.gif
Wrote uvot_fluxes_250603d12h52m00s522721usUT_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.0309  190626.6   8853.1  -8225.7    0.0000   0.0275 99.00 99.00  190626.6    0.0000   0.0275 99.00 99.00 22.92
  1  0.00258  647836.8   6996.0  -5880.6    0.0000   0.0281 99.00 99.00  225766.5    0.0000   0.0223 99.00 99.00 23.15
The data range from T+182400.9 s (2.11 d) to T+654832.8 s (7.58 d)
Wrote uvot_fluxes_wtd_250603d12h52m00s522721usUT.qdp
Wrote uvot_fluxes_wtd_250603d12h52m00s522721usUT.gif
Wrote uvot_fluxes_wtd_250603d12h52m00s522721usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem