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

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

1 spectrum  in use
 
Spectral Data File: sw01072990000b_avg.pha  Spectrum 1
Net count rate (cts/s) for Spectrum:1  6.924e-02 +/- 5.010e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-80
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 26.46 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 sw01072990000b_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 + 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>4.0000      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>20.000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24
              3       0.01(      0.03)     0.0001      0.001        100        200
3:bbodyrad:kT>10.000      1.00000E-02  1.00000E-04  1.00000E-03   100.00       200.00
              1       0.01(      0.01)          0          0      1e+20      1e+24
4:bbodyrad:norm>0.50000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model bbodyrad<1> + bbodyrad<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      4.00000      +/-  0.0          
   2    1   bbodyrad   norm                20.0000      +/-  0.0          
   3    2   bbodyrad   kT         keV      10.0000      +/-  0.0          
   4    2   bbodyrad   norm                0.500000     +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                 4624.15     using 59 bins.

Test statistic : Chi-Squared                 4624.15     using 59 bins.
 Null hypothesis probability of 0.00e+00 with 55 degrees of freedom
 Current data and model not fit yet.
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm          3:kT        4:norm
151.51       103.929      -3       4.84707       2.32657       18.8207     0.0293341
66.7333      1904.03      -4       5.75012      0.991215       19.7153     0.0164709
62.9253      228          -2       6.21988      0.488036       20.5006     0.0155182
58.293       321.792      -2       6.97835      0.398625       21.1919     0.0132365
57.7544      49.7126      -2       7.31722      0.363719       22.1328     0.0108498
57.3142      138.378      -2       7.57149      0.336389       23.0235    0.00933085
57.0656      103.058      -2       7.77107      0.316917       23.7451    0.00829342
56.9324      65.7548      -2       7.92366      0.302973       24.3202    0.00756430
56.8596      40.4346      -2       8.03961      0.292874       24.7730    0.00704432
56.8559      23.761       -3       8.30018      0.270374       25.7901    0.00591341
==================================================
 Variances and Principal Axes
                 1        2        3        4  
 2.0933E-07|  0.0021   0.0118   0.0009   0.9999  
 6.8634E-04| -0.1220  -0.9924   0.0091   0.0119  
 6.1061E-01|  0.9691  -0.1211  -0.2148  -0.0004  
 2.2606E+01| -0.2142   0.0174  -0.9766   0.0011  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   1.611e+00  -1.558e-01   4.603e+00  -5.492e-03
  -1.558e-01   1.647e-02  -3.682e-01   4.492e-04
   4.603e+00  -3.682e-01   2.159e+01  -2.378e-02
  -5.492e-03   4.492e-04  -2.378e-02   2.677e-05
------------------------------------------------

========================================================================
Model bbodyrad<1> + bbodyrad<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      8.30018      +/-  1.26930      
   2    1   bbodyrad   norm                0.270374     +/-  0.128349     
   3    2   bbodyrad   kT         keV      25.7901      +/-  4.64648      
   4    2   bbodyrad   norm                5.91341E-03  +/-  5.17428E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   56.86     using 59 bins.

Test statistic : Chi-Squared                   56.86     using 59 bins.
 Null hypothesis probability of 4.06e-01 with 55 degrees of freedom
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm          3:kT        4:norm
56.769       26.9856      -3       8.37124      0.266061       26.1525    0.00569494
56.7678      16.721       -4       8.39612      0.264233       26.2570    0.00561419
==================================================
 Variances and Principal Axes
                 1        2        3        4  
 1.5180E-07|  0.0018   0.0117   0.0006   0.9999  
 5.0468E-04| -0.1054  -0.9943   0.0068   0.0118  
 5.9319E-01|  0.9776  -0.1049  -0.1827  -0.0004  
 3.0451E+01| -0.1824   0.0126  -0.9831   0.0008  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   1.580e+00  -1.309e-01   5.355e+00  -4.778e-03
  -1.309e-01   1.188e-02  -3.668e-01   3.345e-04
   5.355e+00  -3.668e-01   2.945e+01  -2.433e-02
  -4.778e-03   3.345e-04  -2.433e-02   2.052e-05
------------------------------------------------

========================================================================
Model bbodyrad<1> + bbodyrad<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      8.39612      +/-  1.25705      
   2    1   bbodyrad   norm                0.264233     +/-  0.109005     
   3    2   bbodyrad   kT         keV      26.2570      +/-  5.42703      
   4    2   bbodyrad   norm                5.61419E-03  +/-  4.53026E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   56.77     using 59 bins.

Test statistic : Chi-Squared                   56.77     using 59 bins.
 Null hypothesis probability of 4.09e-01 with 55 degrees of freedom
XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm          3:kT        4:norm
56.7678      0.214232     -3       8.39780      0.264091       26.2611    0.00561111
==================================================
 Variances and Principal Axes
                 1        2        3        4  
 1.4828E-07|  0.0018   0.0117   0.0006   0.9999  
 4.9347E-04| -0.1043  -0.9945   0.0067   0.0118  
 5.9170E-01|  0.9780  -0.1038  -0.1808  -0.0004  
 3.1061E+01| -0.1805   0.0124  -0.9835   0.0008  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   1.578e+00  -1.293e-01   5.409e+00  -4.730e-03
  -1.293e-01   1.160e-02  -3.664e-01   3.275e-04
   5.409e+00  -3.664e-01   3.006e+01  -2.435e-02
  -4.730e-03   3.275e-04  -2.435e-02   2.014e-05
------------------------------------------------

========================================================================
Model bbodyrad<1> + bbodyrad<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      8.39780      +/-  1.25606      
   2    1   bbodyrad   norm                0.264091     +/-  0.107720     
   3    2   bbodyrad   kT         keV      26.2611      +/-  5.48303      
   4    2   bbodyrad   norm                5.61111E-03  +/-  4.48730E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   56.77     using 59 bins.

Test statistic : Chi-Squared                   56.77     using 59 bins.
 Null hypothesis probability of 4.09e-01 with 55 degrees of freedom
XSPEC12>log bat_spec_2bb.log
Logging to file:bat_spec_2bb.log
XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 05:19:13 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: 
   sw01072990000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1072990/remake_spec_cflux/spec_T100/sw01072990000b_avg.rsp

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

 Spectral data counts: 1.67289
 Model predicted rate: 6.25123E-02


Current model list:

========================================================================
Model bbodyrad<1> + bbodyrad<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      8.39780      +/-  1.25606      
   2    1   bbodyrad   norm                0.264091     +/-  0.107720     
   3    2   bbodyrad   kT         keV      26.2611      +/-  5.48303      
   4    2   bbodyrad   norm                5.61111E-03  +/-  4.48730E-03  
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   56.77     using 59 bins.

Test statistic : Chi-Squared                   56.77     using 59 bins.
 Null hypothesis probability of 4.09e-01 with 55 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.13026 photons (4.1377e-09 ergs/cm^2/s) range (15.000 - 25.000 keV)
     Error range   0.06760 - 0.1388    (2.116e-09 - 4.401e-09)  (90.00% confidence)
XSPEC12>flux 25.0 50.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.18353 photons (1.0426e-08 ergs/cm^2/s) range (25.000 - 50.000 keV)
     Error range   0.08705 - 0.1900    (4.811e-09 - 1.078e-08)  (90.00% confidence)
XSPEC12>flux 50.0 150.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.16016 photons (2.1324e-08 ergs/cm^2/s) range (50.000 - 150.00 keV)
     Error range   0.03803 - 0.1700    (3.885e-09 - 2.291e-08)  (90.00% confidence)
XSPEC12>flux 15.0 150.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.47396 photons (3.5888e-08 ergs/cm^2/s) range (15.000 - 150.00 keV)
     Error range    0.1848 - 0.4855    (1.032e-08 - 3.713e-08)  (90.00% confidence)
XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1       6.1668      10.5205    (-2.23139,2.12233)
XSPEC12>error 2
 Parameter   Confidence Range (2.706)
 Due to zero model norms, the following fit parameters are temporarily frozen:3 
 Due to zero model norms, the following fit parameters are temporarily frozen:3 
***Warning: Zero alpha-matrix diagonal element for parameter 3
***Warning: Zero alpha-matrix diagonal element for parameter 4
 Parameter 3 is pegged at 0.032198 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
 Parameter 4 is pegged at 1.87507e+13 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
***Warning: Zero alpha-matrix diagonal element for parameter 3
***Warning: Zero alpha-matrix diagonal element for parameter 4
 Parameter 3 is pegged at 0.032198 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
 Parameter 4 is pegged at 1.87507e+13 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
Apparent non-monotonicity in statistic space detected.
Current bracket values 0.627924, 0.802951
and delta stat 2.63074, 3.77494
but latest trial 0.638443 gives 190.016
Suggest that you check this result using the steppar command.
     2     0.143454     0.715437    (-0.120599,0.451385)
XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3      19.7035      41.8224    (-6.55944,15.5595)
XSPEC12>error 4
 Parameter   Confidence Range (2.706)
 Due to zero model norms, the following fit parameters are temporarily frozen:3 
 Due to zero model norms, the following fit parameters are temporarily frozen:3 
 Due to zero model norms, the following fit parameters are temporarily frozen:3 
 Due to zero model norms, the following fit parameters are temporarily frozen:3 
 Due to zero model norms, the following fit parameters are temporarily frozen:3 
 Due to zero model norms, the following fit parameters are temporarily frozen:3 
Apparent non-monotonicity in statistic space detected.
Current bracket values 0.00317128, 0
and delta stat 0.437475, 29.9406
but latest trial 1.642e-06 gives 44.9148
Suggest that you check this result using the steppar command.
 Due to zero model norms, the following fit parameters are temporarily frozen:1 
 Due to zero model norms, the following fit parameters are temporarily frozen:1 
 Due to zero model norms, the following fit parameters are temporarily frozen:1 
 Due to zero model norms, the following fit parameters are temporarily frozen:1 
     4   0.00158564    0.0176583    (-0.00402389,0.0120487)
XSPEC12>log none
Log file closed
logging switched off
XSPEC12>setplot energy
XSPEC12>setplot command sc white
1
XSPEC12>setplot command cpd bat_spec_2bb.gif/gif
2
XSPEC12>plot ldata delchi
XSPEC12>/*
XSPEC12>exit
 XSPEC: quit
 
 
Spectral model: bbodyrad<1> + bbodyrad<2>
------------------------------------------------------------
Parameters  : value         Lower 90%    Upper 90%
kT1 [keV]   : 8.39780        (-2.23139      2.12233)
R1^2/D10^2  : 0.264091        (-0.120599      0.451385)
kT2 [keV]   : 26.2611        (-6.55944      15.5595)
R2^2/D10^2  : 5.61111E-03    (-0.00402389   0.0120487)
------------------------------------------------------------
#Fit statistic  : Chi-Squared                   56.77     using 59 bins.
 Reduced chi-squared = 
# Null hypothesis probability of 4.09e-01 with 55 degrees of freedom
 
Energy  Fluence     90% Error
[keV]   [erg/cm2]   [erg/cm2]
15- 25  1.095e-07   3.023e-08
25- 50  2.759e-07   7.897e-08
50-150  5.642e-07   2.517e-07
15-150  9.496e-07   3.547e-07