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

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

1 spectrum  in use
 
Spectral Data File: ../sw01116441000b_preslew.pha  Spectrum 1
Net count rate (cts/s) for Spectrum:1  8.422e-02 +/- 3.994e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-80
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 17.77 sec
 Using fit statistic: chi
 No response loaded.

***Warning!  One or more spectra are missing responses,
               and are not suitable for fit.
XSPEC12>response 1 ../sw01116441000b_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 npow

Input parameter value, delta, min, bot, top, and max values for ...
            1.5       0.01(     0.015)         -3         -2          9         10
1:npow:PhoIndex>   1.5000      1.00000E-02  -3.0000      -2.0000       9.0000       10.000
            100      -0.01(         1)          0          0       1000       1000
2:npow: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
3:npow:norm>   1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model npow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npow       PhoIndex            1.50000      +/-  0.0          
   2    1   npow       enorm      keV      50.0000      frozen
   3    1   npow       norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared              3.102356e+07     using 59 bins.

Test statistic : Chi-Squared              3.102356e+07     using 59 bins.
 Null hypothesis probability of 0.000000e+00 with 57 degrees of freedom
 Current data and model not fit yet.
XSPEC12>renorm

Fit statistic  : Chi-Squared                   64.35     using 59 bins.

Test statistic : Chi-Squared                   64.35     using 59 bins.
 Null hypothesis probability of 2.35e-01 with 57 degrees of freedom
 Current data and model not fit yet.
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        3:norm
55.3426      23.4862      -3       1.30880    0.00530732
55.3147      460.934      -4       1.30852    0.00527706
55.3147      0.0493145     0       1.30852    0.00527706
==============================
 Variances and Principal Axes
                 1        3  
 3.2855E-08|  0.0001   1.0000  
 4.0424E-03|  1.0000  -0.0001  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.622e-07
  -3.622e-07   3.289e-08
------------------------

========================================================================
Model npow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npow       PhoIndex            1.30852      +/-  6.35802E-02  
   2    1   npow       enorm      keV      50.0000      frozen
   3    1   npow       norm                5.27706E-03  +/-  1.81348E-04  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        3:norm
55.3147      0.000218252   1       1.30851    0.00527705
==============================
 Variances and Principal Axes
                 1        3  
 3.2855E-08|  0.0001   1.0000  
 4.0424E-03|  1.0000  -0.0001  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.622e-07
  -3.622e-07   3.289e-08
------------------------

========================================================================
Model npow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npow       PhoIndex            1.30851      +/-  6.35799E-02  
   2    1   npow       enorm      keV      50.0000      frozen
   3    1   npow       norm                5.27705E-03  +/-  1.81348E-04  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom
XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        3:norm
55.3147      0.000203235   1       1.30851    0.00527705
==============================
 Variances and Principal Axes
                 1        3  
 3.2855E-08|  0.0001   1.0000  
 4.0424E-03|  1.0000  -0.0001  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.622e-07
  -3.622e-07   3.289e-08
------------------------

========================================================================
Model npow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npow       PhoIndex            1.30851      +/-  6.35799E-02  
   2    1   npow       enorm      keV      50.0000      frozen
   3    1   npow       norm                5.27705E-03  +/-  1.81348E-04  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom
XSPEC12>log bat_spec.log
Logging to file:bat_spec.log
XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:45 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: Channels
   Spectra plots will be shifted to source frame by redshift value z: 0
   Device: /null
   Plotting of line IDs is OFF.
   Splashpage is ON.
   xlog for data plots is ON.
   ylog for data plots is OFF.

   Default plot rebin settings for all plot groups:
   Min. Signif.   Max. # Bins   Error Type
        0.00000             1         quad

 Responses read: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23666E-02


Current model list:

========================================================================
Model npow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npow       PhoIndex            1.30851      +/-  6.35799E-02  
   2    1   npow       enorm      keV      50.0000      frozen
   3    1   npow       norm                5.27705E-03  +/-  1.81348E-04  
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off

XSPEC12>flux 20.0 50.0
 Model Flux   0.27941 photons (1.4346e-08 ergs/cm^2/s) range (20.000 - 50.000 keV)
XSPEC12>flux 50.0 150.0
 Model Flux   0.24586 photons (3.4773e-08 ergs/cm^2/s) range (50.000 - 150.00 keV)
XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.105479,0.104723)
XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3   0.00497871   0.00557536    (-0.000298343,0.000298308)
XSPEC12>flux 15.0 350.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.77075 photons (1.041e-07 ergs/cm^2/s) range (15.000 - 350.00 keV)
     Error range    0.7232 - 0.8150    (9.173e-08 - 1.160e-07)  (90.00% confidence)
XSPEC12>flux 15.0 150.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.63057 photons (5.2045e-08 ergs/cm^2/s) range (15.000 - 150.00 keV)
     Error range    0.5928 - 0.6679    (4.929e-08 - 5.579e-08)  (90.00% confidence)
XSPEC12>flux 15.0 25.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux    0.1808 photons (5.6329e-09 ergs/cm^2/s) range (15.000 - 25.000 keV)
     Error range    0.1622 - 0.2060    (5.061e-09 - 6.404e-09)  (90.00% confidence)
XSPEC12>flux 25.0 50.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.20391 photons (1.164e-08 ergs/cm^2/s) range (25.000 - 50.000 keV)
     Error range    0.1884 - 0.2187    (1.077e-08 - 1.243e-08)  (90.00% confidence)
XSPEC12>flux 50.0 100.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.16466 photons (1.8798e-08 ergs/cm^2/s) range (50.000 - 100.00 keV)
     Error range    0.1534 - 0.1748    (1.745e-08 - 2.008e-08)  (90.00% confidence)
XSPEC12>flux 100.0 150.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux    0.0812 photons (1.5975e-08 ergs/cm^2/s) range (100.00 - 150.00 keV)
     Error range   0.07061 - 0.08879    (1.387e-08 - 1.748e-08)  (90.00% confidence)
XSPEC12>flux 100.0 350.0 err 100 90
Parameter distribution is derived from fit covariance matrix.
 Model Flux   0.22138 photons (6.8027e-08 ergs/cm^2/s) range (100.00 - 350.00 keV)
     Error range    0.1962 - 0.2515    (5.957e-08 - 7.807e-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.gif/gif
2
XSPEC12>plot ldata delchi
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_phpow_part1_15_350kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model nphpow  ;      1.500      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     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.000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.50000      +/-  0.0          
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  158.71     using 59 bins.

Test statistic : Chi-Squared                  158.71     using 59 bins.
 Null hypothesis probability of 1.57e-11 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3676      23.4838      -3       1.30878      0.764622
55.3147      4.36483      -4       1.30851      0.770739
55.3146      0.000910069   0       1.30851      0.770739
==============================
 Variances and Principal Axes
                 1        5  
 6.9158E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35839E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770739     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000457086  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35841E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000658975  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0972E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35844E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73092E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log phpow50_15_350kev.log
Logging to file:phpow50_15_350kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:45 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23665E-02


Current model list:

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35844E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73092E-02  
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5     0.725928       0.8158    (-0.0448127,0.0450592)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.105469,0.104728)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_phpow_part2_15_150kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model nphpow  ;      1.500      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     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.000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.50000      +/-  0.0          
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  158.71     using 59 bins.

Test statistic : Chi-Squared                  158.71     using 59 bins.
 Null hypothesis probability of 1.57e-11 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3676      23.4838      -3       1.30878      0.764622
55.3147      4.36483      -4       1.30851      0.770739
55.3146      0.000910069   0       1.30851      0.770739
==============================
 Variances and Principal Axes
                 1        5  
 6.9158E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35839E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770739     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000457086  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35841E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000658975  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0972E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35844E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73092E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>newpar 3 150.0

Fit statistic  : Chi-Squared                   97.20     using 59 bins.

Test statistic : Chi-Squared                   97.20     using 59 bins.
 Null hypothesis probability of 7.20e-04 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3147      0.000605877   2       1.30851      0.630564
==============================
 Variances and Principal Axes
                 1        5  
 4.6304E-04| -0.1208   0.9927  
 4.0957E-03|  0.9927   0.1208  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03   4.356e-04
   4.356e-04   5.160e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35820E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      150.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.630564     +/-  2.27166E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3147      0.000605877   2       1.30851      0.630564
==============================
 Variances and Principal Axes
                 1        5  
 4.6304E-04| -0.1208   0.9927  
 4.0957E-03|  0.9927   0.1208  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03   4.356e-04
   4.356e-04   5.160e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35820E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      150.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.630564     +/-  2.27166E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3147      0.000605877   2       1.30851      0.630564
==============================
 Variances and Principal Axes
                 1        5  
 4.6304E-04| -0.1208   0.9927  
 4.0957E-03|  0.9927   0.1208  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03   4.356e-04
   4.356e-04   5.160e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35820E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      150.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.630564     +/-  2.27166E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log phpow50_15_150kev.log
Logging to file:phpow50_15_150kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:46 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23665E-02


Current model list:

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35820E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      150.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.630564     +/-  2.27166E-02  
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5     0.593222     0.668011    (-0.0373418,0.0374471)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.105469,0.104728)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_phpow_part3_15_25kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model nphpow  ;      1.500      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.000     -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.000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.50000      +/-  0.0          
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  158.71     using 59 bins.

Test statistic : Chi-Squared                  158.71     using 59 bins.
 Null hypothesis probability of 1.57e-11 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3676      23.4838      -3       1.30878      0.764622
55.3147      4.36483      -4       1.30851      0.770739
55.3146      0.000910069   0       1.30851      0.770739
==============================
 Variances and Principal Axes
                 1        5  
 6.9158E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35839E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770739     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000457086  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35841E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000658975  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0972E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35844E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73092E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>newpar 3 25.0

Fit statistic  : Chi-Squared                 9080.70     using 59 bins.

Test statistic : Chi-Squared                 9080.70     using 59 bins.
 Null hypothesis probability of 0.00e+00 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.00073391    2       1.30851      0.180790
==============================
 Variances and Principal Axes
                 1        5  
 3.7474E-05| -0.1688   0.9857  
 4.1593E-03|  0.9857   0.1688  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03   6.857e-04
   6.857e-04   1.549e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35758E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      25.0000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.180790     +/-  1.24450E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.00073391    2       1.30851      0.180790
==============================
 Variances and Principal Axes
                 1        5  
 3.7474E-05| -0.1688   0.9857  
 4.1593E-03|  0.9857   0.1688  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03   6.857e-04
   6.857e-04   1.549e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35758E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      25.0000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.180790     +/-  1.24450E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.00073391    2       1.30851      0.180790
==============================
 Variances and Principal Axes
                 1        5  
 3.7474E-05| -0.1688   0.9857  
 4.1593E-03|  0.9857   0.1688  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03   6.857e-04
   6.857e-04   1.549e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35758E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      25.0000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.180790     +/-  1.24450E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log phpow50_15_25kev.log
Logging to file:phpow50_15_25kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:46 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23665E-02


Current model list:

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35758E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      25.0000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.180790     +/-  1.24450E-02  
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5     0.160661     0.201676    (-0.0201293,0.0208857)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.10547,0.104729)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_phpow_part4_25_50kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model nphpow  ;      1.500      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.000     -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.000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.50000      +/-  0.0          
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  158.71     using 59 bins.

Test statistic : Chi-Squared                  158.71     using 59 bins.
 Null hypothesis probability of 1.57e-11 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3676      23.4838      -3       1.30878      0.764622
55.3147      4.36483      -4       1.30851      0.770739
55.3146      0.000910069   0       1.30851      0.770739
==============================
 Variances and Principal Axes
                 1        5  
 6.9158E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35839E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770739     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000457086  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35841E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000658975  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0972E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35844E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73092E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>newpar 2 25.0

Fit statistic  : Chi-Squared                  134.91     using 59 bins.

Test statistic : Chi-Squared                  134.91     using 59 bins.
 Null hypothesis probability of 2.91e-08 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 3 50.0

Fit statistic  : Chi-Squared                 6604.46     using 59 bins.

Test statistic : Chi-Squared                 6604.46     using 59 bins.
 Null hypothesis probability of 0.00e+00 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      8.73986e-05   0       1.30851      0.203915
==============================
 Variances and Principal Axes
                 1        5  
 4.8818E-05| -0.0704   0.9975  
 4.0623E-03|  0.9975   0.0704  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03   2.819e-04
   2.819e-04   6.872e-05
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35798E-02  
   2    1   nphpow     eMin       keV      25.0000      frozen
   3    1   nphpow     eMax       keV      50.0000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.203915     +/-  8.28948E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.00062259   -1       1.30851      0.203915
==============================
 Variances and Principal Axes
                 1        5  
 4.8818E-05| -0.0704   0.9975  
 4.0622E-03|  0.9975   0.0704  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03   2.819e-04
   2.819e-04   6.871e-05
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35795E-02  
   2    1   nphpow     eMin       keV      25.0000      frozen
   3    1   nphpow     eMax       keV      50.0000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.203915     +/-  8.28936E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.00171557    5       1.30851      0.203915
==============================
 Variances and Principal Axes
                 1        5  
 4.8818E-05| -0.0704   0.9975  
 4.0623E-03|  0.9975   0.0704  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03   2.819e-04
   2.819e-04   6.871e-05
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35796E-02  
   2    1   nphpow     eMin       keV      25.0000      frozen
   3    1   nphpow     eMax       keV      50.0000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.203915     +/-  8.28920E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log phpow50_25_50kev.log
Logging to file:phpow50_25_50kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:46 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23666E-02


Current model list:

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35796E-02  
   2    1   nphpow     eMin       keV      25.0000      frozen
   3    1   nphpow     eMax       keV      50.0000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.203915     +/-  8.28920E-03  
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5     0.190199     0.217502    (-0.0137162,0.0135869)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.105474,0.104722)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_phpow_part5_50_100kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model nphpow  ;      1.500      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     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.000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.50000      +/-  0.0          
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  158.71     using 59 bins.

Test statistic : Chi-Squared                  158.71     using 59 bins.
 Null hypothesis probability of 1.57e-11 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3676      23.4838      -3       1.30878      0.764622
55.3147      4.36483      -4       1.30851      0.770739
55.3146      0.000910069   0       1.30851      0.770739
==============================
 Variances and Principal Axes
                 1        5  
 6.9158E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35839E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770739     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000457086  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35841E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000658975  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0972E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35844E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73092E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>newpar 2 50.0

Fit statistic  : Chi-Squared                  897.08     using 59 bins.

Test statistic : Chi-Squared                  897.08     using 59 bins.
 Null hypothesis probability of 2.49e-151 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 3 100.0

Fit statistic  : Chi-Squared                11539.30     using 59 bins.

Test statistic : Chi-Squared                11539.30     using 59 bins.
 Null hypothesis probability of 0.00e+00 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3147      4.41867e-05   0       1.30851      0.164657
==============================
 Variances and Principal Axes
                 1        5  
 3.1879E-05|  0.0582   0.9983  
 4.0560E-03|  0.9983  -0.0582  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -2.338e-04
  -2.338e-04   4.551e-05
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35793E-02  
   2    1   nphpow     eMin       keV      50.0000      frozen
   3    1   nphpow     eMax       keV      100.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.164657     +/-  6.74587E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000811869  -1       1.30851      0.164656
==============================
 Variances and Principal Axes
                 1        5  
 3.1879E-05|  0.0582   0.9983  
 4.0560E-03|  0.9983  -0.0582  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -2.338e-04
  -2.338e-04   4.550e-05
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35794E-02  
   2    1   nphpow     eMin       keV      50.0000      frozen
   3    1   nphpow     eMax       keV      100.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.164656     +/-  6.74565E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000730014   0       1.30852      0.164656
==============================
 Variances and Principal Axes
                 1        5  
 3.1879E-05|  0.0582   0.9983  
 4.0560E-03|  0.9983  -0.0582  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -2.338e-04
  -2.338e-04   4.550e-05
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30852      +/-  6.35795E-02  
   2    1   nphpow     eMin       keV      50.0000      frozen
   3    1   nphpow     eMax       keV      100.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.164656     +/-  6.74570E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log phpow50_50_100kev.log
Logging to file:phpow50_50_100kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:46 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23667E-02


Current model list:

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30852      +/-  6.35795E-02  
   2    1   nphpow     eMin       keV      50.0000      frozen
   3    1   nphpow     eMax       keV      100.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.164656     +/-  6.74570E-03  
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5     0.153509     0.175725    (-0.0111476,0.0110689)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.105481,0.104721)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_phpow_part6_100_150kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model nphpow  ;      1.500      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     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.000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.50000      +/-  0.0          
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  158.71     using 59 bins.

Test statistic : Chi-Squared                  158.71     using 59 bins.
 Null hypothesis probability of 1.57e-11 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3676      23.4838      -3       1.30878      0.764622
55.3147      4.36483      -4       1.30851      0.770739
55.3146      0.000910069   0       1.30851      0.770739
==============================
 Variances and Principal Axes
                 1        5  
 6.9158E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35839E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770739     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000457086  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35841E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000658975  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0972E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35844E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73092E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>newpar 2 100.0

Fit statistic  : Chi-Squared                 5274.86     using 59 bins.

Test statistic : Chi-Squared                 5274.86     using 59 bins.
 Null hypothesis probability of 0.00e+00 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 3 150.0

Fit statistic  : Chi-Squared                61173.76     using 59 bins.

Test statistic : Chi-Squared                61173.76     using 59 bins.
 Null hypothesis probability of 0.00e+00 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000120098   0       1.30851     0.0812017
==============================
 Variances and Principal Axes
                 1        5  
 7.7372E-06|  0.0737   0.9973  
 4.0638E-03|  0.9973  -0.0737  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -2.982e-04
  -2.982e-04   2.978e-05
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35752E-02  
   2    1   nphpow     eMin       keV      100.000      frozen
   3    1   nphpow     eMax       keV      150.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                8.12017E-02  +/-  5.45733E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.00128866    0       1.30851     0.0812017
==============================
 Variances and Principal Axes
                 1        5  
 7.7372E-06|  0.0737   0.9973  
 4.0639E-03|  0.9973  -0.0737  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -2.982e-04
  -2.982e-04   2.979e-05
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35752E-02  
   2    1   nphpow     eMin       keV      100.000      frozen
   3    1   nphpow     eMax       keV      150.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                8.12017E-02  +/-  5.45760E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.00138575    1       1.30851     0.0812017
==============================
 Variances and Principal Axes
                 1        5  
 7.7372E-06|  0.0737   0.9973  
 4.0639E-03|  0.9973  -0.0737  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -2.982e-04
  -2.982e-04   2.978e-05
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35753E-02  
   2    1   nphpow     eMin       keV      100.000      frozen
   3    1   nphpow     eMax       keV      150.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                8.12017E-02  +/-  5.45748E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log phpow50_100_150kev.log
Logging to file:phpow50_100_150kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:46 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23665E-02


Current model list:

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35753E-02  
   2    1   nphpow     eMin       keV      100.000      frozen
   3    1   nphpow     eMax       keV      150.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                8.12017E-02  +/-  5.45748E-03  
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5    0.0723963     0.090383    (-0.0088054,0.00918137)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.105472,0.104727)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_phpow_part7_100_350kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model nphpow  ;      1.500      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     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.000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.50000      +/-  0.0          
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  158.71     using 59 bins.

Test statistic : Chi-Squared                  158.71     using 59 bins.
 Null hypothesis probability of 1.57e-11 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3676      23.4838      -3       1.30878      0.764622
55.3147      4.36483      -4       1.30851      0.770739
55.3146      0.000910069   0       1.30851      0.770739
==============================
 Variances and Principal Axes
                 1        5  
 6.9158E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35839E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770739     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000457086  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0971E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35841E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73093E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000658975  -1       1.30851      0.770740
==============================
 Variances and Principal Axes
                 1        5  
 6.9159E-04|  0.1262   0.9920  
 4.0972E-03|  0.9920  -0.1262  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -4.262e-04
  -4.262e-04   7.458e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35844E-02  
   2    1   nphpow     eMin       keV      15.0000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.770740     +/-  2.73092E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>newpar 2 100.0

Fit statistic  : Chi-Squared                 5274.86     using 59 bins.

Test statistic : Chi-Squared                 5274.86     using 59 bins.
 Null hypothesis probability of 0.00e+00 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000387962  -2       1.30851      0.221377
==============================
 Variances and Principal Axes
                 1        5  
 5.3367E-05|  0.2793   0.9602  
 4.3786E-03|  0.9602  -0.2793  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.041e-03  -1.160e-03
  -1.160e-03   3.907e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35714E-02  
   2    1   nphpow     eMin       keV      100.000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.221377     +/-  1.97649E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000604192   1       1.30851      0.221378
==============================
 Variances and Principal Axes
                 1        5  
 5.3366E-05|  0.2793   0.9602  
 4.3786E-03|  0.9602  -0.2793  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.041e-03  -1.160e-03
  -1.160e-03   3.907e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35710E-02  
   2    1   nphpow     eMin       keV      100.000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.221378     +/-  1.97650E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000604192   1       1.30851      0.221378
==============================
 Variances and Principal Axes
                 1        5  
 5.3366E-05|  0.2793   0.9602  
 4.3786E-03|  0.9602  -0.2793  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.041e-03  -1.160e-03
  -1.160e-03   3.907e-04
------------------------

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35710E-02  
   2    1   nphpow     eMin       keV      100.000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.221378     +/-  1.97650E-02  
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log phpow50_100_350kev.log
Logging to file:phpow50_100_350kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:46 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23666E-02


Current model list:

========================================================================
Model nphpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   nphpow     PhoIndex            1.30851      +/-  6.35710E-02  
   2    1   nphpow     eMin       keV      100.000      frozen
   3    1   nphpow     eMax       keV      350.000      frozen
   4    1   nphpow     enorm      keV      50.0000      frozen
   5    1   nphpow     norm                0.221378     +/-  1.97650E-02  
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5     0.190351     0.255664    (-0.0310267,0.0342861)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.105472,0.104726)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_pegpow_part1_15_350kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model npegpow  ;     1.5000      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     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.00     -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 npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.50000      +/-  0.0          
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  902.88     using 59 bins.

Test statistic : Chi-Squared                  902.88     using 59 bins.
 Null hypothesis probability of 1.63e-152 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.659       23.4863      -3       1.30984       101863.
55.3146      7.52799      -4       1.30851       104081.
55.3146      0.0112476     1       1.30851       104081.
==============================
 Variances and Principal Axes
                 1        5  
 1.0382E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35806E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04081E+05  +/-  7054.65      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log pegpow50_15_350kev.log
Logging to file:pegpow50_15_350kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:46 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23665E-02


Current model list:

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5      92957.6       116267    (-11126.6,12182.8)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.10547,0.10473)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_pegpow_part2_15_150kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model npegpow  ;     1.5000      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     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.00     -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 npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.50000      +/-  0.0          
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  902.88     using 59 bins.

Test statistic : Chi-Squared                  902.88     using 59 bins.
 Null hypothesis probability of 1.63e-152 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.659       23.4863      -3       1.30984       101863.
55.3146      7.52799      -4       1.30851       104081.
55.3146      0.0112476     1       1.30851       104081.
==============================
 Variances and Principal Axes
                 1        5  
 1.0382E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35806E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04081E+05  +/-  7054.65      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>newpar 3 150.0

Fit statistic  : Chi-Squared                  903.08     using 59 bins.

Test statistic : Chi-Squared                  903.08     using 59 bins.
 Null hypothesis probability of 1.49e-152 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3147      0.000692292  -3       1.30851       52039.4
==============================
 Variances and Principal Axes
                 1        5  
 3.2936E-03|  1.0000   0.0000  
 3.9217E+06| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -5.420e+01
  -5.420e+01   3.922e+06
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35816E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      150.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                5.20394E+04  +/-  1980.33      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      4.84435e-05  -3       1.30851       52039.4
==============================
 Variances and Principal Axes
                 1        5  
 3.2936E-03|  1.0000   0.0000  
 3.9217E+06| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -5.420e+01
  -5.420e+01   3.922e+06
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35820E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      150.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                5.20394E+04  +/-  1980.33      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000292376  -1       1.30851       52039.4
==============================
 Variances and Principal Axes
                 1        5  
 3.2936E-03|  1.0000   0.0000  
 3.9218E+06| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.043e-03  -5.420e+01
  -5.420e+01   3.922e+06
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35821E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      150.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                5.20394E+04  +/-  1980.34      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log pegpow50_15_150kev.log
Logging to file:pegpow50_15_150kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:46 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23666E-02


Current model list:

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35821E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      150.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                5.20394E+04  +/-  1980.34      
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5      48787.7      55306.2    (-3251.76,3266.74)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.105474,0.104726)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_pegpow_part3_15_25kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model npegpow  ;     1.5000      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     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.00     -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 npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.50000      +/-  0.0          
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  902.88     using 59 bins.

Test statistic : Chi-Squared                  902.88     using 59 bins.
 Null hypothesis probability of 1.63e-152 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.659       23.4863      -3       1.30984       101863.
55.3146      7.52799      -4       1.30851       104081.
55.3146      0.0112476     1       1.30851       104081.
==============================
 Variances and Principal Axes
                 1        5  
 1.0382E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35806E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04081E+05  +/-  7054.65      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>newpar 3 25.0

Fit statistic  : Chi-Squared                259066.6     using 59 bins.

Test statistic : Chi-Squared                259066.6     using 59 bins.
 Null hypothesis probability of 0.0e+00 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000958473   0       1.30851       5631.96
==============================
 Variances and Principal Axes
                 1        5  
 1.0421E-03|  1.0000  -0.0001  
 1.4514E+05|  0.0001   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03   2.087e+01
   2.087e+01   1.451e+05
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35757E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      25.0000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                5631.96      +/-  380.973      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000366541   0       1.30851       5631.96
==============================
 Variances and Principal Axes
                 1        5  
 1.0421E-03|  1.0000  -0.0001  
 1.4514E+05|  0.0001   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03   2.087e+01
   2.087e+01   1.451e+05
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35760E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      25.0000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                5631.96      +/-  380.975      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.00030573    3       1.30851       5631.96
==============================
 Variances and Principal Axes
                 1        5  
 1.0421E-03|  1.0000  -0.0001  
 1.4514E+05|  0.0001   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03   2.087e+01
   2.087e+01   1.451e+05
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35756E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      25.0000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                5631.96      +/-  380.972      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log pegpow50_15_25kev.log
Logging to file:pegpow50_15_25kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:46 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23665E-02


Current model list:

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35756E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      25.0000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                5631.96      +/-  380.972      
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5      5014.94      6270.47    (-617.016,638.514)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.105472,0.104727)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_pegpow_part4_25_50kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model npegpow  ;     1.5000      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     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.00     -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 npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.50000      +/-  0.0          
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  902.88     using 59 bins.

Test statistic : Chi-Squared                  902.88     using 59 bins.
 Null hypothesis probability of 1.63e-152 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.659       23.4863      -3       1.30984       101863.
55.3146      7.52799      -4       1.30851       104081.
55.3146      0.0112476     1       1.30851       104081.
==============================
 Variances and Principal Axes
                 1        5  
 1.0382E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35806E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04081E+05  +/-  7054.65      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>newpar 2 25.0

Fit statistic  : Chi-Squared                   58.09     using 59 bins.

Test statistic : Chi-Squared                   58.09     using 59 bins.
 Null hypothesis probability of 4.35e-01 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 3 50.0

Fit statistic  : Chi-Squared                53534.34     using 59 bins.

Test statistic : Chi-Squared                53534.34     using 59 bins.
 Null hypothesis probability of 0.00e+00 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.00118808   -3       1.30852       11638.3
==============================
 Variances and Principal Axes
                 1        5  
 3.0797E-03|  1.0000  -0.0001  
 2.0976E+05|  0.0001   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03   1.421e+01
   1.421e+01   2.098e+05
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30852      +/-  6.35796E-02  
   2    1   npegpow    eMin       keV      25.0000      frozen
   3    1   npegpow    eMax       keV      50.0000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.16383E+04  +/-  457.991      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.00118473    1       1.30852       11638.3
==============================
 Variances and Principal Axes
                 1        5  
 3.0798E-03|  1.0000  -0.0001  
 2.0976E+05|  0.0001   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03   1.421e+01
   1.421e+01   2.098e+05
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30852      +/-  6.35800E-02  
   2    1   npegpow    eMin       keV      25.0000      frozen
   3    1   npegpow    eMax       keV      50.0000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.16383E+04  +/-  457.991      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.00103836   -3       1.30851       11638.3
==============================
 Variances and Principal Axes
                 1        5  
 3.0798E-03|  1.0000  -0.0001  
 2.0975E+05|  0.0001   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03   1.421e+01
   1.421e+01   2.098e+05
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35796E-02  
   2    1   npegpow    eMin       keV      25.0000      frozen
   3    1   npegpow    eMax       keV      50.0000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.16383E+04  +/-  457.988      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log pegpow50_25_50kev.log
Logging to file:pegpow50_25_50kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:46 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23665E-02


Current model list:

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35796E-02  
   2    1   npegpow    eMin       keV      25.0000      frozen
   3    1   npegpow    eMax       keV      50.0000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.16383E+04  +/-  457.988      
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5      10880.7        12389    (-757.577,750.748)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.10547,0.104728)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_pegpow_part5_50_100kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model npegpow  ;     1.5000      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     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.00     -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 npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.50000      +/-  0.0          
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  902.88     using 59 bins.

Test statistic : Chi-Squared                  902.88     using 59 bins.
 Null hypothesis probability of 1.63e-152 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.659       23.4863      -3       1.30984       101863.
55.3146      7.52799      -4       1.30851       104081.
55.3146      0.0112476     1       1.30851       104081.
==============================
 Variances and Principal Axes
                 1        5  
 1.0382E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35806E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04081E+05  +/-  7054.65      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>newpar 2 50.0

Fit statistic  : Chi-Squared                   88.86     using 59 bins.

Test statistic : Chi-Squared                   88.86     using 59 bins.
 Null hypothesis probability of 4.40e-03 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 3 100.0

Fit statistic  : Chi-Squared                17508.43     using 59 bins.

Test statistic : Chi-Squared                17508.43     using 59 bins.
 Null hypothesis probability of 0.00e+00 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.00213321   -2       1.30852       18795.2
==============================
 Variances and Principal Axes
                 1        5  
 2.6521E-03|  1.0000   0.0000  
 6.3525E+05| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -2.972e+01
  -2.972e+01   6.353e+05
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30852      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      50.0000      frozen
   3    1   npegpow    eMax       keV      100.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.87952E+04  +/-  797.027      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000939177   2       1.30852       18795.2
==============================
 Variances and Principal Axes
                 1        5  
 2.6521E-03|  1.0000   0.0000  
 6.3525E+05| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -2.972e+01
  -2.972e+01   6.353e+05
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30852      +/-  6.35795E-02  
   2    1   npegpow    eMin       keV      50.0000      frozen
   3    1   npegpow    eMax       keV      100.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.87952E+04  +/-  797.027      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000939177   2       1.30852       18795.2
==============================
 Variances and Principal Axes
                 1        5  
 2.6521E-03|  1.0000   0.0000  
 6.3525E+05| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -2.972e+01
  -2.972e+01   6.353e+05
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30852      +/-  6.35795E-02  
   2    1   npegpow    eMin       keV      50.0000      frozen
   3    1   npegpow    eMax       keV      100.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.87952E+04  +/-  797.027      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log pegpow50_50_100kev.log
Logging to file:pegpow50_50_100kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:46 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23667E-02


Current model list:

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30852      +/-  6.35795E-02  
   2    1   npegpow    eMin       keV      50.0000      frozen
   3    1   npegpow    eMax       keV      100.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.87952E+04  +/-  797.027      
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5      17478.6      20103.7    (-1316.55,1308.52)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.105486,0.104712)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_pegpow_part6_100_150kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model npegpow  ;     1.5000      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     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.00     -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 npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.50000      +/-  0.0          
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  902.88     using 59 bins.

Test statistic : Chi-Squared                  902.88     using 59 bins.
 Null hypothesis probability of 1.63e-152 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.659       23.4863      -3       1.30984       101863.
55.3146      7.52799      -4       1.30851       104081.
55.3146      0.0112476     1       1.30851       104081.
==============================
 Variances and Principal Axes
                 1        5  
 1.0382E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35806E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04081E+05  +/-  7054.65      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>newpar 2 100.0

Fit statistic  : Chi-Squared                  293.61     using 59 bins.

Test statistic : Chi-Squared                  293.61     using 59 bins.
 Null hypothesis probability of 1.44e-33 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 3 150.0

Fit statistic  : Chi-Squared                25843.10     using 59 bins.

Test statistic : Chi-Squared                25843.10     using 59 bins.
 Null hypothesis probability of 0.00e+00 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      1.07347e-05   1       1.30851       15973.9
==============================
 Variances and Principal Axes
                 1        5  
 1.0325E-03|  1.0000   0.0001  
 1.1785E+06| -0.0001   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -5.955e+01
  -5.955e+01   1.178e+06
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35753E-02  
   2    1   npegpow    eMin       keV      100.000      frozen
   3    1   npegpow    eMax       keV      150.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.59739E+04  +/-  1085.58      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      1.07347e-05   1       1.30851       15973.9
==============================
 Variances and Principal Axes
                 1        5  
 1.0325E-03|  1.0000   0.0001  
 1.1785E+06| -0.0001   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -5.955e+01
  -5.955e+01   1.178e+06
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35753E-02  
   2    1   npegpow    eMin       keV      100.000      frozen
   3    1   npegpow    eMax       keV      150.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.59739E+04  +/-  1085.58      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      1.07347e-05   1       1.30851       15973.9
==============================
 Variances and Principal Axes
                 1        5  
 1.0325E-03|  1.0000   0.0001  
 1.1785E+06| -0.0001   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -5.955e+01
  -5.955e+01   1.178e+06
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35753E-02  
   2    1   npegpow    eMin       keV      100.000      frozen
   3    1   npegpow    eMax       keV      150.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.59739E+04  +/-  1085.58      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log pegpow50_100_150kev.log
Logging to file:pegpow50_100_150kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:46 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23665E-02


Current model list:

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35753E-02  
   2    1   npegpow    eMin       keV      100.000      frozen
   3    1   npegpow    eMax       keV      150.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.59739E+04  +/-  1085.58      
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5        14224      17801.8    (-1749.93,1827.86)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.105469,0.104731)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat2/BATtools/battools/bin/GRB_spec_fit_v2/bat_pegpow_part7_100_350kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model npegpow  ;     1.5000      1.00000E-02  -3.0000      -2.0000       9.0000       10.000  ;     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.00     -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 npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.50000      +/-  0.0          
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                  902.88     using 59 bins.

Test statistic : Chi-Squared                  902.88     using 59 bins.
 Null hypothesis probability of 1.63e-152 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.659       23.4863      -3       1.30984       101863.
55.3146      7.52799      -4       1.30851       104081.
55.3146      0.0112476     1       1.30851       104081.
==============================
 Variances and Principal Axes
                 1        5  
 1.0382E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35806E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04081E+05  +/-  7054.65      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3146      0.000717811   1       1.30851       104084.
==============================
 Variances and Principal Axes
                 1        5  
 1.0381E-03|  1.0000   0.0000  
 4.9768E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.042e-03  -3.867e+02
  -3.867e+02   4.977e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35788E-02  
   2    1   npegpow    eMin       keV      15.0000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                1.04084E+05  +/-  7054.64      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>newpar 2 100.0

Fit statistic  : Chi-Squared                  293.61     using 59 bins.

Test statistic : Chi-Squared                  293.61     using 59 bins.
 Null hypothesis probability of 1.44e-33 with 57 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3147      0.000851075  -3       1.30851       68018.0
==============================
 Variances and Principal Axes
                 1        5  
 5.0739E-04|  1.0000   0.0000  
 4.3473E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.041e-03  -3.919e+02
  -3.919e+02   4.347e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35690E-02  
   2    1   npegpow    eMin       keV      100.000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                6.80180E+04  +/-  6593.39      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3147      0.000448618  -3       1.30851       68018.4
==============================
 Variances and Principal Axes
                 1        5  
 5.0739E-04|  1.0000   0.0000  
 4.3473E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.041e-03  -3.919e+02
  -3.919e+02   4.347e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35697E-02  
   2    1   npegpow    eMin       keV      100.000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                6.80184E+04  +/-  6593.38      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
55.3147      0.000259758  -2       1.30851       68018.2
==============================
 Variances and Principal Axes
                 1        5  
 5.0739E-04|  1.0000   0.0000  
 4.3472E+07| -0.0000   1.0000  
------------------------------

========================
  Covariance Matrix
        1           2   
   4.041e-03  -3.919e+02
  -3.919e+02   4.347e+07
------------------------

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35687E-02  
   2    1   npegpow    eMin       keV      100.000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                6.80182E+04  +/-  6593.36      
________________________________________________________________________


Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

!XSPEC12>log pegpow50_100_350kev.log
Logging to file:pegpow50_100_350kev.log

!XSPEC12>show

XSPEC version: 12.12.1

Mon Oct 24 12:39:47 2022
 Auto-saving is done after every command.
 Fit statistic in use: Chi-Squared
 Minimization technique: Levenberg-Marquardt
    Convergence criterion = 0.01
    Parameter fit deltas: 0.01 * parValue
Using chain rule to calculate statistic derivatives (faster method).
 Querying disabled - will not continue fitting.
 Prefit-renorming enabled.
 Solar abundance table: angr
 Photoionization Cross-Section Table:
    bcmc:  Balucinska-Church and McCammon, 1998
 Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
 Model data directory: /software/lheasoft/release/x86_64-pc-linux-gnu-libc2.12/../spectral/manager/../modelData/
 Plot settings:
   Showing of individual additive components is OFF.
   Showing of background spectra is OFF.
   Effective area normalization is OFF.
   Current unit settings:
      Energy     = keV
      Wavelength = angstrom, with Y-Axis displayed per Hz
   X-Axis data display mode: 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: 
   ../sw01116441000b_preslew.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1116441/01116441000-results/pha/preslew_pha/../sw01116441000b_preslew.rsp

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

 Spectral data counts: 1.46793
 Model predicted rate: 8.23666E-02


Current model list:

========================================================================
Model npegpow<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   npegpow    PhoIndex            1.30851      +/-  6.35687E-02  
   2    1   npegpow    eMin       keV      100.000      frozen
   3    1   npegpow    eMax       keV      350.000      frozen
   4    1   npegpow    enorm      keV      50.0000      frozen
   5    1   npegpow    norm                6.80182E+04  +/-  6593.36      
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   55.31     using 59 bins.

Test statistic : Chi-Squared                   55.31     using 59 bins.
 Null hypothesis probability of 5.39e-01 with 57 degrees of freedom

Bayes is off


!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
     5      57748.2      79551.7    (-10270,11533.6)

!XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1      1.20304      1.41324    (-0.105478,0.104725)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>/*
XSPEC12>exit
 XSPEC: quit
 
 
Spectral model in power-law:
------------------------------------------------------------
Parameters  : value       lower 90%   higher 90%
Photon index: 1.30851     ( -0.105479   0.104723 )
Norm@50keV  : 5.27705E-03    ( -0.000298343   0.000298308 )
------------------------------------------------------------
#Fit statistic  : Chi-Squared                   55.31     using 59 bins.
 Reduced chi-squared = 
# Null hypothesis probability of 5.39e-01 with 57 degrees of freedom
 
Photon flux (15-150 keV)    in 17.77 sec: 0.630564 ( -0.0373418  0.0374471 ) ph/cm2/s
Energy fluence (15-150 keV)             : 9.2474e-07 ( -5.77838e-08  5.805e-08 ) ergs/cm2