XSPEC version: 12.13.1
	Build Date/Time: Thu Jul 20 16:52:54 2023

[?1034hXSPEC12>query no
XSPEC12>data 1:1 /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_repro 
c/trigger1167973/01167973000-results/pha/sw01167973000b_peak.pha

1 spectrum  in use
 
Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1167973/01167973000-results/pha/sw01167973000b_peak.pha  Spectrum 1
Net count rate (cts/s) for Spectrum:1  8.372e-01 +/- 4.152e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-80
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 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 /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_rep 
roc/trigger1167973/remake_spec_cflux/spec_1speak/sw01167973000b_1speak.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                  859.54     using 59 bins.

Test statistic : Chi-Squared                  859.54     using 59 bins.
 Null hypothesis probability of 1.09e-143 with 57 degrees of freedom
 Current data and model not fit yet.
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
497.315      20.5428      -1       5.57529       16.3228
430.415      40.5243      -1       6.49358       9.41056
338.658      36.8098      -2       9.35186       2.07082
157.762      49.3294      -3       13.3647       1.00439
151.009      12.7307      -2       14.5946      0.655485
138.011      49.5002      -3       15.8682      0.530779
135.456      23.4524      -4       16.5448      0.474119
134.956      8.04019      -5       16.8914      0.446178
134.847      2.46034      -6       17.0655      0.432345
134.822      0.679163     -7       17.1515      0.425528
==============================
 Variances and Principal Axes
                 1        2  
 2.4886E-04|  0.0829   0.9966  
 4.4493E-01|  0.9966  -0.0829  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.419e-01  -3.675e-02
  -3.675e-02   3.308e-03
------------------------

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      17.1515      +/-  0.664738     
   2    1   bbodyrad   norm                0.425528     +/-  5.75114E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                  134.82     using 59 bins.

Test statistic : Chi-Squared                  134.82     using 59 bins.
 Null hypothesis probability of 2.99e-08 with 57 degrees of freedom
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
134.816      0.046919     -3       17.1924      0.422285
==============================
 Variances and Principal Axes
                 1        2  
 2.4086E-04|  0.0812   0.9967  
 4.4994E-01|  0.9967  -0.0812  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.470e-01  -3.637e-02
  -3.637e-02   3.203e-03
------------------------

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      17.1924      +/-  0.668561     
   2    1   bbodyrad   norm                0.422285     +/-  5.65915E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                  134.82     using 59 bins.

Test statistic : Chi-Squared                  134.82     using 59 bins.
 Null hypothesis probability of 3.00e-08 with 57 degrees of freedom
XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
134.815      0.0232164    -3       17.2127      0.420663
==============================
 Variances and Principal Axes
                 1        2  
 2.3716E-04|  0.0803   0.9968  
 4.5266E-01|  0.9968  -0.0803  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.497e-01  -3.621e-02
  -3.621e-02   3.154e-03
------------------------

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      17.2127      +/-  0.670631     
   2    1   bbodyrad   norm                0.420663     +/-  5.61610E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                  134.81     using 59 bins.

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

XSPEC version: 12.13.1

Fri Oct 13 22:20:07 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1167973/remake_spec_cflux/spec_1speak/sw01167973000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1167973/remake_spec_cflux/spec_1speak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1167973/remake_spec_cflux/spec_1speak/sw01167973000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1167973/01167973000-results/pha/sw01167973000b_peak.pha
Net count rate (cts/s) for Spectrum:1  7.804e-01 +/- 2.798e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1167973/remake_spec_cflux/spec_1speak/sw01167973000b_1speak.rsp for Source 1

 Spectral data counts: 0.780412
 Model predicted rate: 0.645415


Current model list:

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      17.2127      +/-  0.670631     
   2    1   bbodyrad   norm                0.420663     +/-  5.61610E-02  
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                  134.81     using 59 bins.

Test statistic : Chi-Squared                  134.81     using 59 bins.
 Null hypothesis probability of 3.00e-08 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.78417 photons (2.5295e-08 ergs/cm^2/s) range (15.000 - 25.000 keV)
     Error range    0.6789 - 0.8593    (2.191e-08 - 2.769e-08)  (90.00% confidence)
XSPEC12>flux 25.0 50.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux    1.9112 photons (1.1303e-07 ergs/cm^2/s) range (25.000 - 50.000 keV)
     Error range     1.715 - 2.036    (1.017e-07 - 1.202e-07)  (90.00% confidence)
XSPEC12>flux 50.0 150.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux    1.9807 photons (2.4003e-07 ergs/cm^2/s) range (50.000 - 150.00 keV)
     Error range     1.742 - 2.132    (2.076e-07 - 2.609e-07)  (90.00% confidence)
XSPEC12>flux 15.0 150.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux    4.6761 photons (3.7836e-07 ergs/cm^2/s) range (15.000 - 150.00 keV)
     Error range     4.303 - 4.952    (3.431e-07 - 4.035e-07)  (90.00% confidence)
XSPEC12>error 1
Cannot do error calc: Reduced Chi^2 (= 2.36517) > maximum (2)
XSPEC12>error 2
Cannot do error calc: Reduced Chi^2 (= 2.36517) > maximum (2)
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]    : 17.2127  (  )
R^2/D10^2   : 0.420663  (   )
(R is the radius in km and D10 is the distance to the source in units of 10 kpc)
------------------------------------------------------------
#Fit statistic  : Chi-Squared                  134.81     using 59 bins.
 Reduced chi-squared = 
# Null hypothesis probability of 3.00e-08 with 57 degrees of freedom
 
Energy  Fluence     90% Error
[keV]   [erg/cm2]   [erg/cm2]
15- 25  2.529e-08   2.890e-09
25- 50  1.130e-07   9.250e-09
50-150  2.400e-07   2.665e-08
15-150  3.784e-07   3.020e-08