XSPEC version: 12.9.0c
	Build Date/Time: Wed Jul 29 15:14:04 2015

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_repro 
c/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha

1 spectrum  in use
 
Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha  Spectrum 1
Net count rate (cts/s) for Spectrum:1  2.594e-01 +/- 2.352e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-80
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 No response loaded.

***Warning!  One or more spectra are missing responses,
               and are not suitable for fit.
XSPEC12>response 1 /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_rep 
roc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp
Response successfully loaded.
XSPEC12>ignore **-13.0 150.0-**
     3 channels (1-3) ignored in spectrum #     1
    18 channels (63-80) ignored in spectrum #     1

XSPEC12>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.1(      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.1(      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 =       192833.8 using 59 PHA bins.

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

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

Test statistic : Chi-Squared =         102.62 using 59 PHA bins.
 Reduced chi-squared =         1.8325 for     56 degrees of freedom 
 Null hypothesis probability =   1.454212e-04
 Current data and model not fit yet.
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl           1:a           2:b        3:norm
74.6182      4.02291      -1      0.696563       164.412     0.0206239
50.3947      592.802      -1      0.449231       300.189     0.0206641
47.9394      264.58       -1      0.408477       376.780     0.0205122
47.7523      45.2107      -1      0.426141       426.507     0.0199874
47.6566      12.2099      -1      0.452872       477.214     0.0194915
47.5793      8.03328      -1      0.479348       535.528     0.0190522
47.5139      7.59834      -1      0.503876       604.622     0.0186620
47.2307      7.69159      -2      0.641961       9923.72     0.0163855
47.2113      34.2513      -1      0.665176       9998.75     0.0162506
47.2046      34.8534       0      0.664094       9999.29     0.0162803
========================================
 Variances and Principal Axes
                 1        2        3  
 1.1876E-06| -0.0046   0.0000   1.0000  
 1.6993E-02|  1.0000  -0.0000   0.0046  
 1.0805E+12| -0.0000  -1.0000   0.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.353e-01   4.856e+05  -3.084e-03
   4.856e+05   1.080e+12  -7.037e+03
  -3.084e-03  -7.037e+03   4.738e-05
------------------------------------

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   0.664094     +/-  0.485029     
   2    1   cutep50    b                   9999.29      +/-  1.03947E+06  
   3    1   cutep50    norm                1.62803E-02  +/-  6.88305E-03  
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925113e-01
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl           1:a           2:b        3:norm
47.1978      0.0519517     0      0.663944       9999.33     0.0163693
========================================
 Variances and Principal Axes
                 1        2        3  
 1.1868E-06| -0.0047   0.0000   1.0000  
 1.6747E-02|  1.0000  -0.0000   0.0047  
 1.0741E+12| -0.0000  -1.0000   0.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.319e-01   4.807e+05  -3.061e-03
   4.807e+05   1.074e+12  -7.013e+03
  -3.061e-03  -7.013e+03   4.734e-05
------------------------------------

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   0.663944     +/-  0.481563     
   2    1   cutep50    b                   9999.33      +/-  1.03641E+06  
   3    1   cutep50    norm                1.63693E-02  +/-  6.88075E-03  
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927167e-01
XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl           1:a           2:b        3:norm
47.1978      0.0491342     0      0.663803       9999.36     0.0163686
========================================
 Variances and Principal Axes
                 1        2        3  
 1.1867E-06| -0.0047   0.0000   1.0000  
 1.6748E-02|  1.0000  -0.0000   0.0047  
 1.0748E+12| -0.0000  -1.0000   0.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.319e-01   4.809e+05  -3.061e-03
   4.809e+05   1.075e+12  -7.015e+03
  -3.061e-03  -7.015e+03   4.734e-05
------------------------------------

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   0.663803     +/-  0.481592     
   2    1   cutep50    b                   9999.36      +/-  1.03671E+06  
   3    1   cutep50    norm                1.63686E-02  +/-  6.88043E-03  
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927179e-01
XSPEC12>log bat_spec_cutplep.log
Logging to file:bat_spec_cutplep.log
XSPEC12>show

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.233035


Current model list:

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   0.663803     +/-  0.481592     
   2    1   cutep50    b                   9999.36      +/-  1.03671E+06  
   3    1   cutep50    norm                1.63686E-02  +/-  6.88043E-03  
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927179e-01
 Weighting method: standard
XSPEC12>error 1
 Parameter   Confidence Range (2.706)
     1     0.433668     0.876436    (-0.230003,0.212765)
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 0.663672 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
 Parameter 3 is pegged at 0.0163679 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: 8.94109e+11, with delta statistic: 0


*** Parameter upper bound is INVALID.

     2            0            0    (-9999.36,-9999.36)
XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3    0.0144029    0.0301034    (-0.00196382,0.0137366)
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 =         138.04 using 59 PHA bins.

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         138.04 using 59 PHA bins.
 Reduced chi-squared =         2.4651 for     56 degrees of freedom 
 Null hypothesis probability =   7.067739e-09
 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
79.9198      14.3715       0       1.45806      0.155608       169.804
49.6839      11.6426      -1       2.32119      0.203516       244.457
48.2186      1.93102      -1       2.57755      0.322009       304.993
47.8722      0.248081     -1       2.69294      0.410904       386.732
47.6512      0.347241     -1       2.76959      0.474358       493.164
47.3871      0.342027     -2       3.03230      0.699186       9415.87
47.2704      1.39923       0       3.01954      0.686874       9998.98
47.2303      0.86774       0       3.01379      0.679219       9999.26
47.2141      0.581015      0       3.01130      0.674309       9999.33
47.2069      0.411771      0       3.01042      0.671134       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0506E-02| -0.3393  -0.9407   0.0000  
 6.2238E-02|  0.9407  -0.3393  -0.0000  
 1.0781E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.061e-01   2.916e-01   6.964e+05
   2.916e-01   2.274e-01   4.769e+05
   6.964e+05   4.769e+05   1.078e+12
------------------------------------

========================================================================
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                3.01042      +/-  0.711438     
   4    2   cutep50    a                   0.671134     +/-  0.476900     
   5    2   cutep50    b                   9999.36      +/-  1.03829E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8430 for     56 degrees of freedom 
 Null hypothesis probability =   7.924410e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2036      0.310869      0       3.01030      0.669063       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0533E-02| -0.3400  -0.9404   0.0000  
 6.2497E-02|  0.9404  -0.3400  -0.0000  
 1.0767E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.092e-01   2.932e-01   6.982e+05
   2.932e-01   2.286e-01   4.779e+05
   6.982e+05   4.779e+05   1.077e+12
------------------------------------

========================================================================
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                3.01030      +/-  0.713574     
   4    2   cutep50    a                   0.669063     +/-  0.478156     
   5    2   cutep50    b                   9999.36      +/-  1.03764E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925423e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2019      0.250101      0       3.01049      0.667697       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0547E-02| -0.3403  -0.9403   0.0000  
 6.2665E-02|  0.9403  -0.3403  -0.0000  
 1.0752E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.112e-01   2.943e-01   6.991e+05
   2.943e-01   2.294e-01   4.783e+05
   6.991e+05   4.783e+05   1.075e+12
------------------------------------

========================================================================
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                3.01049      +/-  0.714971     
   4    2   cutep50    a                   0.667697     +/-  0.478908     
   5    2   cutep50    b                   9999.36      +/-  1.03693E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925931e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.233901


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                3.01049      +/-  0.714971     
   4    2   cutep50    a                   0.667697     +/-  0.478908     
   5    2   cutep50    b                   9999.36      +/-  1.03693E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925931e-01
 Weighting method: standard

!XSPEC12>error 3;
 Parameter   Confidence Range (2.706)
     3      2.27071      3.39402    (-0.740074,0.383227)

!XSPEC12>error 4;
 Parameter   Confidence Range (2.706)
     4    -0.131697      0.86277    (-0.797874,0.196593)

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

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.926349e-01
 Current data and model not fit yet.
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat 
_cutpow_cpflux_15_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 =         138.04 using 59 PHA bins.

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         138.04 using 59 PHA bins.
 Reduced chi-squared =         2.4651 for     56 degrees of freedom 
 Null hypothesis probability =   7.067739e-09
 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
79.9198      14.3715       0       1.45806      0.155608       169.804
49.6839      11.6426      -1       2.32119      0.203516       244.457
48.2186      1.93102      -1       2.57755      0.322009       304.993
47.8722      0.248081     -1       2.69294      0.410904       386.732
47.6512      0.347241     -1       2.76959      0.474358       493.164
47.3871      0.342027     -2       3.03230      0.699186       9415.87
47.2704      1.39923       0       3.01954      0.686874       9998.98
47.2303      0.86774       0       3.01379      0.679219       9999.26
47.2141      0.581015      0       3.01130      0.674309       9999.33
47.2069      0.411771      0       3.01042      0.671134       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0506E-02| -0.3393  -0.9407   0.0000  
 6.2238E-02|  0.9407  -0.3393  -0.0000  
 1.0781E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.061e-01   2.916e-01   6.964e+05
   2.916e-01   2.274e-01   4.769e+05
   6.964e+05   4.769e+05   1.078e+12
------------------------------------

========================================================================
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                3.01042      +/-  0.711438     
   4    2   cutep50    a                   0.671134     +/-  0.476900     
   5    2   cutep50    b                   9999.36      +/-  1.03829E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8430 for     56 degrees of freedom 
 Null hypothesis probability =   7.924410e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2036      0.310869      0       3.01030      0.669063       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0533E-02| -0.3400  -0.9404   0.0000  
 6.2497E-02|  0.9404  -0.3400  -0.0000  
 1.0767E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.092e-01   2.932e-01   6.982e+05
   2.932e-01   2.286e-01   4.779e+05
   6.982e+05   4.779e+05   1.077e+12
------------------------------------

========================================================================
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                3.01030      +/-  0.713574     
   4    2   cutep50    a                   0.669063     +/-  0.478156     
   5    2   cutep50    b                   9999.36      +/-  1.03764E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925423e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2019      0.250101      0       3.01049      0.667697       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0547E-02| -0.3403  -0.9403   0.0000  
 6.2665E-02|  0.9403  -0.3403  -0.0000  
 1.0752E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.112e-01   2.943e-01   6.991e+05
   2.943e-01   2.294e-01   4.783e+05
   6.991e+05   4.783e+05   1.075e+12
------------------------------------

========================================================================
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                3.01049      +/-  0.714971     
   4    2   cutep50    a                   0.667697     +/-  0.478908     
   5    2   cutep50    b                   9999.36      +/-  1.03693E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925931e-01

!XSPEC12>newpar 1 15.0;

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925931e-01
 Current data and model not fit yet.

!XSPEC12>newpar 2 150.0;

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

Test statistic : Chi-Squared =         128.26 using 59 PHA bins.
 Reduced chi-squared =         2.2903 for     56 degrees of freedom 
 Null hypothesis probability =   1.356240e-07
 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
47.8039      27.8595      -3       1.89192      0.761414       9999.36
47.7931      2.1254       -1       1.88840      0.759706       9999.36
47.7795      2.12503      -1       1.88796      0.758482       9999.36
47.7701      2.10279      -1       1.88784      0.757684       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1515E-02| -0.6474   0.7622  -0.0000  
 2.3123E-02|  0.7622   0.6474  -0.0000  
 1.2753E+12|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.923e-02   1.985e-02   3.516e+04
   1.985e-02   2.221e-01   5.123e+05
   3.516e+04   5.123e+05   1.275e+12
------------------------------------

========================================================================
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                1.88784      +/-  0.138663     
   4    2   cutep50    a                   0.757684     +/-  0.471311     
   5    2   cutep50    b                   9999.36      +/-  1.12930E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.77 using 59 PHA bins.
 Reduced chi-squared =         0.8530 for     56 degrees of freedom 
 Null hypothesis probability =   7.750365e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.7641      2.08635      -1       1.88779      0.757172       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1511E-02| -0.6476   0.7620  -0.0000  
 2.3129E-02|  0.7620   0.6476  -0.0000  
 1.2735E+12|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.923e-02   1.986e-02   3.513e+04
   1.986e-02   2.222e-01   5.120e+05
   3.513e+04   5.120e+05   1.273e+12
------------------------------------

========================================================================
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                1.88779      +/-  0.138657     
   4    2   cutep50    a                   0.757172     +/-  0.471404     
   5    2   cutep50    b                   9999.36      +/-  1.12848E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.76 using 59 PHA bins.
 Reduced chi-squared =         0.8529 for     56 degrees of freedom 
 Null hypothesis probability =   7.752262e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.7602      2.0756       -1       1.88776      0.756843       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1509E-02| -0.6477   0.7619  -0.0000  
 2.3132E-02|  0.7619   0.6477  -0.0000  
 1.2722E+12|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.922e-02   1.986e-02   3.511e+04
   1.986e-02   2.223e-01   5.118e+05
   3.511e+04   5.118e+05   1.272e+12
------------------------------------

========================================================================
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                1.88776      +/-  0.138653     
   4    2   cutep50    a                   0.756843     +/-  0.471459     
   5    2   cutep50    b                   9999.36      +/-  1.12794E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.76 using 59 PHA bins.
 Reduced chi-squared =         0.8529 for     56 degrees of freedom 
 Null hypothesis probability =   7.753473e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.232956


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                1.88776      +/-  0.138653     
   4    2   cutep50    a                   0.756843     +/-  0.471459     
   5    2   cutep50    b                   9999.36      +/-  1.12794E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.76 using 59 PHA bins.
 Reduced chi-squared =         0.8529 for     56 degrees of freedom 
 Null hypothesis probability =   7.753473e-01
 Weighting method: standard

!XSPEC12>error 3;
 Parameter   Confidence Range (2.706)
     3      1.63702       2.1242    (-0.250719,0.236463)

!XSPEC12>error 4;
 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
47.4476      0.385841      0       1.86062      0.516464       738.729
47.4431      0.267347     -1       1.86928      0.596528       9946.85
========================================
 Variances and Principal Axes
                 3        4        5  
 1.2123E-02| -0.7846   0.6200  -0.0001  
 2.6994E-02|  0.6200   0.7846  -0.0002  
 6.0778E+06|  0.0000   0.0002   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.898e-02   2.347e-02   8.315e+01
   2.347e-02   2.529e-01   1.186e+03
   8.315e+01   1.186e+03   6.078e+06
------------------------------------

========================================================================
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                1.86928      +/-  0.137753     
   4    2   cutep50    a                   0.596528     +/-  0.502863     
   5    2   cutep50    b                   9946.85      +/-  2465.32      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.44 using 59 PHA bins.
 Reduced chi-squared =         0.8472 for     56 degrees of freedom 
 Null hypothesis probability =   7.852256e-01
     4    -0.178887     0.879722    (-0.841777,0.216832)

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

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.926982e-01
 Current data and model not fit yet.
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat 
_cutpow_cpflux_15_25kev_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 =         138.04 using 59 PHA bins.

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         138.04 using 59 PHA bins.
 Reduced chi-squared =         2.4651 for     56 degrees of freedom 
 Null hypothesis probability =   7.067739e-09
 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
79.9198      14.3715       0       1.45806      0.155608       169.804
49.6839      11.6426      -1       2.32119      0.203516       244.457
48.2186      1.93102      -1       2.57755      0.322009       304.993
47.8722      0.248081     -1       2.69294      0.410904       386.732
47.6512      0.347241     -1       2.76959      0.474358       493.164
47.3871      0.342027     -2       3.03230      0.699186       9415.87
47.2704      1.39923       0       3.01954      0.686874       9998.98
47.2303      0.86774       0       3.01379      0.679219       9999.26
47.2141      0.581015      0       3.01130      0.674309       9999.33
47.2069      0.411771      0       3.01042      0.671134       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0506E-02| -0.3393  -0.9407   0.0000  
 6.2238E-02|  0.9407  -0.3393  -0.0000  
 1.0781E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.061e-01   2.916e-01   6.964e+05
   2.916e-01   2.274e-01   4.769e+05
   6.964e+05   4.769e+05   1.078e+12
------------------------------------

========================================================================
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                3.01042      +/-  0.711438     
   4    2   cutep50    a                   0.671134     +/-  0.476900     
   5    2   cutep50    b                   9999.36      +/-  1.03829E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8430 for     56 degrees of freedom 
 Null hypothesis probability =   7.924410e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2036      0.310869      0       3.01030      0.669063       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0533E-02| -0.3400  -0.9404   0.0000  
 6.2497E-02|  0.9404  -0.3400  -0.0000  
 1.0767E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.092e-01   2.932e-01   6.982e+05
   2.932e-01   2.286e-01   4.779e+05
   6.982e+05   4.779e+05   1.077e+12
------------------------------------

========================================================================
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                3.01030      +/-  0.713574     
   4    2   cutep50    a                   0.669063     +/-  0.478156     
   5    2   cutep50    b                   9999.36      +/-  1.03764E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925423e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2019      0.250101      0       3.01049      0.667697       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0547E-02| -0.3403  -0.9403   0.0000  
 6.2665E-02|  0.9403  -0.3403  -0.0000  
 1.0752E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.112e-01   2.943e-01   6.991e+05
   2.943e-01   2.294e-01   4.783e+05
   6.991e+05   4.783e+05   1.075e+12
------------------------------------

========================================================================
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                3.01049      +/-  0.714971     
   4    2   cutep50    a                   0.667697     +/-  0.478908     
   5    2   cutep50    b                   9999.36      +/-  1.03693E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925931e-01

!XSPEC12>newpar 1 15.0;

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925931e-01
 Current data and model not fit yet.

!XSPEC12>newpar 2 25.0;

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

Test statistic : Chi-Squared =       17820.93 using 59 PHA bins.
 Reduced chi-squared =       318.2308 for     56 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 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
49.5752      8373.32      -3      0.348336      0.698115       9999.36
48.8319      25.7644      -2      0.314278      0.754921       9999.36
48.1198      17.4312      -1      0.314322      0.737098       9999.36
47.8594      12.9756      -1      0.312783      0.725808       9999.36
47.7166      11.1211      -1      0.311320      0.717700       9999.36
47.6249      10.0056      -1      0.310150      0.711657       9999.36
47.5625      9.21255      -1      0.309246      0.707097       9999.36
47.5186      8.61833      -1      0.308554      0.703639       9999.36
47.4873      8.16645      -1      0.308025      0.701009       9999.36
47.4645      7.82134      -1      0.307620      0.699004       9999.36
47.4478      7.5574       -1      0.307310      0.697475       9999.36
47.4354      7.35541      -1      0.307072      0.696307       10000.0
47.1983      10.801       -2      0.304143      0.665119       10000.0
47.1974      0.209107     -3      0.302659      0.661594       10000.0
47.1974      0.00580742    1      0.302659      0.661594       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 3.5543E-04| -0.9347   0.3554  -0.0000  
 1.9143E-02|  0.3554   0.9347  -0.0000  
 1.0859E+12|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.178e-03   2.922e-02   5.158e+04
   2.922e-02   2.324e-01   4.839e+05
   5.158e+04   4.839e+05   1.086e+12
------------------------------------

========================================================================
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                0.302659     +/-  7.19553E-02  
   4    2   cutep50    a                   0.661594     +/-  0.482066     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04208E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927283e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.1974      0.00580134    1      0.302659      0.661594       10000.0
47.1974      0.00579536    1      0.302659      0.661593       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 3.5543E-04| -0.9347   0.3554  -0.0000  
 1.9143E-02|  0.3554   0.9347  -0.0000  
 1.0859E+12|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.178e-03   2.922e-02   5.158e+04
   2.922e-02   2.324e-01   4.839e+05
   5.158e+04   4.839e+05   1.086e+12
------------------------------------

========================================================================
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                0.302659     +/-  7.19552E-02  
   4    2   cutep50    a                   0.661593     +/-  0.482066     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04208E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927283e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.1974      0.00578947    1      0.302659      0.661593       10000.0
47.1974      0.00578369    1      0.302659      0.661593       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 3.5543E-04| -0.9347   0.3554  -0.0000  
 1.9143E-02|  0.3554   0.9347  -0.0000  
 1.0859E+12|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.178e-03   2.922e-02   5.158e+04
   2.922e-02   2.324e-01   4.839e+05
   5.158e+04   4.839e+05   1.086e+12
------------------------------------

========================================================================
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                0.302659     +/-  7.19552E-02  
   4    2   cutep50    a                   0.661593     +/-  0.482066     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04208E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927283e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.232948


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                0.302659     +/-  7.19552E-02  
   4    2   cutep50    a                   0.661593     +/-  0.482066     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04208E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927283e-01
 Weighting method: standard

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

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927283e-01
 Current data and model not fit yet.
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat 
_cutpow_cpflux_25_50kev_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 =         138.04 using 59 PHA bins.

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         138.04 using 59 PHA bins.
 Reduced chi-squared =         2.4651 for     56 degrees of freedom 
 Null hypothesis probability =   7.067739e-09
 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
79.9198      14.3715       0       1.45806      0.155608       169.804
49.6839      11.6426      -1       2.32119      0.203516       244.457
48.2186      1.93102      -1       2.57755      0.322009       304.993
47.8722      0.248081     -1       2.69294      0.410904       386.732
47.6512      0.347241     -1       2.76959      0.474358       493.164
47.3871      0.342027     -2       3.03230      0.699186       9415.87
47.2704      1.39923       0       3.01954      0.686874       9998.98
47.2303      0.86774       0       3.01379      0.679219       9999.26
47.2141      0.581015      0       3.01130      0.674309       9999.33
47.2069      0.411771      0       3.01042      0.671134       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0506E-02| -0.3393  -0.9407   0.0000  
 6.2238E-02|  0.9407  -0.3393  -0.0000  
 1.0781E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.061e-01   2.916e-01   6.964e+05
   2.916e-01   2.274e-01   4.769e+05
   6.964e+05   4.769e+05   1.078e+12
------------------------------------

========================================================================
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                3.01042      +/-  0.711438     
   4    2   cutep50    a                   0.671134     +/-  0.476900     
   5    2   cutep50    b                   9999.36      +/-  1.03829E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8430 for     56 degrees of freedom 
 Null hypothesis probability =   7.924410e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2036      0.310869      0       3.01030      0.669063       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0533E-02| -0.3400  -0.9404   0.0000  
 6.2497E-02|  0.9404  -0.3400  -0.0000  
 1.0767E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.092e-01   2.932e-01   6.982e+05
   2.932e-01   2.286e-01   4.779e+05
   6.982e+05   4.779e+05   1.077e+12
------------------------------------

========================================================================
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                3.01030      +/-  0.713574     
   4    2   cutep50    a                   0.669063     +/-  0.478156     
   5    2   cutep50    b                   9999.36      +/-  1.03764E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925423e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2019      0.250101      0       3.01049      0.667697       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0547E-02| -0.3403  -0.9403   0.0000  
 6.2665E-02|  0.9403  -0.3403  -0.0000  
 1.0752E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.112e-01   2.943e-01   6.991e+05
   2.943e-01   2.294e-01   4.783e+05
   6.991e+05   4.783e+05   1.075e+12
------------------------------------

========================================================================
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                3.01049      +/-  0.714971     
   4    2   cutep50    a                   0.667697     +/-  0.478908     
   5    2   cutep50    b                   9999.36      +/-  1.03693E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925931e-01

!XSPEC12>newpar 1 25.0;

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

Test statistic : Chi-Squared =          50.27 using 59 PHA bins.
 Reduced chi-squared =         0.8976 for     56 degrees of freedom 
 Null hypothesis probability =   6.906818e-01
 Current data and model not fit yet.

!XSPEC12>newpar 2 50.0;

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

Test statistic : Chi-Squared =        5610.97 using 59 PHA bins.
 Reduced chi-squared =        100.196 for     56 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 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
47.2695      1566.31      -3      0.508892      0.693621       9999.36
47.245       1.46406       0      0.508406      0.688293       9999.36
47.2313      1.09003       0      0.507760      0.684298       9999.36
47.2227      0.883887      0      0.507098      0.681184       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0446E-03| -0.9494   0.3141  -0.0000  
 1.8410E-02|  0.3141   0.9494  -0.0000  
 1.1163E+12| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.759e-03   4.824e-03  -8.113e+02
   4.824e-03   2.301e-01   4.881e+05
  -8.113e+02   4.881e+05   1.116e+12
------------------------------------

========================================================================
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                0.507098     +/-  5.25244E-02  
   4    2   cutep50    a                   0.681184     +/-  0.479729     
   5    2   cutep50    b                   9999.36      +/-  1.05655E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.22 using 59 PHA bins.
 Reduced chi-squared =         0.8433 for     56 degrees of freedom 
 Null hypothesis probability =   7.919629e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.217       0.764014      0      0.506483      0.678690       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0403E-03| -0.9493   0.3145  -0.0000  
 1.8425E-02|  0.3145   0.9493  -0.0000  
 1.1100E+12| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.760e-03   4.899e-03  -6.622e+02
   4.899e-03   2.304e-01   4.871e+05
  -6.622e+02   4.871e+05   1.110e+12
------------------------------------

========================================================================
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                0.506483     +/-  5.25339E-02  
   4    2   cutep50    a                   0.678690     +/-  0.480036     
   5    2   cutep50    b                   9999.36      +/-  1.05357E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.22 using 59 PHA bins.
 Reduced chi-squared =         0.8432 for     56 degrees of freedom 
 Null hypothesis probability =   7.921365e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.213       0.690168      0      0.505937      0.676658       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0370E-03| -0.9492   0.3147  -0.0000  
 1.8442E-02|  0.3147   0.9492  -0.0000  
 1.1054E+12| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.761e-03   4.959e-03  -5.434e+02
   4.959e-03   2.307e-01   4.864e+05
  -5.434e+02   4.864e+05   1.105e+12
------------------------------------

========================================================================
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                0.505937     +/-  5.25417E-02  
   4    2   cutep50    a                   0.676658     +/-  0.480363     
   5    2   cutep50    b                   9999.36      +/-  1.05138E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8431 for     56 degrees of freedom 
 Null hypothesis probability =   7.922575e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.232758


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                0.505937     +/-  5.25417E-02  
   4    2   cutep50    a                   0.676658     +/-  0.480363     
   5    2   cutep50    b                   9999.36      +/-  1.05138E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8431 for     56 degrees of freedom 
 Null hypothesis probability =   7.922575e-01
 Weighting method: standard

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

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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8431 for     56 degrees of freedom 
 Null hypothesis probability =   7.922575e-01
 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 =         138.04 using 59 PHA bins.

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         138.04 using 59 PHA bins.
 Reduced chi-squared =         2.4651 for     56 degrees of freedom 
 Null hypothesis probability =   7.067739e-09
 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
79.9198      14.3715       0       1.45806      0.155608       169.804
49.6839      11.6426      -1       2.32119      0.203516       244.457
48.2186      1.93102      -1       2.57755      0.322009       304.993
47.8722      0.248081     -1       2.69294      0.410904       386.732
47.6512      0.347241     -1       2.76959      0.474358       493.164
47.3871      0.342027     -2       3.03230      0.699186       9415.87
47.2704      1.39923       0       3.01954      0.686874       9998.98
47.2303      0.86774       0       3.01379      0.679219       9999.26
47.2141      0.581015      0       3.01130      0.674309       9999.33
47.2069      0.411771      0       3.01042      0.671134       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0506E-02| -0.3393  -0.9407   0.0000  
 6.2238E-02|  0.9407  -0.3393  -0.0000  
 1.0781E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.061e-01   2.916e-01   6.964e+05
   2.916e-01   2.274e-01   4.769e+05
   6.964e+05   4.769e+05   1.078e+12
------------------------------------

========================================================================
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                3.01042      +/-  0.711438     
   4    2   cutep50    a                   0.671134     +/-  0.476900     
   5    2   cutep50    b                   9999.36      +/-  1.03829E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8430 for     56 degrees of freedom 
 Null hypothesis probability =   7.924410e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2036      0.310869      0       3.01030      0.669063       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0533E-02| -0.3400  -0.9404   0.0000  
 6.2497E-02|  0.9404  -0.3400  -0.0000  
 1.0767E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.092e-01   2.932e-01   6.982e+05
   2.932e-01   2.286e-01   4.779e+05
   6.982e+05   4.779e+05   1.077e+12
------------------------------------

========================================================================
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                3.01030      +/-  0.713574     
   4    2   cutep50    a                   0.669063     +/-  0.478156     
   5    2   cutep50    b                   9999.36      +/-  1.03764E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925423e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2019      0.250101      0       3.01049      0.667697       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0547E-02| -0.3403  -0.9403   0.0000  
 6.2665E-02|  0.9403  -0.3403  -0.0000  
 1.0752E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.112e-01   2.943e-01   6.991e+05
   2.943e-01   2.294e-01   4.783e+05
   6.991e+05   4.783e+05   1.075e+12
------------------------------------

========================================================================
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                3.01049      +/-  0.714971     
   4    2   cutep50    a                   0.667697     +/-  0.478908     
   5    2   cutep50    b                   9999.36      +/-  1.03693E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925931e-01

!XSPEC12>newpar 1 50.0;

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

Test statistic : Chi-Squared =          78.74 using 59 PHA bins.
 Reduced chi-squared =          1.406 for     56 degrees of freedom 
 Null hypothesis probability =   2.426235e-02
 Current data and model not fit yet.

!XSPEC12>newpar 2 100.0;

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

Test statistic : Chi-Squared =        3239.47 using 59 PHA bins.
 Reduced chi-squared =        57.8476 for     56 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 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
47.2854      457.253      -3      0.624005      0.693756       9999.36
47.2487      1.44288       0      0.627386      0.688661       9999.36
47.231       0.891447      0      0.629212      0.684508       9999.36
47.2213      0.612445      0      0.630228      0.681308       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.7623E-03| -0.9985  -0.0552  -0.0000  
 1.6725E-02|  0.0552  -0.9985   0.0000  
 1.1155E+12|  0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.331e-03  -1.884e-02  -4.122e+04
  -1.884e-02   2.299e-01   4.877e+05
  -4.122e+04   4.877e+05   1.115e+12
------------------------------------

========================================================================
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                0.630228     +/-  5.77149E-02  
   4    2   cutep50    a                   0.681308     +/-  0.479464     
   5    2   cutep50    b                   9999.36      +/-  1.05616E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.22 using 59 PHA bins.
 Reduced chi-squared =         0.8432 for     56 degrees of freedom 
 Null hypothesis probability =   7.920046e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2156      0.464592      0      0.630811      0.678922       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.7634E-03| -0.9985  -0.0540  -0.0000  
 1.6708E-02|  0.0540  -0.9985   0.0000  
 1.1074E+12|  0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.334e-03  -1.885e-02  -4.112e+04
  -1.885e-02   2.298e-01   4.859e+05
  -4.112e+04   4.859e+05   1.107e+12
------------------------------------

========================================================================
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                0.630811     +/-  5.77423E-02  
   4    2   cutep50    a                   0.678922     +/-  0.479420     
   5    2   cutep50    b                   9999.36      +/-  1.05231E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.22 using 59 PHA bins.
 Reduced chi-squared =         0.8431 for     56 degrees of freedom 
 Null hypothesis probability =   7.921792e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.212       0.380714      0      0.631158      0.677176       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.7642E-03| -0.9986  -0.0532  -0.0000  
 1.6704E-02|  0.0532  -0.9986   0.0000  
 1.1020E+12|  0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.337e-03  -1.886e-02  -4.106e+04
  -1.886e-02   2.299e-01   4.848e+05
  -4.106e+04   4.848e+05   1.102e+12
------------------------------------

========================================================================
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                0.631158     +/-  5.77627E-02  
   4    2   cutep50    a                   0.677176     +/-  0.479521     
   5    2   cutep50    b                   9999.36      +/-  1.04975E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8431 for     56 degrees of freedom 
 Null hypothesis probability =   7.922876e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.233215


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                0.631158     +/-  5.77627E-02  
   4    2   cutep50    a                   0.677176     +/-  0.479521     
   5    2   cutep50    b                   9999.36      +/-  1.04975E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8431 for     56 degrees of freedom 
 Null hypothesis probability =   7.922876e-01
 Weighting method: standard

!XSPEC12>error 3;
 Parameter   Confidence Range (2.706)
     3     0.562584     0.719356    (-0.068786,0.0879859)

!XSPEC12>error 4;
 Parameter   Confidence Range (2.706)
     4    -0.133429     0.875631    (-0.808443,0.200617)

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

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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8430 for     56 degrees of freedom 
 Null hypothesis probability =   7.924027e-01
 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 =         138.04 using 59 PHA bins.

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         138.04 using 59 PHA bins.
 Reduced chi-squared =         2.4651 for     56 degrees of freedom 
 Null hypothesis probability =   7.067739e-09
 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
79.9198      14.3715       0       1.45806      0.155608       169.804
49.6839      11.6426      -1       2.32119      0.203516       244.457
48.2186      1.93102      -1       2.57755      0.322009       304.993
47.8722      0.248081     -1       2.69294      0.410904       386.732
47.6512      0.347241     -1       2.76959      0.474358       493.164
47.3871      0.342027     -2       3.03230      0.699186       9415.87
47.2704      1.39923       0       3.01954      0.686874       9998.98
47.2303      0.86774       0       3.01379      0.679219       9999.26
47.2141      0.581015      0       3.01130      0.674309       9999.33
47.2069      0.411771      0       3.01042      0.671134       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0506E-02| -0.3393  -0.9407   0.0000  
 6.2238E-02|  0.9407  -0.3393  -0.0000  
 1.0781E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.061e-01   2.916e-01   6.964e+05
   2.916e-01   2.274e-01   4.769e+05
   6.964e+05   4.769e+05   1.078e+12
------------------------------------

========================================================================
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                3.01042      +/-  0.711438     
   4    2   cutep50    a                   0.671134     +/-  0.476900     
   5    2   cutep50    b                   9999.36      +/-  1.03829E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8430 for     56 degrees of freedom 
 Null hypothesis probability =   7.924410e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2036      0.310869      0       3.01030      0.669063       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0533E-02| -0.3400  -0.9404   0.0000  
 6.2497E-02|  0.9404  -0.3400  -0.0000  
 1.0767E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.092e-01   2.932e-01   6.982e+05
   2.932e-01   2.286e-01   4.779e+05
   6.982e+05   4.779e+05   1.077e+12
------------------------------------

========================================================================
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                3.01030      +/-  0.713574     
   4    2   cutep50    a                   0.669063     +/-  0.478156     
   5    2   cutep50    b                   9999.36      +/-  1.03764E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925423e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2019      0.250101      0       3.01049      0.667697       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0547E-02| -0.3403  -0.9403   0.0000  
 6.2665E-02|  0.9403  -0.3403  -0.0000  
 1.0752E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.112e-01   2.943e-01   6.991e+05
   2.943e-01   2.294e-01   4.783e+05
   6.991e+05   4.783e+05   1.075e+12
------------------------------------

========================================================================
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                3.01049      +/-  0.714971     
   4    2   cutep50    a                   0.667697     +/-  0.478908     
   5    2   cutep50    b                   9999.36      +/-  1.03693E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925931e-01

!XSPEC12>newpar 1 100.0;

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

Test statistic : Chi-Squared =         242.90 using 59 PHA bins.
 Reduced chi-squared =         4.3375 for     56 degrees of freedom 
 Null hypothesis probability =   4.026727e-25
 Current data and model not fit yet.

!XSPEC12>newpar 2 150.0;

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

Test statistic : Chi-Squared =        7736.77 using 59 PHA bins.
 Reduced chi-squared =        138.157 for     56 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 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
47.8204      2073.25      -3      0.456119      0.690628       9999.36
47.4393      9.25714      -1      0.445919      0.693169       9999.36
47.4121      5.34657      -1      0.443835      0.695878       9999.36
47.2805      4.82562       0      0.441528      0.686720       9999.36
47.2363      2.74184       0      0.440596      0.681044       9999.36
47.2194      1.68399       0      0.440331      0.677353       9999.36
47.2119      1.14434       0      0.440372      0.674819       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 7.8907E-04| -0.9624  -0.2718   0.0000  
 1.7676E-02|  0.2718  -0.9624   0.0000  
 1.0830E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.485e-03   5.293e-03   2.203e+04
   5.293e-03   2.268e-01   4.773e+05
   2.203e+04   4.773e+05   1.083e+12
------------------------------------

========================================================================
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                0.440372     +/-  4.98459E-02  
   4    2   cutep50    a                   0.674819     +/-  0.476228     
   5    2   cutep50    b                   9999.36      +/-  1.04067E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8431 for     56 degrees of freedom 
 Null hypothesis probability =   7.922909e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.208       0.866501      0      0.440541      0.672986       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 7.9177E-04| -0.9625  -0.2712   0.0000  
 1.7748E-02|  0.2712  -0.9625   0.0000  
 1.0823E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.484e-03   5.271e-03   2.194e+04
   5.271e-03   2.279e-01   4.783e+05
   2.194e+04   4.783e+05   1.082e+12
------------------------------------

========================================================================
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                0.440541     +/-  4.98371E-02  
   4    2   cutep50    a                   0.672986     +/-  0.477405     
   5    2   cutep50    b                   9999.36      +/-  1.04032E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8430 for     56 degrees of freedom 
 Null hypothesis probability =   7.924096e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2057      0.721242      0      0.440749      0.671603       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 7.9369E-04| -0.9626  -0.2709   0.0000  
 1.7789E-02|  0.2709  -0.9626   0.0000  
 1.0811E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.483e-03   5.254e-03   2.187e+04
   5.254e-03   2.286e-01   4.788e+05
   2.187e+04   4.788e+05   1.081e+12
------------------------------------

========================================================================
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                0.440749     +/-  4.98307E-02  
   4    2   cutep50    a                   0.671603     +/-  0.478108     
   5    2   cutep50    b                   9999.36      +/-  1.03974E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8430 for     56 degrees of freedom 
 Null hypothesis probability =   7.924786e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.234064


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                0.440749     +/-  4.98307E-02  
   4    2   cutep50    a                   0.671603     +/-  0.478108     
   5    2   cutep50    b                   9999.36      +/-  1.03974E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8430 for     56 degrees of freedom 
 Null hypothesis probability =   7.924786e-01
 Weighting method: standard

!XSPEC12>error 3;
 Parameter   Confidence Range (2.706)
     3     0.366034      0.51928    (-0.0749243,0.0783221)

!XSPEC12>error 4;
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 0.670524, -0.902444
and delta stat 0, 7.15144
but latest trial -0.297056 gives 40.4499
Suggest that you check this result using the steppar command.
     4     -0.11596     0.799451    (-0.785623,0.129787)

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

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925517e-01
 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 =         138.04 using 59 PHA bins.

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         138.04 using 59 PHA bins.
 Reduced chi-squared =         2.4651 for     56 degrees of freedom 
 Null hypothesis probability =   7.067739e-09
 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
79.9198      14.3715       0       1.45806      0.155608       169.804
49.6839      11.6426      -1       2.32119      0.203516       244.457
48.2186      1.93102      -1       2.57755      0.322009       304.993
47.8722      0.248081     -1       2.69294      0.410904       386.732
47.6512      0.347241     -1       2.76959      0.474358       493.164
47.3871      0.342027     -2       3.03230      0.699186       9415.87
47.2704      1.39923       0       3.01954      0.686874       9998.98
47.2303      0.86774       0       3.01379      0.679219       9999.26
47.2141      0.581015      0       3.01130      0.674309       9999.33
47.2069      0.411771      0       3.01042      0.671134       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0506E-02| -0.3393  -0.9407   0.0000  
 6.2238E-02|  0.9407  -0.3393  -0.0000  
 1.0781E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.061e-01   2.916e-01   6.964e+05
   2.916e-01   2.274e-01   4.769e+05
   6.964e+05   4.769e+05   1.078e+12
------------------------------------

========================================================================
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                3.01042      +/-  0.711438     
   4    2   cutep50    a                   0.671134     +/-  0.476900     
   5    2   cutep50    b                   9999.36      +/-  1.03829E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.21 using 59 PHA bins.
 Reduced chi-squared =         0.8430 for     56 degrees of freedom 
 Null hypothesis probability =   7.924410e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2036      0.310869      0       3.01030      0.669063       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0533E-02| -0.3400  -0.9404   0.0000  
 6.2497E-02|  0.9404  -0.3400  -0.0000  
 1.0767E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.092e-01   2.932e-01   6.982e+05
   2.932e-01   2.286e-01   4.779e+05
   6.982e+05   4.779e+05   1.077e+12
------------------------------------

========================================================================
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                3.01030      +/-  0.713574     
   4    2   cutep50    a                   0.669063     +/-  0.478156     
   5    2   cutep50    b                   9999.36      +/-  1.03764E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925423e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
47.2019      0.250101      0       3.01049      0.667697       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0547E-02| -0.3403  -0.9403   0.0000  
 6.2665E-02|  0.9403  -0.3403  -0.0000  
 1.0752E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.112e-01   2.943e-01   6.991e+05
   2.943e-01   2.294e-01   4.783e+05
   6.991e+05   4.783e+05   1.075e+12
------------------------------------

========================================================================
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                3.01049      +/-  0.714971     
   4    2   cutep50    a                   0.667697     +/-  0.478908     
   5    2   cutep50    b                   9999.36      +/-  1.03693E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8429 for     56 degrees of freedom 
 Null hypothesis probability =   7.925931e-01

!XSPEC12>newpar 1 100.0;

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

Test statistic : Chi-Squared =         242.90 using 59 PHA bins.
 Reduced chi-squared =         4.3375 for     56 degrees of freedom 
 Null hypothesis probability =   4.026727e-25
 Current data and model not fit yet.

!XSPEC12>newpar 2 350.0;

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

Test statistic : Chi-Squared =         242.90 using 59 PHA bins.
 Reduced chi-squared =         4.3375 for     56 degrees of freedom 
 Null hypothesis probability =   4.026727e-25
 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
61.52        149.997      -3       1.79637      0.741924       9999.36
53.6228      30.3134      -2       1.67201      0.743018       9999.36
52.2806      19.435       -2       1.65335      0.738528       9999.36
51.8516      17.0481      -2       1.65007      0.735356       9999.36
51.6625      16.2143      -2       1.64922      0.733580       9999.36
51.5689      15.8336      -2       1.64889      0.732637       9999.36
51.5209      15.6424      -2       1.64873      0.732144       9999.36
51.4962      15.5438      -2       1.64865      0.731888       9999.36
51.4833      15.4927      -2       1.64861      0.731754       9999.36
51.4767      15.4661      -2       1.64859      0.731685       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.9581E-03| -0.4267  -0.9044   0.0000  
 6.0268E-02|  0.9044  -0.4267  -0.0000  
 9.2538E+11| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.408e-01   2.268e-01   6.017e+05
   2.268e-01   1.715e-01   3.835e+05
   6.017e+05   3.835e+05   9.254e+11
------------------------------------

========================================================================
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                1.64859      +/-  0.663960     
   4    2   cutep50    a                   0.731685     +/-  0.414090     
   5    2   cutep50    b                   9999.36      +/-  9.61969E+05  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          51.48 using 59 PHA bins.
 Reduced chi-squared =         0.9192 for     56 degrees of freedom 
 Null hypothesis probability =   6.465484e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
51.4732      15.4523      -2       1.64858      0.731649       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.9585E-03| -0.4267  -0.9044   0.0000  
 6.0277E-02|  0.9044  -0.4267  -0.0000  
 9.2545E+11| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.409e-01   2.269e-01   6.017e+05
   2.269e-01   1.715e-01   3.835e+05
   6.017e+05   3.835e+05   9.254e+11
------------------------------------

========================================================================
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                1.64858      +/-  0.664004     
   4    2   cutep50    a                   0.731649     +/-  0.414138     
   5    2   cutep50    b                   9999.36      +/-  9.62002E+05  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          51.47 using 59 PHA bins.
 Reduced chi-squared =         0.9192 for     56 degrees of freedom 
 Null hypothesis probability =   6.466766e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
51.4714      15.4452      -2       1.64857      0.731631       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 1.9587E-03| -0.4267  -0.9044   0.0000  
 6.0282E-02|  0.9044  -0.4267  -0.0000  
 9.2548E+11| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.409e-01   2.269e-01   6.018e+05
   2.269e-01   1.715e-01   3.835e+05
   6.018e+05   3.835e+05   9.255e+11
------------------------------------

========================================================================
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                1.64857      +/-  0.664026     
   4    2   cutep50    a                   0.731631     +/-  0.414162     
   5    2   cutep50    b                   9999.36      +/-  9.62020E+05  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          51.47 using 59 PHA bins.
 Reduced chi-squared =         0.9191 for     56 degrees of freedom 
 Null hypothesis probability =   6.467432e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.266642


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                1.64857      +/-  0.664026     
   4    2   cutep50    a                   0.731631     +/-  0.414162     
   5    2   cutep50    b                   9999.36      +/-  9.62020E+05  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          51.47 using 59 PHA bins.
 Reduced chi-squared =         0.9191 for     56 degrees of freedom 
 Null hypothesis probability =   6.467432e-01
 Weighting method: standard

!XSPEC12>error 3;
 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
50.2566      2.24244      -1      0.863275    -0.0152540       181.781
49.7656      0.833844     -1      0.920173     0.0206232       194.192
49.4053      0.3528       -1      0.966917     0.0640906       207.049
49.1186      0.166992     -1       1.00732      0.107882       220.403
48.8826      0.0877468    -1       1.04339      0.149291       234.323
48.6844      0.0509086    -1       1.07622      0.187512       248.881
48.516       0.0322558    -1       1.10648      0.222492       264.150
48.3714      0.0220484    -1       1.13459      0.254457       280.207
48.2463      0.0162403    -1       1.16085      0.283706       297.138
48.1373      0.0130952    -1       1.18548      0.310543       315.032
48.0416      0.0117443    -1       1.20864      0.335242       333.989
47.9573      0.011571     -1       1.23048      0.358047       354.123
47.8825      0.012079     -1       1.25112      0.379168       375.556
47.816       0.0129329    -1       1.27066      0.398786       398.430
47.7565      0.0139481    -1       1.28919      0.417057       422.903
47.7032      0.0150391    -1       1.30678      0.434117       449.158
47.6552      0.0161752    -1       1.32352      0.450083       477.401
47.6118      0.0173544    -1       1.33946      0.465057       507.874
47.5726      0.0185893    -1       1.35465      0.479129       540.854
47.5369      0.0199       -1       1.36915      0.492378       576.665
47.5045      0.0213104    -1       1.38301      0.504873       615.689
47.4749      0.0228463    -1       1.39625      0.516675       658.377
47.4479      0.0245352    -1       1.40893      0.527840       705.266
47.4231      0.0264055    -1       1.42107      0.538416       757.000
47.4004      0.0284878    -1       1.43270      0.548447       814.363
47.3795      0.0308152    -1       1.44386      0.557971       878.311
47.3603      0.033425     -1       1.45457      0.567025       950.025
47.358       0.0363604     0       1.45518      0.567655       959.814
========================================
 Variances and Principal Axes
                 3        4        5  
 3.0514E-03| -0.5387  -0.8425   0.0002  
 6.0885E-02|  0.8425  -0.5387  -0.0001  
 1.8172E+07| -0.0001  -0.0001  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.162e-01   2.627e-01   2.600e+03
   2.627e-01   2.442e-01   2.019e+03
   2.600e+03   2.019e+03   1.817e+07
------------------------------------

========================================================================
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                1.45518      +/-  0.645107     
   4    2   cutep50    a                   0.567655     +/-  0.494133     
   5    2   cutep50    b                   959.814      +/-  4262.88      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.36 using 59 PHA bins.
 Reduced chi-squared =         0.8457 for     56 degrees of freedom 
 Null hypothesis probability =   7.878391e-01
     3      0.87562      2.01558    (-0.580526,0.559437)

!XSPEC12>error 4;
 Parameter   Confidence Range (2.706)
     4    -0.161788      0.77788    (-0.731215,0.208453)

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

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

Test statistic : Chi-Squared =          47.35 using 59 PHA bins.
 Reduced chi-squared =         0.8456 for     56 degrees of freedom 
 Null hypothesis probability =   7.879581e-01
 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 =         251.17 using 59 PHA bins.

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.5667 for     55 degrees of freedom 
 Null hypothesis probability =   7.302327e-27
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.4852 for     56 degrees of freedom 
 Null hypothesis probability =   1.575440e-26
 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
196.419      8.13124       0      -7.47175     -0.610464       33.9752
190.652      18.1247       0      -7.43859    -0.0894074       35.2812
185.089      19.781        0      -7.40436      0.240117       36.7044
179.805      21.1261       0      -7.37038      0.424390       38.1568
154.405      22.0867       0      -7.12320       1.79970       52.9732
93.5852      26.4981      -1      -6.59014      0.397696       328.370
81.8668      43.7722      -2      -6.14464      0.546325       525.036
53.1227      97.8601      -3      -6.16304      0.732982       9959.20
52.007       34.9658      -2      -6.17151      0.737807       9999.17
51.8766      30.8268      -2      -6.17273      0.738725       9999.30
51.8695      30.3076      -2      -6.17289      0.738964       9999.34
========================================
 Variances and Principal Axes
                 3        4        5  
 5.4542E-04| -0.9194  -0.3934   0.0000  
 1.4585E-02|  0.3934  -0.9194   0.0000  
 9.2549E+11| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.064e-02   6.105e-02   1.608e+05
   6.105e-02   1.690e-01   3.807e+05
   1.608e+05   3.807e+05   9.255e+11
------------------------------------

========================================================================
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      -6.17289     +/-  0.175046     
   4    2   cutep50    a                   0.738964     +/-  0.411104     
   5    2   cutep50    b                   9999.34      +/-  9.62026E+05  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          51.87 using 59 PHA bins.
 Reduced chi-squared =         0.9262 for     56 degrees of freedom 
 Null hypothesis probability =   6.318978e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
48.2498      30.2745      -1      -6.18789      0.704996       9999.36
47.5095      13.2783      -1      -6.19278      0.686928       9999.36
47.3345      6.97965      -1      -6.19412      0.678074       9999.36
47.284       4.57729      -1      -6.19436      0.673857       9999.36
47.2667      3.64         -1      -6.19433      0.671855       9999.36
47.2601      3.26657      -1      -6.19426      0.670899       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8572E-04| -0.9213  -0.3889   0.0000  
 1.8879E-02|  0.3889  -0.9213   0.0000  
 1.0514E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.906e-02   7.931e-02   1.935e+05
   7.931e-02   2.229e-01   4.663e+05
   1.935e+05   4.663e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19426     +/-  0.197633     
   4    2   cutep50    a                   0.670899     +/-  0.472131     
   5    2   cutep50    b                   9999.36      +/-  1.02535E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.908256e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.2575      3.11458      -1      -6.19421      0.670438       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8676E-04| -0.9213  -0.3888   0.0000  
 1.8916E-02|  0.3888  -0.9213   0.0000  
 1.0515E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.913e-02   7.947e-02   1.937e+05
   7.947e-02   2.234e-01   4.668e+05
   1.937e+05   4.668e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19421     +/-  0.197804     
   4    2   cutep50    a                   0.670438     +/-  0.472659     
   5    2   cutep50    b                   9999.36      +/-  1.02542E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.909072e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.236929


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      -6.19421     +/-  0.197804     
   4    2   cutep50    a                   0.670438     +/-  0.472659     
   5    2   cutep50    b                   9999.36      +/-  1.02542E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.909072e-01
 Weighting method: standard

!XSPEC12>error 3;
 Parameter   Confidence Range (2.706)
     3     -6.43751     -6.14606    (-0.243337,0.0481177)

!XSPEC12>error 4;
 Parameter   Confidence Range (2.706)
     4    -0.142684     0.775267    (-0.81279,0.105161)

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

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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.909572e-01
 Current data and model not fit yet.
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat 
_cutpow_cflux_15_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 =         251.17 using 59 PHA bins.

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.5667 for     55 degrees of freedom 
 Null hypothesis probability =   7.302327e-27
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.4852 for     56 degrees of freedom 
 Null hypothesis probability =   1.575440e-26
 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
196.419      8.13124       0      -7.47175     -0.610464       33.9752
190.652      18.1247       0      -7.43859    -0.0894074       35.2812
185.089      19.781        0      -7.40436      0.240117       36.7044
179.805      21.1261       0      -7.37038      0.424390       38.1568
154.405      22.0867       0      -7.12320       1.79970       52.9732
93.5852      26.4981      -1      -6.59014      0.397696       328.370
81.8668      43.7722      -2      -6.14464      0.546325       525.036
53.1227      97.8601      -3      -6.16304      0.732982       9959.20
52.007       34.9658      -2      -6.17151      0.737807       9999.17
51.8766      30.8268      -2      -6.17273      0.738725       9999.30
51.8695      30.3076      -2      -6.17289      0.738964       9999.34
========================================
 Variances and Principal Axes
                 3        4        5  
 5.4542E-04| -0.9194  -0.3934   0.0000  
 1.4585E-02|  0.3934  -0.9194   0.0000  
 9.2549E+11| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.064e-02   6.105e-02   1.608e+05
   6.105e-02   1.690e-01   3.807e+05
   1.608e+05   3.807e+05   9.255e+11
------------------------------------

========================================================================
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      -6.17289     +/-  0.175046     
   4    2   cutep50    a                   0.738964     +/-  0.411104     
   5    2   cutep50    b                   9999.34      +/-  9.62026E+05  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          51.87 using 59 PHA bins.
 Reduced chi-squared =         0.9262 for     56 degrees of freedom 
 Null hypothesis probability =   6.318978e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
48.2498      30.2745      -1      -6.18789      0.704996       9999.36
47.5095      13.2783      -1      -6.19278      0.686928       9999.36
47.3345      6.97965      -1      -6.19412      0.678074       9999.36
47.284       4.57729      -1      -6.19436      0.673857       9999.36
47.2667      3.64         -1      -6.19433      0.671855       9999.36
47.2601      3.26657      -1      -6.19426      0.670899       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8572E-04| -0.9213  -0.3889   0.0000  
 1.8879E-02|  0.3889  -0.9213   0.0000  
 1.0514E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.906e-02   7.931e-02   1.935e+05
   7.931e-02   2.229e-01   4.663e+05
   1.935e+05   4.663e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19426     +/-  0.197633     
   4    2   cutep50    a                   0.670899     +/-  0.472131     
   5    2   cutep50    b                   9999.36      +/-  1.02535E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.908256e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.2575      3.11458      -1      -6.19421      0.670438       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8676E-04| -0.9213  -0.3888   0.0000  
 1.8916E-02|  0.3888  -0.9213   0.0000  
 1.0515E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.913e-02   7.947e-02   1.937e+05
   7.947e-02   2.234e-01   4.668e+05
   1.937e+05   4.668e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19421     +/-  0.197804     
   4    2   cutep50    a                   0.670438     +/-  0.472659     
   5    2   cutep50    b                   9999.36      +/-  1.02542E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.909072e-01

!XSPEC12>newpar 1 15.0;

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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.909072e-01
 Current data and model not fit yet.

!XSPEC12>newpar 2 150.0;

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

Test statistic : Chi-Squared =        1129.15 using 59 PHA bins.
 Reduced chi-squared =        20.1634 for     56 degrees of freedom 
 Null hypothesis probability =  1.227824e-199
 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
135.738      1217.08      -3      -6.49045      0.716763       9999.36
52.5758      177.53       -4      -6.65355      0.801022       9999.36
51.7921      27.633       -5      -6.69340      0.907059       9999.36
49.7852      14.0924      -1      -6.69746      0.854641       9999.36
48.8572      8.96427      -1      -6.69756      0.818031       9999.36
48.3677      6.83829      -1      -6.69736      0.793598       9999.36
48.0986      5.629        -1      -6.69721      0.777720       9999.36
47.946       4.88951      -1      -6.69712      0.767585       9999.36
47.8574      4.43228      -1      -6.69707      0.761191       9999.36
47.805       4.14936      -1      -6.69703      0.757189       10000.0
47.2028      5.96154      -2      -6.69786      0.671093       10000.0
47.1975      0.279956     -3      -6.69726      0.661928       10000.0
47.1975      0.0113461     1      -6.69726      0.661924       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 8.2441E-04| -0.9972  -0.0746   0.0000  
 1.6857E-02|  0.0746  -0.9972   0.0000  
 1.0861E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   9.228e-04   2.093e-04   3.148e+03
   2.093e-04   2.323e-01   4.838e+05
   3.148e+03   4.838e+05   1.086e+12
------------------------------------

========================================================================
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      -6.69726     +/-  3.03775E-02  
   4    2   cutep50    a                   0.661924     +/-  0.481985     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04216E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927278e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.1975      0.0112732     1      -6.69726      0.661920       10000.0
47.1975      0.0112015     1      -6.69726      0.661916       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 8.2441E-04| -0.9972  -0.0746   0.0000  
 1.6857E-02|  0.0746  -0.9972   0.0000  
 1.0861E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   9.228e-04   2.093e-04   3.148e+03
   2.093e-04   2.323e-01   4.838e+05
   3.148e+03   4.838e+05   1.086e+12
------------------------------------

========================================================================
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      -6.69726     +/-  3.03775E-02  
   4    2   cutep50    a                   0.661916     +/-  0.481987     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04215E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927278e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.1975      0.0111308     1      -6.69726      0.661912       10000.0
47.1975      0.0110613     1      -6.69726      0.661908       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 8.2441E-04| -0.9972  -0.0746   0.0000  
 1.6858E-02|  0.0746  -0.9972   0.0000  
 1.0861E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   9.228e-04   2.093e-04   3.148e+03
   2.093e-04   2.323e-01   4.838e+05
   3.148e+03   4.838e+05   1.086e+12
------------------------------------

========================================================================
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      -6.69726     +/-  3.03775E-02  
   4    2   cutep50    a                   0.661908     +/-  0.481988     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04215E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927278e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.232959


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      -6.69726     +/-  3.03775E-02  
   4    2   cutep50    a                   0.661908     +/-  0.481988     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04215E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927278e-01
 Weighting method: standard

!XSPEC12>error 3;
 Parameter   Confidence Range (2.706)
     3     -6.75036     -6.64982    (-0.0531012,0.0474446)

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

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927279e-01
 Current data and model not fit yet.
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat 
_cutpow_cflux_15_25kev_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 =         251.17 using 59 PHA bins.

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.5667 for     55 degrees of freedom 
 Null hypothesis probability =   7.302327e-27
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.4852 for     56 degrees of freedom 
 Null hypothesis probability =   1.575440e-26
 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
196.419      8.13124       0      -7.47175     -0.610464       33.9752
190.652      18.1247       0      -7.43859    -0.0894074       35.2812
185.089      19.781        0      -7.40436      0.240117       36.7044
179.805      21.1261       0      -7.37038      0.424390       38.1568
154.405      22.0867       0      -7.12320       1.79970       52.9732
93.5852      26.4981      -1      -6.59014      0.397696       328.370
81.8668      43.7722      -2      -6.14464      0.546325       525.036
53.1227      97.8601      -3      -6.16304      0.732982       9959.20
52.007       34.9658      -2      -6.17151      0.737807       9999.17
51.8766      30.8268      -2      -6.17273      0.738725       9999.30
51.8695      30.3076      -2      -6.17289      0.738964       9999.34
========================================
 Variances and Principal Axes
                 3        4        5  
 5.4542E-04| -0.9194  -0.3934   0.0000  
 1.4585E-02|  0.3934  -0.9194   0.0000  
 9.2549E+11| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.064e-02   6.105e-02   1.608e+05
   6.105e-02   1.690e-01   3.807e+05
   1.608e+05   3.807e+05   9.255e+11
------------------------------------

========================================================================
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      -6.17289     +/-  0.175046     
   4    2   cutep50    a                   0.738964     +/-  0.411104     
   5    2   cutep50    b                   9999.34      +/-  9.62026E+05  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          51.87 using 59 PHA bins.
 Reduced chi-squared =         0.9262 for     56 degrees of freedom 
 Null hypothesis probability =   6.318978e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
48.2498      30.2745      -1      -6.18789      0.704996       9999.36
47.5095      13.2783      -1      -6.19278      0.686928       9999.36
47.3345      6.97965      -1      -6.19412      0.678074       9999.36
47.284       4.57729      -1      -6.19436      0.673857       9999.36
47.2667      3.64         -1      -6.19433      0.671855       9999.36
47.2601      3.26657      -1      -6.19426      0.670899       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8572E-04| -0.9213  -0.3889   0.0000  
 1.8879E-02|  0.3889  -0.9213   0.0000  
 1.0514E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.906e-02   7.931e-02   1.935e+05
   7.931e-02   2.229e-01   4.663e+05
   1.935e+05   4.663e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19426     +/-  0.197633     
   4    2   cutep50    a                   0.670899     +/-  0.472131     
   5    2   cutep50    b                   9999.36      +/-  1.02535E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.908256e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.2575      3.11458      -1      -6.19421      0.670438       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8676E-04| -0.9213  -0.3888   0.0000  
 1.8916E-02|  0.3888  -0.9213   0.0000  
 1.0515E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.913e-02   7.947e-02   1.937e+05
   7.947e-02   2.234e-01   4.668e+05
   1.937e+05   4.668e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19421     +/-  0.197804     
   4    2   cutep50    a                   0.670438     +/-  0.472659     
   5    2   cutep50    b                   9999.36      +/-  1.02542E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.909072e-01

!XSPEC12>newpar 1 15.0;

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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.909072e-01
 Current data and model not fit yet.

!XSPEC12>newpar 2 25.0;

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

Test statistic : Chi-Squared =       958753.7 using 59 PHA bins.
 Reduced chi-squared =       17120.60 for     56 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 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
124546       845212       -3      -6.61563      0.690327       9999.36
15787.5      112520       -4      -7.02969      0.698077       9999.36
1792.99      15270.8      -5      -7.41502      0.713515       9999.36
172.743      2052.57      -6      -7.73258      0.750115       9999.36
49.0038      251.447      -7      -7.92427      0.824220       9999.36
48.7011      6.13959       0      -7.93567      0.820598       9999.36
48.536       2.9718        0      -7.94394      0.813175       9999.36
48.3869      2.95887       0      -7.95039      0.804264       9999.36
48.2434      3.30755       0      -7.95575      0.795046       9999.36
48.1105      3.4269        0      -7.96040      0.786073       9999.36
47.9916      3.38253       0      -7.96456      0.777582       9999.36
47.8874      3.2567        0      -7.96834      0.769653       10000.0
47.3827      4.64606      -1      -7.98858      0.717626       10000.0
47.2028      1.58059      -2      -8.01412      0.670832       10000.0
47.1975      0.32385      -3      -8.01919      0.662018       10000.0
47.1975      0.0163044     0      -8.01920      0.662033       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 6.4370E-04| -0.8790   0.4768  -0.0000  
 2.1505E-02|  0.4768   0.8790  -0.0000  
 1.0864E+12|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   9.949e-03   4.010e-02   7.041e+04
   4.010e-02   2.323e-01   4.838e+05
   7.041e+04   4.838e+05   1.086e+12
------------------------------------

========================================================================
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.01920     +/-  9.97457E-02  
   4    2   cutep50    a                   0.662033     +/-  0.481937     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04228E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927276e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.1975      0.0120267     1      -8.01920      0.662033       10000.0
47.1975      0.0120164     1      -8.01920      0.662032       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 6.4376E-04| -0.8790   0.4768  -0.0000  
 2.1507E-02|  0.4768   0.8790  -0.0000  
 1.0865E+12|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   9.950e-03   4.010e-02   7.041e+04
   4.010e-02   2.323e-01   4.839e+05
   7.041e+04   4.839e+05   1.086e+12
------------------------------------

========================================================================
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.01920     +/-  9.97491E-02  
   4    2   cutep50    a                   0.662032     +/-  0.481957     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04234E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927276e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.1975      0.0120061     1      -8.01920      0.662032       10000.0
47.1975      0.0119958     1      -8.01921      0.662031       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 6.4376E-04| -0.8790   0.4768  -0.0000  
 2.1507E-02|  0.4768   0.8790  -0.0000  
 1.0865E+12|  0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   9.950e-03   4.010e-02   7.041e+04
   4.010e-02   2.323e-01   4.839e+05
   7.041e+04   4.839e+05   1.086e+12
------------------------------------

========================================================================
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.01921     +/-  9.97492E-02  
   4    2   cutep50    a                   0.662031     +/-  0.481957     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04234E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927276e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.232976


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.01921     +/-  9.97492E-02  
   4    2   cutep50    a                   0.662031     +/-  0.481957     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04234E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927276e-01
 Weighting method: standard

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

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927276e-01
 Current data and model not fit yet.
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat 
_cutpow_cflux_25_50kev_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 =         251.17 using 59 PHA bins.

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.5667 for     55 degrees of freedom 
 Null hypothesis probability =   7.302327e-27
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.4852 for     56 degrees of freedom 
 Null hypothesis probability =   1.575440e-26
 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
196.419      8.13124       0      -7.47175     -0.610464       33.9752
190.652      18.1247       0      -7.43859    -0.0894074       35.2812
185.089      19.781        0      -7.40436      0.240117       36.7044
179.805      21.1261       0      -7.37038      0.424390       38.1568
154.405      22.0867       0      -7.12320       1.79970       52.9732
93.5852      26.4981      -1      -6.59014      0.397696       328.370
81.8668      43.7722      -2      -6.14464      0.546325       525.036
53.1227      97.8601      -3      -6.16304      0.732982       9959.20
52.007       34.9658      -2      -6.17151      0.737807       9999.17
51.8766      30.8268      -2      -6.17273      0.738725       9999.30
51.8695      30.3076      -2      -6.17289      0.738964       9999.34
========================================
 Variances and Principal Axes
                 3        4        5  
 5.4542E-04| -0.9194  -0.3934   0.0000  
 1.4585E-02|  0.3934  -0.9194   0.0000  
 9.2549E+11| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.064e-02   6.105e-02   1.608e+05
   6.105e-02   1.690e-01   3.807e+05
   1.608e+05   3.807e+05   9.255e+11
------------------------------------

========================================================================
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      -6.17289     +/-  0.175046     
   4    2   cutep50    a                   0.738964     +/-  0.411104     
   5    2   cutep50    b                   9999.34      +/-  9.62026E+05  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          51.87 using 59 PHA bins.
 Reduced chi-squared =         0.9262 for     56 degrees of freedom 
 Null hypothesis probability =   6.318978e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
48.2498      30.2745      -1      -6.18789      0.704996       9999.36
47.5095      13.2783      -1      -6.19278      0.686928       9999.36
47.3345      6.97965      -1      -6.19412      0.678074       9999.36
47.284       4.57729      -1      -6.19436      0.673857       9999.36
47.2667      3.64         -1      -6.19433      0.671855       9999.36
47.2601      3.26657      -1      -6.19426      0.670899       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8572E-04| -0.9213  -0.3889   0.0000  
 1.8879E-02|  0.3889  -0.9213   0.0000  
 1.0514E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.906e-02   7.931e-02   1.935e+05
   7.931e-02   2.229e-01   4.663e+05
   1.935e+05   4.663e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19426     +/-  0.197633     
   4    2   cutep50    a                   0.670899     +/-  0.472131     
   5    2   cutep50    b                   9999.36      +/-  1.02535E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.908256e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.2575      3.11458      -1      -6.19421      0.670438       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8676E-04| -0.9213  -0.3888   0.0000  
 1.8916E-02|  0.3888  -0.9213   0.0000  
 1.0515E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.913e-02   7.947e-02   1.937e+05
   7.947e-02   2.234e-01   4.668e+05
   1.937e+05   4.668e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19421     +/-  0.197804     
   4    2   cutep50    a                   0.670438     +/-  0.472659     
   5    2   cutep50    b                   9999.36      +/-  1.02542E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.909072e-01

!XSPEC12>newpar 1 25.0;

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

Test statistic : Chi-Squared =          47.43 using 59 PHA bins.
 Reduced chi-squared =         0.8469 for     56 degrees of freedom 
 Null hypothesis probability =   7.857507e-01
 Current data and model not fit yet.

!XSPEC12>newpar 2 50.0;

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

Test statistic : Chi-Squared =       95907.83 using 59 PHA bins.
 Reduced chi-squared =       1712.640 for     56 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 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
12174.1      79802.7      -3      -6.60622      0.678286       9999.36
1377.25      10941.5      -4      -6.98746      0.696213       9999.36
141.226      1489.62      -5      -7.29655      0.738060       9999.36
49.0237      188.778      -6      -7.47775      0.818340       9999.36
48.3964      7.71913      -1      -7.51772      0.787031       9999.36
48.1703      7.01686      -1      -7.52688      0.759729       9999.36
47.9032      7.94399      -1      -7.52903      0.741420       9999.36
47.7374      7.13785      -1      -7.52979      0.729980       9999.36
47.6433      6.39422      -1      -7.53017      0.722941       10000.0
47.1984      8.83966      -2      -7.52974      0.664923       10000.0
47.1974      0.254373     -3      -7.53100      0.661552       10000.0
47.1974      0.00486789    1      -7.53100      0.661552       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 7.7526E-04| -0.9667   0.2558  -0.0000  
 1.7890E-02|  0.2558   0.9667  -0.0000  
 1.0857E+12| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.906e-03   2.698e-03  -3.443e+03
   2.698e-03   2.324e-01   4.838e+05
  -3.443e+03   4.838e+05   1.086e+12
------------------------------------

========================================================================
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      -7.53100     +/-  4.36565E-02  
   4    2   cutep50    a                   0.661552     +/-  0.482059     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04197E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927283e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.1974      0.00483499    1      -7.53100      0.661551       10000.0
47.1974      0.00480294    1      -7.53100      0.661551       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 7.7526E-04| -0.9667   0.2558  -0.0000  
 1.7890E-02|  0.2558   0.9667  -0.0000  
 1.0857E+12| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.906e-03   2.698e-03  -3.443e+03
   2.698e-03   2.324e-01   4.838e+05
  -3.443e+03   4.838e+05   1.086e+12
------------------------------------

========================================================================
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      -7.53100     +/-  4.36566E-02  
   4    2   cutep50    a                   0.661551     +/-  0.482059     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04197E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927283e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.1974      0.00477171    1      -7.53100      0.661551       10000.0
47.1974      0.00474128    1      -7.53100      0.661551       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 7.7526E-04| -0.9667   0.2558  -0.0000  
 1.7890E-02|  0.2558   0.9667  -0.0000  
 1.0857E+12| -0.0000   0.0000   1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.906e-03   2.698e-03  -3.443e+03
   2.698e-03   2.324e-01   4.838e+05
  -3.443e+03   4.838e+05   1.086e+12
------------------------------------

========================================================================
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      -7.53100     +/-  4.36566E-02  
   4    2   cutep50    a                   0.661551     +/-  0.482059     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04197E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927283e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.232952


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      -7.53100     +/-  4.36566E-02  
   4    2   cutep50    a                   0.661551     +/-  0.482059     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04197E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927283e-01
 Weighting method: standard

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

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927283e-01
 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 =         251.17 using 59 PHA bins.

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.5667 for     55 degrees of freedom 
 Null hypothesis probability =   7.302327e-27
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.4852 for     56 degrees of freedom 
 Null hypothesis probability =   1.575440e-26
 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
196.419      8.13124       0      -7.47175     -0.610464       33.9752
190.652      18.1247       0      -7.43859    -0.0894074       35.2812
185.089      19.781        0      -7.40436      0.240117       36.7044
179.805      21.1261       0      -7.37038      0.424390       38.1568
154.405      22.0867       0      -7.12320       1.79970       52.9732
93.5852      26.4981      -1      -6.59014      0.397696       328.370
81.8668      43.7722      -2      -6.14464      0.546325       525.036
53.1227      97.8601      -3      -6.16304      0.732982       9959.20
52.007       34.9658      -2      -6.17151      0.737807       9999.17
51.8766      30.8268      -2      -6.17273      0.738725       9999.30
51.8695      30.3076      -2      -6.17289      0.738964       9999.34
========================================
 Variances and Principal Axes
                 3        4        5  
 5.4542E-04| -0.9194  -0.3934   0.0000  
 1.4585E-02|  0.3934  -0.9194   0.0000  
 9.2549E+11| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.064e-02   6.105e-02   1.608e+05
   6.105e-02   1.690e-01   3.807e+05
   1.608e+05   3.807e+05   9.255e+11
------------------------------------

========================================================================
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      -6.17289     +/-  0.175046     
   4    2   cutep50    a                   0.738964     +/-  0.411104     
   5    2   cutep50    b                   9999.34      +/-  9.62026E+05  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          51.87 using 59 PHA bins.
 Reduced chi-squared =         0.9262 for     56 degrees of freedom 
 Null hypothesis probability =   6.318978e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
48.2498      30.2745      -1      -6.18789      0.704996       9999.36
47.5095      13.2783      -1      -6.19278      0.686928       9999.36
47.3345      6.97965      -1      -6.19412      0.678074       9999.36
47.284       4.57729      -1      -6.19436      0.673857       9999.36
47.2667      3.64         -1      -6.19433      0.671855       9999.36
47.2601      3.26657      -1      -6.19426      0.670899       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8572E-04| -0.9213  -0.3889   0.0000  
 1.8879E-02|  0.3889  -0.9213   0.0000  
 1.0514E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.906e-02   7.931e-02   1.935e+05
   7.931e-02   2.229e-01   4.663e+05
   1.935e+05   4.663e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19426     +/-  0.197633     
   4    2   cutep50    a                   0.670899     +/-  0.472131     
   5    2   cutep50    b                   9999.36      +/-  1.02535E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.908256e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.2575      3.11458      -1      -6.19421      0.670438       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8676E-04| -0.9213  -0.3888   0.0000  
 1.8916E-02|  0.3888  -0.9213   0.0000  
 1.0515E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.913e-02   7.947e-02   1.937e+05
   7.947e-02   2.234e-01   4.668e+05
   1.937e+05   4.668e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19421     +/-  0.197804     
   4    2   cutep50    a                   0.670438     +/-  0.472659     
   5    2   cutep50    b                   9999.36      +/-  1.02542E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.909072e-01

!XSPEC12>newpar 1 50.0;

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

Test statistic : Chi-Squared =          48.77 using 59 PHA bins.
 Reduced chi-squared =         0.8708 for     56 degrees of freedom 
 Null hypothesis probability =   7.427210e-01
 Current data and model not fit yet.

!XSPEC12>newpar 2 100.0;

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

Test statistic : Chi-Squared =       13225.60 using 59 PHA bins.
 Reduced chi-squared =       236.1714 for     56 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 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
1551.96      11490.6      -3      -6.57720      0.681790       9999.36
173.411      1610.5       -4      -6.89134      0.722558       9999.36
53.1544      227.591      -5      -7.08054      0.800289       9999.36
50.9187      29.6473      -6      -7.13909      0.905595       9999.36
49.6166      7.75064      -1      -7.13862      0.861427       9999.36
48.8805      5.40568      -1      -7.13779      0.829705       9999.36
48.4525      4.1122       -1      -7.13709      0.807516       9999.36
48.1986      3.34322      -1      -7.13656      0.792332       9999.36
48.0448      2.8732       -1      -7.13618      0.782107       9999.36
47.95        2.5804       -1      -7.13591      0.775297       10000.0
47.2039      3.59302      -2      -7.13028      0.671800       10000.0
47.1975      0.43537      -3      -7.13032      0.661982       10000.0
47.1975      0.0127023     1      -7.13032      0.661977       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 8.2608E-04| -0.9989  -0.0479  -0.0000  
 1.6803E-02|  0.0479  -0.9989   0.0000  
 1.0862E+12|  0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.542e-03  -1.286e-02  -2.716e+04
  -1.286e-02   2.323e-01   4.838e+05
  -2.716e+04   4.838e+05   1.086e+12
------------------------------------

========================================================================
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      -7.13032     +/-  3.92671E-02  
   4    2   cutep50    a                   0.661977     +/-  0.481963     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04219E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927277e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.1975      0.0125865     1      -7.13032      0.661972       10000.0
47.1975      0.0124727     1      -7.13032      0.661967       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 8.2609E-04| -0.9989  -0.0479  -0.0000  
 1.6804E-02|  0.0479  -0.9989   0.0000  
 1.0862E+12|  0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.542e-03  -1.286e-02  -2.716e+04
  -1.286e-02   2.323e-01   4.838e+05
  -2.716e+04   4.838e+05   1.086e+12
------------------------------------

========================================================================
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      -7.13032     +/-  3.92672E-02  
   4    2   cutep50    a                   0.661967     +/-  0.481966     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04219E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927277e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.1975      0.0123609     1      -7.13032      0.661963       10000.0
47.1975      0.012251      1      -7.13032      0.661958       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 8.2609E-04| -0.9989  -0.0479  -0.0000  
 1.6804E-02|  0.0479  -0.9989   0.0000  
 1.0861E+12|  0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.542e-03  -1.286e-02  -2.716e+04
  -1.286e-02   2.323e-01   4.838e+05
  -2.716e+04   4.838e+05   1.086e+12
------------------------------------

========================================================================
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      -7.13032     +/-  3.92673E-02  
   4    2   cutep50    a                   0.661958     +/-  0.481968     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04218E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927277e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.232966


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      -7.13032     +/-  3.92673E-02  
   4    2   cutep50    a                   0.661958     +/-  0.481968     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04218E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927277e-01
 Weighting method: standard

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

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927277e-01
 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 =         251.17 using 59 PHA bins.

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.5667 for     55 degrees of freedom 
 Null hypothesis probability =   7.302327e-27
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.4852 for     56 degrees of freedom 
 Null hypothesis probability =   1.575440e-26
 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
196.419      8.13124       0      -7.47175     -0.610464       33.9752
190.652      18.1247       0      -7.43859    -0.0894074       35.2812
185.089      19.781        0      -7.40436      0.240117       36.7044
179.805      21.1261       0      -7.37038      0.424390       38.1568
154.405      22.0867       0      -7.12320       1.79970       52.9732
93.5852      26.4981      -1      -6.59014      0.397696       328.370
81.8668      43.7722      -2      -6.14464      0.546325       525.036
53.1227      97.8601      -3      -6.16304      0.732982       9959.20
52.007       34.9658      -2      -6.17151      0.737807       9999.17
51.8766      30.8268      -2      -6.17273      0.738725       9999.30
51.8695      30.3076      -2      -6.17289      0.738964       9999.34
========================================
 Variances and Principal Axes
                 3        4        5  
 5.4542E-04| -0.9194  -0.3934   0.0000  
 1.4585E-02|  0.3934  -0.9194   0.0000  
 9.2549E+11| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.064e-02   6.105e-02   1.608e+05
   6.105e-02   1.690e-01   3.807e+05
   1.608e+05   3.807e+05   9.255e+11
------------------------------------

========================================================================
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      -6.17289     +/-  0.175046     
   4    2   cutep50    a                   0.738964     +/-  0.411104     
   5    2   cutep50    b                   9999.34      +/-  9.62026E+05  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          51.87 using 59 PHA bins.
 Reduced chi-squared =         0.9262 for     56 degrees of freedom 
 Null hypothesis probability =   6.318978e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
48.2498      30.2745      -1      -6.18789      0.704996       9999.36
47.5095      13.2783      -1      -6.19278      0.686928       9999.36
47.3345      6.97965      -1      -6.19412      0.678074       9999.36
47.284       4.57729      -1      -6.19436      0.673857       9999.36
47.2667      3.64         -1      -6.19433      0.671855       9999.36
47.2601      3.26657      -1      -6.19426      0.670899       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8572E-04| -0.9213  -0.3889   0.0000  
 1.8879E-02|  0.3889  -0.9213   0.0000  
 1.0514E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.906e-02   7.931e-02   1.935e+05
   7.931e-02   2.229e-01   4.663e+05
   1.935e+05   4.663e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19426     +/-  0.197633     
   4    2   cutep50    a                   0.670899     +/-  0.472131     
   5    2   cutep50    b                   9999.36      +/-  1.02535E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.908256e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.2575      3.11458      -1      -6.19421      0.670438       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8676E-04| -0.9213  -0.3888   0.0000  
 1.8916E-02|  0.3888  -0.9213   0.0000  
 1.0515E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.913e-02   7.947e-02   1.937e+05
   7.947e-02   2.234e-01   4.668e+05
   1.937e+05   4.668e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19421     +/-  0.197804     
   4    2   cutep50    a                   0.670438     +/-  0.472659     
   5    2   cutep50    b                   9999.36      +/-  1.02542E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.909072e-01

!XSPEC12>newpar 1 100.0;

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

Test statistic : Chi-Squared =          60.04 using 59 PHA bins.
 Reduced chi-squared =          1.072 for     56 degrees of freedom 
 Null hypothesis probability =   3.314995e-01
 Current data and model not fit yet.

!XSPEC12>newpar 2 150.0;

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

Test statistic : Chi-Squared =        9093.27 using 59 PHA bins.
 Reduced chi-squared =        162.380 for     56 degrees of freedom 
 Null hypothesis probability =   0.000000e+00
 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
1101.03      8353.14      -3      -6.56550      0.692229       9999.36
148.533      1231.8       -4      -6.85580      0.737877       9999.36
61.3273      202.557      -5      -7.01003      0.816939       9999.36
54.7556      54.5418      -2      -7.04702      0.842052       9999.36
49.7509      34.7451      -1      -7.05790      0.787507       9999.36
48.3904      17.6773      -1      -7.05862      0.751967       9999.36
47.8877      11.4625      -1      -7.05769      0.730071       9999.36
47.666       8.61635      -1      -7.05690      0.716958       10000.0
47.2002      10.6691      -2      -7.05825      0.668107       10000.0
47.1975      0.360711     -3      -7.05697      0.661759       10000.0
47.1975      0.0079357     1      -7.05697      0.661758       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 7.7090E-04| -0.9633  -0.2686   0.0000  
 1.8013E-02|  0.2686  -0.9633   0.0000  
 1.0857E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.528e-03   6.059e-03   2.361e+04
   6.059e-03   2.323e-01   4.838e+05
   2.361e+04   4.838e+05   1.086e+12
------------------------------------

========================================================================
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      -7.05697     +/-  5.02810E-02  
   4    2   cutep50    a                   0.661758     +/-  0.482001     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04197E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927281e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.1975      0.00791254    1      -7.05697      0.661757       10000.0
47.1975      0.00789002    1      -7.05697      0.661756       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 7.7090E-04| -0.9633  -0.2686   0.0000  
 1.8013E-02|  0.2686  -0.9633   0.0000  
 1.0857E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.528e-03   6.059e-03   2.361e+04
   6.059e-03   2.323e-01   4.838e+05
   2.361e+04   4.838e+05   1.086e+12
------------------------------------

========================================================================
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      -7.05697     +/-  5.02810E-02  
   4    2   cutep50    a                   0.661756     +/-  0.482002     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04196E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927281e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.1975      0.00786811    1      -7.05697      0.661755       10000.0
47.1975      0.0078468     1      -7.05697      0.661754       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 7.7090E-04| -0.9633  -0.2686   0.0000  
 1.8013E-02|  0.2686  -0.9633   0.0000  
 1.0857E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.528e-03   6.058e-03   2.361e+04
   6.058e-03   2.323e-01   4.838e+05
   2.361e+04   4.838e+05   1.086e+12
------------------------------------

========================================================================
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      -7.05697     +/-  5.02809E-02  
   4    2   cutep50    a                   0.661754     +/-  0.482003     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04196E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927281e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.232953


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      -7.05697     +/-  5.02809E-02  
   4    2   cutep50    a                   0.661754     +/-  0.482003     
   5    2   cutep50    b                   1.00000E+04  +/-  1.04196E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927281e-01
 Weighting method: standard

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

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

Test statistic : Chi-Squared =          47.20 using 59 PHA bins.
 Reduced chi-squared =         0.8428 for     56 degrees of freedom 
 Null hypothesis probability =   7.927281e-01
 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 =         251.17 using 59 PHA bins.

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.5667 for     55 degrees of freedom 
 Null hypothesis probability =   7.302327e-27
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =         251.17 using 59 PHA bins.
 Reduced chi-squared =         4.4852 for     56 degrees of freedom 
 Null hypothesis probability =   1.575440e-26
 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
196.419      8.13124       0      -7.47175     -0.610464       33.9752
190.652      18.1247       0      -7.43859    -0.0894074       35.2812
185.089      19.781        0      -7.40436      0.240117       36.7044
179.805      21.1261       0      -7.37038      0.424390       38.1568
154.405      22.0867       0      -7.12320       1.79970       52.9732
93.5852      26.4981      -1      -6.59014      0.397696       328.370
81.8668      43.7722      -2      -6.14464      0.546325       525.036
53.1227      97.8601      -3      -6.16304      0.732982       9959.20
52.007       34.9658      -2      -6.17151      0.737807       9999.17
51.8766      30.8268      -2      -6.17273      0.738725       9999.30
51.8695      30.3076      -2      -6.17289      0.738964       9999.34
========================================
 Variances and Principal Axes
                 3        4        5  
 5.4542E-04| -0.9194  -0.3934   0.0000  
 1.4585E-02|  0.3934  -0.9194   0.0000  
 9.2549E+11| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.064e-02   6.105e-02   1.608e+05
   6.105e-02   1.690e-01   3.807e+05
   1.608e+05   3.807e+05   9.255e+11
------------------------------------

========================================================================
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      -6.17289     +/-  0.175046     
   4    2   cutep50    a                   0.738964     +/-  0.411104     
   5    2   cutep50    b                   9999.34      +/-  9.62026E+05  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          51.87 using 59 PHA bins.
 Reduced chi-squared =         0.9262 for     56 degrees of freedom 
 Null hypothesis probability =   6.318978e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
48.2498      30.2745      -1      -6.18789      0.704996       9999.36
47.5095      13.2783      -1      -6.19278      0.686928       9999.36
47.3345      6.97965      -1      -6.19412      0.678074       9999.36
47.284       4.57729      -1      -6.19436      0.673857       9999.36
47.2667      3.64         -1      -6.19433      0.671855       9999.36
47.2601      3.26657      -1      -6.19426      0.670899       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8572E-04| -0.9213  -0.3889   0.0000  
 1.8879E-02|  0.3889  -0.9213   0.0000  
 1.0514E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.906e-02   7.931e-02   1.935e+05
   7.931e-02   2.229e-01   4.663e+05
   1.935e+05   4.663e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19426     +/-  0.197633     
   4    2   cutep50    a                   0.670899     +/-  0.472131     
   5    2   cutep50    b                   9999.36      +/-  1.02535E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.908256e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.2575      3.11458      -1      -6.19421      0.670438       9999.36
========================================
 Variances and Principal Axes
                 3        4        5  
 6.8676E-04| -0.9213  -0.3888   0.0000  
 1.8916E-02|  0.3888  -0.9213   0.0000  
 1.0515E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.913e-02   7.947e-02   1.937e+05
   7.947e-02   2.234e-01   4.668e+05
   1.937e+05   4.668e+05   1.051e+12
------------------------------------

========================================================================
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      -6.19421     +/-  0.197804     
   4    2   cutep50    a                   0.670438     +/-  0.472659     
   5    2   cutep50    b                   9999.36      +/-  1.02542E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.26 using 59 PHA bins.
 Reduced chi-squared =         0.8439 for     56 degrees of freedom 
 Null hypothesis probability =   7.909072e-01

!XSPEC12>newpar 1 100.0;

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

Test statistic : Chi-Squared =          60.04 using 59 PHA bins.
 Reduced chi-squared =          1.072 for     56 degrees of freedom 
 Null hypothesis probability =   3.314995e-01
 Current data and model not fit yet.

!XSPEC12>newpar 2 350.0;

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

Test statistic : Chi-Squared =          60.04 using 59 PHA bins.
 Reduced chi-squared =          1.072 for     56 degrees of freedom 
 Null hypothesis probability =   3.314995e-01
 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
51.6779      57.7431      -2      -6.24654      0.701618       9999.36
50.5416      31.4918      -2      -6.25882      0.710226       9999.36
50.4136      26.6177      -2      -6.26099      0.712415       9999.36
47.8801      26.0057      -1      -6.27413      0.688967       9999.36
47.392       11.2192      -1      -6.27867      0.677567       9999.36
47.2827      5.81536      -1      -6.27999      0.672236       9999.36
47.2524      3.80844      -1      -6.28024      0.669711       9999.36
47.2424      3.05373      -1      -6.28020      0.668472       10000.0
47.2387      2.76564      -1      -6.28010      0.667840       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 6.3563E-04| -0.8835  -0.4685   0.0000  
 2.0649E-02|  0.4685  -0.8835   0.0000  
 1.0662E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.953e-02   9.834e-02   2.410e+05
   9.834e-02   2.249e-01   4.716e+05
   2.410e+05   4.716e+05   1.066e+12
------------------------------------

========================================================================
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      -6.28010     +/-  0.243983     
   4    2   cutep50    a                   0.667840     +/-  0.474185     
   5    2   cutep50    b                   1.00000E+04  +/-  1.03255E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.24 using 59 PHA bins.
 Reduced chi-squared =         0.8435 for     56 degrees of freedom 
 Null hypothesis probability =   7.914761e-01

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.2373      2.65399      -1      -6.28002      0.667505       10000.0
47.2367      2.60949      -1      -6.27996      0.667323       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 6.3665E-04| -0.8835  -0.4684   0.0000  
 2.0687E-02|  0.4684  -0.8835   0.0000  
 1.0663E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.960e-02   9.851e-02   2.412e+05
   9.851e-02   2.254e-01   4.721e+05
   2.412e+05   4.721e+05   1.066e+12
------------------------------------

========================================================================
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      -6.27996     +/-  0.244134     
   4    2   cutep50    a                   0.667323     +/-  0.474714     
   5    2   cutep50    b                   1.00000E+04  +/-  1.03260E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.24 using 59 PHA bins.
 Reduced chi-squared =         0.8435 for     56 degrees of freedom 
 Null hypothesis probability =   7.915387e-01

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
47.2364      2.59114      -1      -6.27992      0.667222       10000.0
47.2363      2.58324      -1      -6.27990      0.667165       10000.0
========================================
 Variances and Principal Axes
                 3        4        5  
 6.3683E-04| -0.8836  -0.4683   0.0000  
 2.0694E-02|  0.4683  -0.8836   0.0000  
 1.0661E+12| -0.0000  -0.0000  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.961e-02   9.854e-02   2.412e+05
   9.854e-02   2.255e-01   4.722e+05
   2.412e+05   4.722e+05   1.066e+12
------------------------------------

========================================================================
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      -6.27990     +/-  0.244155     
   4    2   cutep50    a                   0.667165     +/-  0.474823     
   5    2   cutep50    b                   1.00000E+04  +/-  1.03252E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

Test statistic : Chi-Squared =          47.24 using 59 PHA bins.
 Reduced chi-squared =         0.8435 for     56 degrees of freedom 
 Null hypothesis probability =   7.915506e-01

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

!XSPEC12>show;

XSPEC version: 12.9.0c

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/00599546000-results/pha/sw00599546000b_peak.pha
Net count rate (cts/s) for Spectrum:1  2.388e-01 +/- 1.677e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  4-62
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 1 sec
 Using fit statistic: chi
 Using test statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger599546/remake_spec_cflux/spec_1speak/sw00599546000b_1speak.rsp for Source 1

 Spectral data counts: 0.238824
 Model predicted rate: 0.236138


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      -6.27990     +/-  0.244155     
   4    2   cutep50    a                   0.667165     +/-  0.474823     
   5    2   cutep50    b                   1.00000E+04  +/-  1.03252E+06  
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          47.24 using 59 PHA bins.
 Reduced chi-squared =         0.8435 for     56 degrees of freedom 
 Null hypothesis probability =   7.915506e-01
 Weighting method: standard

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

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

Test statistic : Chi-Squared =          47.24 using 59 PHA bins.
 Reduced chi-squared =         0.8435 for     56 degrees of freedom 
 Null hypothesis probability =   7.915506e-01
 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: 0.663803     ( -0.230003   0.212765 )
Epeak [keV] : 9999.36      ( -9999.36 -9999.36 )
Norm@50keV  : 1.63686E-02    ( -0.00196382   0.0137366 )
------------------------------------------------------------
#Fit statistic : Chi-Squared =          47.20 using 59 PHA bins.
# Reduced chi-squared =         0.8428 for     56 degrees of freedom 
# Null hypothesis probability =   7.927179e-01
 
Photon flux (15-150 keV)    in 1 sec: 1.88776 ( -0.25074  0.23644 ) ph/cm2/s
Energy fluence (15-150 keV)             : 2.00789e-07 ( -2.31084e-08  2.31759e-08 ) ergs/cm2