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

XSPEC12>query no
XSPEC12>data 1:1 /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_repro 
c/trigger1150429/01150429000-results/pha/sw01150429000b_peak.pha

1 spectrum  in use
 
Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1150429/01150429000-results/pha/sw01150429000b_peak.pha  Spectrum 1
Net count rate (cts/s) for Spectrum:1  1.641e-01 +/- 2.239e-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/trigger1150429/remake_spec_cflux/spec_1speak/sw01150429000b_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                  103.21     using 59 bins.

Test statistic : Chi-Squared                  103.21     using 59 bins.
 Null hypothesis probability of 1.75e-04 with 57 degrees of freedom
 Current data and model not fit yet.
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
62.5015      1.84222      -2       6.57914       2.25167
55.0785      2.91639      -3       8.58753       1.01833
54.5062      1.98778      -2       9.34991      0.618745
53.2027      5.3252       -3       10.0355      0.531731
53.1387      0.997967     -4       10.2507      0.498537
53.132       0.205814     -5       10.3297      0.485902
==============================
 Variances and Principal Axes
                 1        2  
 3.9650E-03|  0.1780   0.9840  
 1.4189E+00|  0.9840  -0.1780  
------------------------------

========================
  Covariance Matrix
        1           2   
   1.374e+00  -2.478e-01
  -2.478e-01   4.880e-02
------------------------

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      10.3297      +/-  1.17219      
   2    1   bbodyrad   norm                0.485902     +/-  0.220907     
________________________________________________________________________


Fit statistic  : Chi-Squared                   53.13     using 59 bins.

Test statistic : Chi-Squared                   53.13     using 59 bins.
 Null hypothesis probability of 6.21e-01 with 57 degrees of freedom
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
53.1311      0.0104643    -3       10.3581      0.481196
==============================
 Variances and Principal Axes
                 1        2  
 3.7536E-03|  0.1723   0.9851  
 1.4300E+00|  0.9851  -0.1723  
------------------------------

========================
  Covariance Matrix
        1           2   
   1.388e+00  -2.420e-01
  -2.420e-01   4.607e-02
------------------------

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      10.3581      +/-  1.17799      
   2    1   bbodyrad   norm                0.481196     +/-  0.214639     
________________________________________________________________________


Fit statistic  : Chi-Squared                   53.13     using 59 bins.

Test statistic : Chi-Squared                   53.13     using 59 bins.
 Null hypothesis probability of 6.21e-01 with 57 degrees of freedom
XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
53.131       0.00397099   -3       10.3689      0.479363
==============================
 Variances and Principal Axes
                 1        2  
 3.6809E-03|  0.1700   0.9854  
 1.4373E+00|  0.9854  -0.1700  
------------------------------

========================
  Covariance Matrix
        1           2   
   1.396e+00  -2.402e-01
  -2.402e-01   4.513e-02
------------------------

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      10.3689      +/-  1.18146      
   2    1   bbodyrad   norm                0.479363     +/-  0.212443     
________________________________________________________________________


Fit statistic  : Chi-Squared                   53.13     using 59 bins.

Test statistic : Chi-Squared                   53.13     using 59 bins.
 Null hypothesis probability of 6.21e-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:15:37 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/trigger1150429/remake_spec_cflux/spec_1speak/sw01150429000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1150429/remake_spec_cflux/spec_1speak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1150429/remake_spec_cflux/spec_1speak/sw01150429000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1150429/01150429000-results/pha/sw01150429000b_peak.pha
Net count rate (cts/s) for Spectrum:1  1.435e-01 +/- 1.785e-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/trigger1150429/remake_spec_cflux/spec_1speak/sw01150429000b_1speak.rsp for Source 1

 Spectral data counts: 0.143457
 Model predicted rate: 0.125618


Current model list:

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      10.3689      +/-  1.18146      
   2    1   bbodyrad   norm                0.479363     +/-  0.212443     
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   53.13     using 59 bins.

Test statistic : Chi-Squared                   53.13     using 59 bins.
 Null hypothesis probability of 6.21e-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.33296 photons (1.0616e-08 ergs/cm^2/s) range (15.000 - 25.000 keV)
     Error range    0.1385 - 0.3957    (4.433e-09 - 1.259e-08)  (90.00% confidence)
XSPEC12>flux 25.0 50.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.49133 photons (2.7757e-08 ergs/cm^2/s) range (25.000 - 50.000 keV)
     Error range    0.2226 - 0.5651    (1.237e-08 - 3.184e-08)  (90.00% confidence)
XSPEC12>flux 50.0 150.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.15587 photons (1.6073e-08 ergs/cm^2/s) range (50.000 - 150.00 keV)
     Error range   0.05032 - 0.2073    (4.879e-09 - 2.207e-08)  (90.00% confidence)
XSPEC12>flux 15.0 150.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.98016 photons (5.4447e-08 ergs/cm^2/s) range (15.000 - 150.00 keV)
     Error range    0.4930 - 1.142    (2.481e-08 - 6.473e-08)  (90.00% confidence)
XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      8.16596      13.2563    (-2.20707,2.88327)
XSPEC12>error 2
 Parameter   Confidence Range (2.706)
     2     0.186846      1.18002    (-0.291547,0.701628)
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]    : 10.3689  (-2.20707  2.88327)
R^2/D10^2   : 0.479363  (-0.291547   0.701628)
(R is the radius in km and D10 is the distance to the source in units of 10 kpc)
------------------------------------------------------------
#Fit statistic  : Chi-Squared                   53.13     using 59 bins.
 Reduced chi-squared = 
# Null hypothesis probability of 6.21e-01 with 57 degrees of freedom
 
Energy  Fluence     90% Error
[keV]   [erg/cm2]   [erg/cm2]
15- 25  1.062e-08   4.079e-09
25- 50  2.776e-08   9.735e-09
50-150  1.607e-08   8.595e-09
15-150  5.445e-08   1.996e-08