XSPEC version: 12.13.0c
	Build Date/Time: Mon Dec 19 16:03:51 2022

XSPEC12>query no
XSPEC12>data 1:1 sw01161390000b_avg.pha

1 spectrum  in use
 
Spectral Data File: sw01161390000b_avg.pha  Spectrum 1
Net count rate (cts/s) for Spectrum:1  5.242e-02 +/- 4.265e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-80
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 50.26 sec
 Using fit statistic: chi
 No response loaded.

***Warning!  One or more spectra are missing responses,
               and are not suitable for fit.
XSPEC12>response 1 sw01161390000b_avg.rsp
Response successfully loaded.
XSPEC12>ignore **-13.0 150.0-**
     3 channels (1-3) ignored in spectrum #     1
    18 channels (63-80) ignored in spectrum #     1

XSPEC12>model bbodyrad

Input parameter value, delta, min, bot, top, and max values for ...
              3       0.01(      0.03)     0.0001      0.001        100        200
1:bbodyrad:kT>5.0      1.00000E-02  1.00000E-04  1.00000E-03   100.00       200. 
00
              1       0.01(      0.01)          0          0      1e+20      1e+24
2:bbodyrad:norm>1.0      1.00000E-02   0.0000       0.0000      1.00000E+24  1.0 
0000E+24

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      5.00000      +/-  0.0          
   2    1   bbodyrad   norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  217.02     using 59 bins.

Test statistic : Chi-Squared                  217.02     using 59 bins.
 Null hypothesis probability of 1.65e-20 with 57 degrees of freedom
 Current data and model not fit yet.
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
120.408      7.72896      -2       6.58195      0.709469
81.338       24.126       -3       8.86611      0.269637
79.2981      15.7186      -2       9.93052      0.156448
70.0496      104.499      -3       10.9650      0.123644
68.9136      39.8314      -4       11.4408      0.109082
68.696       14.051       -5       11.6804      0.102087
68.6487      4.21931      -6       11.8009     0.0986055
68.6377      1.17968      -7       11.8610     0.0968747
68.6351      0.30989      -8       11.8907     0.0960178
==============================
 Variances and Principal Axes
                 1        2  
 3.6513E-05|  0.0296   0.9996  
 4.9568E-01|  0.9996  -0.0296  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.953e-01  -1.465e-02
  -1.465e-02   4.699e-04
------------------------

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      11.8907      +/-  0.703740     
   2    1   bbodyrad   norm                9.60178E-02  +/-  2.16772E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   68.64     using 59 bins.

Test statistic : Chi-Squared                   68.64     using 59 bins.
 Null hypothesis probability of 1.39e-01 with 57 degrees of freedom
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
68.6345      0.0146916    -3       11.9050     0.0956065
==============================
 Variances and Principal Axes
                 1        2  
 3.5858E-05|  0.0292   0.9996  
 4.9830E-01|  0.9996  -0.0292  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.979e-01  -1.455e-02
  -1.455e-02   4.614e-04
------------------------

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      11.9050      +/-  0.705605     
   2    1   bbodyrad   norm                9.56065E-02  +/-  2.14799E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   68.63     using 59 bins.

Test statistic : Chi-Squared                   68.63     using 59 bins.
 Null hypothesis probability of 1.39e-01 with 57 degrees of freedom
XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
68.6344      0.00738181   -3       11.9122     0.0953985
==============================
 Variances and Principal Axes
                 1        2  
 3.5548E-05|  0.0291   0.9996  
 4.9967E-01|  0.9996  -0.0291  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.993e-01  -1.451e-02
  -1.451e-02   4.574e-04
------------------------

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      11.9122      +/-  0.706578     
   2    1   bbodyrad   norm                9.53985E-02  +/-  2.13860E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   68.63     using 59 bins.

Test statistic : Chi-Squared                   68.63     using 59 bins.
 Null hypothesis probability of 1.39e-01 with 57 degrees of freedom
XSPEC12>log bat_spec_bb.log
Logging to file:bat_spec_bb.log
XSPEC12>show

XSPEC version: 12.13.0c

Fri Jun 16 09:11:30 2023
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: Channels
   Spectra plots will be shifted to source frame by redshift value z: 0
   Device: /null
   Plotting of line IDs is OFF.
   Splashpage is ON.
   xlog for data plots is ON.
   ylog for data plots is OFF.

   Default plot rebin settings for all plot groups:
   Min. Signif.   Max. # Bins   Error Type
        0.00000             1         quad

 Responses read: 
   sw01161390000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1161390/remake_spec_cflux/spec_T100/sw01161390000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: sw01161390000b_avg.pha
Net count rate (cts/s) for Spectrum:1  4.627e-02 +/- 2.861e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 50.26 sec
 Using fit statistic: chi
 Using Response (RMF) File            sw01161390000b_avg.rsp for Source 1

 Spectral data counts: 2.32513
 Model predicted rate: 3.93602E-02


Current model list:

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      11.9122      +/-  0.706578     
   2    1   bbodyrad   norm                9.53985E-02  +/-  2.13860E-02  
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   68.63     using 59 bins.

Test statistic : Chi-Squared                   68.63     using 59 bins.
 Null hypothesis probability of 1.39e-01 with 57 degrees of freedom

Bayes is off

XSPEC12>flux 15.0 25.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux  0.089388 photons (2.8613e-09 ergs/cm^2/s) range (15.000 - 25.000 keV)
     Error range   0.06772 - 0.1014    (2.172e-09 - 3.239e-09)  (90.00% confidence)
XSPEC12>flux 25.0 50.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.15561 photons (8.9273e-09 ergs/cm^2/s) range (25.000 - 50.000 keV)
     Error range    0.1321 - 0.1689    (7.569e-09 - 9.689e-09)  (90.00% confidence)
XSPEC12>flux 50.0 150.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux  0.070618 photons (7.5794e-09 ergs/cm^2/s) range (50.000 - 150.00 keV)
     Error range   0.05334 - 0.08224    (5.558e-09 - 8.964e-09)  (90.00% confidence)
XSPEC12>flux 15.0 150.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.31561 photons (1.9368e-08 ergs/cm^2/s) range (15.000 - 150.00 keV)
     Error range    0.2592 - 0.3441    (1.609e-08 - 2.131e-08)  (90.00% confidence)
XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      10.3946      13.6714    (-1.52119,1.75556)
XSPEC12>error 2
 Parameter   Confidence Range (2.706)
     2    0.0573932      0.15809    (-0.0378483,0.062849)
XSPEC12>log none
Log file closed
logging switched off
XSPEC12>setplot energy
XSPEC12>setplot command sc white
1
XSPEC12>setplot command cpd bat_spec_bb.gif/gif
2
XSPEC12>plot ldata delchi
XSPEC12>/*
XSPEC12>exit
 XSPEC: quit
 
 
Spectral model blackbody:
------------------------------------------------------------
Parameters  : value    Lower 90%  Upper 90%
kT [keV]    : 11.9122  (-1.52119  1.75556)
R^2/D10^2   : 9.53985E-02  (-0.0378483   0.062849)
(R is the radius in km and D10 is the distance to the source in units of 10 kpc)
------------------------------------------------------------
#Fit statistic  : Chi-Squared                   68.63     using 59 bins.
 Reduced chi-squared = 
# Null hypothesis probability of 1.39e-01 with 57 degrees of freedom
 
Energy  Fluence     90% Error
[keV]   [erg/cm2]   [erg/cm2]
15- 25  1.438e-07   2.681e-08
25- 50  4.487e-07   5.328e-08
50-150  3.809e-07   8.559e-08
15-150  9.734e-07   1.312e-07