XSPEC version: 12.8.2
	Build Date/Time: Thu Jul  3 19:14:55 2014

XSPEC12>query no
XSPEC12>lmod takagrb /local/data/bat1/prebascript/xspec_taka_lmodel
Model package takagrb successfully loaded.
XSPEC12>data 1:1 ../sw00228006000b_preslew.pha

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

Input parameter value, delta, min, bot, top, and max values for ...
             -1       0.01(      0.01)        -10         -3          2          5
1:ngrbep:alpha> -0.98395      1.00000E-02  -10.000      -3.0000       2.0000     
   5.0000
             -2       0.01(      0.02)        -10         -5          2         10
2:ngrbep:beta> -2.50000      1.00000E-02  -10.000      -5.0000       2.0000      
  10.000
            300         10(         3)        0.1        0.1       1000      10000
3:ngrbep:epeak>   80.000       10.000      0.10000      0.10000       1000.0     
   10000.
            100      -0.01(         1)          0          0       1000       1000
4:ngrbep:enorm>   50.000     -1.00000E-02   0.0000       0.0000       1000.0     
   1000.0
              1       0.01(      0.01)          0          0      1e+20      1e+24
5:ngrbep:norm>    1.000      1.00000E-02   0.0000       0.0000      1.00000E+24  
 1.00000E+24

========================================================================
Model ngrbep<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   ngrbep     alpha               -0.983950    +/-  0.0          
   2    1   ngrbep     beta                -2.50000     +/-  0.0          
   3    1   ngrbep     epeak      keV      80.0000      +/-  0.0          
   4    1   ngrbep     enorm      keV      50.0000      frozen
   5    1   ngrbep     norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic : Chi-Squared =   2.951892e+06 using 59 PHA bins.

Test statistic : Chi-Squared =   2.951892e+06 using 59 PHA bins.
 Reduced chi-squared =       53670.76 for     55 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 Current data and model not fit yet.
XSPEC12>renorm

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

Test statistic : Chi-Squared =          99.28 using 59 PHA bins.
 Reduced chi-squared =          1.805 for     55 degrees of freedom 
 Null hypothesis probability =   2.374781e-04
 Current data and model not fit yet.
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta       3:epeak        5:norm
81.1191      8.84157      -3     -0.984036      -1.09596       126.411     0.0125468
78.624       409.444      -2      -1.04313      -1.28805       222.616     0.0135957
63.5126      2501.91      -2     -0.972074      -1.48083       185.755     0.0135829
62.5892      286.57       -3     -0.946681      -1.72624       164.499     0.0141090
62.5846      54.7008      -3     -0.958865      -2.27403       171.911     0.0139093
==================================================
 Variances and Principal Axes
                 1        2        3        5  
 1.7083E-07| -0.0050   0.0001   0.0000   1.0000  
 7.0288E-03|  0.9997   0.0257   0.0028   0.0050  
 1.9038E+00| -0.0257   0.9996   0.0111  -0.0002  
 1.0538E+04|  0.0025   0.0112  -0.9999   0.0000  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   7.452e-02   2.468e-01  -2.642e+01   1.173e-03
   2.468e-01   3.220e+00  -1.178e+02   4.587e-03
  -2.642e+01  -1.178e+02   1.054e+04  -4.491e-01
   1.173e-03   4.587e-03  -4.491e-01   1.959e-05
------------------------------------------------

========================================================================
Model ngrbep<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   ngrbep     alpha               -0.958865    +/-  0.272980     
   2    1   ngrbep     beta                -2.27403     +/-  1.79451      
   3    1   ngrbep     epeak      keV      171.911      +/-  102.646      
   4    1   ngrbep     enorm      keV      50.0000      frozen
   5    1   ngrbep     norm                1.39093E-02  +/-  4.42627E-03  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.58 using 59 PHA bins.
 Reduced chi-squared =          1.138 for     55 degrees of freedom 
 Null hypothesis probability =   2.250394e-01
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta       3:epeak        5:norm
62.5684      0.403717      0     -0.961092      -8.42683       171.669     0.0138847
==================================================
 Variances and Principal Axes
                 1        2        3        5  
 1.6439E-07| -0.0047   0.0000   0.0000   1.0000  
 6.6678E-03|  1.0000   0.0003   0.0026   0.0047  
 4.3812E+03| -0.0024   0.4796   0.8775  -0.0000  
 3.8620E+04|  0.0010   0.8775  -0.4796   0.0000  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   7.145e-02   2.901e+01  -2.795e+01   1.096e-03
   2.901e+01   3.074e+04  -1.441e+04   5.121e-01
  -2.795e+01  -1.441e+04   1.226e+04  -4.630e-01
   1.096e-03   5.121e-01  -4.630e-01   1.787e-05
------------------------------------------------

========================================================================
Model ngrbep<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   ngrbep     alpha               -0.961092    +/-  0.267302     
   2    1   ngrbep     beta                -8.42683     +/-  175.339      
   3    1   ngrbep     epeak      keV      171.669      +/-  110.715      
   4    1   ngrbep     enorm      keV      50.0000      frozen
   5    1   ngrbep     norm                1.38847E-02  +/-  4.22776E-03  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.57 using 59 PHA bins.
 Reduced chi-squared =          1.138 for     55 degrees of freedom 
 Null hypothesis probability =   2.254637e-01
XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta       3:epeak        5:norm
62.5647      0.293149      0     -0.963896      -9.14719       171.515     0.0138904
==================================================
 Variances and Principal Axes
                 1        2        3        5  
 1.6431E-07| -0.0047   0.0000   0.0000   1.0000  
 6.6710E-03|  1.0000   0.0000   0.0026   0.0047  
 5.4526E+03| -0.0026   0.0000   1.0000  -0.0000  
 4.6428E+21|  0.0000   1.0000  -0.0000  -0.0000  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   4.891e-02   5.295e+11  -2.025e+01   6.205e-04
   5.295e+11   5.492e+25  -6.249e+14   1.227e+09
  -2.025e+01  -6.249e+14   1.256e+04  -2.351e-01
   6.205e-04   1.227e+09  -2.351e-01   9.309e-06
------------------------------------------------

========================================================================
Model ngrbep<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   ngrbep     alpha               -0.963896    +/-  0.221164     
   2    1   ngrbep     beta                -9.14719     +/-  7.41102E+12  
   3    1   ngrbep     epeak      keV      171.515      +/-  112.079      
   4    1   ngrbep     enorm      keV      50.0000      frozen
   5    1   ngrbep     norm                1.38904E-02  +/-  3.05100E-03  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.56 using 59 PHA bins.
 Reduced chi-squared =          1.138 for     55 degrees of freedom 
 Null hypothesis probability =   2.255606e-01
XSPEC12>log bat_spec_ngrbep.log
Logging to file:bat_spec_ngrbep.log
XSPEC12>show

XSPEC version: 12.8.2

Sun May 31 12:10:49 2015
 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-unknown-linux-gnu-libc2.12/../spectral/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: 
   ../sw00228006000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     ../sw00228006000b_preslew.rsp

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

 Spectral data counts: 1.61492
 Model predicted rate: 0.142500


Current model list:

========================================================================
Model ngrbep<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   ngrbep     alpha               -0.963896    +/-  0.221164     
   2    1   ngrbep     beta                -9.14719     +/-  7.41102E+12  
   3    1   ngrbep     epeak      keV      171.515      +/-  112.079      
   4    1   ngrbep     enorm      keV      50.0000      frozen
   5    1   ngrbep     norm                1.38904E-02  +/-  3.05100E-03  
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          62.56 using 59 PHA bins.
 Reduced chi-squared =          1.138 for     55 degrees of freedom 
 Null hypothesis probability =   2.255606e-01
 Weighting method: standard
XSPEC12>query yes
XSPEC12>flux 20.0 50.0
 Model Flux   0.51412 photons (2.667e-08 ergs/cm^2/s) range (20.000 - 50.000 keV)
XSPEC12>flux 50.0 150.0
 Model Flux   0.45489 photons (6.3099e-08 ergs/cm^2/s) range (50.000 - 150.00 keV)
XSPEC12>error 1
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values -0.845699, -0.600355
and delta stat 1.01409, 3.44184
but latest trial -0.670172 gives 11.3183
Suggest that you check this result using the steppar command.
     1     -1.24493    -0.723027    (-0.280761,0.241142)
XSPEC12>error 2
 Parameter   Confidence Range (2.706)
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta       3:epeak        5:norm
62.5021      3.02559e-05   1     -0.923340      -10.0000       156.230     0.0145643
62.5021      0.0451865     2     -0.923340      -10.0000       156.230     0.0145643
==================================================
 Variances and Principal Axes
                 1        2        3        5  
 1.8105E-07| -0.0055   0.0000   0.0000   1.0000  
 7.3575E-03|  1.0000   0.0000   0.0034   0.0055  
 3.3061E+03| -0.0034   0.0000   1.0000  -0.0001  
 7.0478E+20|  0.0000   1.0000  -0.0000   0.0000  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   4.818e-02   5.091e+12  -1.289e+01   7.004e-04
   5.091e+12   7.449e+27  -2.596e+15   6.789e+10
  -1.289e+01  -2.596e+15   4.211e+03  -2.063e-01
   7.004e-04   6.789e+10  -2.063e-01   1.111e-05
------------------------------------------------

========================================================================
Model ngrbep<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   ngrbep     alpha               -0.923340    +/-  0.219508     
   2    1   ngrbep     beta                -10.0000     +/-  8.63053E+13  
   3    1   ngrbep     epeak      keV      156.230      +/-  64.8902      
   4    1   ngrbep     enorm      keV      50.0000      frozen
   5    1   ngrbep     norm                1.45643E-02  +/-  3.33250E-03  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.50 using 59 PHA bins.
 Reduced chi-squared =          1.136 for     55 degrees of freedom 
 Null hypothesis probability =   2.272106e-01

***Warning: Number of trials exceeded before bracketing of delta fit-stat.
Last attempt: -7.4436e+19, with delta statistic: 0


***Warning: Number of trials exceeded before bracketing of delta fit-stat.
Last attempt: -7.80497e+25, with delta statistic: 0


***Warning: Number of trials exceeded before convergence.
Current trial values -1.97894e+15, 2.92607e+14
and delta statistic 0, 107.834


***Warning: Number of trials exceeded before convergence.
Current trial values -1.97894e+15, 2.92607e+14
and delta statistic 0, 107.834

     2            0          -10    (10,7.10543e-15)
XSPEC12>error 3
 Parameter   Confidence Range (2.706)

***Warning: Number of trials exceeded before convergence.
Current trial values 119.941, 119.94
and delta statistic 0.87439, 3.86477

***Warning: Zero alpha-matrix diagonal element for parameter 2
 Parameter 2 is pegged at -10 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 2
 Parameter 2 is pegged at -10 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 2
 Parameter 2 is pegged at -10 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 2
 Parameter 2 is pegged at -10 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
     3       119.94      776.112    (-36.2899,619.882)
XSPEC12>error 5
 Parameter   Confidence Range (2.706)
***Warning: Zero alpha-matrix diagonal element for parameter 2
 Parameter 2 is pegged at -10 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 2
 Parameter 2 is pegged at -10 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
     5    0.0102676    0.0212419    (-0.0042967,0.00667766)
XSPEC12>flux 15.0 350.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux    1.2839 photons (1.445e-07 ergs/cm^2/s) range (15.000 - 350.00 keV)
     Error range    0.7070 - 1.333    (4.849e-08 - 1.518e-07)  (90.00% confidence)
XSPEC12>flux 15.0 150.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux    1.1381 photons (9.3995e-08 ergs/cm^2/s) range (15.000 - 150.00 keV)
     Error range    0.5769 - 1.166    (3.695e-08 - 9.581e-08)  (90.00% confidence)
XSPEC12>flux 15.0 25.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.30228 photons (9.4691e-09 ergs/cm^2/s) range (15.000 - 25.000 keV)
     Error range    0.2053 - 0.3315    (6.443e-09 - 1.034e-08)  (90.00% confidence)
XSPEC12>flux 25.0 50.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux    0.3836 photons (2.2016e-08 ergs/cm^2/s) range (25.000 - 50.000 keV)
     Error range    0.2948 - 0.3994    (1.676e-08 - 2.291e-08)  (90.00% confidence)
XSPEC12>flux 50.0 100.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.31643 photons (3.5968e-08 ergs/cm^2/s) range (50.000 - 100.00 keV)
     Error range   0.07923 - 0.3245    (8.503e-09 - 3.700e-08)  (90.00% confidence)
XSPEC12>flux 100.0 150.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.13576 photons (2.6541e-08 ergs/cm^2/s) range (100.00 - 150.00 keV)
     Error range   0.03096 - 0.1394    (5.912e-09 - 2.726e-08)  (90.00% confidence)
XSPEC12>flux 100.0 350.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.28163 photons (7.7049e-08 ergs/cm^2/s) range (100.00 - 350.00 keV)
     Error range   0.05829 - 0.3195    (1.302e-08 - 8.896e-08)  (90.00% confidence)
XSPEC12>log none
Log file closed
logging switched off
XSPEC12>setplot energy
XSPEC12>setplot command sc white
1
XSPEC12>setplot command cpd bat_spec_ngrbep.gif/gif
2
XSPEC12>plot ldata delchi
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_phgrb_part1_15_350ke 
v_fit.xcm

!XSPEC12>log none;
No log file open

!XSPEC12>query no;

!XSPEC12>model nphgrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     80.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -1.00000     +/-  0.0          
   2    1   nphgrb     beta                -2.50000     +/-  0.0          
   3    1   nphgrb     tem        keV      80.0000      +/-  0.0          
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =         139.68 using 59 PHA bins.
 Reduced chi-squared =         2.5396 for     55 degrees of freedom 
 Null hypothesis probability =   2.632978e-09
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
69.8768      23.783       -3      -1.03250      -1.40907       133.242       1.29489
62.7739      14.9636      -2     -0.823503      -1.47537       106.585       1.35478
62.6485      1.01477      -3     -0.801864      -1.52006       98.5053       1.34521
62.6472      0.133042     -4     -0.796837      -1.51805       97.7356       1.34578
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4590E-03| -0.1071   0.2168  -0.0003  -0.9703  
 4.8407E-03|  0.9692   0.2404   0.0042  -0.0532  
 5.6640E-02| -0.2217   0.9462   0.0004   0.2358  
 1.2990E+04| -0.0040  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.154e-01   5.561e-02  -5.199e+01   3.485e-03
   5.561e-02   7.224e-02  -1.659e+01   1.436e-02
  -5.199e+01  -1.659e+01   1.299e+04  -1.635e+00
   3.485e-03   1.436e-02  -1.635e+00   4.743e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.796837    +/-  0.464124     
   2    1   nphgrb     beta                -1.51805     +/-  0.268780     
   3    1   nphgrb     tem        keV      97.7356      +/-  113.971      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34578      +/-  6.88707E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234011e-01

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.00137024   -3     -0.797132      -1.51844       97.8253       1.34571
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1073   0.2179  -0.0003  -0.9701  
 4.8612E-03|  0.9684   0.2436   0.0042  -0.0524  
 5.5794E-02| -0.2249   0.9451   0.0003   0.2372  
 1.2778E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.180e-01   5.540e-02  -5.187e+01   3.416e-03
   5.540e-02   7.097e-02  -1.630e+01   1.417e-02
  -5.187e+01  -1.630e+01   1.278e+04  -1.598e+00
   3.416e-03   1.417e-02  -1.598e+00   4.724e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797132    +/-  0.466866     
   2    1   nphgrb     beta                -1.51844     +/-  0.266408     
   3    1   nphgrb     tem        keV      97.8253      +/-  113.040      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34571      +/-  6.87298E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234013e-01

!XSPEC12>fit 100;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.000157036  -3     -0.797234      -1.51850       97.8523       1.34570
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1071   0.2177  -0.0003  -0.9701  
 4.8562E-03|  0.9686   0.2428   0.0042  -0.0525  
 5.6012E-02| -0.2241   0.9453   0.0003   0.2369  
 1.2774E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.173e-01   5.547e-02  -5.179e+01   3.478e-03
   5.547e-02   7.131e-02  -1.634e+01   1.424e-02
  -5.179e+01  -1.634e+01   1.277e+04  -1.615e+00
   3.478e-03   1.424e-02  -1.615e+00   4.733e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797234    +/-  0.466194     
   2    1   nphgrb     beta                -1.51850     +/-  0.267032     
   3    1   nphgrb     tem        keV      97.8523      +/-  113.023      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34570      +/-  6.87993E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>log phgrb50_15_350kev.log;
Logging to file:phgrb50_15_350kev.log

!XSPEC12>show;

XSPEC version: 12.8.2

Sun May 31 12:10:50 2015
 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-unknown-linux-gnu-libc2.12/../spectral/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: Energy
   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: 
   ../sw00228006000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     ../sw00228006000b_preslew.rsp

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

 Spectral data counts: 1.61492
 Model predicted rate: 0.142056


Current model list:

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797234    +/-  0.466194     
   2    1   nphgrb     beta                -1.51850     +/-  0.267032     
   3    1   nphgrb     tem        keV      97.8523      +/-  113.023      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34570      +/-  6.87993E-02  
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01
 Weighting method: standard

!XSPEC12>error 7;
 Parameter   Confidence Range (2.706)
Error occurred during lower bound error calculation.

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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01
 Current data and model not fit yet.
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_phgrb_part2_15_150ke 
v_fit.xcm

!XSPEC12>log none;
Log file closed

!XSPEC12>query no;

!XSPEC12>model nphgrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     80.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -1.00000     +/-  0.0          
   2    1   nphgrb     beta                -2.50000     +/-  0.0          
   3    1   nphgrb     tem        keV      80.0000      +/-  0.0          
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =         139.68 using 59 PHA bins.
 Reduced chi-squared =         2.5396 for     55 degrees of freedom 
 Null hypothesis probability =   2.632978e-09
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
69.8768      23.783       -3      -1.03250      -1.40907       133.242       1.29489
62.7739      14.9636      -2     -0.823503      -1.47537       106.585       1.35478
62.6485      1.01477      -3     -0.801864      -1.52006       98.5053       1.34521
62.6472      0.133042     -4     -0.796837      -1.51805       97.7356       1.34578
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4590E-03| -0.1071   0.2168  -0.0003  -0.9703  
 4.8407E-03|  0.9692   0.2404   0.0042  -0.0532  
 5.6640E-02| -0.2217   0.9462   0.0004   0.2358  
 1.2990E+04| -0.0040  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.154e-01   5.561e-02  -5.199e+01   3.485e-03
   5.561e-02   7.224e-02  -1.659e+01   1.436e-02
  -5.199e+01  -1.659e+01   1.299e+04  -1.635e+00
   3.485e-03   1.436e-02  -1.635e+00   4.743e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.796837    +/-  0.464124     
   2    1   nphgrb     beta                -1.51805     +/-  0.268780     
   3    1   nphgrb     tem        keV      97.7356      +/-  113.971      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34578      +/-  6.88707E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234011e-01

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.00137024   -3     -0.797132      -1.51844       97.8253       1.34571
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1073   0.2179  -0.0003  -0.9701  
 4.8612E-03|  0.9684   0.2436   0.0042  -0.0524  
 5.5794E-02| -0.2249   0.9451   0.0003   0.2372  
 1.2778E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.180e-01   5.540e-02  -5.187e+01   3.416e-03
   5.540e-02   7.097e-02  -1.630e+01   1.417e-02
  -5.187e+01  -1.630e+01   1.278e+04  -1.598e+00
   3.416e-03   1.417e-02  -1.598e+00   4.724e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797132    +/-  0.466866     
   2    1   nphgrb     beta                -1.51844     +/-  0.266408     
   3    1   nphgrb     tem        keV      97.8253      +/-  113.040      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34571      +/-  6.87298E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234013e-01

!XSPEC12>fit 100;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.000157036  -3     -0.797234      -1.51850       97.8523       1.34570
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1071   0.2177  -0.0003  -0.9701  
 4.8562E-03|  0.9686   0.2428   0.0042  -0.0525  
 5.6012E-02| -0.2241   0.9453   0.0003   0.2369  
 1.2774E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.173e-01   5.547e-02  -5.179e+01   3.478e-03
   5.547e-02   7.131e-02  -1.634e+01   1.424e-02
  -5.179e+01  -1.634e+01   1.277e+04  -1.615e+00
   3.478e-03   1.424e-02  -1.615e+00   4.733e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797234    +/-  0.466194     
   2    1   nphgrb     beta                -1.51850     +/-  0.267032     
   3    1   nphgrb     tem        keV      97.8523      +/-  113.023      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34570      +/-  6.87993E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>newpar 4 15.0;

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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01
 Current data and model not fit yet.

!XSPEC12>newpar 5 150.0;

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

Test statistic : Chi-Squared =         102.46 using 59 PHA bins.
 Reduced chi-squared =         1.8629 for     55 degrees of freedom 
 Null hypothesis probability =   1.082398e-04
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      3.19181e-05   2     -0.797234      -1.51850       97.8523       1.13622
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.0564E-03| -0.2278  -0.0106  -0.0009  -0.9737  
 5.0454E-03|  0.9461   0.2340   0.0041  -0.2239  
 5.3082E-02| -0.2302   0.9722   0.0003   0.0433  
 1.2779E+04| -0.0041  -0.0013   1.0000   0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.178e+01  -5.008e-03
   5.549e-02   7.136e-02  -1.635e+01   8.307e-04
  -5.178e+01  -1.635e+01   1.278e+04   8.994e-01
  -5.008e-03   8.307e-04   8.994e-01   1.417e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797234    +/-  0.466065     
   2    1   nphgrb     beta                -1.51850     +/-  0.267135     
   3    1   nphgrb     tem        keV      97.8523      +/-  113.044      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      150.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.13622      +/-  3.76458E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      3.19181e-05   4     -0.797234      -1.51850       97.8523       1.13622
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.0564E-03| -0.2278  -0.0106  -0.0009  -0.9737  
 5.0454E-03|  0.9461   0.2340   0.0041  -0.2239  
 5.3082E-02| -0.2302   0.9722   0.0003   0.0433  
 1.2779E+04| -0.0041  -0.0013   1.0000   0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.178e+01  -5.008e-03
   5.549e-02   7.136e-02  -1.635e+01   8.307e-04
  -5.178e+01  -1.635e+01   1.278e+04   8.994e-01
  -5.008e-03   8.307e-04   8.994e-01   1.417e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797234    +/-  0.466065     
   2    1   nphgrb     beta                -1.51850     +/-  0.267135     
   3    1   nphgrb     tem        keV      97.8523      +/-  113.044      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      150.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.13622      +/-  3.76458E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>fit 100;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      3.19181e-05   4     -0.797234      -1.51850       97.8523       1.13622
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.0564E-03| -0.2278  -0.0106  -0.0009  -0.9737  
 5.0454E-03|  0.9461   0.2340   0.0041  -0.2239  
 5.3082E-02| -0.2302   0.9722   0.0003   0.0433  
 1.2779E+04| -0.0041  -0.0013   1.0000   0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.178e+01  -5.008e-03
   5.549e-02   7.136e-02  -1.635e+01   8.307e-04
  -5.178e+01  -1.635e+01   1.278e+04   8.994e-01
  -5.008e-03   8.307e-04   8.994e-01   1.417e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797234    +/-  0.466065     
   2    1   nphgrb     beta                -1.51850     +/-  0.267135     
   3    1   nphgrb     tem        keV      97.8523      +/-  113.044      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      150.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.13622      +/-  3.76458E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>log phgrb50_15_150kev.log;
Logging to file:phgrb50_15_150kev.log

!XSPEC12>show;

XSPEC version: 12.8.2

Sun May 31 12:10:51 2015
 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-unknown-linux-gnu-libc2.12/../spectral/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: Energy
   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: 
   ../sw00228006000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     ../sw00228006000b_preslew.rsp

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

 Spectral data counts: 1.61492
 Model predicted rate: 0.142056


Current model list:

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797234    +/-  0.466065     
   2    1   nphgrb     beta                -1.51850     +/-  0.267135     
   3    1   nphgrb     tem        keV      97.8523      +/-  113.044      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      150.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.13622      +/-  3.76458E-02  
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01
 Weighting method: standard

!XSPEC12>error 7;
 Parameter   Confidence Range (2.706)
     7      1.07448      1.19805    (-0.061748,0.0618257)

!XSPEC12>log none;
Log file closed
logging switched off
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_phgrb_part3_15_25kev 
_fit.xcm

!XSPEC12>log none;
No log file open

!XSPEC12>query no;

!XSPEC12>model nphgrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     80.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -1.00000     +/-  0.0          
   2    1   nphgrb     beta                -2.50000     +/-  0.0          
   3    1   nphgrb     tem        keV      80.0000      +/-  0.0          
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =         139.68 using 59 PHA bins.
 Reduced chi-squared =         2.5396 for     55 degrees of freedom 
 Null hypothesis probability =   2.632978e-09
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
69.8768      23.783       -3      -1.03250      -1.40907       133.242       1.29489
62.7739      14.9636      -2     -0.823503      -1.47537       106.585       1.35478
62.6485      1.01477      -3     -0.801864      -1.52006       98.5053       1.34521
62.6472      0.133042     -4     -0.796837      -1.51805       97.7356       1.34578
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4590E-03| -0.1071   0.2168  -0.0003  -0.9703  
 4.8407E-03|  0.9692   0.2404   0.0042  -0.0532  
 5.6640E-02| -0.2217   0.9462   0.0004   0.2358  
 1.2990E+04| -0.0040  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.154e-01   5.561e-02  -5.199e+01   3.485e-03
   5.561e-02   7.224e-02  -1.659e+01   1.436e-02
  -5.199e+01  -1.659e+01   1.299e+04  -1.635e+00
   3.485e-03   1.436e-02  -1.635e+00   4.743e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.796837    +/-  0.464124     
   2    1   nphgrb     beta                -1.51805     +/-  0.268780     
   3    1   nphgrb     tem        keV      97.7356      +/-  113.971      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34578      +/-  6.88707E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234011e-01

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.00137024   -3     -0.797132      -1.51844       97.8253       1.34571
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1073   0.2179  -0.0003  -0.9701  
 4.8612E-03|  0.9684   0.2436   0.0042  -0.0524  
 5.5794E-02| -0.2249   0.9451   0.0003   0.2372  
 1.2778E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.180e-01   5.540e-02  -5.187e+01   3.416e-03
   5.540e-02   7.097e-02  -1.630e+01   1.417e-02
  -5.187e+01  -1.630e+01   1.278e+04  -1.598e+00
   3.416e-03   1.417e-02  -1.598e+00   4.724e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797132    +/-  0.466866     
   2    1   nphgrb     beta                -1.51844     +/-  0.266408     
   3    1   nphgrb     tem        keV      97.8253      +/-  113.040      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34571      +/-  6.87298E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234013e-01

!XSPEC12>fit 100;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.000157036  -3     -0.797234      -1.51850       97.8523       1.34570
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1071   0.2177  -0.0003  -0.9701  
 4.8562E-03|  0.9686   0.2428   0.0042  -0.0525  
 5.6012E-02| -0.2241   0.9453   0.0003   0.2369  
 1.2774E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.173e-01   5.547e-02  -5.179e+01   3.478e-03
   5.547e-02   7.131e-02  -1.634e+01   1.424e-02
  -5.179e+01  -1.634e+01   1.277e+04  -1.615e+00
   3.478e-03   1.424e-02  -1.615e+00   4.733e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797234    +/-  0.466194     
   2    1   nphgrb     beta                -1.51850     +/-  0.267032     
   3    1   nphgrb     tem        keV      97.8523      +/-  113.023      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34570      +/-  6.87993E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>newpar 5 25.0;

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

Test statistic : Chi-Squared =       14430.40 using 59 PHA bins.
 Reduced chi-squared =       262.3710 for     55 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      2.64947e-05  -2     -0.797239      -1.51850       97.8539      0.298895
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 7.1513E-05| -0.2500  -0.0262  -0.0009  -0.9679  
 5.1609E-03|  0.9404   0.2313   0.0041  -0.2492  
 5.3038E-02| -0.2304   0.9725   0.0003   0.0332  
 1.2782E+04| -0.0041  -0.0013   1.0000   0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.548e-02  -5.179e+01  -8.546e-03
   5.548e-02   7.135e-02  -1.635e+01  -7.744e-04
  -5.179e+01  -1.635e+01   1.278e+04   1.715e+00
  -8.546e-03  -7.744e-04   1.715e+00   6.760e-04
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797239    +/-  0.466081     
   2    1   nphgrb     beta                -1.51850     +/-  0.267117     
   3    1   nphgrb     tem        keV      97.8539      +/-  113.056      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      25.0000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.298895     +/-  2.60007E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      1.19356e-05  -2     -0.797244      -1.51850       97.8552      0.298896
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 7.1513E-05| -0.2500  -0.0262  -0.0009  -0.9679  
 5.1608E-03|  0.9404   0.2313   0.0041  -0.2492  
 5.3041E-02| -0.2304   0.9725   0.0003   0.0332  
 1.2781E+04| -0.0041  -0.0013   1.0000   0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.548e-02  -5.179e+01  -8.547e-03
   5.548e-02   7.136e-02  -1.635e+01  -7.752e-04
  -5.179e+01  -1.635e+01   1.278e+04   1.715e+00
  -8.547e-03  -7.752e-04   1.715e+00   6.761e-04
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797244    +/-  0.466062     
   2    1   nphgrb     beta                -1.51850     +/-  0.267128     
   3    1   nphgrb     tem        keV      97.8552      +/-  113.053      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      25.0000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.298896     +/-  2.60026E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>fit 100;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      2.10674e-05   0     -0.797244      -1.51850       97.8552      0.298895
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 7.1513E-05| -0.2500  -0.0262  -0.0009  -0.9679  
 5.1607E-03|  0.9404   0.2313   0.0041  -0.2492  
 5.3044E-02| -0.2304   0.9725   0.0003   0.0332  
 1.2782E+04| -0.0041  -0.0013   1.0000   0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.179e+01  -8.545e-03
   5.549e-02   7.136e-02  -1.635e+01  -7.746e-04
  -5.179e+01  -1.635e+01   1.278e+04   1.715e+00
  -8.545e-03  -7.746e-04   1.715e+00   6.760e-04
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797244    +/-  0.466056     
   2    1   nphgrb     beta                -1.51850     +/-  0.267136     
   3    1   nphgrb     tem        keV      97.8552      +/-  113.054      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      25.0000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.298895     +/-  2.60008E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>log phgrb50_15_25kev.log;
Logging to file:phgrb50_15_25kev.log

!XSPEC12>show;

XSPEC version: 12.8.2

Sun May 31 12:10:51 2015
 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-unknown-linux-gnu-libc2.12/../spectral/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: Energy
   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: 
   ../sw00228006000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     ../sw00228006000b_preslew.rsp

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

 Spectral data counts: 1.61492
 Model predicted rate: 0.142056


Current model list:

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797244    +/-  0.466056     
   2    1   nphgrb     beta                -1.51850     +/-  0.267136     
   3    1   nphgrb     tem        keV      97.8552      +/-  113.054      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      25.0000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.298895     +/-  2.60008E-02  
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01
 Weighting method: standard

!XSPEC12>error 7;
 Parameter   Confidence Range (2.706)
Error occurred during upper bound error calculation.

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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01
 Current data and model not fit yet.
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_phgrb_part4_25_50kev 
_fit.xcm

!XSPEC12>log none;
Log file closed

!XSPEC12>query no;

!XSPEC12>model nphgrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     80.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -1.00000     +/-  0.0          
   2    1   nphgrb     beta                -2.50000     +/-  0.0          
   3    1   nphgrb     tem        keV      80.0000      +/-  0.0          
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =         139.68 using 59 PHA bins.
 Reduced chi-squared =         2.5396 for     55 degrees of freedom 
 Null hypothesis probability =   2.632978e-09
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
69.8768      23.783       -3      -1.03250      -1.40907       133.242       1.29489
62.7739      14.9636      -2     -0.823503      -1.47537       106.585       1.35478
62.6485      1.01477      -3     -0.801864      -1.52006       98.5053       1.34521
62.6472      0.133042     -4     -0.796837      -1.51805       97.7356       1.34578
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4590E-03| -0.1071   0.2168  -0.0003  -0.9703  
 4.8407E-03|  0.9692   0.2404   0.0042  -0.0532  
 5.6640E-02| -0.2217   0.9462   0.0004   0.2358  
 1.2990E+04| -0.0040  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.154e-01   5.561e-02  -5.199e+01   3.485e-03
   5.561e-02   7.224e-02  -1.659e+01   1.436e-02
  -5.199e+01  -1.659e+01   1.299e+04  -1.635e+00
   3.485e-03   1.436e-02  -1.635e+00   4.743e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.796837    +/-  0.464124     
   2    1   nphgrb     beta                -1.51805     +/-  0.268780     
   3    1   nphgrb     tem        keV      97.7356      +/-  113.971      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34578      +/-  6.88707E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234011e-01

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.00137024   -3     -0.797132      -1.51844       97.8253       1.34571
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1073   0.2179  -0.0003  -0.9701  
 4.8612E-03|  0.9684   0.2436   0.0042  -0.0524  
 5.5794E-02| -0.2249   0.9451   0.0003   0.2372  
 1.2778E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.180e-01   5.540e-02  -5.187e+01   3.416e-03
   5.540e-02   7.097e-02  -1.630e+01   1.417e-02
  -5.187e+01  -1.630e+01   1.278e+04  -1.598e+00
   3.416e-03   1.417e-02  -1.598e+00   4.724e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797132    +/-  0.466866     
   2    1   nphgrb     beta                -1.51844     +/-  0.266408     
   3    1   nphgrb     tem        keV      97.8253      +/-  113.040      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34571      +/-  6.87298E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234013e-01

!XSPEC12>fit 100;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.000157036  -3     -0.797234      -1.51850       97.8523       1.34570
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1071   0.2177  -0.0003  -0.9701  
 4.8562E-03|  0.9686   0.2428   0.0042  -0.0525  
 5.6012E-02| -0.2241   0.9453   0.0003   0.2369  
 1.2774E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.173e-01   5.547e-02  -5.179e+01   3.478e-03
   5.547e-02   7.131e-02  -1.634e+01   1.424e-02
  -5.179e+01  -1.634e+01   1.277e+04  -1.615e+00
   3.478e-03   1.424e-02  -1.615e+00   4.733e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797234    +/-  0.466194     
   2    1   nphgrb     beta                -1.51850     +/-  0.267032     
   3    1   nphgrb     tem        keV      97.8523      +/-  113.023      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34570      +/-  6.87993E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>newpar 4 25.0;

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

Test statistic : Chi-Squared =         158.15 using 59 PHA bins.
 Reduced chi-squared =         2.8755 for     55 degrees of freedom 
 Null hypothesis probability =   6.459066e-12
 Current data and model not fit yet.

!XSPEC12>newpar 5 50.0;

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

Test statistic : Chi-Squared =        7231.86 using 59 PHA bins.
 Reduced chi-squared =        131.488 for     55 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      2.71249e-05  -3     -0.797257      -1.51851       97.8583      0.387370
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.2667E-04| -0.1015  -0.0344  -0.0006  -0.9942  
 4.8991E-03|  0.9680   0.2272   0.0042  -0.1066  
 5.2984E-02| -0.2296   0.9732   0.0003  -0.0103  
 1.2779E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.548e-02  -5.178e+01   4.971e-03
   5.548e-02   7.135e-02  -1.635e+01   1.042e-03
  -5.178e+01  -1.635e+01   1.278e+04  -1.318e+00
   4.971e-03   1.042e-03  -1.318e+00   3.224e-04
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797257    +/-  0.466060     
   2    1   nphgrb     beta                -1.51851     +/-  0.267117     
   3    1   nphgrb     tem        keV      97.8583      +/-  113.045      
   4    1   nphgrb     eMin       keV      25.0000      frozen
   5    1   nphgrb     eMax       keV      50.0000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.387370     +/-  1.79548E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      6.09736e-06  -3     -0.797270      -1.51851       97.8616      0.387370
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.2667E-04| -0.1015  -0.0344  -0.0006  -0.9942  
 4.8989E-03|  0.9680   0.2272   0.0042  -0.1066  
 5.2993E-02| -0.2296   0.9732   0.0003  -0.0103  
 1.2780E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.178e+01   4.974e-03
   5.549e-02   7.137e-02  -1.635e+01   1.043e-03
  -5.178e+01  -1.635e+01   1.278e+04  -1.319e+00
   4.974e-03   1.043e-03  -1.319e+00   3.225e-04
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797270    +/-  0.466027     
   2    1   nphgrb     beta                -1.51851     +/-  0.267146     
   3    1   nphgrb     tem        keV      97.8616      +/-  113.048      
   4    1   nphgrb     eMin       keV      25.0000      frozen
   5    1   nphgrb     eMax       keV      50.0000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.387370     +/-  1.79591E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>fit 100;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      1.20642e-05  -1     -0.797269      -1.51851       97.8612      0.387370
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.2667E-04| -0.1015  -0.0344  -0.0006  -0.9942  
 4.8987E-03|  0.9680   0.2272   0.0042  -0.1066  
 5.2997E-02| -0.2295   0.9732   0.0003  -0.0103  
 1.2781E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.178e+01   4.971e-03
   5.549e-02   7.137e-02  -1.635e+01   1.043e-03
  -5.178e+01  -1.635e+01   1.278e+04  -1.318e+00
   4.971e-03   1.043e-03  -1.318e+00   3.224e-04
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797269    +/-  0.466014     
   2    1   nphgrb     beta                -1.51851     +/-  0.267158     
   3    1   nphgrb     tem        keV      97.8612      +/-  113.051      
   4    1   nphgrb     eMin       keV      25.0000      frozen
   5    1   nphgrb     eMax       keV      50.0000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.387370     +/-  1.79545E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>log phgrb50_25_50kev.log;
Logging to file:phgrb50_25_50kev.log

!XSPEC12>show;

XSPEC version: 12.8.2

Sun May 31 12:10:52 2015
 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-unknown-linux-gnu-libc2.12/../spectral/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: Energy
   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: 
   ../sw00228006000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     ../sw00228006000b_preslew.rsp

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

 Spectral data counts: 1.61492
 Model predicted rate: 0.142056


Current model list:

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797269    +/-  0.466014     
   2    1   nphgrb     beta                -1.51851     +/-  0.267158     
   3    1   nphgrb     tem        keV      97.8612      +/-  113.051      
   4    1   nphgrb     eMin       keV      25.0000      frozen
   5    1   nphgrb     eMax       keV      50.0000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.387370     +/-  1.79545E-02  
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01
 Weighting method: standard

!XSPEC12>error 7;
 Parameter   Confidence Range (2.706)
Error occurred during lower bound error calculation.

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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01
 Current data and model not fit yet.
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_phgrb_part5_50_100ke 
v_fit.xcm

!XSPEC12>log none;
Log file closed

!XSPEC12>query no;

!XSPEC12>model nphgrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     80.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -1.00000     +/-  0.0          
   2    1   nphgrb     beta                -2.50000     +/-  0.0          
   3    1   nphgrb     tem        keV      80.0000      +/-  0.0          
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =         139.68 using 59 PHA bins.
 Reduced chi-squared =         2.5396 for     55 degrees of freedom 
 Null hypothesis probability =   2.632978e-09
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
69.8768      23.783       -3      -1.03250      -1.40907       133.242       1.29489
62.7739      14.9636      -2     -0.823503      -1.47537       106.585       1.35478
62.6485      1.01477      -3     -0.801864      -1.52006       98.5053       1.34521
62.6472      0.133042     -4     -0.796837      -1.51805       97.7356       1.34578
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4590E-03| -0.1071   0.2168  -0.0003  -0.9703  
 4.8407E-03|  0.9692   0.2404   0.0042  -0.0532  
 5.6640E-02| -0.2217   0.9462   0.0004   0.2358  
 1.2990E+04| -0.0040  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.154e-01   5.561e-02  -5.199e+01   3.485e-03
   5.561e-02   7.224e-02  -1.659e+01   1.436e-02
  -5.199e+01  -1.659e+01   1.299e+04  -1.635e+00
   3.485e-03   1.436e-02  -1.635e+00   4.743e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.796837    +/-  0.464124     
   2    1   nphgrb     beta                -1.51805     +/-  0.268780     
   3    1   nphgrb     tem        keV      97.7356      +/-  113.971      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34578      +/-  6.88707E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234011e-01

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.00137024   -3     -0.797132      -1.51844       97.8253       1.34571
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1073   0.2179  -0.0003  -0.9701  
 4.8612E-03|  0.9684   0.2436   0.0042  -0.0524  
 5.5794E-02| -0.2249   0.9451   0.0003   0.2372  
 1.2778E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.180e-01   5.540e-02  -5.187e+01   3.416e-03
   5.540e-02   7.097e-02  -1.630e+01   1.417e-02
  -5.187e+01  -1.630e+01   1.278e+04  -1.598e+00
   3.416e-03   1.417e-02  -1.598e+00   4.724e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797132    +/-  0.466866     
   2    1   nphgrb     beta                -1.51844     +/-  0.266408     
   3    1   nphgrb     tem        keV      97.8253      +/-  113.040      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34571      +/-  6.87298E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234013e-01

!XSPEC12>fit 100;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.000157036  -3     -0.797234      -1.51850       97.8523       1.34570
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1071   0.2177  -0.0003  -0.9701  
 4.8562E-03|  0.9686   0.2428   0.0042  -0.0525  
 5.6012E-02| -0.2241   0.9453   0.0003   0.2369  
 1.2774E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.173e-01   5.547e-02  -5.179e+01   3.478e-03
   5.547e-02   7.131e-02  -1.634e+01   1.424e-02
  -5.179e+01  -1.634e+01   1.277e+04  -1.615e+00
   3.478e-03   1.424e-02  -1.615e+00   4.733e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797234    +/-  0.466194     
   2    1   nphgrb     beta                -1.51850     +/-  0.267032     
   3    1   nphgrb     tem        keV      97.8523      +/-  113.023      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34570      +/-  6.87993E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>newpar 4 50.0;

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

Test statistic : Chi-Squared =        1331.31 using 59 PHA bins.
 Reduced chi-squared =        24.2057 for     55 degrees of freedom 
 Null hypothesis probability =  2.651030e-242
 Current data and model not fit yet.

!XSPEC12>newpar 5 100.0;

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

Test statistic : Chi-Squared =       12909.24 using 59 PHA bins.
 Reduced chi-squared =       234.7134 for     55 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      3.15822e-05  -3     -0.797245      -1.51850       97.8554      0.312108
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 8.2182E-05| -0.1092   0.0026  -0.0005   0.9940  
 4.8990E-03|  0.9671   0.2315   0.0042   0.1057  
 5.3028E-02| -0.2299   0.9728   0.0003  -0.0278  
 1.2777E+04|  0.0041   0.0013  -1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.178e+01  -2.309e-03
   5.549e-02   7.137e-02  -1.635e+01  -2.304e-03
  -5.178e+01  -1.635e+01   1.278e+04   7.747e-01
  -2.309e-03  -2.304e-03   7.747e-01   2.238e-04
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797245    +/-  0.466047     
   2    1   nphgrb     beta                -1.51850     +/-  0.267143     
   3    1   nphgrb     tem        keV      97.8554      +/-  113.036      
   4    1   nphgrb     eMin       keV      50.0000      frozen
   5    1   nphgrb     eMax       keV      100.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.312108     +/-  1.49593E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      7.83181e-06  -1     -0.797246      -1.51850       97.8555      0.312108
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 8.2182E-05| -0.1092   0.0026  -0.0005   0.9940  
 4.8988E-03|  0.9671   0.2315   0.0042   0.1057  
 5.3033E-02| -0.2299   0.9728   0.0003  -0.0278  
 1.2778E+04|  0.0041   0.0013  -1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.178e+01  -2.309e-03
   5.549e-02   7.137e-02  -1.635e+01  -2.304e-03
  -5.178e+01  -1.635e+01   1.278e+04   7.748e-01
  -2.309e-03  -2.304e-03   7.748e-01   2.238e-04
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797246    +/-  0.466029     
   2    1   nphgrb     beta                -1.51850     +/-  0.267159     
   3    1   nphgrb     tem        keV      97.8555      +/-  113.037      
   4    1   nphgrb     eMin       keV      50.0000      frozen
   5    1   nphgrb     eMax       keV      100.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.312108     +/-  1.49591E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>fit 100;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      6.3381e-06   -2     -0.797249      -1.51851       97.8563      0.312108
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 8.2182E-05| -0.1092   0.0026  -0.0005   0.9940  
 4.8988E-03|  0.9671   0.2315   0.0042   0.1057  
 5.3034E-02| -0.2299   0.9728   0.0003  -0.0278  
 1.2777E+04|  0.0041   0.0013  -1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.177e+01  -2.312e-03
   5.549e-02   7.137e-02  -1.635e+01  -2.305e-03
  -5.177e+01  -1.635e+01   1.278e+04   7.755e-01
  -2.312e-03  -2.305e-03   7.755e-01   2.239e-04
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797249    +/-  0.466026     
   2    1   nphgrb     beta                -1.51851     +/-  0.267161     
   3    1   nphgrb     tem        keV      97.8563      +/-  113.037      
   4    1   nphgrb     eMin       keV      50.0000      frozen
   5    1   nphgrb     eMax       keV      100.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.312108     +/-  1.49619E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>log phgrb50_50_100kev.log;
Logging to file:phgrb50_50_100kev.log

!XSPEC12>show;

XSPEC version: 12.8.2

Sun May 31 12:10:52 2015
 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-unknown-linux-gnu-libc2.12/../spectral/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: Energy
   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: 
   ../sw00228006000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     ../sw00228006000b_preslew.rsp

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

 Spectral data counts: 1.61492
 Model predicted rate: 0.142056


Current model list:

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797249    +/-  0.466026     
   2    1   nphgrb     beta                -1.51851     +/-  0.267161     
   3    1   nphgrb     tem        keV      97.8563      +/-  113.037      
   4    1   nphgrb     eMin       keV      50.0000      frozen
   5    1   nphgrb     eMax       keV      100.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.312108     +/-  1.49619E-02  
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01
 Weighting method: standard

!XSPEC12>error 7;
 Parameter   Confidence Range (2.706)
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.5111      0.524462      0     -0.928784      -9.30657       149.101      0.316845
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 8.4700E-05| -0.1088   0.0000  -0.0002   0.9941  
 3.2831E-03|  0.9941   0.0000   0.0024   0.1088  
 7.2082E+03| -0.0024   0.0142   0.9999  -0.0001  
 3.2000E+07|  0.0000   0.9999  -0.0142  -0.0000  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   6.887e-02   8.819e+02  -2.974e+01   1.158e-03
   8.819e+02   3.199e+07  -4.529e+05  -1.098e+01
  -2.974e+01  -4.529e+05   1.362e+04  -3.101e-01
   1.158e-03  -1.098e+01  -3.101e-01   1.564e-04
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.928784    +/-  0.262429     
   2    1   nphgrb     beta                -9.30657     +/-  5656.25      
   3    1   nphgrb     tem        keV      149.101      +/-  116.706      
   4    1   nphgrb     eMin       keV      50.0000      frozen
   5    1   nphgrb     eMax       keV      100.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.316845     +/-  1.25052E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.51 using 59 PHA bins.
 Reduced chi-squared =          1.137 for     55 degrees of freedom 
 Null hypothesis probability =   2.269732e-01
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_phgrb_part6_100_150k 
ev_fit.xcm

!XSPEC12>log none;
Log file closed

!XSPEC12>query no;

!XSPEC12>model nphgrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     80.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -1.00000     +/-  0.0          
   2    1   nphgrb     beta                -2.50000     +/-  0.0          
   3    1   nphgrb     tem        keV      80.0000      +/-  0.0          
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =         139.68 using 59 PHA bins.
 Reduced chi-squared =         2.5396 for     55 degrees of freedom 
 Null hypothesis probability =   2.632978e-09
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
69.8768      23.783       -3      -1.03250      -1.40907       133.242       1.29489
62.7739      14.9636      -2     -0.823503      -1.47537       106.585       1.35478
62.6485      1.01477      -3     -0.801864      -1.52006       98.5053       1.34521
62.6472      0.133042     -4     -0.796837      -1.51805       97.7356       1.34578
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4590E-03| -0.1071   0.2168  -0.0003  -0.9703  
 4.8407E-03|  0.9692   0.2404   0.0042  -0.0532  
 5.6640E-02| -0.2217   0.9462   0.0004   0.2358  
 1.2990E+04| -0.0040  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.154e-01   5.561e-02  -5.199e+01   3.485e-03
   5.561e-02   7.224e-02  -1.659e+01   1.436e-02
  -5.199e+01  -1.659e+01   1.299e+04  -1.635e+00
   3.485e-03   1.436e-02  -1.635e+00   4.743e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.796837    +/-  0.464124     
   2    1   nphgrb     beta                -1.51805     +/-  0.268780     
   3    1   nphgrb     tem        keV      97.7356      +/-  113.971      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34578      +/-  6.88707E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234011e-01

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.00137024   -3     -0.797132      -1.51844       97.8253       1.34571
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1073   0.2179  -0.0003  -0.9701  
 4.8612E-03|  0.9684   0.2436   0.0042  -0.0524  
 5.5794E-02| -0.2249   0.9451   0.0003   0.2372  
 1.2778E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.180e-01   5.540e-02  -5.187e+01   3.416e-03
   5.540e-02   7.097e-02  -1.630e+01   1.417e-02
  -5.187e+01  -1.630e+01   1.278e+04  -1.598e+00
   3.416e-03   1.417e-02  -1.598e+00   4.724e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797132    +/-  0.466866     
   2    1   nphgrb     beta                -1.51844     +/-  0.266408     
   3    1   nphgrb     tem        keV      97.8253      +/-  113.040      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34571      +/-  6.87298E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234013e-01

!XSPEC12>fit 100;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.000157036  -3     -0.797234      -1.51850       97.8523       1.34570
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1071   0.2177  -0.0003  -0.9701  
 4.8562E-03|  0.9686   0.2428   0.0042  -0.0525  
 5.6012E-02| -0.2241   0.9453   0.0003   0.2369  
 1.2774E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.173e-01   5.547e-02  -5.179e+01   3.478e-03
   5.547e-02   7.131e-02  -1.634e+01   1.424e-02
  -5.179e+01  -1.634e+01   1.277e+04  -1.615e+00
   3.478e-03   1.424e-02  -1.615e+00   4.733e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797234    +/-  0.466194     
   2    1   nphgrb     beta                -1.51850     +/-  0.267032     
   3    1   nphgrb     tem        keV      97.8523      +/-  113.023      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34570      +/-  6.87993E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>newpar 4 100.0;

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

Test statistic : Chi-Squared =        9741.39 using 59 PHA bins.
 Reduced chi-squared =        177.116 for     55 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 Current data and model not fit yet.

!XSPEC12>newpar 5 150.0;

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

Test statistic : Chi-Squared =       89994.11 using 59 PHA bins.
 Reduced chi-squared =       1636.257 for     55 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      3.36319e-05  -3     -0.797245      -1.51850       97.8551      0.137850
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.6099E-05| -0.0608  -0.0628  -0.0003   0.9962  
 4.8719E-03|  0.9715   0.2253   0.0042   0.0735  
 5.3126E-02| -0.2290   0.9723   0.0003   0.0473  
 1.2777E+04|  0.0041   0.0013  -1.0000   0.0000  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.178e+01   9.237e-04
   5.549e-02   7.139e-02  -1.635e+01   2.885e-03
  -5.178e+01  -1.635e+01   1.278e+04  -2.842e-01
   9.237e-04   2.885e-03  -2.842e-01   1.673e-04
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797245    +/-  0.466046     
   2    1   nphgrb     beta                -1.51850     +/-  0.267189     
   3    1   nphgrb     tem        keV      97.8551      +/-  113.033      
   4    1   nphgrb     eMin       keV      100.000      frozen
   5    1   nphgrb     eMax       keV      150.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.137850     +/-  1.29355E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      6.87026e-06   0     -0.797245      -1.51850       97.8551      0.137850
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.6099E-05| -0.0608  -0.0628  -0.0003   0.9962  
 4.8718E-03|  0.9715   0.2252   0.0042   0.0735  
 5.3131E-02| -0.2290   0.9723   0.0003   0.0473  
 1.2777E+04|  0.0041   0.0013  -1.0000   0.0000  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.177e+01   9.235e-04
   5.549e-02   7.140e-02  -1.635e+01   2.885e-03
  -5.177e+01  -1.635e+01   1.278e+04  -2.841e-01
   9.235e-04   2.885e-03  -2.841e-01   1.673e-04
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797245    +/-  0.466031     
   2    1   nphgrb     beta                -1.51850     +/-  0.267203     
   3    1   nphgrb     tem        keV      97.8551      +/-  113.034      
   4    1   nphgrb     eMin       keV      100.000      frozen
   5    1   nphgrb     eMax       keV      150.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.137850     +/-  1.29352E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>fit 100;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      5.10422e-06   0     -0.797245      -1.51850       97.8551      0.137850
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.6099E-05| -0.0609  -0.0628  -0.0003   0.9962  
 4.8717E-03|  0.9715   0.2252   0.0042   0.0735  
 5.3131E-02| -0.2290   0.9723   0.0003   0.0473  
 1.2777E+04|  0.0041   0.0013  -1.0000   0.0000  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.177e+01   9.232e-04
   5.549e-02   7.140e-02  -1.635e+01   2.885e-03
  -5.177e+01  -1.635e+01   1.278e+04  -2.841e-01
   9.232e-04   2.885e-03  -2.841e-01   1.673e-04
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797245    +/-  0.466027     
   2    1   nphgrb     beta                -1.51850     +/-  0.267201     
   3    1   nphgrb     tem        keV      97.8551      +/-  113.033      
   4    1   nphgrb     eMin       keV      100.000      frozen
   5    1   nphgrb     eMax       keV      150.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.137850     +/-  1.29350E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>log phgrb50_100_150kev.log;
Logging to file:phgrb50_100_150kev.log

!XSPEC12>show;

XSPEC version: 12.8.2

Sun May 31 12:10:53 2015
 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-unknown-linux-gnu-libc2.12/../spectral/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: Energy
   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: 
   ../sw00228006000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     ../sw00228006000b_preslew.rsp

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

 Spectral data counts: 1.61492
 Model predicted rate: 0.142056


Current model list:

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797245    +/-  0.466027     
   2    1   nphgrb     beta                -1.51850     +/-  0.267201     
   3    1   nphgrb     tem        keV      97.8551      +/-  113.033      
   4    1   nphgrb     eMin       keV      100.000      frozen
   5    1   nphgrb     eMax       keV      150.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.137850     +/-  1.29350E-02  
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01
 Weighting method: standard

!XSPEC12>error 7;
 Parameter   Confidence Range (2.706)
Error occurred during lower bound error calculation.

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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01
 Current data and model not fit yet.
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_phgrb_part7_100_350k 
ev_fit.xcm

!XSPEC12>log none;
Log file closed

!XSPEC12>query no;

!XSPEC12>model nphgrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     80.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -1.00000     +/-  0.0          
   2    1   nphgrb     beta                -2.50000     +/-  0.0          
   3    1   nphgrb     tem        keV      80.0000      +/-  0.0          
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =         139.68 using 59 PHA bins.
 Reduced chi-squared =         2.5396 for     55 degrees of freedom 
 Null hypothesis probability =   2.632978e-09
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
69.8768      23.783       -3      -1.03250      -1.40907       133.242       1.29489
62.7739      14.9636      -2     -0.823503      -1.47537       106.585       1.35478
62.6485      1.01477      -3     -0.801864      -1.52006       98.5053       1.34521
62.6472      0.133042     -4     -0.796837      -1.51805       97.7356       1.34578
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4590E-03| -0.1071   0.2168  -0.0003  -0.9703  
 4.8407E-03|  0.9692   0.2404   0.0042  -0.0532  
 5.6640E-02| -0.2217   0.9462   0.0004   0.2358  
 1.2990E+04| -0.0040  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.154e-01   5.561e-02  -5.199e+01   3.485e-03
   5.561e-02   7.224e-02  -1.659e+01   1.436e-02
  -5.199e+01  -1.659e+01   1.299e+04  -1.635e+00
   3.485e-03   1.436e-02  -1.635e+00   4.743e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.796837    +/-  0.464124     
   2    1   nphgrb     beta                -1.51805     +/-  0.268780     
   3    1   nphgrb     tem        keV      97.7356      +/-  113.971      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34578      +/-  6.88707E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234011e-01

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.00137024   -3     -0.797132      -1.51844       97.8253       1.34571
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1073   0.2179  -0.0003  -0.9701  
 4.8612E-03|  0.9684   0.2436   0.0042  -0.0524  
 5.5794E-02| -0.2249   0.9451   0.0003   0.2372  
 1.2778E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.180e-01   5.540e-02  -5.187e+01   3.416e-03
   5.540e-02   7.097e-02  -1.630e+01   1.417e-02
  -5.187e+01  -1.630e+01   1.278e+04  -1.598e+00
   3.416e-03   1.417e-02  -1.598e+00   4.724e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797132    +/-  0.466866     
   2    1   nphgrb     beta                -1.51844     +/-  0.266408     
   3    1   nphgrb     tem        keV      97.8253      +/-  113.040      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34571      +/-  6.87298E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234013e-01

!XSPEC12>fit 100;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      0.000157036  -3     -0.797234      -1.51850       97.8523       1.34570
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 1.4585E-03| -0.1071   0.2177  -0.0003  -0.9701  
 4.8562E-03|  0.9686   0.2428   0.0042  -0.0525  
 5.6012E-02| -0.2241   0.9453   0.0003   0.2369  
 1.2774E+04| -0.0041  -0.0013   1.0000  -0.0001  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.173e-01   5.547e-02  -5.179e+01   3.478e-03
   5.547e-02   7.131e-02  -1.634e+01   1.424e-02
  -5.179e+01  -1.634e+01   1.277e+04  -1.615e+00
   3.478e-03   1.424e-02  -1.615e+00   4.733e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797234    +/-  0.466194     
   2    1   nphgrb     beta                -1.51850     +/-  0.267032     
   3    1   nphgrb     tem        keV      97.8523      +/-  113.023      
   4    1   nphgrb     eMin       keV      15.0000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                1.34570      +/-  6.87993E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>newpar 4 100.0;

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

Test statistic : Chi-Squared =        9741.39 using 59 PHA bins.
 Reduced chi-squared =        177.116 for     55 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      3.02175e-05  -3     -0.797250      -1.51850       97.8564      0.347322
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 9.3147E-05| -0.1495  -0.2720  -0.0007   0.9506  
 5.0592E-03|  0.9643   0.1722   0.0042   0.2010  
 5.6138E-02| -0.2184   0.9468   0.0004   0.2366  
 1.2776E+04|  0.0041   0.0013  -1.0000   0.0002  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.177e+01   9.323e-03
   5.549e-02   7.140e-02  -1.635e+01   1.628e-02
  -5.177e+01  -1.635e+01   1.278e+04  -2.778e+00
   9.323e-03   1.628e-02  -2.778e+00   4.034e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797250    +/-  0.466037     
   2    1   nphgrb     beta                -1.51850     +/-  0.267200     
   3    1   nphgrb     tem        keV      97.8564      +/-  113.030      
   4    1   nphgrb     eMin       keV      100.000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.347322     +/-  6.35160E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      9.35238e-06  -2     -0.797253      -1.51850       97.8572      0.347322
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 9.3147E-05| -0.1495  -0.2720  -0.0007   0.9506  
 5.0590E-03|  0.9643   0.1722   0.0042   0.2009  
 5.6144E-02| -0.2184   0.9468   0.0004   0.2366  
 1.2776E+04|  0.0041   0.0013  -1.0000   0.0002  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.177e+01   9.309e-03
   5.549e-02   7.140e-02  -1.635e+01   1.628e-02
  -5.177e+01  -1.635e+01   1.278e+04  -2.774e+00
   9.309e-03   1.628e-02  -2.774e+00   4.033e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797253    +/-  0.466013     
   2    1   nphgrb     beta                -1.51850     +/-  0.267216     
   3    1   nphgrb     tem        keV      97.8572      +/-  113.031      
   4    1   nphgrb     eMin       keV      100.000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.347322     +/-  6.35064E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>fit 100;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
62.6472      4.20332e-06   0     -0.797253      -1.51850       97.8572      0.347322
==================================================
 Variances and Principal Axes
                 1        2        3        7  
 9.3148E-05| -0.1495  -0.2720  -0.0007   0.9506  
 5.0590E-03|  0.9643   0.1722   0.0042   0.2009  
 5.6145E-02| -0.2184   0.9468   0.0004   0.2366  
 1.2777E+04|  0.0041   0.0013  -1.0000   0.0002  
--------------------------------------------------

================================================
  Covariance Matrix
        1           2           3           4   
   2.172e-01   5.549e-02  -5.177e+01   9.300e-03
   5.549e-02   7.141e-02  -1.635e+01   1.627e-02
  -5.177e+01  -1.635e+01   1.278e+04  -2.772e+00
   9.300e-03   1.627e-02  -2.772e+00   4.032e-03
------------------------------------------------

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797253    +/-  0.466014     
   2    1   nphgrb     beta                -1.51850     +/-  0.267222     
   3    1   nphgrb     tem        keV      97.8572      +/-  113.034      
   4    1   nphgrb     eMin       keV      100.000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.347322     +/-  6.34976E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01

!XSPEC12>log phgrb50_100_350kev.log;
Logging to file:phgrb50_100_350kev.log

!XSPEC12>show;

XSPEC version: 12.8.2

Sun May 31 12:10:53 2015
 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-unknown-linux-gnu-libc2.12/../spectral/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: Energy
   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: 
   ../sw00228006000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     ../sw00228006000b_preslew.rsp

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

 Spectral data counts: 1.61492
 Model predicted rate: 0.142056


Current model list:

========================================================================
Model nphgrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphgrb     alpha               -0.797253    +/-  0.466014     
   2    1   nphgrb     beta                -1.51850     +/-  0.267222     
   3    1   nphgrb     tem        keV      97.8572      +/-  113.034      
   4    1   nphgrb     eMin       keV      100.000      frozen
   5    1   nphgrb     eMax       keV      350.000      frozen
   6    1   nphgrb     enorm      keV      50.0000      frozen
   7    1   nphgrb     norm                0.347322     +/-  6.34976E-02  
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01
 Weighting method: standard

!XSPEC12>error 7;
 Parameter   Confidence Range (2.706)
Error occurred during lower bound error calculation.

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

Test statistic : Chi-Squared =          62.65 using 59 PHA bins.
 Reduced chi-squared =          1.139 for     55 degrees of freedom 
 Null hypothesis probability =   2.234014e-01
 Current data and model not fit yet.
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_peggrb_part1_15_350k 
ev_fit.xcm

!XSPEC12>log none;
Log file closed

!XSPEC12>query no;

!XSPEC12>model npeggrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     50.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model npeggrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npeggrb    alpha               -1.00000     +/-  0.0          
   2    1   npeggrb    beta                -2.50000     +/-  0.0          
   3    1   npeggrb    tem        keV      50.0000      +/-  0.0          
   4    1   npeggrb    eMin       keV      15.0000      frozen
   5    1   npeggrb    eMax       keV      350.000      frozen
   6    1   npeggrb    enorm      keV      50.0000      frozen
   7    1   npeggrb    norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =        1234.01 using 59 PHA bins.
 Reduced chi-squared =        22.4365 for     55 degrees of freedom 
 Null hypothesis probability =  4.796334e-222
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_peggrb_part2_15_150k 
ev_fit.xcm

!XSPEC12>log none;
No log file open

!XSPEC12>query no;

!XSPEC12>model npeggrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     50.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model npeggrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npeggrb    alpha               -1.00000     +/-  0.0          
   2    1   npeggrb    beta                -2.50000     +/-  0.0          
   3    1   npeggrb    tem        keV      50.0000      +/-  0.0          
   4    1   npeggrb    eMin       keV      15.0000      frozen
   5    1   npeggrb    eMax       keV      350.000      frozen
   6    1   npeggrb    enorm      keV      50.0000      frozen
   7    1   npeggrb    norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =        1234.01 using 59 PHA bins.
 Reduced chi-squared =        22.4365 for     55 degrees of freedom 
 Null hypothesis probability =  4.796334e-222
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_peggrb_part3_15_25ke 
v_fit.xcm

!XSPEC12>log none;
No log file open

!XSPEC12>query no;

!XSPEC12>model npeggrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     50.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model npeggrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npeggrb    alpha               -1.00000     +/-  0.0          
   2    1   npeggrb    beta                -2.50000     +/-  0.0          
   3    1   npeggrb    tem        keV      50.0000      +/-  0.0          
   4    1   npeggrb    eMin       keV      15.0000      frozen
   5    1   npeggrb    eMax       keV      350.000      frozen
   6    1   npeggrb    enorm      keV      50.0000      frozen
   7    1   npeggrb    norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =        1234.01 using 59 PHA bins.
 Reduced chi-squared =        22.4365 for     55 degrees of freedom 
 Null hypothesis probability =  4.796334e-222
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_peggrb_part4_25_50ke 
v_fit.xcm

!XSPEC12>log none;
No log file open

!XSPEC12>query no;

!XSPEC12>model npeggrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     50.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model npeggrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npeggrb    alpha               -1.00000     +/-  0.0          
   2    1   npeggrb    beta                -2.50000     +/-  0.0          
   3    1   npeggrb    tem        keV      50.0000      +/-  0.0          
   4    1   npeggrb    eMin       keV      15.0000      frozen
   5    1   npeggrb    eMax       keV      350.000      frozen
   6    1   npeggrb    enorm      keV      50.0000      frozen
   7    1   npeggrb    norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =        1234.01 using 59 PHA bins.
 Reduced chi-squared =        22.4365 for     55 degrees of freedom 
 Null hypothesis probability =  4.796334e-222
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_peggrb_part5_50_100k 
ev_fit.xcm

!XSPEC12>log none;
No log file open

!XSPEC12>query no;

!XSPEC12>model npeggrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     50.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model npeggrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npeggrb    alpha               -1.00000     +/-  0.0          
   2    1   npeggrb    beta                -2.50000     +/-  0.0          
   3    1   npeggrb    tem        keV      50.0000      +/-  0.0          
   4    1   npeggrb    eMin       keV      15.0000      frozen
   5    1   npeggrb    eMax       keV      350.000      frozen
   6    1   npeggrb    enorm      keV      50.0000      frozen
   7    1   npeggrb    norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =        1234.01 using 59 PHA bins.
 Reduced chi-squared =        22.4365 for     55 degrees of freedom 
 Null hypothesis probability =  4.796334e-222
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_peggrb_part6_100_150 
kev_fit.xcm

!XSPEC12>log none;
No log file open

!XSPEC12>query no;

!XSPEC12>model npeggrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     50.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model npeggrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npeggrb    alpha               -1.00000     +/-  0.0          
   2    1   npeggrb    beta                -2.50000     +/-  0.0          
   3    1   npeggrb    tem        keV      50.0000      +/-  0.0          
   4    1   npeggrb    eMin       keV      15.0000      frozen
   5    1   npeggrb    eMax       keV      350.000      frozen
   6    1   npeggrb    enorm      keV      50.0000      frozen
   7    1   npeggrb    norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =        1234.01 using 59 PHA bins.
 Reduced chi-squared =        22.4365 for     55 degrees of freedom 
 Null hypothesis probability =  4.796334e-222
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
XSPEC12>@/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_peggrb_part7_100_350 
kev_fit.xcm

!XSPEC12>log none;
No log file open

!XSPEC12>query no;

!XSPEC12>model npeggrb  ;    -1.0000      1.00000E-02  -10.000      -3.0000       2.0000       5.0000  ;    -2.5000      1.00000E-02  -10.000      -5.0000       2.0000       10.000  ;     50.000       10.000      0.10000      0.10000       1000.0       10000.  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     50.000     -1.00000E-02   0.0000       0.0000       1000.0       1000.0  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

========================================================================
Model npeggrb<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npeggrb    alpha               -1.00000     +/-  0.0          
   2    1   npeggrb    beta                -2.50000     +/-  0.0          
   3    1   npeggrb    tem        keV      50.0000      +/-  0.0          
   4    1   npeggrb    eMin       keV      15.0000      frozen
   5    1   npeggrb    eMax       keV      350.000      frozen
   6    1   npeggrb    enorm      keV      50.0000      frozen
   7    1   npeggrb    norm                1.00000      +/-  0.0          
________________________________________________________________________


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

Test statistic : Chi-Squared =        1234.01 using 59 PHA bins.
 Reduced chi-squared =        22.4365 for     55 degrees of freedom 
 Null hypothesis probability =  4.796334e-222
 Current data and model not fit yet.

!XSPEC12>fit;
                                   Parameters
Chi-Squared  |beta|/N    Lvl       1:alpha        2:beta         3:tem        7:norm
XSPEC12>/*
XSPEC12>exit
 XSPEC: quit
 
 
Spectral model in the Band function:
------------------------------------------------------------
Parameters  : value       lower 90%   higher 90%
alpha       : -0.923340   ( -0.280761   0.241142 )
beta        : -10.0000    ( 10   7.10543e-15 )
Epeak [keV] : 156.230      ( -36.2899 619.882 )
Norm@50keV   : 1.45643E-02    ( -0.0042967   0.00667766 )
------------------------------------------------------------
#Fit statistic : Chi-Squared =          62.50 using 59 PHA bins.
# Reduced chi-squared =          1.136 for     55 degrees of freedom 
# Null hypothesis probability =   2.272106e-01
 
Photon flux (15-150 keV)    in 11.36 sec: 1.13622 ( 5.86378  -0.06174 ) ph/cm2/s
Energy fluence (15-150 keV)             : 0 ( 0  0 ) ergs/cm2