XSPEC version: 12.10.1f
	Build Date/Time: Tue May 21 12:45:11 2019

[?1034hXSPEC12>query no
XSPEC12>data 1:1 /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger938899/00938899000-results/pha/sw00938899000b_pe 
ak.pha

1 spectrum  in use
 
Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger938899/00938899000-results/pha/sw00938899000b_peak.pha  Spectrum 1
Net count rate (cts/s) for Spectrum:1  4.020e-01 +/- 3.124e-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
 Using test 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_reproc/trigger938899/remake_spec_cflux/spec_1speak/sw0093889 
9000b_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.00000E+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 =         240.47 using 59 PHA bins.

Test statistic : Chi-Squared =         240.47 using 59 PHA bins.
 Reduced chi-squared =         4.2187 for     57 degrees of freedom 
 Null hypothesis probability =   2.171310e-24
 Current data and model not fit yet.
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
123.557      5.43825      -2       6.78829       3.95843
84.3221      12.143       -3       9.74761       1.46457
81.5455      5.50313      -4       10.9170      0.948668
78.3921      9.55633      -5       11.6081      0.849906
78.1477      1.0835       -6       11.9310      0.773400
78.0736      0.779902     -7       12.1079      0.737493
78.0542      0.231092     -8       12.2032      0.718091
78.0488      0.0803849    -9       12.2544      0.707761
==============================
 Variances and Principal Axes
                 1        2  
 7.6540E-01| -0.9786   0.2057  
 2.8389E-03| -0.2057  -0.9786  
------------------------------

========================
  Covariance Matrix
        1           2   
   7.331e-01  -1.535e-01
  -1.535e-01   3.511e-02
------------------------

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      12.2544      +/-  0.856227     
   2    1   bbodyrad   norm                0.707761     +/-  0.187377     
________________________________________________________________________


Fit statistic : Chi-Squared =          78.05 using 59 PHA bins.

Test statistic : Chi-Squared =          78.05 using 59 PHA bins.
 Reduced chi-squared =          1.369 for     57 degrees of freedom 
 Null hypothesis probability =   3.353065e-02
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
78.0473      0.0185094    -3       12.2811      0.702381
==============================
 Variances and Principal Axes
                 1        2  
 7.7025E-01| -0.9794   0.2020  
 2.7601E-03| -0.2020  -0.9794  
------------------------------

========================
  Covariance Matrix
        1           2   
   7.389e-01  -1.518e-01
  -1.518e-01   3.407e-02
------------------------

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      12.2811      +/-  0.859620     
   2    1   bbodyrad   norm                0.702381     +/-  0.184568     
________________________________________________________________________


Fit statistic : Chi-Squared =          78.05 using 59 PHA bins.

Test statistic : Chi-Squared =          78.05 using 59 PHA bins.
 Reduced chi-squared =          1.369 for     57 degrees of freedom 
 Null hypothesis probability =   3.353899e-02
XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl          1:kT        2:norm
78.0469      0.0100212    -3       12.2957      0.699450
==============================
 Variances and Principal Axes
                 1        2  
 7.7324E-01| -0.9798   0.2000  
 2.7198E-03| -0.2000  -0.9798  
------------------------------

========================
  Covariance Matrix
        1           2   
   7.424e-01  -1.510e-01
  -1.510e-01   3.353e-02
------------------------

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      12.2957      +/-  0.861639     
   2    1   bbodyrad   norm                0.699450     +/-  0.183123     
________________________________________________________________________


Fit statistic : Chi-Squared =          78.05 using 59 PHA bins.

Test statistic : Chi-Squared =          78.05 using 59 PHA bins.
 Reduced chi-squared =          1.369 for     57 degrees of freedom 
 Null hypothesis probability =   3.354138e-02
XSPEC12>log bat_spec_bb.log
Logging to file:bat_spec_bb.log
XSPEC12>show

XSPEC version: 12.10.1f

Tue Dec 17 16:48:57 2019
 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
 Always calculate parameter derivatives using full (slower) numerical differentiation: No
 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/trigger938899/remake_spec_cflux/spec_1speak/sw00938899000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger938899/remake_spec_cflux/spec_1speak/sw00938899000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger938899/00938899000-results/pha/sw00938899000b_peak.pha
Net count rate (cts/s) for Spectrum:1  3.700e-01 +/- 2.643e-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 test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger938899/remake_spec_cflux/spec_1speak/sw00938899000b_1speak.rsp for Source 1

 Spectral data counts: 0.370017
 Model predicted rate: 0.311441


Current model list:

========================================================================
Model bbodyrad<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   bbodyrad   kT         keV      12.2957      +/-  0.861639     
   2    1   bbodyrad   norm                0.699450     +/-  0.183123     
________________________________________________________________________

   Using energies from responses.

Fit statistic : Chi-Squared =          78.05 using 59 PHA bins.

Test statistic : Chi-Squared =          78.05 using 59 PHA bins.
 Reduced chi-squared =          1.369 for     57 degrees of freedom 
 Null hypothesis probability =   3.354138e-02
 Weighting method: standard
XSPEC12>flux 15.0 25.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux    0.6993 photons (2.2403e-08 ergs/cm^2/s) range (15.000 - 25.000 keV)
     Error range    0.4792 - 0.8001    (1.538e-08 - 2.559e-08)  (90.00% confidence)
XSPEC12>flux 25.0 50.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux    1.2601 photons (7.2525e-08 ergs/cm^2/s) range (25.000 - 50.000 keV)
     Error range    0.9770 - 1.386    (5.683e-08 - 7.985e-08)  (90.00% confidence)
XSPEC12>flux 50.0 150.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux    0.6181 photons (6.6988e-08 ergs/cm^2/s) range (50.000 - 150.00 keV)
     Error range    0.4406 - 0.7267    (4.611e-08 - 8.034e-08)  (90.00% confidence)
XSPEC12>flux 15.0 150.0 err 500 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux    2.5775 photons (1.6192e-07 ergs/cm^2/s) range (15.000 - 150.00 keV)
     Error range     2.025 - 2.817    (1.227e-07 - 1.799e-07)  (90.00% confidence)
XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      10.4029       14.599    (-1.90069,2.29544)
XSPEC12>error 2
 Parameter   Confidence Range (2.706)
     2     0.375026      1.28332    (-0.321973,0.586323)
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]    : 12.2957  (-1.90069  2.29544)
R^2/D10^2   : 0.699450  (-0.321973   0.586323)
(R is the radius in km and D10 is the distance to the source in units of 10 kpc)
------------------------------------------------------------
#Fit statistic : Chi-Squared =          78.05 using 59 PHA bins.
# Reduced chi-squared =          1.369 for     57 degrees of freedom 
# Null hypothesis probability =   3.354138e-02
 
Energy  Fluence     90% Error
[keV]   [erg/cm2]   [erg/cm2]
15- 25  2.240e-08   5.105e-09
25- 50  7.252e-08   1.151e-08
50-150  6.699e-08   1.712e-08
15-150  1.619e-07   2.860e-08