XSPEC version: 12.13.0c
	Build Date/Time: Mon Dec 19 16:03:51 2022

XSPEC12>query no
XSPEC12>lmod takagrb /local/data/bat1/prebascript/xspec_taka_lmodel
Model package takagrb successfully loaded.
XSPEC12>data 1:1 /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/ 
spec_T100/sw01164180000b_avg.pha

1 spectrum  in use
 
Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha  Spectrum 1
Net count rate (cts/s) for Spectrum:1  2.344e-02 +/- 3.085e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-80
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 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 /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflu 
x/spec_T100/sw01164180000b_avg.rsp
Response successfully loaded.
XSPEC12>ignore **-13.0 150.0-**
     3 channels (1-3) ignored in spectrum #     1
    18 channels (63-80) ignored in spectrum #     1

XSPEC12>mdefine cutep50 (E/50.0)**(-a)*exp(-E*(2.0-a)/b)
XSPEC12>model cutep50

Input parameter value, delta, min, bot, top, and max values for ...
              1       0.01(      0.01)     -1e+22     -1e+22      1e+22      1e+22
1:cutep50:a>   1.0000      1.00000E-02  -10.0000      -10.0000       10.0000       10.000 
              1       0.01(      0.01)     -1e+22     -1e+22      1e+22      1e+22
2:cutep50:b>   80.000      1.00000E-02  1.00000E-02   1.0000       1000.0       10000. 
              1       0.01(      0.01)          0          0      1e+20      1e+24
3:cutep50:norm>   1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   1.00000      +/-  0.0          
   2    1   cutep50    b                   80.0000      +/-  0.0          
   3    1   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared              8.823571e+06     using 59 bins.

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

Fit statistic  : Chi-Squared                   67.91     using 59 bins.

Test statistic : Chi-Squared                   67.91     using 59 bins.
 Null hypothesis probability of 1.32e-01 with 56 degrees of freedom
 Current data and model not fit yet.
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl           1:a           2:b        3:norm
67.706       0.436649     -1       1.09186       77.2082    0.00275651
67.6433      40.7652      -1       1.13972       77.8524    0.00263326
67.5966      27.3565      -1       1.17552       79.9171    0.00252332
67.5542      21.353       -1       1.20675       82.6940    0.00242282
67.5147      18.7408      -1       1.23577       85.9578    0.00233021
67.478       17.4412      -1       1.26335       89.6622    0.00224464
67.4441      16.5543      -1       1.28972       93.8330    0.00216557
67.4128      15.7256      -1       1.31495       98.5307    0.00209254
67.3842      14.8238      -1       1.33904       103.839    0.00202513
67.358       13.8038      -1       1.36198       109.862    0.00196298
========================================
 Variances and Principal Axes
                 1        2        3  
 5.4446E-08|  0.0014   0.0000   1.0000  
 1.4133E-01|  1.0000  -0.0043  -0.0014  
 2.4980E+04|  0.0043   1.0000  -0.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   6.139e-01   1.086e+02  -1.478e-03
   1.086e+02   2.498e+04  -2.934e-01
  -1.478e-03  -2.934e-01   3.789e-06
------------------------------------

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   1.36198      +/-  0.783524     
   2    1   cutep50    b                   109.862      +/-  158.048      
   3    1   cutep50    norm                1.96298E-03  +/-  1.94656E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.36     using 59 bins.

Test statistic : Chi-Squared                   67.36     using 59 bins.
 Null hypothesis probability of 1.42e-01 with 56 degrees of freedom
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl           1:a           2:b        3:norm
67.3338      0.072014     -1       1.38422       116.841    0.00190460
67.3122      10.3402      -1       1.40483       124.762    0.00185205
67.2927      9.79625      -1       1.42433       133.886    0.00180366
67.2752      8.35565      -1       1.44273       144.490    0.00175917
67.2594      6.70399      -1       1.46005       156.923    0.00171829
67.2453      4.90797      -1       1.47632       171.643    0.00168076
67.2327      2.97113      -1       1.49158       189.272    0.00164631
67.2214      0.879859     -1       1.50586       210.674    0.00161470
67.2114      1.39408      -1       1.51922       237.087    0.00158570
67.2025      3.89377      -1       1.53168       270.343    0.00155910
========================================
 Variances and Principal Axes
                 1        2        3  
 3.3395E-08|  0.0007   0.0000   1.0000  
 6.7344E-02|  1.0000  -0.0005  -0.0007  
 2.1143E+06|  0.0005   1.0000  -0.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.512e-01   1.011e+03  -1.026e-03
   1.011e+03   2.114e+06  -2.043e+00
  -1.026e-03  -2.043e+00   2.043e-06
------------------------------------

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   1.53168      +/-  0.742417     
   2    1   cutep50    b                   270.343      +/-  1454.05      
   3    1   cutep50    norm                1.55910E-03  +/-  1.42928E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom
XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl           1:a           2:b        3:norm
67.1946      0.010473     -1       1.54313       312.809    0.00153506
========================================
 Variances and Principal Axes
                 1        2        3  
 3.2291E-08|  0.0007   0.0000   1.0000  
 6.3239E-02|  1.0000  -0.0004  -0.0007  
 3.9392E+06|  0.0004   1.0000  -0.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.468e-01   1.380e+03  -1.000e-03
   1.380e+03   3.939e+06  -2.734e+00
  -1.000e-03  -2.734e+00   1.958e-06
------------------------------------

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   1.54313      +/-  0.739427     
   2    1   cutep50    b                   312.809      +/-  1984.74      
   3    1   cutep50    norm                1.53506E-03  +/-  1.39923E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom
XSPEC12>log bat_spec_cutplep.log
Logging to file:bat_spec_cutplep.log
XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:02 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.23775E-02


Current model list:

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   1.54313      +/-  0.739427     
   2    1   cutep50    b                   312.809      +/-  1984.74      
   3    1   cutep50    norm                1.53506E-03  +/-  1.39923E-03  
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

Bayes is off

XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1   -0.0229713      2.67356    (-1.57673,1.11981)
XSPEC12>error 2
 Parameter   Confidence Range (2.706)
***Warning: Zero alpha-matrix diagonal element for parameter 1
***Warning: Zero alpha-matrix diagonal element for parameter 3
 Parameter 1 is pegged at 1.55376 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
 Parameter 3 is pegged at 0.00151308 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.

 Fit error occurred during lower bound error calculation.
                                   Parameters
Chi-Squared  |beta|/N    Lvl           1:a           2:b        3:norm
67.1596      0.000615895   0       1.60199       9998.81    0.00141703
========================================
 Variances and Principal Axes
                 1        2        3  
 2.6638E-08|  0.0004   0.0000   1.0000  
 4.2528E-02|  1.0000  -0.0000  -0.0004  
 5.1570E+13|  0.0000   1.0000  -0.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.234e-01   4.980e+06  -8.651e-04
   4.980e+06   5.157e+13  -8.796e+03
  -8.651e-04  -8.796e+03   1.533e-06
------------------------------------

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   1.60199      +/-  0.723432     
   2    1   cutep50    b                   9998.81      +/-  7.18124E+06  
   3    1   cutep50    norm                1.41703E-03  +/-  1.23807E-03  
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom
***Warning: Zero alpha-matrix diagonal element for parameter 1
***Warning: Zero alpha-matrix diagonal element for parameter 3
 Parameter 1 is pegged at 1.60199 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
 Parameter 3 is pegged at 0.00141703 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.

 Fit error occurred during lower bound error calculation.

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


*** Parameter upper bound is INVALID.

     2            0            0    (-9999.18,-9999.18)
XSPEC12>error 3
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 0.0131031, 0.0177099
and delta stat 2.68412, 3.10673
but latest trial 0.0133033 gives 75.3764
Suggest that you check this result using the steppar command.
     3   0.00111695    0.0154065    (-0.000300072,0.0139895)
XSPEC12>log none
Log file closed
logging switched off
XSPEC12>setplot energy
XSPEC12>setplot command sc white
1
XSPEC12>setplot command cpd bat_spec_cutplep.gif/gif
2
XSPEC12>plot ldata delchi
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cpflux_15_350kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model cpflux*cutep50  ;     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  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                1.00000      +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 1.81e-282 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 9.58e-282 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.9668      596.595      -3      0.199746       1.13306       85.7817
67.8738      8.68645      -4      0.199754       1.63725       120.887
67.2272      3.5019       -5      0.199968       1.52196       205.348
67.2062      0.170031     -1      0.202474       1.56220       298.638
67.1881      0.55436      -1      0.204136       1.58435       476.728
67.1781      0.615149     -1      0.205422       1.60133       880.950
67.1644      0.712395     -1      0.206388       1.61397       9995.00
67.1624      0.512208      0      0.206307       1.61111       9998.96
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5495E-04|  0.9994   0.0356  -0.0000  
 3.7963E-02|  0.0356  -0.9994   0.0000  
 5.1960E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.144e-03   2.582e-02   2.831e+05
   2.582e-02   5.203e-01   4.984e+06
   2.831e+05   4.984e+06   5.196e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206307     +/-  4.63065E-02  
   4    2   cutep50    a                   1.61111      +/-  0.721344     
   5    2   cutep50    b                   9998.96      +/-  7.20830E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1616      0.406365      0      0.206266       1.60942       9999.24
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5539E-04|  0.9994   0.0356  -0.0000  
 3.7967E-02|  0.0356  -0.9994   0.0000  
 5.5283E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.154e-03   2.591e-02   2.928e+05
   2.591e-02   5.209e-01   5.144e+06
   2.928e+05   5.144e+06   5.528e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206266     +/-  4.64088E-02  
   4    2   cutep50    a                   1.60942      +/-  0.721753     
   5    2   cutep50    b                   9999.24      +/-  7.43525E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1611      0.34748       0      0.206245       1.60841       9999.32
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5566E-04|  0.9994   0.0356  -0.0000  
 3.7970E-02|  0.0356  -0.9994   0.0000  
 5.5079E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.159e-03   2.597e-02   2.928e+05
   2.597e-02   5.212e-01   5.136e+06
   2.928e+05   5.136e+06   5.508e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206245     +/-  4.64698E-02  
   4    2   cutep50    a                   1.60841      +/-  0.721976     
   5    2   cutep50    b                   9999.32      +/-  7.42149E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:02 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.24819E-02


Current model list:

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206245     +/-  4.64698E-02  
   4    2   cutep50    a                   1.60841      +/-  0.721976     
   5    2   cutep50    b                   9999.32      +/-  7.42149E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3     0.152125     0.246051    (-0.0541088,0.0398164)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4  -0.00682994      2.66552    (-1.61429,1.05806)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     5      9999.36            0    (-0.000963728,-9999.36)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cpflux_15_150kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model cpflux*cutep50  ;     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  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                1.00000      +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 1.81e-282 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 9.58e-282 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.9668      596.595      -3      0.199746       1.13306       85.7817
67.8738      8.68645      -4      0.199754       1.63725       120.887
67.2272      3.5019       -5      0.199968       1.52196       205.348
67.2062      0.170031     -1      0.202474       1.56220       298.638
67.1881      0.55436      -1      0.204136       1.58435       476.728
67.1781      0.615149     -1      0.205422       1.60133       880.950
67.1644      0.712395     -1      0.206388       1.61397       9995.00
67.1624      0.512208      0      0.206307       1.61111       9998.96
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5495E-04|  0.9994   0.0356  -0.0000  
 3.7963E-02|  0.0356  -0.9994   0.0000  
 5.1960E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.144e-03   2.582e-02   2.831e+05
   2.582e-02   5.203e-01   4.984e+06
   2.831e+05   4.984e+06   5.196e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206307     +/-  4.63065E-02  
   4    2   cutep50    a                   1.61111      +/-  0.721344     
   5    2   cutep50    b                   9998.96      +/-  7.20830E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1616      0.406365      0      0.206266       1.60942       9999.24
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5539E-04|  0.9994   0.0356  -0.0000  
 3.7967E-02|  0.0356  -0.9994   0.0000  
 5.5283E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.154e-03   2.591e-02   2.928e+05
   2.591e-02   5.209e-01   5.144e+06
   2.928e+05   5.144e+06   5.528e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206266     +/-  4.64088E-02  
   4    2   cutep50    a                   1.60942      +/-  0.721753     
   5    2   cutep50    b                   9999.24      +/-  7.43525E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1611      0.34748       0      0.206245       1.60841       9999.32
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5566E-04|  0.9994   0.0356  -0.0000  
 3.7970E-02|  0.0356  -0.9994   0.0000  
 5.5079E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.159e-03   2.597e-02   2.928e+05
   2.597e-02   5.212e-01   5.136e+06
   2.928e+05   5.136e+06   5.508e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206245     +/-  4.64698E-02  
   4    2   cutep50    a                   1.60841      +/-  0.721976     
   5    2   cutep50    b                   9999.32      +/-  7.42149E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>newpar 1 15.0

Fit statistic  : Chi-Squared                   67.16     using 59 bins.

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

!XSPEC12>newpar 2 150.0

Fit statistic  : Chi-Squared                   68.51     using 59 bins.

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

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.3457      18.4523      -3      0.182495       1.68946       9999.36
67.1681      0.714023     -4      0.181938       1.62061       9999.36
67.1645      0.172074      0      0.181954       1.61614       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 4.3919E-04|  0.9999  -0.0104   0.0000  
 3.8141E-02| -0.0104  -0.9999   0.0000  
 5.9529E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.609e-04   3.307e-03   3.236e+04
   3.307e-03   5.259e-01   5.363e+06
   3.236e+04   5.363e+06   5.953e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                0.181954     +/-  2.14675E-02  
   4    2   cutep50    a                   1.61614      +/-  0.725194     
   5    2   cutep50    b                   9999.36      +/-  7.71551E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1628      0.122119      0      0.181952       1.61343       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 4.3780E-04|  0.9999  -0.0136   0.0000  
 2.9983E-02| -0.0136  -0.9999   0.0000  
 5.7878E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.609e-04   3.319e-03   3.197e+04
   3.319e-03   5.251e-01   5.284e+06
   3.197e+04   5.284e+06   5.788e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                0.181952     +/-  2.14682E-02  
   4    2   cutep50    a                   1.61343      +/-  0.724661     
   5    2   cutep50    b                   9999.36      +/-  7.60779E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.162       0.0960949     0      0.181945       1.61179       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 4.3955E-04|  1.0000  -0.0090   0.0000  
 4.5394E-02| -0.0090  -1.0000   0.0000  
 5.6916E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.609e-04   3.326e-03   3.174e+04
   3.326e-03   5.247e-01   5.238e+06
   3.174e+04   5.238e+06   5.692e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                0.181945     +/-  2.14686E-02  
   4    2   cutep50    a                   1.61179      +/-  0.724387     
   5    2   cutep50    b                   9999.36      +/-  7.54429E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:02 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.24227E-02


Current model list:

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                0.181945     +/-  2.14686E-02  
   4    2   cutep50    a                   1.61179      +/-  0.724387     
   5    2   cutep50    b                   9999.36      +/-  7.54429E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 0.147237, 0.147099
and delta stat 2.69302, 2.72257
but latest trial 0.14718 gives 2.69018
Suggest that you check this result using the steppar command.
     3     0.147168     0.216514    (-0.0347694,0.0345761)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 1.61079, -0.772432
and delta stat 0, 4.25824
but latest trial -0.289033 gives 45.7715
Suggest that you check this result using the steppar command.
     4     0.419179      1.94359    (-1.191,0.33341)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     5      9999.36            0    (-1.758e-07,-9999.36)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cpflux_15_25kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model cpflux*cutep50  ;     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  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                1.00000      +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 1.81e-282 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 9.58e-282 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.9668      596.595      -3      0.199746       1.13306       85.7817
67.8738      8.68645      -4      0.199754       1.63725       120.887
67.2272      3.5019       -5      0.199968       1.52196       205.348
67.2062      0.170031     -1      0.202474       1.56220       298.638
67.1881      0.55436      -1      0.204136       1.58435       476.728
67.1781      0.615149     -1      0.205422       1.60133       880.950
67.1644      0.712395     -1      0.206388       1.61397       9995.00
67.1624      0.512208      0      0.206307       1.61111       9998.96
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5495E-04|  0.9994   0.0356  -0.0000  
 3.7963E-02|  0.0356  -0.9994   0.0000  
 5.1960E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.144e-03   2.582e-02   2.831e+05
   2.582e-02   5.203e-01   4.984e+06
   2.831e+05   4.984e+06   5.196e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206307     +/-  4.63065E-02  
   4    2   cutep50    a                   1.61111      +/-  0.721344     
   5    2   cutep50    b                   9998.96      +/-  7.20830E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1616      0.406365      0      0.206266       1.60942       9999.24
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5539E-04|  0.9994   0.0356  -0.0000  
 3.7967E-02|  0.0356  -0.9994   0.0000  
 5.5283E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.154e-03   2.591e-02   2.928e+05
   2.591e-02   5.209e-01   5.144e+06
   2.928e+05   5.144e+06   5.528e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206266     +/-  4.64088E-02  
   4    2   cutep50    a                   1.60942      +/-  0.721753     
   5    2   cutep50    b                   9999.24      +/-  7.43525E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1611      0.34748       0      0.206245       1.60841       9999.32
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5566E-04|  0.9994   0.0356  -0.0000  
 3.7970E-02|  0.0356  -0.9994   0.0000  
 5.5079E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.159e-03   2.597e-02   2.928e+05
   2.597e-02   5.212e-01   5.136e+06
   2.928e+05   5.136e+06   5.508e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206245     +/-  4.64698E-02  
   4    2   cutep50    a                   1.60841      +/-  0.721976     
   5    2   cutep50    b                   9999.32      +/-  7.42149E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>newpar 1 15.0

Fit statistic  : Chi-Squared                   67.16     using 59 bins.

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

!XSPEC12>newpar 2 25.0

Fit statistic  : Chi-Squared                  430.26     using 59 bins.

Test statistic : Chi-Squared                  430.26     using 59 bins.
 Null hypothesis probability of 3.75e-59 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.201       863.03       -3     0.0654686       1.64072       9999.35
67.1995      3.06836      -1     0.0646837       1.63298       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 3.1368E-05|  0.9983  -0.0579   0.0000  
 3.3577E-02| -0.0579  -0.9983   0.0000  
 6.8674E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.747e-04   5.827e-03   4.589e+04
   5.827e-03   5.362e-01   5.816e+06
   4.589e+04   5.816e+06   6.867e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      25.0000      frozen
   3    1   cpflux     Flux                6.46837E-02  +/-  1.32155E-02  
   4    2   cutep50    a                   1.63298      +/-  0.732249     
   5    2   cutep50    b                   9999.36      +/-  8.28696E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1931      5.67553      -1     0.0645038       1.62866       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 5.0706E-05|  0.9989  -0.0475   0.0000  
 4.1238E-02| -0.0475  -0.9989   0.0000  
 6.6243E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.746e-04   5.886e-03   4.534e+04
   5.886e-03   5.426e-01   5.746e+06
   4.534e+04   5.746e+06   6.624e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      25.0000      frozen
   3    1   cpflux     Flux                6.45038E-02  +/-  1.32117E-02  
   4    2   cutep50    a                   1.62866      +/-  0.736640     
   5    2   cutep50    b                   9999.36      +/-  8.13895E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.19        5.6398       -1     0.0644489       1.62682       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 5.2471E-05|  0.9989  -0.0465   0.0000  
 4.2127E-02| -0.0465  -0.9989   0.0000  
 6.4432E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.745e-04   5.896e-03   4.486e+04
   5.896e-03   5.420e-01   5.664e+06
   4.486e+04   5.664e+06   6.443e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      25.0000      frozen
   3    1   cpflux     Flux                6.44489E-02  +/-  1.32096E-02  
   4    2   cutep50    a                   1.62682      +/-  0.736191     
   5    2   cutep50    b                   9999.36      +/-  8.02694E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:02 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.21056E-02


Current model list:

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      25.0000      frozen
   3    1   cpflux     Flux                6.44489E-02  +/-  1.32096E-02  
   4    2   cutep50    a                   1.62682      +/-  0.736191     
   5    2   cutep50    b                   9999.36      +/-  8.02694E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3    0.0454502     0.083065    (-0.0189789,0.0186359)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4   -0.0202003      2.67213    (-1.64597,1.04636)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1596      0.000498561   2     0.0642744       1.60212       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 5.4910E-05|  0.9990  -0.0451   0.0000  
 4.2717E-02| -0.0451  -0.9990   0.0000  
 5.3180E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.741e-04   5.875e-03   4.157e+04
   5.875e-03   5.235e-01   5.058e+06
   4.157e+04   5.058e+06   5.318e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      25.0000      frozen
   3    1   cpflux     Flux                6.42744E-02  +/-  1.31951E-02  
   4    2   cutep50    a                   1.60212      +/-  0.723559     
   5    2   cutep50    b                   9999.36      +/-  7.29246E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

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


*** Parameter upper bound is INVALID.

     5      9999.36            0    (-2.51675e-08,-9999.36)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cpflux_25_50kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model cpflux*cutep50  ;     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  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                1.00000      +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 1.81e-282 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 9.58e-282 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.9668      596.595      -3      0.199746       1.13306       85.7817
67.8738      8.68645      -4      0.199754       1.63725       120.887
67.2272      3.5019       -5      0.199968       1.52196       205.348
67.2062      0.170031     -1      0.202474       1.56220       298.638
67.1881      0.55436      -1      0.204136       1.58435       476.728
67.1781      0.615149     -1      0.205422       1.60133       880.950
67.1644      0.712395     -1      0.206388       1.61397       9995.00
67.1624      0.512208      0      0.206307       1.61111       9998.96
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5495E-04|  0.9994   0.0356  -0.0000  
 3.7963E-02|  0.0356  -0.9994   0.0000  
 5.1960E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.144e-03   2.582e-02   2.831e+05
   2.582e-02   5.203e-01   4.984e+06
   2.831e+05   4.984e+06   5.196e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206307     +/-  4.63065E-02  
   4    2   cutep50    a                   1.61111      +/-  0.721344     
   5    2   cutep50    b                   9998.96      +/-  7.20830E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1616      0.406365      0      0.206266       1.60942       9999.24
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5539E-04|  0.9994   0.0356  -0.0000  
 3.7967E-02|  0.0356  -0.9994   0.0000  
 5.5283E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.154e-03   2.591e-02   2.928e+05
   2.591e-02   5.209e-01   5.144e+06
   2.928e+05   5.144e+06   5.528e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206266     +/-  4.64088E-02  
   4    2   cutep50    a                   1.60942      +/-  0.721753     
   5    2   cutep50    b                   9999.24      +/-  7.43525E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1611      0.34748       0      0.206245       1.60841       9999.32
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5566E-04|  0.9994   0.0356  -0.0000  
 3.7970E-02|  0.0356  -0.9994   0.0000  
 5.5079E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.159e-03   2.597e-02   2.928e+05
   2.597e-02   5.212e-01   5.136e+06
   2.928e+05   5.136e+06   5.508e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206245     +/-  4.64698E-02  
   4    2   cutep50    a                   1.60841      +/-  0.721976     
   5    2   cutep50    b                   9999.32      +/-  7.42149E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>newpar 1 25.0

Fit statistic  : Chi-Squared                   83.18     using 59 bins.

Test statistic : Chi-Squared                   83.18     using 59 bins.
 Null hypothesis probability of 1.07e-02 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 2 50.0

Fit statistic  : Chi-Squared                  496.56     using 59 bins.

Test statistic : Chi-Squared                  496.56     using 59 bins.
 Null hypothesis probability of 7.07e-72 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1923      985.021      -3     0.0603420       1.63257       9999.34
67.1872      4.71348      -1     0.0605809       1.63287       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 4.9465E-05|  1.0000  -0.0056   0.0000  
 4.4675E-02| -0.0056  -1.0000   0.0000  
 6.5577E+13| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.941e-05  -3.508e-03  -4.326e+04
  -3.508e-03   5.388e-01   5.697e+06
  -4.326e+04   5.697e+06   6.558e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      25.0000      frozen
   2    1   cpflux     Emax       keV      50.0000      frozen
   3    1   cpflux     Flux                6.05809E-02  +/-  8.91142E-03  
   4    2   cutep50    a                   1.63287      +/-  0.734062     
   5    2   cutep50    b                   9999.36      +/-  8.09799E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1862      3.11664      -1     0.0606069       1.63254       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 4.9479E-05|  1.0000  -0.0056   0.0000  
 4.4702E-02| -0.0056  -1.0000   0.0000  
 6.5209E+13| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.942e-05  -3.496e-03  -4.315e+04
  -3.496e-03   5.347e-01   5.659e+06
  -4.315e+04   5.659e+06   6.521e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      25.0000      frozen
   2    1   cpflux     Emax       keV      50.0000      frozen
   3    1   cpflux     Flux                6.06069E-02  +/-  8.91199E-03  
   4    2   cutep50    a                   1.63254      +/-  0.731211     
   5    2   cutep50    b                   9999.36      +/-  8.07524E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.186       2.9303       -1     0.0606097       1.63247       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 4.9477E-05|  1.0000  -0.0056   0.0000  
 4.4694E-02| -0.0056  -1.0000   0.0000  
 6.5016E+13| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.941e-05  -3.492e-03  -4.308e+04
  -3.492e-03   5.341e-01   5.648e+06
  -4.308e+04   5.648e+06   6.502e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      25.0000      frozen
   2    1   cpflux     Emax       keV      50.0000      frozen
   3    1   cpflux     Flux                6.06097E-02  +/-  8.91137E-03  
   4    2   cutep50    a                   1.63247      +/-  0.730850     
   5    2   cutep50    b                   9999.36      +/-  8.06325E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:02 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.22664E-02


Current model list:

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      25.0000      frozen
   2    1   cpflux     Emax       keV      50.0000      frozen
   3    1   cpflux     Flux                6.06097E-02  +/-  8.91137E-03  
   4    2   cutep50    a                   1.63247      +/-  0.730850     
   5    2   cutep50    b                   9999.36      +/-  8.06325E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3    0.0492586    0.0726182    (-0.0113514,0.0120083)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 1.63246, 2.8347
and delta stat 0, 3.41285
but latest trial 2.47846 gives 17.2025
Suggest that you check this result using the steppar command.
     4   -0.0188062      2.23358    (-1.65127,0.601121)

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

Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom
 Current data and model not fit yet.
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cpflux_50_100kev_fit.xcm

!XSPEC12>log none
Log file closed

!XSPEC12>query no

!XSPEC12>model cpflux*cutep50  ;     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  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                1.00000      +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 1.81e-282 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 9.58e-282 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.9668      596.595      -3      0.199746       1.13306       85.7817
67.8738      8.68645      -4      0.199754       1.63725       120.887
67.2272      3.5019       -5      0.199968       1.52196       205.348
67.2062      0.170031     -1      0.202474       1.56220       298.638
67.1881      0.55436      -1      0.204136       1.58435       476.728
67.1781      0.615149     -1      0.205422       1.60133       880.950
67.1644      0.712395     -1      0.206388       1.61397       9995.00
67.1624      0.512208      0      0.206307       1.61111       9998.96
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5495E-04|  0.9994   0.0356  -0.0000  
 3.7963E-02|  0.0356  -0.9994   0.0000  
 5.1960E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.144e-03   2.582e-02   2.831e+05
   2.582e-02   5.203e-01   4.984e+06
   2.831e+05   4.984e+06   5.196e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206307     +/-  4.63065E-02  
   4    2   cutep50    a                   1.61111      +/-  0.721344     
   5    2   cutep50    b                   9998.96      +/-  7.20830E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1616      0.406365      0      0.206266       1.60942       9999.24
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5539E-04|  0.9994   0.0356  -0.0000  
 3.7967E-02|  0.0356  -0.9994   0.0000  
 5.5283E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.154e-03   2.591e-02   2.928e+05
   2.591e-02   5.209e-01   5.144e+06
   2.928e+05   5.144e+06   5.528e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206266     +/-  4.64088E-02  
   4    2   cutep50    a                   1.60942      +/-  0.721753     
   5    2   cutep50    b                   9999.24      +/-  7.43525E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1611      0.34748       0      0.206245       1.60841       9999.32
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5566E-04|  0.9994   0.0356  -0.0000  
 3.7970E-02|  0.0356  -0.9994   0.0000  
 5.5079E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.159e-03   2.597e-02   2.928e+05
   2.597e-02   5.212e-01   5.136e+06
   2.928e+05   5.136e+06   5.508e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206245     +/-  4.64698E-02  
   4    2   cutep50    a                   1.60841      +/-  0.721976     
   5    2   cutep50    b                   9999.32      +/-  7.42149E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>newpar 1 50.0

Fit statistic  : Chi-Squared                  252.83     using 59 bins.

Test statistic : Chi-Squared                  252.83     using 59 bins.
 Null hypothesis probability of 8.19e-27 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 2 100.0

Fit statistic  : Chi-Squared                 1378.10     using 59 bins.

Test statistic : Chi-Squared                 1378.10     using 59 bins.
 Null hypothesis probability of 2.30e-251 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1878      2645.57      -3     0.0401719       1.62250       9999.35
67.1858      9.80708      -1     0.0400395       1.62472       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 2.4678E-05|  0.9998   0.0197  -0.0000  
 4.9929E-02|  0.0197  -0.9998   0.0000  
 5.8314E+13| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.678e-05  -2.130e-03  -1.283e+04
  -2.130e-03   5.094e-01   5.224e+06
  -1.283e+04   5.224e+06   5.831e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      50.0000      frozen
   2    1   cpflux     Emax       keV      100.000      frozen
   3    1   cpflux     Flux                4.00395E-02  +/-  6.83983E-03  
   4    2   cutep50    a                   1.62472      +/-  0.713726     
   5    2   cutep50    b                   9999.36      +/-  7.63638E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1707      8.5455        0     0.0399441       1.61877       9999.36
67.1655      4.72037       0     0.0399169       1.61517       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.9200E-05|  0.9997   0.0251  -0.0000  
 3.9314E-02|  0.0251  -0.9997   0.0000  
 5.7904E+13| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.684e-05  -2.158e-03  -1.295e+04
  -2.158e-03   5.171e-01   5.245e+06
  -1.295e+04   5.245e+06   5.790e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      50.0000      frozen
   2    1   cpflux     Emax       keV      100.000      frozen
   3    1   cpflux     Flux                3.99169E-02  +/-  6.84414E-03  
   4    2   cutep50    a                   1.61517      +/-  0.719117     
   5    2   cutep50    b                   9999.36      +/-  7.60945E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.17     using 59 bins.

Test statistic : Chi-Squared                   67.17     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1633      2.9243        0     0.0399188       1.61285       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.3079E-05|  0.9995   0.0313  -0.0000  
 3.1547E-02|  0.0313  -0.9995   0.0000  
 5.6956E+13| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.690e-05  -2.176e-03  -1.299e+04
  -2.176e-03   5.197e-01   5.214e+06
  -1.299e+04   5.214e+06   5.696e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      50.0000      frozen
   2    1   cpflux     Emax       keV      100.000      frozen
   3    1   cpflux     Flux                3.99188E-02  +/-  6.84833E-03  
   4    2   cutep50    a                   1.61285      +/-  0.720885     
   5    2   cutep50    b                   9999.36      +/-  7.54693E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:02 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.24997E-02


Current model list:

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      50.0000      frozen
   2    1   cpflux     Emax       keV      100.000      frozen
   3    1   cpflux     Flux                3.99188E-02  +/-  6.84833E-03  
   4    2   cutep50    a                   1.61285      +/-  0.720885     
   5    2   cutep50    b                   9999.36      +/-  7.54693E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3     0.029294    0.0508916    (-0.0106376,0.01096)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4  -0.00740562      2.66585    (-1.61756,1.0557)

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

Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom
 Current data and model not fit yet.
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cpflux_100_150kev_fit.xcm

!XSPEC12>log none
Log file closed

!XSPEC12>query no

!XSPEC12>model cpflux*cutep50  ;     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  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                1.00000      +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 1.81e-282 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 9.58e-282 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.9668      596.595      -3      0.199746       1.13306       85.7817
67.8738      8.68645      -4      0.199754       1.63725       120.887
67.2272      3.5019       -5      0.199968       1.52196       205.348
67.2062      0.170031     -1      0.202474       1.56220       298.638
67.1881      0.55436      -1      0.204136       1.58435       476.728
67.1781      0.615149     -1      0.205422       1.60133       880.950
67.1644      0.712395     -1      0.206388       1.61397       9995.00
67.1624      0.512208      0      0.206307       1.61111       9998.96
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5495E-04|  0.9994   0.0356  -0.0000  
 3.7963E-02|  0.0356  -0.9994   0.0000  
 5.1960E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.144e-03   2.582e-02   2.831e+05
   2.582e-02   5.203e-01   4.984e+06
   2.831e+05   4.984e+06   5.196e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206307     +/-  4.63065E-02  
   4    2   cutep50    a                   1.61111      +/-  0.721344     
   5    2   cutep50    b                   9998.96      +/-  7.20830E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1616      0.406365      0      0.206266       1.60942       9999.24
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5539E-04|  0.9994   0.0356  -0.0000  
 3.7967E-02|  0.0356  -0.9994   0.0000  
 5.5283E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.154e-03   2.591e-02   2.928e+05
   2.591e-02   5.209e-01   5.144e+06
   2.928e+05   5.144e+06   5.528e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206266     +/-  4.64088E-02  
   4    2   cutep50    a                   1.60942      +/-  0.721753     
   5    2   cutep50    b                   9999.24      +/-  7.43525E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1611      0.34748       0      0.206245       1.60841       9999.32
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5566E-04|  0.9994   0.0356  -0.0000  
 3.7970E-02|  0.0356  -0.9994   0.0000  
 5.5079E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.159e-03   2.597e-02   2.928e+05
   2.597e-02   5.212e-01   5.136e+06
   2.928e+05   5.136e+06   5.508e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206245     +/-  4.64698E-02  
   4    2   cutep50    a                   1.60841      +/-  0.721976     
   5    2   cutep50    b                   9999.32      +/-  7.42149E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>newpar 1 100.0

Fit statistic  : Chi-Squared                 1339.18     using 59 bins.

Test statistic : Chi-Squared                 1339.18     using 59 bins.
 Null hypothesis probability of 3.01e-243 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 2 150.0

Fit statistic  : Chi-Squared                 9918.40     using 59 bins.

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

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
70.6311      17786.8      -3     0.0197593       1.62517       9999.36
68.5795      330.789      -4     0.0173915       1.67329       9999.36
67.5265      214.193      -5     0.0170464       1.64040       9999.36
67.4298      104.131      -2     0.0170051       1.63492       9999.36
67.2233      88.8119      -1     0.0168083       1.62035       9999.36
67.1874      41.6614      -1     0.0167703       1.61443       9999.36
67.179       27.2285      -1     0.0167698       1.61199       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.2971E-06|  0.9999   0.0158  -0.0000  
 5.0097E-02|  0.0158  -0.9999   0.0000  
 5.5219E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.960e-05   2.996e-03   4.127e+04
   2.996e-03   5.059e-01   5.066e+06
   4.127e+04   5.066e+06   5.522e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      100.000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                1.67698E-02  +/-  7.04306E-03  
   4    2   cutep50    a                   1.61199      +/-  0.711280     
   5    2   cutep50    b                   9999.36      +/-  7.43096E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.18     using 59 bins.

Test statistic : Chi-Squared                   67.18     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1765      22.7848      -1     0.0167749       1.61095       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 3.8855E-06|  0.9998   0.0188  -0.0000  
 4.2127E-02|  0.0188  -0.9998   0.0000  
 5.4715E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.964e-05   3.002e-03   4.107e+04
   3.002e-03   5.086e-01   5.056e+06
   4.107e+04   5.056e+06   5.471e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      100.000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                1.67749E-02  +/-  7.04539E-03  
   4    2   cutep50    a                   1.61095      +/-  0.713130     
   5    2   cutep50    b                   9999.36      +/-  7.39696E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.18     using 59 bins.

Test statistic : Chi-Squared                   67.18     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1757      21.3818      -1     0.0167790       1.61048       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 3.8521E-06|  0.9998   0.0189  -0.0000  
 4.2072E-02|  0.0189  -0.9998   0.0000  
 5.4467E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.965e-05   3.004e-03   4.097e+04
   3.004e-03   5.094e-01   5.048e+06
   4.097e+04   5.048e+06   5.447e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      100.000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                1.67790E-02  +/-  7.04638E-03  
   4    2   cutep50    a                   1.61048      +/-  0.713699     
   5    2   cutep50    b                   9999.36      +/-  7.38014E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.18     using 59 bins.

Test statistic : Chi-Squared                   67.18     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:03 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.27344E-02


Current model list:

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      100.000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                1.67790E-02  +/-  7.04638E-03  
   4    2   cutep50    a                   1.61048      +/-  0.713699     
   5    2   cutep50    b                   9999.36      +/-  7.38014E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.18     using 59 bins.

Test statistic : Chi-Squared                   67.18     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 0.00727061, 0.00622919
and delta stat 1.35542, 8.93898
but latest trial 0.00702456 gives 13.6049
Suggest that you check this result using the steppar command.
Apparent non-monotonicity in statistic space detected.
Current bracket values 0.0209008, 0.0283727
and delta stat 2.12575, 5.75325
but latest trial 0.0220564 gives 1.3535
Suggest that you check this result using the steppar command.
     3    0.0067499    0.0246368    (-0.0100316,0.00785528)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)

***Warning: Number of trials exceeded before convergence.
Current trial values 0.480061, 0.480049
and delta statistic 1.67, 35.7298

     4     0.480055      2.66898    (-1.1301,1.05882)

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

Fit statistic  : Chi-Squared                   67.18     using 59 bins.

Test statistic : Chi-Squared                   67.18     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom
 Current data and model not fit yet.
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cpflux_100_350kev_fit.xcm

!XSPEC12>log none
Log file closed

!XSPEC12>query no

!XSPEC12>model cpflux*cutep50  ;     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  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                1.00000      +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 1.81e-282 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                 1523.42     using 59 bins.

Test statistic : Chi-Squared                 1523.42     using 59 bins.
 Null hypothesis probability of 9.58e-282 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.9668      596.595      -3      0.199746       1.13306       85.7817
67.8738      8.68645      -4      0.199754       1.63725       120.887
67.2272      3.5019       -5      0.199968       1.52196       205.348
67.2062      0.170031     -1      0.202474       1.56220       298.638
67.1881      0.55436      -1      0.204136       1.58435       476.728
67.1781      0.615149     -1      0.205422       1.60133       880.950
67.1644      0.712395     -1      0.206388       1.61397       9995.00
67.1624      0.512208      0      0.206307       1.61111       9998.96
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5495E-04|  0.9994   0.0356  -0.0000  
 3.7963E-02|  0.0356  -0.9994   0.0000  
 5.1960E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.144e-03   2.582e-02   2.831e+05
   2.582e-02   5.203e-01   4.984e+06
   2.831e+05   4.984e+06   5.196e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206307     +/-  4.63065E-02  
   4    2   cutep50    a                   1.61111      +/-  0.721344     
   5    2   cutep50    b                   9998.96      +/-  7.20830E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1616      0.406365      0      0.206266       1.60942       9999.24
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5539E-04|  0.9994   0.0356  -0.0000  
 3.7967E-02|  0.0356  -0.9994   0.0000  
 5.5283E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.154e-03   2.591e-02   2.928e+05
   2.591e-02   5.209e-01   5.144e+06
   2.928e+05   5.144e+06   5.528e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206266     +/-  4.64088E-02  
   4    2   cutep50    a                   1.60942      +/-  0.721753     
   5    2   cutep50    b                   9999.24      +/-  7.43525E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.1611      0.34748       0      0.206245       1.60841       9999.32
========================================
 Variances and Principal Axes
                 3        4        5  
 5.5566E-04|  0.9994   0.0356  -0.0000  
 3.7970E-02|  0.0356  -0.9994   0.0000  
 5.5079E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.159e-03   2.597e-02   2.928e+05
   2.597e-02   5.212e-01   5.136e+06
   2.928e+05   5.136e+06   5.508e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                0.206245     +/-  4.64698E-02  
   4    2   cutep50    a                   1.60841      +/-  0.721976     
   5    2   cutep50    b                   9999.32      +/-  7.42149E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>newpar 1 100.0

Fit statistic  : Chi-Squared                 1339.18     using 59 bins.

Test statistic : Chi-Squared                 1339.18     using 59 bins.
 Null hypothesis probability of 3.01e-243 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 2 350.0

Fit statistic  : Chi-Squared                 1339.18     using 59 bins.

Test statistic : Chi-Squared                 1339.18     using 59 bins.
 Null hypothesis probability of 3.01e-243 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
81.0484      2673.8       -3     0.0546055       1.64491       9999.36
69.8297      282.641      -4     0.0444327       1.65781       9999.36
69.0756      124.635      -5     0.0437266       1.65226       9999.36
68.5181      104.487      -3     0.0432879       1.64463       9999.36
67.5493      86.9478      -2     0.0421213       1.62578       9999.36
67.4496      45.1992      -2     0.0419854       1.62191       9999.36
67.4412      38.8076      -2     0.0419783       1.62147       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 2.7967E-04|  0.9964   0.0853  -0.0000  
 2.7967E-02|  0.0853  -0.9964   0.0000  
 5.3204E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.796e-03   2.400e-02   2.941e+05
   2.400e-02   4.661e-01   4.773e+06
   2.941e+05   4.773e+06   5.320e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      100.000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                4.19783E-02  +/-  4.23741E-02  
   4    2   cutep50    a                   1.62147      +/-  0.682736     
   5    2   cutep50    b                   9999.36      +/-  7.29410E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.44     using 59 bins.

Test statistic : Chi-Squared                   67.44     using 59 bins.
 Null hypothesis probability of 1.41e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.4408      38.2229      -2     0.0419792       1.62143       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 3.9154E-05|  0.9985   0.0549  -0.0000  
 4.3514E-02|  0.0549  -0.9985   0.0000  
 5.3147E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.797e-03   2.403e-02   2.940e+05
   2.403e-02   4.669e-01   4.774e+06
   2.940e+05   4.774e+06   5.315e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      100.000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                4.19792E-02  +/-  4.23915E-02  
   4    2   cutep50    a                   1.62143      +/-  0.683272     
   5    2   cutep50    b                   9999.36      +/-  7.29018E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.44     using 59 bins.

Test statistic : Chi-Squared                   67.44     using 59 bins.
 Null hypothesis probability of 1.41e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
67.2149      38.1979      -1     0.0412985       1.61091       9999.36
67.1772      16.6532      -1     0.0410662       1.60707       9999.36
67.1692      9.34112      -1     0.0409888       1.60573       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 3.5440E-04|  0.9975   0.0713  -0.0000  
 3.5440E-02|  0.0713  -0.9975   0.0000  
 5.3099E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.846e-03   2.540e-02   2.978e+05
   2.540e-02   5.079e-01   4.977e+06
   2.978e+05   4.977e+06   5.310e+13
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      100.000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                4.09888E-02  +/-  4.29645E-02  
   4    2   cutep50    a                   1.60573      +/-  0.712664     
   5    2   cutep50    b                   9999.36      +/-  7.28692E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.17     using 59 bins.

Test statistic : Chi-Squared                   67.17     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:03 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.26734E-02


Current model list:

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      100.000      frozen
   2    1   cpflux     Emax       keV      350.000      frozen
   3    1   cpflux     Flux                4.09888E-02  +/-  4.29645E-02  
   4    2   cutep50    a                   1.60573      +/-  0.712664     
   5    2   cutep50    b                   9999.36      +/-  7.28692E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.17     using 59 bins.

Test statistic : Chi-Squared                   67.17     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
***Warning: Zero alpha-matrix diagonal element for parameter 4
***Warning: Zero alpha-matrix diagonal element for parameter 5
 Parameter 4 is pegged at 1.60573 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
 Parameter 5 is pegged at 9999.36 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.

 Fit error occurred during lower bound error calculation.
     3            0    0.0664365    (-0.0409635,0.0254729)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4  -0.00994126        2.667    (-1.61505,1.0619)

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

Fit statistic  : Chi-Squared                   67.17     using 59 bins.

Test statistic : Chi-Squared                   67.17     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom
 Current data and model not fit yet.
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cflux_15_350kev_fit.xcm

!XSPEC12>log none
Log file closed

!XSPEC12>query no

!XSPEC12>model cflux*cutep50  ;     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  ;     -8.0        1.00000E+02  -30.000      -30.000      1.0000       1.0000  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.00000     +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 2.88e-02 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 3.52e-02 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
76.1874      12.9474      -2      -7.68967       1.84479       109.249
67.3081      23.0413      -3      -7.72352       1.51971       209.384
67.2201      1.912        -1      -7.70754       1.52189       217.600
67.2113      0.177017     -1      -7.70093       1.52704       238.070
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3823E-03|  0.9768   0.2143  -0.0003  
 7.4216E-02|  0.2143  -0.9768   0.0005  
 1.4879E+06|  0.0002   0.0006   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.931e-02   1.743e-01   3.310e+02
   1.743e-01   5.577e-01   8.511e+02
   3.310e+02   8.511e+02   1.488e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.70093     +/-  0.281622     
   4    2   cutep50    a                   1.52704      +/-  0.746804     
   5    2   cutep50    b                   238.070      +/-  1219.79      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.21     using 59 bins.

Test statistic : Chi-Squared                   67.21     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.2044      0.025248     -1      -7.69597       1.53467       262.668
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3530E-03|  0.9734   0.2290  -0.0003  
 7.0786E-02|  0.2290  -0.9734   0.0004  
 2.2358E+06|  0.0002   0.0005   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.074e-02   1.750e-01   4.090e+02
   1.750e-01   5.512e-01   1.040e+03
   4.090e+02   1.040e+03   2.236e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69597     +/-  0.284155     
   4    2   cutep50    a                   1.53467      +/-  0.742406     
   5    2   cutep50    b                   262.668      +/-  1495.25      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1983      0.036085     -1      -7.69164       1.54232       291.419
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3330E-03|  0.9698   0.2441  -0.0002  
 6.7920E-02|  0.2441  -0.9698   0.0003  
 3.5333E+06|  0.0001   0.0004   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.254e-02   1.765e-01   5.192e+02
   1.765e-01   5.473e-01   1.307e+03
   5.192e+02   1.307e+03   3.533e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69164     +/-  0.287292     
   4    2   cutep50    a                   1.54232      +/-  0.739785     
   5    2   cutep50    b                   291.419      +/-  1879.70      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:03 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.24013E-02


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69164     +/-  0.287292     
   4    2   cutep50    a                   1.54232      +/-  0.739785     
   5    2   cutep50    b                   291.419      +/-  1879.70      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3     -8.01338     -7.51034    (-0.325687,0.177354)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4   -0.0221067      2.67317    (-1.57832,1.11696)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1596      0.00251478    0      -7.65777       1.60179       9998.20
========================================
 Variances and Principal Axes
                 3        4        5  
 3.2824E-03|  0.9417   0.3364  -0.0000  
 5.7532E-02|  0.3364  -0.9417   0.0000  
 5.1312E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   9.906e-02   1.904e-01   2.145e+06
   1.904e-01   5.232e-01   4.966e+06
   2.145e+06   4.966e+06   5.131e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.65777     +/-  0.314731     
   4    2   cutep50    a                   1.60179      +/-  0.723312     
   5    2   cutep50    b                   9998.20      +/-  7.16327E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

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


*** Parameter upper bound is INVALID.

     5       9998.2            0    (-0.319919,-9998.52)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cflux_15_150kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model cflux*cutep50  ;     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  ;     -8.0        1.00000E+02  -30.000      -30.000      1.0000       1.0000  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.00000     +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 2.88e-02 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 3.52e-02 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
76.1874      12.9474      -2      -7.68967       1.84479       109.249
67.3081      23.0413      -3      -7.72352       1.51971       209.384
67.2201      1.912        -1      -7.70754       1.52189       217.600
67.2113      0.177017     -1      -7.70093       1.52704       238.070
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3823E-03|  0.9768   0.2143  -0.0003  
 7.4216E-02|  0.2143  -0.9768   0.0005  
 1.4879E+06|  0.0002   0.0006   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.931e-02   1.743e-01   3.310e+02
   1.743e-01   5.577e-01   8.511e+02
   3.310e+02   8.511e+02   1.488e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.70093     +/-  0.281622     
   4    2   cutep50    a                   1.52704      +/-  0.746804     
   5    2   cutep50    b                   238.070      +/-  1219.79      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.21     using 59 bins.

Test statistic : Chi-Squared                   67.21     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.2044      0.025248     -1      -7.69597       1.53467       262.668
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3530E-03|  0.9734   0.2290  -0.0003  
 7.0786E-02|  0.2290  -0.9734   0.0004  
 2.2358E+06|  0.0002   0.0005   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.074e-02   1.750e-01   4.090e+02
   1.750e-01   5.512e-01   1.040e+03
   4.090e+02   1.040e+03   2.236e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69597     +/-  0.284155     
   4    2   cutep50    a                   1.53467      +/-  0.742406     
   5    2   cutep50    b                   262.668      +/-  1495.25      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1983      0.036085     -1      -7.69164       1.54232       291.419
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3330E-03|  0.9698   0.2441  -0.0002  
 6.7920E-02|  0.2441  -0.9698   0.0003  
 3.5333E+06|  0.0001   0.0004   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.254e-02   1.765e-01   5.192e+02
   1.765e-01   5.473e-01   1.307e+03
   5.192e+02   1.307e+03   3.533e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69164     +/-  0.287292     
   4    2   cutep50    a                   1.54232      +/-  0.739785     
   5    2   cutep50    b                   291.419      +/-  1879.70      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>newpar 1 15.0

Fit statistic  : Chi-Squared                   67.20     using 59 bins.

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

!XSPEC12>newpar 2 150.0

Fit statistic  : Chi-Squared                   90.55     using 59 bins.

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

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
68.2873      50.7957      -3      -7.84146       1.63350       614.146
67.2472      7.80542      -4      -7.87564       1.64419       9994.28
67.1956      1.55698      -1      -7.87755       1.63090       9999.06
67.189       0.928912     -1      -7.87772       1.62821       9999.32
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3239E-03|  0.9848   0.1736  -0.0000  
 4.2370E-02|  0.1736  -0.9848   0.0000  
 6.1252E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.307e-03   1.225e-02   2.180e+05
   1.225e-02   5.115e-01   5.365e+06
   2.180e+05   5.365e+06   6.125e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.87772     +/-  6.56254E-02  
   4    2   cutep50    a                   1.62821      +/-  0.715193     
   5    2   cutep50    b                   9999.32      +/-  7.82636E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1879      0.834014     -1      -7.87773       1.62770       9999.35
========================================
 Variances and Principal Axes
                 3        4        5  
 2.5225E-03|  0.9892   0.1464  -0.0000  
 4.9817E-02|  0.1464  -0.9892   0.0000  
 6.0716E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.311e-03   1.225e-02   2.168e+05
   1.225e-02   5.127e-01   5.347e+06
   2.168e+05   5.347e+06   6.072e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.87773     +/-  6.56549E-02  
   4    2   cutep50    a                   1.62770      +/-  0.716016     
   5    2   cutep50    b                   9999.35      +/-  7.79204E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1877      0.819852     -1      -7.87772       1.62760       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3229E-03|  0.9847   0.1745  -0.0000  
 4.2179E-02|  0.1745  -0.9847   0.0000  
 6.0572E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.311e-03   1.225e-02   2.165e+05
   1.225e-02   5.128e-01   5.342e+06
   2.165e+05   5.342e+06   6.057e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.87772     +/-  6.56563E-02  
   4    2   cutep50    a                   1.62760      +/-  0.716126     
   5    2   cutep50    b                   9999.36      +/-  7.78283E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:03 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.27094E-02


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.87772     +/-  6.56563E-02  
   4    2   cutep50    a                   1.62760      +/-  0.716126     
   5    2   cutep50    b                   9999.36      +/-  7.78283E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3     -8.02392     -7.80621    (-0.146199,0.071511)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 1.62758, -0.728461
and delta stat 0, 4.14658
but latest trial -0.275696 gives 40.2194
Suggest that you check this result using the steppar command.
     4     0.449561      1.87025    (-1.17802,0.242668)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1596      0.00035417    2      -7.87897       1.60209       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.4706E-03|  0.9558   0.2941  -0.0000  
 2.5886E-02|  0.2941  -0.9558   0.0000  
 5.3140E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.340e-03   1.222e-02   2.006e+05
   1.222e-02   5.234e-01   5.055e+06
   2.006e+05   5.055e+06   5.314e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.87897     +/-  6.58752E-02  
   4    2   cutep50    a                   1.60209      +/-  0.723451     
   5    2   cutep50    b                   9999.36      +/-  7.28974E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

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


*** Parameter upper bound is INVALID.

     5      9999.36            0    (-0.000123932,-9999.36)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cflux_15_25kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model cflux*cutep50  ;     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  ;     -8.0        1.00000E+02  -30.000      -30.000      1.0000       1.0000  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.00000     +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 2.88e-02 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 3.52e-02 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
76.1874      12.9474      -2      -7.68967       1.84479       109.249
67.3081      23.0413      -3      -7.72352       1.51971       209.384
67.2201      1.912        -1      -7.70754       1.52189       217.600
67.2113      0.177017     -1      -7.70093       1.52704       238.070
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3823E-03|  0.9768   0.2143  -0.0003  
 7.4216E-02|  0.2143  -0.9768   0.0005  
 1.4879E+06|  0.0002   0.0006   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.931e-02   1.743e-01   3.310e+02
   1.743e-01   5.577e-01   8.511e+02
   3.310e+02   8.511e+02   1.488e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.70093     +/-  0.281622     
   4    2   cutep50    a                   1.52704      +/-  0.746804     
   5    2   cutep50    b                   238.070      +/-  1219.79      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.21     using 59 bins.

Test statistic : Chi-Squared                   67.21     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.2044      0.025248     -1      -7.69597       1.53467       262.668
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3530E-03|  0.9734   0.2290  -0.0003  
 7.0786E-02|  0.2290  -0.9734   0.0004  
 2.2358E+06|  0.0002   0.0005   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.074e-02   1.750e-01   4.090e+02
   1.750e-01   5.512e-01   1.040e+03
   4.090e+02   1.040e+03   2.236e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69597     +/-  0.284155     
   4    2   cutep50    a                   1.53467      +/-  0.742406     
   5    2   cutep50    b                   262.668      +/-  1495.25      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1983      0.036085     -1      -7.69164       1.54232       291.419
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3330E-03|  0.9698   0.2441  -0.0002  
 6.7920E-02|  0.2441  -0.9698   0.0003  
 3.5333E+06|  0.0001   0.0004   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.254e-02   1.765e-01   5.192e+02
   1.765e-01   5.473e-01   1.307e+03
   5.192e+02   1.307e+03   3.533e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69164     +/-  0.287292     
   4    2   cutep50    a                   1.54232      +/-  0.739785     
   5    2   cutep50    b                   291.419      +/-  1879.70      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>newpar 1 15.0

Fit statistic  : Chi-Squared                   67.20     using 59 bins.

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

!XSPEC12>newpar 2 25.0

Fit statistic  : Chi-Squared                 6484.38     using 59 bins.

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

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
822.233      5660.85      -3      -8.07976       1.56156       350.486
134.511      792.162      -4      -8.40702       1.59138       522.488
69.7923      110.684      -5      -8.61727       1.63637       9979.24
67.2888      13.256       -6      -8.69066       1.66753       9998.84
67.239       1.30887      -7      -8.70018       1.64148       9999.20
67.1991      1.50048      -1      -8.69983       1.63089       9999.33
67.1913      1.03603      -1      -8.70009       1.62763       9999.35
========================================
 Variances and Principal Axes
                 3        4        5  
 1.5972E-03|  0.9405  -0.3398   0.0000  
 4.1209E-02| -0.3398  -0.9405   0.0000  
 6.5467E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.291e-03   3.631e-02   2.708e+05
   3.631e-02   5.436e-01   5.718e+06
   2.708e+05   5.718e+06   6.547e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      25.0000      frozen
   3    1   cflux      lg10Flux   cgs      -8.70009     +/-  8.53850E-02  
   4    2   cutep50    a                   1.62763      +/-  0.737315     
   5    2   cutep50    b                   9999.35      +/-  8.09119E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.189       0.937997     -1      -8.70025       1.62647       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 3.0063E-03|  0.9701  -0.2427   0.0000  
 5.6719E-02| -0.2427  -0.9701   0.0000  
 6.3962E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.299e-03   3.634e-02   2.686e+05
   3.634e-02   5.416e-01   5.641e+06
   2.686e+05   5.641e+06   6.396e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      25.0000      frozen
   3    1   cflux      lg10Flux   cgs      -8.70025     +/-  8.54334E-02  
   4    2   cutep50    a                   1.62647      +/-  0.735929     
   5    2   cutep50    b                   9999.36      +/-  7.99760E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1883      0.911002     -1      -8.70031       1.62605       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 2.5081E-03|  0.9605  -0.2783   0.0000  
 4.9820E-02| -0.2783  -0.9605   0.0000  
 6.3461E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.304e-03   3.636e-02   2.680e+05
   3.636e-02   5.410e-01   5.616e+06
   2.680e+05   5.616e+06   6.346e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      25.0000      frozen
   3    1   cflux      lg10Flux   cgs      -8.70031     +/-  8.54623E-02  
   4    2   cutep50    a                   1.62605      +/-  0.735542     
   5    2   cutep50    b                   9999.36      +/-  7.96625E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:03 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.21140E-02


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      25.0000      frozen
   3    1   cflux      lg10Flux   cgs      -8.70031     +/-  8.54623E-02  
   4    2   cutep50    a                   1.62605      +/-  0.735542     
   5    2   cutep50    b                   9999.36      +/-  7.96625E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values -8.8514, -8.8514
and delta stat 2.65792, 2.77168
but latest trial -8.8514 gives 6.92539
Suggest that you check this result using the steppar command.
     3      -8.8514     -8.59077    (-0.151061,0.109573)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4   -0.0198605      2.67197    (-1.64568,1.04615)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1596      0.000646577   2      -8.70120       1.60212       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 2.0628E-03|  0.9506  -0.3103   0.0000  
 4.4434E-02| -0.3103  -0.9506   0.0000  
 5.3180E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.330e-03   3.640e-02   2.513e+05
   3.640e-02   5.235e-01   5.058e+06
   2.513e+05   5.058e+06   5.318e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      25.0000      frozen
   3    1   cflux      lg10Flux   cgs      -8.70120     +/-  8.56163E-02  
   4    2   cutep50    a                   1.60212      +/-  0.723562     
   5    2   cutep50    b                   9999.36      +/-  7.29246E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.16     using 59 bins.

Test statistic : Chi-Squared                   67.16     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

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


*** Parameter upper bound is INVALID.

     5      9999.36            0    (-1.30989e-05,-9999.36)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cflux_25_50kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

!XSPEC12>model cflux*cutep50  ;     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  ;     -8.0        1.00000E+02  -30.000      -30.000      1.0000       1.0000  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.00000     +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 2.88e-02 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 3.52e-02 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
76.1874      12.9474      -2      -7.68967       1.84479       109.249
67.3081      23.0413      -3      -7.72352       1.51971       209.384
67.2201      1.912        -1      -7.70754       1.52189       217.600
67.2113      0.177017     -1      -7.70093       1.52704       238.070
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3823E-03|  0.9768   0.2143  -0.0003  
 7.4216E-02|  0.2143  -0.9768   0.0005  
 1.4879E+06|  0.0002   0.0006   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.931e-02   1.743e-01   3.310e+02
   1.743e-01   5.577e-01   8.511e+02
   3.310e+02   8.511e+02   1.488e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.70093     +/-  0.281622     
   4    2   cutep50    a                   1.52704      +/-  0.746804     
   5    2   cutep50    b                   238.070      +/-  1219.79      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.21     using 59 bins.

Test statistic : Chi-Squared                   67.21     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.2044      0.025248     -1      -7.69597       1.53467       262.668
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3530E-03|  0.9734   0.2290  -0.0003  
 7.0786E-02|  0.2290  -0.9734   0.0004  
 2.2358E+06|  0.0002   0.0005   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.074e-02   1.750e-01   4.090e+02
   1.750e-01   5.512e-01   1.040e+03
   4.090e+02   1.040e+03   2.236e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69597     +/-  0.284155     
   4    2   cutep50    a                   1.53467      +/-  0.742406     
   5    2   cutep50    b                   262.668      +/-  1495.25      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1983      0.036085     -1      -7.69164       1.54232       291.419
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3330E-03|  0.9698   0.2441  -0.0002  
 6.7920E-02|  0.2441  -0.9698   0.0003  
 3.5333E+06|  0.0001   0.0004   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.254e-02   1.765e-01   5.192e+02
   1.765e-01   5.473e-01   1.307e+03
   5.192e+02   1.307e+03   3.533e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69164     +/-  0.287292     
   4    2   cutep50    a                   1.54232      +/-  0.739785     
   5    2   cutep50    b                   291.419      +/-  1879.70      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>newpar 1 25.0

Fit statistic  : Chi-Squared                   68.10     using 59 bins.

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

!XSPEC12>newpar 2 50.0

Fit statistic  : Chi-Squared                 1851.36     using 59 bins.

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

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
252.971      1659.63      -3      -8.05088       1.56267       362.878
78.9016      234.776      -4      -8.31769       1.61011       658.138
67.3753      31.9735      -5      -8.44411       1.65287       9995.17
67.2369      2.76209      -6      -8.46684       1.65635       9999.08
67.2299      0.657243     -7      -8.46739       1.65298       9999.35
========================================
 Variances and Principal Axes
                 3        4        5  
 2.5149E-03|  0.9998  -0.0173   0.0000  
 4.6548E-02| -0.0173  -0.9998   0.0000  
 7.5838E+13| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.239e-03  -2.833e-02  -3.602e+05
  -2.833e-02   5.387e-01   6.125e+06
  -3.602e+05   6.125e+06   7.584e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      25.0000      frozen
   2    1   cflux      Emax       keV      50.0000      frozen
   3    1   cflux      lg10Flux   cgs      -8.46739     +/-  6.51064E-02  
   4    2   cutep50    a                   1.65298      +/-  0.733936     
   5    2   cutep50    b                   9999.35      +/-  8.70848E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.23     using 59 bins.

Test statistic : Chi-Squared                   67.23     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.2219      0.692322     -2      -8.46722       1.64996       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 2.5125E-03|  0.9996  -0.0283   0.0000  
 3.0895E-02| -0.0283  -0.9996   0.0000  
 7.4712E+13| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.244e-03  -2.829e-02  -3.573e+05
  -2.829e-02   5.395e-01   6.084e+06
  -3.573e+05   6.084e+06   7.471e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      25.0000      frozen
   2    1   cflux      Emax       keV      50.0000      frozen
   3    1   cflux      lg10Flux   cgs      -8.46722     +/-  6.51469E-02  
   4    2   cutep50    a                   1.64996      +/-  0.734481     
   5    2   cutep50    b                   9999.36      +/-  8.64364E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.22     using 59 bins.

Test statistic : Chi-Squared                   67.22     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1883      0.65623      -1      -8.46628       1.63439       9999.36
67.186       0.45732      -1      -8.46621       1.63302       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 2.5069E-03|  0.9998  -0.0195   0.0000  
 5.4097E-02| -0.0195  -0.9998   0.0000  
 6.5697E+13| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.192e-03  -2.756e-02  -3.308e+05
  -2.756e-02   5.336e-01   5.674e+06
  -3.308e+05   5.674e+06   6.570e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      25.0000      frozen
   2    1   cflux      Emax       keV      50.0000      frozen
   3    1   cflux      lg10Flux   cgs      -8.46621     +/-  6.47466E-02  
   4    2   cutep50    a                   1.63302      +/-  0.730470     
   5    2   cutep50    b                   9999.36      +/-  8.10537E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:03 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.22862E-02


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      25.0000      frozen
   2    1   cflux      Emax       keV      50.0000      frozen
   3    1   cflux      lg10Flux   cgs      -8.46621     +/-  6.47466E-02  
   4    2   cutep50    a                   1.63302      +/-  0.730470     
   5    2   cutep50    b                   9999.36      +/-  8.10537E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3     -8.55564     -8.38563    (-0.0894342,0.0805805)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 1.63289, 2.83451
and delta stat 0, 3.41221
but latest trial 2.47885 gives 18.5074
Suggest that you check this result using the steppar command.
     4   -0.0188069       2.2337    (-1.6517,0.600809)

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

Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom
 Current data and model not fit yet.
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cflux_50_100kev_fit.xcm

!XSPEC12>log none
Log file closed

!XSPEC12>query no

!XSPEC12>model cflux*cutep50  ;     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  ;     -8.0        1.00000E+02  -30.000      -30.000      1.0000       1.0000  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.00000     +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 2.88e-02 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 3.52e-02 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
76.1874      12.9474      -2      -7.68967       1.84479       109.249
67.3081      23.0413      -3      -7.72352       1.51971       209.384
67.2201      1.912        -1      -7.70754       1.52189       217.600
67.2113      0.177017     -1      -7.70093       1.52704       238.070
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3823E-03|  0.9768   0.2143  -0.0003  
 7.4216E-02|  0.2143  -0.9768   0.0005  
 1.4879E+06|  0.0002   0.0006   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.931e-02   1.743e-01   3.310e+02
   1.743e-01   5.577e-01   8.511e+02
   3.310e+02   8.511e+02   1.488e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.70093     +/-  0.281622     
   4    2   cutep50    a                   1.52704      +/-  0.746804     
   5    2   cutep50    b                   238.070      +/-  1219.79      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.21     using 59 bins.

Test statistic : Chi-Squared                   67.21     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.2044      0.025248     -1      -7.69597       1.53467       262.668
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3530E-03|  0.9734   0.2290  -0.0003  
 7.0786E-02|  0.2290  -0.9734   0.0004  
 2.2358E+06|  0.0002   0.0005   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.074e-02   1.750e-01   4.090e+02
   1.750e-01   5.512e-01   1.040e+03
   4.090e+02   1.040e+03   2.236e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69597     +/-  0.284155     
   4    2   cutep50    a                   1.53467      +/-  0.742406     
   5    2   cutep50    b                   262.668      +/-  1495.25      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1983      0.036085     -1      -7.69164       1.54232       291.419
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3330E-03|  0.9698   0.2441  -0.0002  
 6.7920E-02|  0.2441  -0.9698   0.0003  
 3.5333E+06|  0.0001   0.0004   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.254e-02   1.765e-01   5.192e+02
   1.765e-01   5.473e-01   1.307e+03
   5.192e+02   1.307e+03   3.533e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69164     +/-  0.287292     
   4    2   cutep50    a                   1.54232      +/-  0.739785     
   5    2   cutep50    b                   291.419      +/-  1879.70      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>newpar 1 50.0

Fit statistic  : Chi-Squared                   77.39     using 59 bins.

Test statistic : Chi-Squared                   77.39     using 59 bins.
 Null hypothesis probability of 3.07e-02 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 2 100.0

Fit statistic  : Chi-Squared                 1002.94     using 59 bins.

Test statistic : Chi-Squared                 1002.94     using 59 bins.
 Null hypothesis probability of 1.28e-173 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
157.746      950.872      -3      -8.02754       1.57056       397.754
72.7019      137.546      -4      -8.25253       1.62434       826.384
67.4625      20.7328      -5      -8.33607       1.65442       9997.45
67.3176      3.71549      -6      -8.34509       1.65484       9999.21
67.3136      2.31776      -7      -8.34523       1.65446       9999.33
========================================
 Variances and Principal Axes
                 3        4        5  
 2.2242E-03|  0.9611   0.2763  -0.0000  
 4.4753E-02|  0.2763  -0.9611   0.0000  
 6.9120E+13| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.565e-03  -1.779e-02  -8.015e+04
  -1.779e-02   4.945e-01   5.603e+06
  -8.015e+04   5.603e+06   6.912e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      50.0000      frozen
   2    1   cflux      Emax       keV      100.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.34523     +/-  7.45976E-02  
   4    2   cutep50    a                   1.65446      +/-  0.703194     
   5    2   cutep50    b                   9999.33      +/-  8.31387E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.31     using 59 bins.

Test statistic : Chi-Squared                   67.31     using 59 bins.
 Null hypothesis probability of 1.43e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.3078      2.2786       -3      -8.34522       1.65348       9999.35
========================================
 Variances and Principal Axes
                 3        4        5  
 1.3270E-03|  0.9388   0.3446  -0.0000  
 3.6268E-02|  0.3446  -0.9388   0.0000  
 6.9184E+13| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.569e-03  -1.782e-02  -8.042e+04
  -1.782e-02   4.950e-01   5.608e+06
  -8.042e+04   5.608e+06   6.918e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      50.0000      frozen
   2    1   cflux      Emax       keV      100.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.34522     +/-  7.46247E-02  
   4    2   cutep50    a                   1.65348      +/-  0.703561     
   5    2   cutep50    b                   9999.35      +/-  8.31772E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.31     using 59 bins.

Test statistic : Chi-Squared                   67.31     using 59 bins.
 Null hypothesis probability of 1.43e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.268       2.233        -2      -8.34518       1.64616       9999.36
67.2043      1.89614      -1      -8.34579       1.63185       9999.36
67.1923      1.16115      -1      -8.34554       1.62726       9999.36
67.1891      0.996663     -1      -8.34538       1.62575       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 2.4481E-03|  0.9659   0.2590  -0.0000  
 4.7712E-02|  0.2590  -0.9659   0.0000  
 6.0139E+13| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.616e-03  -1.916e-02  -8.877e+04
  -1.916e-02   5.103e-01   5.309e+06
  -8.877e+04   5.309e+06   6.014e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      50.0000      frozen
   2    1   cflux      Emax       keV      100.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.34538     +/-  7.49422E-02  
   4    2   cutep50    a                   1.62575      +/-  0.714342     
   5    2   cutep50    b                   9999.36      +/-  7.75496E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:03 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.27492E-02


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      50.0000      frozen
   2    1   cflux      Emax       keV      100.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.34538     +/-  7.49422E-02  
   4    2   cutep50    a                   1.62575      +/-  0.714342     
   5    2   cutep50    b                   9999.36      +/-  7.75496E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3     -8.50091     -8.23774    (-0.155604,0.107566)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4   -0.0198197      2.67202    (-1.64488,1.04696)

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

Fit statistic  : Chi-Squared                   67.19     using 59 bins.

Test statistic : Chi-Squared                   67.19     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom
 Current data and model not fit yet.
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cflux_100_150kev_fit.xcm

!XSPEC12>log none
Log file closed

!XSPEC12>query no

!XSPEC12>model cflux*cutep50  ;     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  ;     -8.0        1.00000E+02  -30.000      -30.000      1.0000       1.0000  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.00000     +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 2.88e-02 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 3.52e-02 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
76.1874      12.9474      -2      -7.68967       1.84479       109.249
67.3081      23.0413      -3      -7.72352       1.51971       209.384
67.2201      1.912        -1      -7.70754       1.52189       217.600
67.2113      0.177017     -1      -7.70093       1.52704       238.070
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3823E-03|  0.9768   0.2143  -0.0003  
 7.4216E-02|  0.2143  -0.9768   0.0005  
 1.4879E+06|  0.0002   0.0006   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.931e-02   1.743e-01   3.310e+02
   1.743e-01   5.577e-01   8.511e+02
   3.310e+02   8.511e+02   1.488e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.70093     +/-  0.281622     
   4    2   cutep50    a                   1.52704      +/-  0.746804     
   5    2   cutep50    b                   238.070      +/-  1219.79      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.21     using 59 bins.

Test statistic : Chi-Squared                   67.21     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.2044      0.025248     -1      -7.69597       1.53467       262.668
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3530E-03|  0.9734   0.2290  -0.0003  
 7.0786E-02|  0.2290  -0.9734   0.0004  
 2.2358E+06|  0.0002   0.0005   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.074e-02   1.750e-01   4.090e+02
   1.750e-01   5.512e-01   1.040e+03
   4.090e+02   1.040e+03   2.236e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69597     +/-  0.284155     
   4    2   cutep50    a                   1.53467      +/-  0.742406     
   5    2   cutep50    b                   262.668      +/-  1495.25      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1983      0.036085     -1      -7.69164       1.54232       291.419
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3330E-03|  0.9698   0.2441  -0.0002  
 6.7920E-02|  0.2441  -0.9698   0.0003  
 3.5333E+06|  0.0001   0.0004   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.254e-02   1.765e-01   5.192e+02
   1.765e-01   5.473e-01   1.307e+03
   5.192e+02   1.307e+03   3.533e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69164     +/-  0.287292     
   4    2   cutep50    a                   1.54232      +/-  0.739785     
   5    2   cutep50    b                   291.419      +/-  1879.70      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>newpar 1 100.0

Fit statistic  : Chi-Squared                  136.68     using 59 bins.

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

!XSPEC12>newpar 2 150.0

Fit statistic  : Chi-Squared                 2372.08     using 59 bins.

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

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
328.775      2251.66      -3      -8.04730       1.57325       411.714
90.0293      336.94       -4      -8.31578       1.61218       752.173
69.1345      54.8901      -5      -8.44530       1.65053       9996.27
68.038       12.2947      -6      -8.47058       1.65759       9999.08
67.8368      7.68316      -7      -8.47286       1.65220       9999.33
67.8056      6.65266      -3      -8.47312       1.65108       9999.35
67.4276      6.48383      -2      -8.47730       1.63440       9999.36
67.2232      4.04113      -1      -8.48227       1.62001       9999.36
67.1871      1.89059      -1      -8.48329       1.61414       9999.36
67.1786      1.22676      -1      -8.48333       1.61173       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.2120E-04|  0.8631   0.5051  -0.0000  
 4.7795E-02|  0.5051  -0.8631   0.0000  
 5.5128E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.500e-02   8.134e-02   1.110e+06
   8.134e-02   5.059e-01   5.062e+06
   1.110e+06   5.062e+06   5.513e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.48333     +/-  0.187082     
   4    2   cutep50    a                   1.61173      +/-  0.711297     
   5    2   cutep50    b                   9999.36      +/-  7.42480E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.18     using 59 bins.

Test statistic : Chi-Squared                   67.18     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1761      1.0194       -1      -8.48321       1.61069       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 3.7264E-03|  0.9172   0.3985  -0.0000  
 6.0205E-02|  0.3985  -0.9172   0.0000  
 5.4639E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.503e-02   8.152e-02   1.105e+06
   8.152e-02   5.086e-01   5.053e+06
   1.105e+06   5.053e+06   5.464e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.48321     +/-  0.187168     
   4    2   cutep50    a                   1.61069      +/-  0.713193     
   5    2   cutep50    b                   9999.36      +/-  7.39181E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.18     using 59 bins.

Test statistic : Chi-Squared                   67.18     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1753      0.952935     -1      -8.48310       1.61022       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 5.1917E-04|  0.8614   0.5080  -0.0000  
 4.7743E-02|  0.5080  -0.8614   0.0000  
 5.4396E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.502e-02   8.154e-02   1.102e+06
   8.154e-02   5.095e-01   5.046e+06
   1.102e+06   5.046e+06   5.440e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.48310     +/-  0.187145     
   4    2   cutep50    a                   1.61022      +/-  0.713778     
   5    2   cutep50    b                   9999.36      +/-  7.37538E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.18     using 59 bins.

Test statistic : Chi-Squared                   67.18     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:04 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.27310E-02


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.48310     +/-  0.187145     
   4    2   cutep50    a                   1.61022      +/-  0.713778     
   5    2   cutep50    b                   9999.36      +/-  7.37538E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.18     using 59 bins.

Test statistic : Chi-Squared                   67.18     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)

***Warning: Number of trials exceeded before convergence.
Current trial values -8.86438, -8.86439
and delta statistic 1.38575, 7.3161

Apparent non-monotonicity in statistic space detected.
Current bracket values -8.48304, -8.29242
and delta stat 0, 3.73966
but latest trial -8.30033 gives 8.30422
Suggest that you check this result using the steppar command.
     3     -8.86439     -8.38773    (-0.381348,0.0953103)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4   -0.0135285      2.66888    (-1.62343,1.05898)

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

Fit statistic  : Chi-Squared                   67.17     using 59 bins.

Test statistic : Chi-Squared                   67.17     using 59 bins.
 Null hypothesis probability of 1.46e-01 with 56 degrees of freedom
 Current data and model not fit yet.
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cflux_100_350kev_fit.xcm

!XSPEC12>log none
Log file closed

!XSPEC12>query no

!XSPEC12>model cflux*cutep50  ;     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  ;     -8.0        1.00000E+02  -30.000      -30.000      1.0000       1.0000  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -8.00000     +/-  0.0          
   4    2   cutep50    a                   1.00000      +/-  0.0          
   5    2   cutep50    b                   80.0000      +/-  0.0          
   6    2   cutep50    norm                1.00000      +/-  0.0          
________________________________________________________________________


Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 2.88e-02 with 55 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   76.58     using 59 bins.

Test statistic : Chi-Squared                   76.58     using 59 bins.
 Null hypothesis probability of 3.52e-02 with 56 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
76.1874      12.9474      -2      -7.68967       1.84479       109.249
67.3081      23.0413      -3      -7.72352       1.51971       209.384
67.2201      1.912        -1      -7.70754       1.52189       217.600
67.2113      0.177017     -1      -7.70093       1.52704       238.070
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3823E-03|  0.9768   0.2143  -0.0003  
 7.4216E-02|  0.2143  -0.9768   0.0005  
 1.4879E+06|  0.0002   0.0006   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.931e-02   1.743e-01   3.310e+02
   1.743e-01   5.577e-01   8.511e+02
   3.310e+02   8.511e+02   1.488e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.70093     +/-  0.281622     
   4    2   cutep50    a                   1.52704      +/-  0.746804     
   5    2   cutep50    b                   238.070      +/-  1219.79      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.21     using 59 bins.

Test statistic : Chi-Squared                   67.21     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.2044      0.025248     -1      -7.69597       1.53467       262.668
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3530E-03|  0.9734   0.2290  -0.0003  
 7.0786E-02|  0.2290  -0.9734   0.0004  
 2.2358E+06|  0.0002   0.0005   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.074e-02   1.750e-01   4.090e+02
   1.750e-01   5.512e-01   1.040e+03
   4.090e+02   1.040e+03   2.236e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69597     +/-  0.284155     
   4    2   cutep50    a                   1.53467      +/-  0.742406     
   5    2   cutep50    b                   262.668      +/-  1495.25      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.1983      0.036085     -1      -7.69164       1.54232       291.419
========================================
 Variances and Principal Axes
                 3        4        5  
 2.3330E-03|  0.9698   0.2441  -0.0002  
 6.7920E-02|  0.2441  -0.9698   0.0003  
 3.5333E+06|  0.0001   0.0004   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.254e-02   1.765e-01   5.192e+02
   1.765e-01   5.473e-01   1.307e+03
   5.192e+02   1.307e+03   3.533e+06
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.69164     +/-  0.287292     
   4    2   cutep50    a                   1.54232      +/-  0.739785     
   5    2   cutep50    b                   291.419      +/-  1879.70      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.20     using 59 bins.

Test statistic : Chi-Squared                   67.20     using 59 bins.
 Null hypothesis probability of 1.45e-01 with 56 degrees of freedom

!XSPEC12>newpar 1 100.0

Fit statistic  : Chi-Squared                  136.68     using 59 bins.

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

!XSPEC12>newpar 2 350.0

Fit statistic  : Chi-Squared                  136.68     using 59 bins.

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

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
76.4236      120.437      -3      -7.84326       1.61106       540.886
69.3687      31.8795      -4      -7.88249       1.64622       9989.55
69.0074      14.3407      -3      -7.88630       1.64392       9999.18
67.6272      12.9471      -2      -7.90216       1.62407       9999.34
67.4441      6.06541      -2      -7.90537       1.61880       9999.35
67.4179      4.6544       -2      -7.90590       1.61789       9999.36
67.414       4.42258      -2      -7.90599       1.61775       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 9.0187E-04|  0.8007   0.5991  -0.0000  
 5.6493E-02|  0.5991  -0.8007   0.0000  
 5.2203E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.028e-01   3.216e-01   3.836e+06
   3.216e-01   4.685e-01   4.740e+06
   3.836e+06   4.740e+06   5.220e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.90599     +/-  0.550250     
   4    2   cutep50    a                   1.61775      +/-  0.684441     
   5    2   cutep50    b                   9999.36      +/-  7.22520E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.41     using 59 bins.

Test statistic : Chi-Squared                   67.41     using 59 bins.
 Null hypothesis probability of 1.41e-01 with 56 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.4133      4.38672      -2      -7.90600       1.61773       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 5.1772E-04|  0.7568   0.6536  -0.0000  
 5.1772E-02|  0.6536  -0.7568   0.0000  
 5.2203E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.030e-01   3.219e-01   3.838e+06
   3.219e-01   4.688e-01   4.742e+06
   3.838e+06   4.742e+06   5.220e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.90600     +/-  0.550439     
   4    2   cutep50    a                   1.61773      +/-  0.684719     
   5    2   cutep50    b                   9999.36      +/-  7.22518E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.41     using 59 bins.

Test statistic : Chi-Squared                   67.41     using 59 bins.
 Null hypothesis probability of 1.41e-01 with 56 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
67.4132      4.3811       -2      -7.90600       1.61773       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 5.1776E-04|  0.7568   0.6536  -0.0000  
 5.1776E-02|  0.6536  -0.7568   0.0000  
 5.2203E+13|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.030e-01   3.219e-01   3.838e+06
   3.219e-01   4.689e-01   4.742e+06
   3.838e+06   4.742e+06   5.220e+13
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.90600     +/-  0.550469     
   4    2   cutep50    a                   1.61773      +/-  0.684763     
   5    2   cutep50    b                   9999.36      +/-  7.22519E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                   67.41     using 59 bins.

Test statistic : Chi-Squared                   67.41     using 59 bins.
 Null hypothesis probability of 1.41e-01 with 56 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.0c

Thu Jun 15 15:11:04 2023
 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: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.pha
Net count rate (cts/s) for Spectrum:1  2.327e-02 +/- 2.613e-03
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 35.74 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1164180/remake_spec_cflux/spec_T100/sw01164180000b_avg.rsp for Source 1

 Spectral data counts: 0.831585
 Model predicted rate: 2.37111E-02


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.90600     +/-  0.550469     
   4    2   cutep50    a                   1.61773      +/-  0.684763     
   5    2   cutep50    b                   9999.36      +/-  7.22519E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                   67.41     using 59 bins.

Test statistic : Chi-Squared                   67.41     using 59 bins.
 Null hypothesis probability of 1.41e-01 with 56 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)

***Warning: Number of trials exceeded before convergence.
Current trial values -8.37738, -8.37738
and delta statistic 0.338998, 6.51564

Apparent non-monotonicity in statistic space detected.
Current bracket values -7.906, -7.67048
and delta stat 0, 2.98517
but latest trial -7.68181 gives 9.41096
Suggest that you check this result using the steppar command.
     3     -8.37738     -7.78824    (-0.471373,0.117762)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4    -0.127582      2.72585    (-1.74531,1.10812)

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

Fit statistic  : Chi-Squared                   67.41     using 59 bins.

Test statistic : Chi-Squared                   67.41     using 59 bins.
 Null hypothesis probability of 1.41e-01 with 56 degrees of freedom
 Current data and model not fit yet.
XSPEC12>/*
XSPEC12>exit
 XSPEC: quit
 
 
Spectral model in the cutoff power-law:
------------------------------------------------------------
Parameters  : value       lower 90%   higher 90%
Photon index: 1.60199     ( -1.57673   1.11981 )
Epeak [keV] : 9998.81      ( -9999.18 -9999.18 )
Norm@50keV  : 1.41703E-03    ( -0.000300072   0.0139895 )
------------------------------------------------------------
#Fit statistic  : Chi-Squared                   67.16     using 59 bins.
 Reduced chi-squared = 1.19929
# Null hypothesis probability of 1.46e-01 with 56 degrees of freedom
 
Photon flux (15-150 keV)    in 35.74 sec: 0.181945 ( -0.034777  0.034569 ) ph/cm2/s
Energy fluence (15-150 keV)             : 4.73626e-07 ( -1.35379e-07  8.47724e-08 ) ergs/cm2