# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 260112d07h03m43s760027usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021896002 -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_021896_src.reg
Used archived BAT position of 183.88000 48.25800
Reference: GCN_FOM_Notice_Fri_02_Jan_26_06:48:33_UT
The position is (12:15:31.20, +48: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(183.880,+48.258,3") # color=red dash=0
Source region spec. is: 183.880 +48.258 3"
Region file centered at (183.880,+48.258), which is (12:15:31.20, +48:15:28.8)
Could not find/read custom background region custom_021896_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.
Failed to find trigger time in BAT summary file for trigger 00021896
# ============ Reading file sw00021896001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 789029456
The processing date in extension 0 is: 2026-01-02T14:05:08
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 4:
# 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(183.880,+48.258,25")
fk5;-circle(183.880,+48.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 wh789029455I 789029455.9  0.95   61.8  153.9 112   8631  5832  0.000 0.244 99.00 19.9  0.0000 0.2441 99.00 19.9    62  0.000 226340.650 99.00 0.000 
   2 wh789029521I 789029521.4  0.93  343.0 1329.8 112  69699  5836  0.000 0.128 99.00 20.6  0.0000 0.1142 99.00 20.7   405  0.000 104846.972 99.00 0.000 
   3 wh789033647I 789033647.6  0.98  179.9  219.2 116  10874  5836  0.000 0.093 99.00 20.9  0.0000 0.0834 99.00 21.0   585  0.000 66713.580 99.00 0.000 
   4 wh789033833I 789033833.3  0.98  828.1  987.2 116  49044  5880  0.000 0.043 99.00 21.8  0.0000 0.0424 99.00 21.8  1413  0.000 34128.688 99.00 0.000 
   5 wh789040185I 789040185.0  0.98   95.2  100.2 116   5862  5876  0.000 0.129 99.00 20.6  0.0000 0.0405 99.00 21.8  1508  0.000 32817.965 99.00 0.000 
   6 wh789040284I 789040284.5  0.97  212.8  355.5 112  17738  5840  0.000 0.100 99.00 20.9  0.0000 0.0376 99.00 21.9  1721  0.000 30925.769 99.00 0.000 
Low  bkg:   7 wh789044947I  164.1   9450  5832  9.872  0.102
   7 wh789044947I 789044947.3  0.98  164.1  187.6 116   9450  5832  0.000 0.095 99.00 20.9  0.0000 0.0353 99.00 22.0  1885  0.000 29187.334 99.00 0.000 
Low  bkg:   8 wh789045116I  742.9  42302  5828  9.770  0.048
   8 wh789045116I 789045117.0  0.98  742.9  723.3 108  42302  5828  0.000 0.043 99.00 21.8  0.0000 0.0280 99.00 22.2  2628  0.000 23539.773 99.00 0.000 
    Sum (T+789029456 to 789045872):            4114.8       4114.8 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  22.23
  0  2628 789038085 789038084.8   7787.0  -8628.9    0.0000   0.0280 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-23316.189 snr:  0.0 mag: 99.00 UL:  7.43
# ============ Reading file sw00021896002uwh_sk.img ================
Use keyword TRIGTIME of 789019839.9687 for trigger time.
Long-term sensitivity correction to zero point is -0.175 at 789572805
The processing date in extension 0 is:  2026-01-11T21:12:02
The trigger time is: 789019839.9687. The reference is keyword in image 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(183.880,+48.258,25")
fk5;-circle(183.880,+48.258,12.5")
fk5;-circle(183.891264,48.254957,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 wh789572805I  552965.3  0.98  129.7  166.4 112   8204  5784  0.000 0.111 99.00 20.7  0.0000 0.1110 99.00 20.7   130  0.000 72.142 99.00 0.001 
   2 wh789572939I  553099.8  0.98 1300.9 1717.4 108  89547  5792  0.000 0.036 99.00 22.0  0.0000 0.0342 99.00 22.0  1431  0.000 22.237 99.00 0.001 
   3 wh789574267I  554427.0  0.95  112.1  353.0 104  18373  5808  0.000 0.191 99.00 20.1  0.0000 0.0345 99.00 22.0  1543  0.000 21.891 99.00 0.001 
   4 wh789595069I  575229.7  0.98  129.7  147.3 112   7714  5804  0.000 0.107 99.00 20.8  0.0000 0.0329 99.00 22.1  1672  0.000 20.958 99.00 0.001 
   5 wh789595204I  575364.3  0.98 1296.0 1814.9 100 103286  5764  0.000 0.037 99.00 21.9  0.0000 0.0247 99.00 22.4  2968  0.000 16.138 99.00 0.001 
   6 wh789596526I  576686.7  0.91   77.7  435.7 120  20385  5832  0.000 0.323 99.00 19.6  0.0000 0.0253 99.00 22.3  3046  0.000 16.094 99.00 0.001 
   7 wh789600831I  580991.9  0.98  114.0  116.4 116   7201  5840  0.000 0.120 99.00 20.7  0.0000 0.0248 99.00 22.4  3160  0.000 15.792 99.00 0.001 
   8 wh789600950I  581110.5  0.97 1144.4 2069.5 116 104931  5844  0.000 0.046 99.00 21.7  0.0000 0.0219 99.00 22.5  4304  0.000 14.111 99.00 0.001 
   9 wh789602118I  582278.2  0.90   56.0  326.8 108  17362  5772  0.000 0.399 99.00 19.3  0.0000 0.0222 99.00 22.5  4360  0.000 14.092 99.00 0.001 
    Sum (T+552965 to 582381):            7068.5       7068.5 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  22.48
  0  4360 789589675  569835.0  12545.9 -16869.7    0.0000   0.0222 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-13.963 snr:  0.0 mag: 99.00 UL: 15.49
Rebinned Data for sw00021896002uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 4.24e+03  569801.3  12579.6 -16836.1    0.0000   0.0222 99.00 99.00  569801.3    0.0000   0.0222 99.00 99.00 22.98
  1 2.56e+03 789038141.3   7730.5  -8685.3    0.0000   0.0280 99.00 99.00 297242627.4    0.0000   0.0174 99.00 99.00 23.25
The data range from T+552965.3 s (6.40 d) to T+789045871.8 s (9132.48 d)
Wrote uvot_fluxes_260112d07h03m43s760027usUT.qdp
Wrote uvot_fluxes_260112d07h03m43s760027usUT.gif
Wrote uvot_fluxes_260112d07h03m43s760027usUT.ps
Wrote uvot_fluxes_260112d07h03m43s760027usUT_vis.qdp
Wrote uvot_fluxes_260112d07h03m43s760027usUT_uv.qdp
Wrote uvot_fluxes_260112d07h03m43s760027usUT_vis.gif
Wrote uvot_fluxes_260112d07h03m43s760027usUT_vis.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  u (0)  , v (0)  , white (0)  , b (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.00429  568058.9  14322.0 -15093.6    0.0000   0.0248 99.00 99.00  568058.9    0.0000   0.0248 99.00 99.00 23.04
  1 1.54e-09 789039311.4   6560.4  -9855.5    0.0000   0.0298 99.00 99.00  568341.5    0.0000   0.0248 99.00 99.00 23.04
The data range from T+552965.3 s (6.40 d) to T+789045871.8 s (9132.48 d)
Wrote uvot_fluxes_wtd_260112d07h03m43s760027usUT.qdp
Wrote uvot_fluxes_wtd_260112d07h03m43s760027usUT.gif
Wrote uvot_fluxes_wtd_260112d07h03m43s760027usUT.ps
Found 2 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem