XSPEC version: 12.12.1
	Build Date/Time: Tue Mar 15 11:46:30 2022

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

1 spectrum  in use
 
Spectral Data File: sw01004239000b_avg.pha  Spectrum 1
Net count rate (cts/s) for Spectrum:1  2.364e-01 +/- 7.200e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-80
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 74.96 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 sw01004239000b_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 bremss

Input parameter value, delta, min, bot, top, and max values for ...
              7       0.05(      0.07)     0.0001     0.0001        100        200
1:bremss:kT>7.0000      5.00000E-02  1.00000E-04  1.00000E-04   100.00       200 
.00
              1       0.01(      0.01)          0          0      1e+20      1e+24
2:bremss:norm>1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1. 
00000E+24

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


Fit statistic  : Chi-Squared                 8291.62     using 59 bins.

Test statistic : Chi-Squared                 8291.62     using 59 bins.
 Null hypothesis probability of 0.00e+00 with 57 degrees of freedom
 Current data and model not fit yet.
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
6026.77      54.743       -3       19.5362       26.0192
3113.42      62.3949      -4       46.3916       12.5604
1339.75      66.6879      -5       196.527       5.30589
723.463      154.508      -6       199.203       6.70469
714.713      62.3649      -7       199.347       6.73838
714.393      60.1393      -8       199.362       6.73950
714.372      60.0651      -9       199.363       6.73958
714.361      60.0602     -10       199.363       6.73961
714.359      60.0577     -11       199.363       6.73962
==============================
 Variances and Principal Axes
                 1        2  
 7.5805E-03|  0.0015   1.0000  
 6.1833E+02|  1.0000  -0.0015  
------------------------------

========================
  Covariance Matrix
        1           2   
   6.183e+02  -9.492e-01
  -9.492e-01   9.038e-03
------------------------

========================================================================
Model bremss<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bremss     kT         keV      199.363      +/-  24.8663      
   2    1   bremss     norm                6.73962      +/-  9.50662E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                  714.36     using 59 bins.

Test statistic : Chi-Squared                  714.36     using 59 bins.
 Null hypothesis probability of 2.29e-114 with 57 degrees of freedom
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
605          0.544372      1       199.363       7.65004
==============================
 Variances and Principal Axes
                 1        2  
 7.5805E-03|  0.0017   1.0000  
 4.7999E+02|  1.0000  -0.0017  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.800e+02  -8.362e-01
  -8.362e-01   9.037e-03
------------------------

========================================================================
Model bremss<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bremss     kT         keV      199.363      +/-  21.9088      
   2    1   bremss     norm                7.65004      +/-  9.50655E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                  605.00     using 59 bins.

Test statistic : Chi-Squared                  605.00     using 59 bins.
 Null hypothesis probability of 1.34e-92 with 57 degrees of freedom
XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
605          0.544353      1       199.363       7.65004
==============================
 Variances and Principal Axes
                 1        2  
 7.5805E-03|  0.0017   1.0000  
 4.8003E+02|  1.0000  -0.0017  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.800e+02  -8.363e-01
  -8.363e-01   9.038e-03
------------------------

========================================================================
Model bremss<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bremss     kT         keV      199.363      +/-  21.9095      
   2    1   bremss     norm                7.65004      +/-  9.50661E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                  605.00     using 59 bins.

Test statistic : Chi-Squared                  605.00     using 59 bins.
 Null hypothesis probability of 1.34e-92 with 57 degrees of freedom
XSPEC12>log bat_spec_brems.log
Logging to file:bat_spec_brems.log
XSPEC12>show

XSPEC version: 12.12.1

Sat Jul 30 07:25:41 2022
 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: 
   sw01004239000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1004239/remake_spec_cflux/spec_T100/sw01004239000b_avg.rsp

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

 Spectral data counts: 16.5187
 Model predicted rate: 0.230995


Current model list:

========================================================================
Model bremss<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bremss     kT         keV      199.363      +/-  21.9095      
   2    1   bremss     norm                7.65004      +/-  9.50661E-02  
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                  605.00     using 59 bins.

Test statistic : Chi-Squared                  605.00     using 59 bins.
 Null hypothesis probability of 1.34e-92 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.61219 photons (1.9049e-08 ergs/cm^2/s) range (15.000 - 25.000 keV)
     Error range    0.5996 - 0.6250    (1.866e-08 - 1.945e-08)  (90.00% confidence)
XSPEC12>flux 25.0 50.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.64635 photons (3.6644e-08 ergs/cm^2/s) range (25.000 - 50.000 keV)
     Error range    0.6345 - 0.6598    (3.597e-08 - 3.741e-08)  (90.00% confidence)
XSPEC12>flux 50.0 150.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.59632 photons (8.0367e-08 ergs/cm^2/s) range (50.000 - 150.00 keV)
     Error range    0.5861 - 0.6085    (7.899e-08 - 8.200e-08)  (90.00% confidence)
XSPEC12>flux 15.0 150.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux    1.8549 photons (1.3606e-07 ergs/cm^2/s) range (15.000 - 150.00 keV)
     Error range     1.819 - 1.894    (1.334e-07 - 1.389e-07)  (90.00% confidence)
XSPEC12>error 1
Cannot do error calc: Reduced Chi^2 (= 10.614) > maximum (2)
XSPEC12>error 2
Cannot do error calc: Reduced Chi^2 (= 10.614) > 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_brems.gif/gif
2
XSPEC12>plot ldata delchi
XSPEC12>/*
XSPEC12>exit
 XSPEC: quit
 
 
Spectral model: thermal bremsstrahlung
------------------------------------------------------------
Parameters  : value         Lower 90%    Upper 90%
kT [keV]    : 199.363       (      )
Norm        : 7.65004       (     )
------------------------------------------------------------
#Fit statistic  : Chi-Squared                  605.00     using 59 bins.
 Reduced chi-squared = 
# Null hypothesis probability of 1.34e-92 with 57 degrees of freedom
 
Energy  Fluence     90% Error
[keV]   [erg/cm2]   [erg/cm2]
15- 25  1.428e-06   2.961e-08
25- 50  2.747e-06   5.397e-08
50-150  6.024e-06   1.128e-07
15-150  1.020e-05   2.061e-07