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/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha

1 spectrum  in use
 
Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha  Spectrum 1
Net count rate (cts/s) for Spectrum:1  1.990e-01 +/- 5.222e-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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_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 =       36941.13 using 59 PHA bins.

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

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

Test statistic : Chi-Squared =          67.21 using 59 PHA bins.
 Reduced chi-squared =          1.200 for     56 degrees of freedom 
 Null hypothesis probability =   1.449754e-01
 Current data and model not fit yet.
XSPEC12>fit
 renorm: no renormalization necessary
                                   Parameters
Chi-Squared  |beta|/N    Lvl           1:a           2:b        3:norm
66.8862      0.430567      0       1.12523       81.4894     0.0163469
66.6073      8.69897       0       1.23172       82.5256     0.0153747
66.3423      12.6412       0       1.32990       83.6860     0.0144297
66.0852      14.8715       0       1.42308       85.3214     0.0135371
65.8342      16.4957       0       1.51259       87.7954     0.0127012
65.589       17.8909       0       1.59922       91.6654     0.0119208
65.3497      19.139        0       1.68359       98.0008     0.0111934
65.1175      20.1519       0       1.76634       109.268     0.0105178
64.8971      20.6313       0       1.84801       132.709    0.00989575
64.7026      19.824        0       1.92855       199.910    0.00933547
========================================
 Variances and Principal Axes
                 1        2        3  
 6.5942E-06| -0.0056  -0.0000  -1.0000  
 5.8661E-01|  1.0000  -0.0006  -0.0056  
 5.7721E+06|  0.0006   1.0000  -0.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.875e+00   3.634e+03  -3.105e-02
   3.634e+03   5.772e+06  -4.406e+01
  -3.105e-02  -4.406e+01   3.615e-04
------------------------------------

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   1.92855      +/-  1.69549      
   2    1   cutep50    b                   199.910      +/-  2402.52      
   3    1   cutep50    norm                9.33547E-03  +/-  1.90144E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          64.70 using 59 PHA bins.
 Reduced chi-squared =          1.155 for     56 degrees of freedom 
 Null hypothesis probability =   1.989211e-01
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl           1:a           2:b        3:norm
64.556       0.275518      0       2.01846       724.594    0.00866585
64.4491      4.39584       0       2.08693       207.663    0.00837609
64.3896      4.89555       0       2.09795       120.986    0.00837274
64.3512      5.18127       0       2.10735       99.3051    0.00835633
64.3199      11.8639       0       2.11529       87.6539    0.00833235
64.2943      17.2172       0       2.12188       80.4550    0.00830296
64.2757      21.5277       0       2.12665       76.2169    0.00827019
64.2642      24.5373       0       2.12919       74.1003    0.00823634
64.2565      25.5942       0       2.13042       72.9875    0.00820318
========================================
 Variances and Principal Axes
                 1        2        3  
 4.3561E-06| -0.0122   0.0000  -0.9999  
 1.3260E+00|  0.9999  -0.0037  -0.0122  
 2.1152E+05|  0.0037   1.0000  -0.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.262e+00   7.881e+02  -4.100e-02
   7.881e+02   2.115e+05  -6.676e+00
  -4.100e-02  -6.676e+00   4.111e-04
------------------------------------

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   2.13042      +/-  2.06458      
   2    1   cutep50    b                   72.9875      +/-  459.905      
   3    1   cutep50    norm                8.20318E-03  +/-  2.02749E-02  
________________________________________________________________________


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

Test statistic : Chi-Squared =          64.26 using 59 PHA bins.
 Reduced chi-squared =          1.147 for     56 degrees of freedom 
 Null hypothesis probability =   2.097978e-01
XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl           1:a           2:b        3:norm
64.2189      0.437776      0       2.13298       71.0437    0.00786950
64.2073      4.4933        0       2.13877       66.2344    0.00773112
64.1943      21.3218      -1       2.13716       65.6581    0.00756554
64.1938      5.77128       0       2.13686       65.6990    0.00754353
========================================
 Variances and Principal Axes
                 1        2        3  
 3.8925E-06| -0.0678   0.0001  -0.9977  
 3.7481E-03|  0.9977  -0.0013  -0.0678  
 3.1611E+06|  0.0013   1.0000  -0.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.519e+00   4.175e+03  -5.053e-02
   4.175e+03   3.161e+06  -3.807e+01
  -5.053e-02  -3.807e+01   4.795e-04
------------------------------------

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   2.13686      +/-  2.34915      
   2    1   cutep50    b                   65.6990      +/-  1777.96      
   3    1   cutep50    norm                7.54353E-03  +/-  2.18973E-02  
________________________________________________________________________


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

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

XSPEC version: 12.9.0c

Sun Dec 27 06:29:01 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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha
Net count rate (cts/s) for Spectrum:1  1.460e-01 +/- 3.466e-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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp for Source 1

 Spectral data counts: 0.145999
 Model predicted rate: 0.125670


Current model list:

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   2.13686      +/-  2.34915      
   2    1   cutep50    b                   65.6990      +/-  1777.96      
   3    1   cutep50    norm                7.54353E-03  +/-  2.18973E-02  
________________________________________________________________________

   Using energies from responses.

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

Test statistic : Chi-Squared =          64.19 using 59 PHA bins.
 Reduced chi-squared =          1.146 for     56 degrees of freedom 
 Null hypothesis probability =   2.113563e-01
 Weighting method: standard
XSPEC12>error 1
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 2.13686, -1.72748
and delta stat 0, 3.03005
but latest trial -1.515 gives 3.15297
Suggest that you check this result using the steppar command.
 Due to zero model norms, the following fit parameters are temporarily frozen:2 
 Due to zero model norms, the following fit parameters are temporarily frozen:2 
 Due to zero model norms, the following fit parameters are temporarily frozen:2 
 Due to zero model norms, the following fit parameters are temporarily frozen:2 
 Due to zero model norms, the following fit parameters are temporarily frozen:2 
Apparent non-monotonicity in statistic space detected.
Current bracket values 2.13686, 3.81341
and delta stat 0, 3.61968
but latest trial 3.346 gives 3.61968
Suggest that you check this result using the steppar command.
     1      0.20469      2.97513    (-1.93217,0.838277)
XSPEC12>error 2
 Parameter   Confidence Range (2.706)
Error occurred during lower bound error calculation.

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

Test statistic : Chi-Squared =          64.19 using 59 PHA bins.
 Reduced chi-squared =          1.146 for     56 degrees of freedom 
 Null hypothesis probability =   2.113628e-01
 Current data and model not fit yet.
XSPEC12>error 3
A valid fit is first required in order to run error command.
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
***Warning: Fit is not current.
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 =          67.30 using 59 PHA bins.

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          67.30 using 59 PHA bins.
 Reduced chi-squared =          1.202 for     56 degrees of freedom 
 Null hypothesis probability =   1.432569e-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:Flux           4:a           5:b
66.8747      0.464408      0       1.01118       1.18287       83.7865
66.5104      0.52792       0       1.02597       1.33643       88.9458
64.4134      0.576833      0       1.19020       2.36611       163.301
64.0948      1.43726       0       1.20831       2.38155       158.963
63.883       2.41591       0       1.24518       2.39171       156.288
63.8769      0.210974     -1       1.25595       2.39495       157.783
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0004E-03| -0.0848  -0.9964   0.0026  
 4.5654E-01|  0.9964  -0.0848   0.0022  
 6.9812E+05|  0.0020  -0.0027  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.208e+00  -3.839e+00  -1.387e+03
  -3.839e+00   5.246e+00   1.913e+03
  -1.387e+03   1.913e+03   6.981e+05
------------------------------------

========================================================================
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.25595      +/-  1.79113      
   4    2   cutep50    a                   2.39495      +/-  2.29047      
   5    2   cutep50    b                   157.783      +/-  835.530      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
63.8403      0.245125     -2       1.23345       2.43465       172.228
63.7552      1.43573      -2       1.19811       2.50238       193.352
63.6247      1.81537      -2       1.17198       2.57925       215.565
63.4891      1.72944      -2       1.15402       2.65390       236.185
63.3574      1.50873      -2       1.13900       2.72703       255.647
63.2259      1.32924      -2       1.12575       2.80067       274.517
63.0929      1.19249      -2       1.11418       2.87580       293.035
62.9581      1.07969      -2       1.10418       2.95280       311.274
62.8225      0.980985     -2       1.09558       3.03170       329.223
62.6874      0.891453     -2       1.08823       3.11232       346.829
62.5545      0.808341     -2       1.08193       3.19431       364.014
62.4257      0.730051     -2       1.07652       3.27718       380.686
62.3026      0.655742     -2       1.07179       3.36036       396.752
62.1869      0.585106     -2       1.06759       3.44320       412.121
62.0796      0.51821      -2       1.06374       3.52504       426.720
61.9818      0.45535      -2       1.06014       3.60522       440.490
61.8939      0.396916     -2       1.05667       3.68315       453.392
61.8158      0.343278     -2       1.05327       3.75831       465.407
61.7473      0.2947       -2       1.04989       3.83028       476.537
61.688       0.251289     -2       1.04653       3.89873       486.796
61.6369      0.212989     -2       1.04318       3.96344       496.215
61.5934      0.179593     -2       1.03985       4.02429       504.833
61.5566      0.150775     -2       1.03657       4.08121       512.694
61.5257      0.126134     -2       1.03335       4.13425       519.848
61.5244      0.105227     -3      0.994732       4.47819       565.324
========================================
 Variances and Principal Axes
                 3        4        5  
 3.5409E-03| -0.1949  -0.9808   0.0072  
 1.8707E-01|  0.9808  -0.1949   0.0023  
 6.5664E+04|  0.0009  -0.0076  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.304e-01  -4.688e-01  -5.745e+01
  -4.688e-01   3.754e+00   4.958e+02
  -5.745e+01   4.958e+02   6.566e+04
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3794      1.57333      -3      0.989953       4.66180       583.427
61.377       0.218993     -4      0.986148       4.72475       589.872
========================================
 Variances and Principal Axes
                 3        4        5  
 4.7455E-03| -0.2350  -0.9720   0.0089  
 1.6930E-01|  0.9720  -0.2350   0.0031  
 5.1052E+04|  0.0009  -0.0093  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.004e-01  -4.606e-01  -4.528e+01
  -4.606e-01   4.470e+00   4.769e+02
  -4.528e+01   4.769e+02   5.105e+04
------------------------------------

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


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

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

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

!XSPEC12>show;

XSPEC version: 12.9.0c

Sun Dec 27 06:29:02 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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha
Net count rate (cts/s) for Spectrum:1  1.460e-01 +/- 3.466e-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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp for Source 1

 Spectral data counts: 0.145999
 Model predicted rate: 0.137013


Current model list:

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

   Using energies from responses.

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

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

!XSPEC12>error 3;
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 0.335813, 0.335512
and delta stat 2.63146, 2.76833
but latest trial 0.335672 gives 7.48306
Suggest that you check this result using the steppar command.
     3     0.335663      1.72485    (-0.652204,0.736979)

!XSPEC12>error 4;
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 8.34432, 8.56084
and delta stat 1.8992, 6.43665
but latest trial 8.3955 gives 6.43666
Suggest that you check this result using the steppar command.
     4       2.2429      8.45258    (-2.46182,3.74786)

!XSPEC12>error 5;
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 422.308, 420.552
and delta stat 0.729803, 2.77786
but latest trial 420.613 gives 2.77902
Suggest that you check this result using the steppar command.
Apparent non-monotonicity in statistic space detected.
Current bracket values 661.448, 662.592
and delta stat 0.212185, 2.84122
but latest trial 662.479 gives 2.84133
Suggest that you check this result using the steppar command.
     5       421.43       662.02    (-166.11,74.4793)

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

!XSPEC12>log none;
No log file open

!XSPEC12>query no;

!XSPEC12>model cpflux*cutep50  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

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


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

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          67.30 using 59 PHA bins.
 Reduced chi-squared =          1.202 for     56 degrees of freedom 
 Null hypothesis probability =   1.432569e-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:Flux           4:a           5:b
66.8747      0.464408      0       1.01118       1.18287       83.7865
66.5104      0.52792       0       1.02597       1.33643       88.9458
64.4134      0.576833      0       1.19020       2.36611       163.301
64.0948      1.43726       0       1.20831       2.38155       158.963
63.883       2.41591       0       1.24518       2.39171       156.288
63.8769      0.210974     -1       1.25595       2.39495       157.783
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0004E-03| -0.0848  -0.9964   0.0026  
 4.5654E-01|  0.9964  -0.0848   0.0022  
 6.9812E+05|  0.0020  -0.0027  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.208e+00  -3.839e+00  -1.387e+03
  -3.839e+00   5.246e+00   1.913e+03
  -1.387e+03   1.913e+03   6.981e+05
------------------------------------

========================================================================
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.25595      +/-  1.79113      
   4    2   cutep50    a                   2.39495      +/-  2.29047      
   5    2   cutep50    b                   157.783      +/-  835.530      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
63.8403      0.245125     -2       1.23345       2.43465       172.228
63.7552      1.43573      -2       1.19811       2.50238       193.352
63.6247      1.81537      -2       1.17198       2.57925       215.565
63.4891      1.72944      -2       1.15402       2.65390       236.185
63.3574      1.50873      -2       1.13900       2.72703       255.647
63.2259      1.32924      -2       1.12575       2.80067       274.517
63.0929      1.19249      -2       1.11418       2.87580       293.035
62.9581      1.07969      -2       1.10418       2.95280       311.274
62.8225      0.980985     -2       1.09558       3.03170       329.223
62.6874      0.891453     -2       1.08823       3.11232       346.829
62.5545      0.808341     -2       1.08193       3.19431       364.014
62.4257      0.730051     -2       1.07652       3.27718       380.686
62.3026      0.655742     -2       1.07179       3.36036       396.752
62.1869      0.585106     -2       1.06759       3.44320       412.121
62.0796      0.51821      -2       1.06374       3.52504       426.720
61.9818      0.45535      -2       1.06014       3.60522       440.490
61.8939      0.396916     -2       1.05667       3.68315       453.392
61.8158      0.343278     -2       1.05327       3.75831       465.407
61.7473      0.2947       -2       1.04989       3.83028       476.537
61.688       0.251289     -2       1.04653       3.89873       486.796
61.6369      0.212989     -2       1.04318       3.96344       496.215
61.5934      0.179593     -2       1.03985       4.02429       504.833
61.5566      0.150775     -2       1.03657       4.08121       512.694
61.5257      0.126134     -2       1.03335       4.13425       519.848
61.5244      0.105227     -3      0.994732       4.47819       565.324
========================================
 Variances and Principal Axes
                 3        4        5  
 3.5409E-03| -0.1949  -0.9808   0.0072  
 1.8707E-01|  0.9808  -0.1949   0.0023  
 6.5664E+04|  0.0009  -0.0076  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.304e-01  -4.688e-01  -5.745e+01
  -4.688e-01   3.754e+00   4.958e+02
  -5.745e+01   4.958e+02   6.566e+04
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3794      1.57333      -3      0.989953       4.66180       583.427
61.377       0.218993     -4      0.986148       4.72475       589.872
========================================
 Variances and Principal Axes
                 3        4        5  
 4.7455E-03| -0.2350  -0.9720   0.0089  
 1.6930E-01|  0.9720  -0.2350   0.0031  
 5.1052E+04|  0.0009  -0.0093  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.004e-01  -4.606e-01  -4.528e+01
  -4.606e-01   4.470e+00   4.769e+02
  -4.528e+01   4.769e+02   5.105e+04
------------------------------------

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


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

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

!XSPEC12>newpar 1 15.0;

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

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

!XSPEC12>newpar 2 150.0;

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

Test statistic : Chi-Squared =          61.38 using 59 PHA bins.
 Reduced chi-squared =          1.096 for     56 degrees of freedom 
 Null hypothesis probability =   2.893674e-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:Flux           4:a           5:b
61.3768      0.0138123    -3      0.987452       4.70983       588.287
========================================
 Variances and Principal Axes
                 3        4        5  
 4.7182E-03| -0.2381  -0.9712   0.0091  
 1.6716E-01|  0.9712  -0.2381   0.0031  
 4.9608E+04|  0.0009  -0.0096  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.970e-01  -4.587e-01  -4.401e+01
  -4.587e-01   4.555e+00   4.746e+02
  -4.401e+01   4.746e+02   4.960e+04
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                0.987452     +/-  0.443853     
   4    2   cutep50    a                   4.70983      +/-  2.13432      
   5    2   cutep50    b                   588.287      +/-  222.718      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3768      0.00992845   -3      0.987922       4.70472       587.733
========================================
 Variances and Principal Axes
                 3        4        5  
 4.6820E-03| -0.2369  -0.9715   0.0090  
 1.6756E-01|  0.9715  -0.2369   0.0031  
 4.9900E+04|  0.0009  -0.0095  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.975e-01  -4.578e-01  -4.417e+01
  -4.578e-01   4.530e+00   4.747e+02
  -4.417e+01   4.747e+02   4.990e+04
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                0.987922     +/-  0.444446     
   4    2   cutep50    a                   4.70472      +/-  2.12841      
   5    2   cutep50    b                   587.733      +/-  223.373      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3768      0.00282945   -3      0.988082       4.70293       587.541
========================================
 Variances and Principal Axes
                 3        4        5  
 4.6648E-03| -0.2364  -0.9716   0.0090  
 1.6769E-01|  0.9717  -0.2364   0.0031  
 5.0000E+04|  0.0009  -0.0095  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.977e-01  -4.574e-01  -4.423e+01
  -4.574e-01   4.521e+00   4.747e+02
  -4.423e+01   4.747e+02   5.000e+04
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                0.988082     +/-  0.444652     
   4    2   cutep50    a                   4.70293      +/-  2.12634      
   5    2   cutep50    b                   587.541      +/-  223.596      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

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

!XSPEC12>show;

XSPEC version: 12.9.0c

Sun Dec 27 06:29:03 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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha
Net count rate (cts/s) for Spectrum:1  1.460e-01 +/- 3.466e-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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp for Source 1

 Spectral data counts: 0.145999
 Model predicted rate: 0.137191


Current model list:

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      15.0000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                0.988082     +/-  0.444652     
   4    2   cutep50    a                   4.70293      +/-  2.12634      
   5    2   cutep50    b                   587.541      +/-  223.596      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

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

!XSPEC12>error 3;
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 0.336518, 0.336392
and delta stat 2.62664, 2.76583
but latest trial 0.336455 gives 7.47367
Suggest that you check this result using the steppar command.
     3     0.336455       1.7188    (-0.651682,0.730661)

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

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

Test statistic : Chi-Squared =          61.38 using 59 PHA bins.
 Reduced chi-squared =          1.096 for     56 degrees of freedom 
 Null hypothesis probability =   2.893742e-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 =          67.30 using 59 PHA bins.

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          67.30 using 59 PHA bins.
 Reduced chi-squared =          1.202 for     56 degrees of freedom 
 Null hypothesis probability =   1.432569e-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:Flux           4:a           5:b
66.8747      0.464408      0       1.01118       1.18287       83.7865
66.5104      0.52792       0       1.02597       1.33643       88.9458
64.4134      0.576833      0       1.19020       2.36611       163.301
64.0948      1.43726       0       1.20831       2.38155       158.963
63.883       2.41591       0       1.24518       2.39171       156.288
63.8769      0.210974     -1       1.25595       2.39495       157.783
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0004E-03| -0.0848  -0.9964   0.0026  
 4.5654E-01|  0.9964  -0.0848   0.0022  
 6.9812E+05|  0.0020  -0.0027  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.208e+00  -3.839e+00  -1.387e+03
  -3.839e+00   5.246e+00   1.913e+03
  -1.387e+03   1.913e+03   6.981e+05
------------------------------------

========================================================================
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.25595      +/-  1.79113      
   4    2   cutep50    a                   2.39495      +/-  2.29047      
   5    2   cutep50    b                   157.783      +/-  835.530      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
63.8403      0.245125     -2       1.23345       2.43465       172.228
63.7552      1.43573      -2       1.19811       2.50238       193.352
63.6247      1.81537      -2       1.17198       2.57925       215.565
63.4891      1.72944      -2       1.15402       2.65390       236.185
63.3574      1.50873      -2       1.13900       2.72703       255.647
63.2259      1.32924      -2       1.12575       2.80067       274.517
63.0929      1.19249      -2       1.11418       2.87580       293.035
62.9581      1.07969      -2       1.10418       2.95280       311.274
62.8225      0.980985     -2       1.09558       3.03170       329.223
62.6874      0.891453     -2       1.08823       3.11232       346.829
62.5545      0.808341     -2       1.08193       3.19431       364.014
62.4257      0.730051     -2       1.07652       3.27718       380.686
62.3026      0.655742     -2       1.07179       3.36036       396.752
62.1869      0.585106     -2       1.06759       3.44320       412.121
62.0796      0.51821      -2       1.06374       3.52504       426.720
61.9818      0.45535      -2       1.06014       3.60522       440.490
61.8939      0.396916     -2       1.05667       3.68315       453.392
61.8158      0.343278     -2       1.05327       3.75831       465.407
61.7473      0.2947       -2       1.04989       3.83028       476.537
61.688       0.251289     -2       1.04653       3.89873       486.796
61.6369      0.212989     -2       1.04318       3.96344       496.215
61.5934      0.179593     -2       1.03985       4.02429       504.833
61.5566      0.150775     -2       1.03657       4.08121       512.694
61.5257      0.126134     -2       1.03335       4.13425       519.848
61.5244      0.105227     -3      0.994732       4.47819       565.324
========================================
 Variances and Principal Axes
                 3        4        5  
 3.5409E-03| -0.1949  -0.9808   0.0072  
 1.8707E-01|  0.9808  -0.1949   0.0023  
 6.5664E+04|  0.0009  -0.0076  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.304e-01  -4.688e-01  -5.745e+01
  -4.688e-01   3.754e+00   4.958e+02
  -5.745e+01   4.958e+02   6.566e+04
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3794      1.57333      -3      0.989953       4.66180       583.427
61.377       0.218993     -4      0.986148       4.72475       589.872
========================================
 Variances and Principal Axes
                 3        4        5  
 4.7455E-03| -0.2350  -0.9720   0.0089  
 1.6930E-01|  0.9720  -0.2350   0.0031  
 5.1052E+04|  0.0009  -0.0093  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.004e-01  -4.606e-01  -4.528e+01
  -4.606e-01   4.470e+00   4.769e+02
  -4.528e+01   4.769e+02   5.105e+04
------------------------------------

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


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

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

!XSPEC12>newpar 1 15.0;

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

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

!XSPEC12>newpar 2 25.0;

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

Test statistic : Chi-Squared =          61.98 using 59 PHA bins.
 Reduced chi-squared =          1.107 for     56 degrees of freedom 
 Null hypothesis probability =   2.712584e-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:Flux           4:a           5:b
61.3769      3.61502      -3      0.830000       4.71197       588.526
61.3768      0.00922515   -4      0.829587       4.69647       586.872
========================================
 Variances and Principal Axes
                 3        4        5  
 4.7825E-03| -0.2854  -0.9584   0.0091  
 1.1609E-01|  0.9584  -0.2854   0.0027  
 4.9742E+04| -0.0000  -0.0095  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.070e-01  -2.579e-02   4.894e-01
  -2.579e-02   4.529e+00   4.739e+02
   4.894e-01   4.739e+02   4.974e+04
------------------------------------

========================================================================
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.829587     +/-  0.327143     
   4    2   cutep50    a                   4.69647      +/-  2.12807      
   5    2   cutep50    b                   586.872      +/-  223.019      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3768      0.0116409    -3      0.829537       4.70022       587.249
========================================
 Variances and Principal Axes
                 3        4        5  
 4.7489E-03| -0.2845  -0.9586   0.0091  
 1.1601E-01|  0.9587  -0.2844   0.0027  
 5.0086E+04| -0.0000  -0.0095  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.070e-01  -2.325e-02   7.489e-01
  -2.325e-02   4.506e+00   4.743e+02
   7.489e-01   4.743e+02   5.008e+04
------------------------------------

========================================================================
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.829537     +/-  0.327135     
   4    2   cutep50    a                   4.70022      +/-  2.12276      
   5    2   cutep50    b                   587.249      +/-  223.789      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3768      0.00138222   -3      0.829545       4.70141       587.376
========================================
 Variances and Principal Axes
                 3        4        5  
 4.7451E-03| -0.2846  -0.9586   0.0091  
 1.1602E-01|  0.9587  -0.2846   0.0027  
 5.0023E+04| -0.0000  -0.0095  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.070e-01  -2.387e-02   6.845e-01
  -2.387e-02   4.513e+00   4.744e+02
   6.845e-01   4.744e+02   5.002e+04
------------------------------------

========================================================================
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.829545     +/-  0.327137     
   4    2   cutep50    a                   4.70141      +/-  2.12443      
   5    2   cutep50    b                   587.376      +/-  223.649      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

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

!XSPEC12>show;

XSPEC version: 12.9.0c

Sun Dec 27 06:29:03 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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha
Net count rate (cts/s) for Spectrum:1  1.460e-01 +/- 3.466e-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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp for Source 1

 Spectral data counts: 0.145999
 Model predicted rate: 0.137203


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.829545     +/-  0.327137     
   4    2   cutep50    a                   4.70141      +/-  2.12443      
   5    2   cutep50    b                   587.376      +/-  223.649      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

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

!XSPEC12>error 3;
 Parameter   Confidence Range (2.706)
     3     0.291582       1.3676    (-0.537965,0.538051)

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

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

Test statistic : Chi-Squared =          61.38 using 59 PHA bins.
 Reduced chi-squared =          1.096 for     56 degrees of freedom 
 Null hypothesis probability =   2.893742e-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 =          67.30 using 59 PHA bins.

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          67.30 using 59 PHA bins.
 Reduced chi-squared =          1.202 for     56 degrees of freedom 
 Null hypothesis probability =   1.432569e-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:Flux           4:a           5:b
66.8747      0.464408      0       1.01118       1.18287       83.7865
66.5104      0.52792       0       1.02597       1.33643       88.9458
64.4134      0.576833      0       1.19020       2.36611       163.301
64.0948      1.43726       0       1.20831       2.38155       158.963
63.883       2.41591       0       1.24518       2.39171       156.288
63.8769      0.210974     -1       1.25595       2.39495       157.783
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0004E-03| -0.0848  -0.9964   0.0026  
 4.5654E-01|  0.9964  -0.0848   0.0022  
 6.9812E+05|  0.0020  -0.0027  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.208e+00  -3.839e+00  -1.387e+03
  -3.839e+00   5.246e+00   1.913e+03
  -1.387e+03   1.913e+03   6.981e+05
------------------------------------

========================================================================
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.25595      +/-  1.79113      
   4    2   cutep50    a                   2.39495      +/-  2.29047      
   5    2   cutep50    b                   157.783      +/-  835.530      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
63.8403      0.245125     -2       1.23345       2.43465       172.228
63.7552      1.43573      -2       1.19811       2.50238       193.352
63.6247      1.81537      -2       1.17198       2.57925       215.565
63.4891      1.72944      -2       1.15402       2.65390       236.185
63.3574      1.50873      -2       1.13900       2.72703       255.647
63.2259      1.32924      -2       1.12575       2.80067       274.517
63.0929      1.19249      -2       1.11418       2.87580       293.035
62.9581      1.07969      -2       1.10418       2.95280       311.274
62.8225      0.980985     -2       1.09558       3.03170       329.223
62.6874      0.891453     -2       1.08823       3.11232       346.829
62.5545      0.808341     -2       1.08193       3.19431       364.014
62.4257      0.730051     -2       1.07652       3.27718       380.686
62.3026      0.655742     -2       1.07179       3.36036       396.752
62.1869      0.585106     -2       1.06759       3.44320       412.121
62.0796      0.51821      -2       1.06374       3.52504       426.720
61.9818      0.45535      -2       1.06014       3.60522       440.490
61.8939      0.396916     -2       1.05667       3.68315       453.392
61.8158      0.343278     -2       1.05327       3.75831       465.407
61.7473      0.2947       -2       1.04989       3.83028       476.537
61.688       0.251289     -2       1.04653       3.89873       486.796
61.6369      0.212989     -2       1.04318       3.96344       496.215
61.5934      0.179593     -2       1.03985       4.02429       504.833
61.5566      0.150775     -2       1.03657       4.08121       512.694
61.5257      0.126134     -2       1.03335       4.13425       519.848
61.5244      0.105227     -3      0.994732       4.47819       565.324
========================================
 Variances and Principal Axes
                 3        4        5  
 3.5409E-03| -0.1949  -0.9808   0.0072  
 1.8707E-01|  0.9808  -0.1949   0.0023  
 6.5664E+04|  0.0009  -0.0076  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.304e-01  -4.688e-01  -5.745e+01
  -4.688e-01   3.754e+00   4.958e+02
  -5.745e+01   4.958e+02   6.566e+04
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3794      1.57333      -3      0.989953       4.66180       583.427
61.377       0.218993     -4      0.986148       4.72475       589.872
========================================
 Variances and Principal Axes
                 3        4        5  
 4.7455E-03| -0.2350  -0.9720   0.0089  
 1.6930E-01|  0.9720  -0.2350   0.0031  
 5.1052E+04|  0.0009  -0.0093  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.004e-01  -4.606e-01  -4.528e+01
  -4.606e-01   4.470e+00   4.769e+02
  -4.528e+01   4.769e+02   5.105e+04
------------------------------------

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


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

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

!XSPEC12>newpar 1 25.0;

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

Test statistic : Chi-Squared =         541.03 using 59 PHA bins.
 Reduced chi-squared =         9.6612 for     56 degrees of freedom 
 Null hypothesis probability =   1.566568e-80
 Current data and model not fit yet.

!XSPEC12>newpar 2 50.0;

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

Test statistic : Chi-Squared =         658.79 using 59 PHA bins.
 Reduced chi-squared =         11.764 for     56 degrees of freedom 
 Null hypothesis probability =  8.409461e-104
 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.4357      776.315      -3      0.152807       4.71056       588.442
61.3768      2.57161      -4      0.145077       4.69778       587.009
61.3768      0.00379062   -5      0.144451       4.70497       587.753
========================================
 Variances and Principal Axes
                 3        4        5  
 9.9398E-04| -0.8945  -0.4470   0.0036  
 1.6802E-02|  0.4470  -0.8945   0.0088  
 5.0386E+04|  0.0007  -0.0094  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.106e-02  -3.538e-01  -3.682e+01
  -3.538e-01   4.503e+00   4.756e+02
  -3.682e+01   4.756e+02   5.038e+04
------------------------------------

========================================================================
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.144451     +/-  0.176231     
   4    2   cutep50    a                   4.70497      +/-  2.12192      
   5    2   cutep50    b                   587.753      +/-  224.458      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3768      0.00139055   -3      0.144605       4.70303       587.550
========================================
 Variances and Principal Axes
                 3        4        5  
 9.8740E-04| -0.8956  -0.4449   0.0036  
 1.6820E-02|  0.4450  -0.8955   0.0088  
 5.0299E+04|  0.0007  -0.0095  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.092e-02  -3.538e-01  -3.671e+01
  -3.538e-01   4.519e+00   4.760e+02
  -3.671e+01   4.760e+02   5.029e+04
------------------------------------

========================================================================
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.144605     +/-  0.175836     
   4    2   cutep50    a                   4.70303      +/-  2.12588      
   5    2   cutep50    b                   587.550      +/-  224.264      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3768      0.000912881  -3      0.144663       4.70228       587.470
========================================
 Variances and Principal Axes
                 3        4        5  
 9.8907E-04| -0.8953  -0.4455   0.0036  
 1.6816E-02|  0.4455  -0.8952   0.0088  
 5.0332E+04|  0.0007  -0.0095  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.096e-02  -3.538e-01  -3.674e+01
  -3.538e-01   4.516e+00   4.760e+02
  -3.674e+01   4.760e+02   5.033e+04
------------------------------------

========================================================================
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.144663     +/-  0.175942     
   4    2   cutep50    a                   4.70228      +/-  2.12502      
   5    2   cutep50    b                   587.470      +/-  224.339      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

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

!XSPEC12>show;

XSPEC version: 12.9.0c

Sun Dec 27 06:29:04 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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha
Net count rate (cts/s) for Spectrum:1  1.460e-01 +/- 3.466e-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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp for Source 1

 Spectral data counts: 0.145999
 Model predicted rate: 0.137197


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.144663     +/-  0.175942     
   4    2   cutep50    a                   4.70228      +/-  2.12502      
   5    2   cutep50    b                   587.470      +/-  224.339      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

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

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

 Fit error occurred during lower bound error calculation.
     3            0     0.477063    (-0.144686,0.332377)

!XSPEC12>error 4;
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 7.83456, 7.83585
and delta stat 1.61741, 9.76265
but latest trial 7.83567 gives 9.76497
Suggest that you check this result using the steppar command.
     4      2.23627      7.83521    (-2.46559,3.13335)

!XSPEC12>error 5;
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 423.021, 421.407
and delta stat 0.724652, 2.77242
but latest trial 421.459 gives 2.77255
Suggest that you check this result using the steppar command.
Apparent non-monotonicity in statistic space detected.
Current bracket values 650.892, 691.345
and delta stat 0.15486, 2.84474
but latest trial 671.118 gives 2.845
Suggest that you check this result using the steppar command.
     5      422.214      671.118    (-165.211,83.6931)

!XSPEC12>log none;
Log file closed
logging switched off
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat 
_cutpow_cpflux_50_100kev_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 =          67.30 using 59 PHA bins.

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          67.30 using 59 PHA bins.
 Reduced chi-squared =          1.202 for     56 degrees of freedom 
 Null hypothesis probability =   1.432569e-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:Flux           4:a           5:b
66.8747      0.464408      0       1.01118       1.18287       83.7865
66.5104      0.52792       0       1.02597       1.33643       88.9458
64.4134      0.576833      0       1.19020       2.36611       163.301
64.0948      1.43726       0       1.20831       2.38155       158.963
63.883       2.41591       0       1.24518       2.39171       156.288
63.8769      0.210974     -1       1.25595       2.39495       157.783
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0004E-03| -0.0848  -0.9964   0.0026  
 4.5654E-01|  0.9964  -0.0848   0.0022  
 6.9812E+05|  0.0020  -0.0027  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.208e+00  -3.839e+00  -1.387e+03
  -3.839e+00   5.246e+00   1.913e+03
  -1.387e+03   1.913e+03   6.981e+05
------------------------------------

========================================================================
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.25595      +/-  1.79113      
   4    2   cutep50    a                   2.39495      +/-  2.29047      
   5    2   cutep50    b                   157.783      +/-  835.530      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
63.8403      0.245125     -2       1.23345       2.43465       172.228
63.7552      1.43573      -2       1.19811       2.50238       193.352
63.6247      1.81537      -2       1.17198       2.57925       215.565
63.4891      1.72944      -2       1.15402       2.65390       236.185
63.3574      1.50873      -2       1.13900       2.72703       255.647
63.2259      1.32924      -2       1.12575       2.80067       274.517
63.0929      1.19249      -2       1.11418       2.87580       293.035
62.9581      1.07969      -2       1.10418       2.95280       311.274
62.8225      0.980985     -2       1.09558       3.03170       329.223
62.6874      0.891453     -2       1.08823       3.11232       346.829
62.5545      0.808341     -2       1.08193       3.19431       364.014
62.4257      0.730051     -2       1.07652       3.27718       380.686
62.3026      0.655742     -2       1.07179       3.36036       396.752
62.1869      0.585106     -2       1.06759       3.44320       412.121
62.0796      0.51821      -2       1.06374       3.52504       426.720
61.9818      0.45535      -2       1.06014       3.60522       440.490
61.8939      0.396916     -2       1.05667       3.68315       453.392
61.8158      0.343278     -2       1.05327       3.75831       465.407
61.7473      0.2947       -2       1.04989       3.83028       476.537
61.688       0.251289     -2       1.04653       3.89873       486.796
61.6369      0.212989     -2       1.04318       3.96344       496.215
61.5934      0.179593     -2       1.03985       4.02429       504.833
61.5566      0.150775     -2       1.03657       4.08121       512.694
61.5257      0.126134     -2       1.03335       4.13425       519.848
61.5244      0.105227     -3      0.994732       4.47819       565.324
========================================
 Variances and Principal Axes
                 3        4        5  
 3.5409E-03| -0.1949  -0.9808   0.0072  
 1.8707E-01|  0.9808  -0.1949   0.0023  
 6.5664E+04|  0.0009  -0.0076  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.304e-01  -4.688e-01  -5.745e+01
  -4.688e-01   3.754e+00   4.958e+02
  -5.745e+01   4.958e+02   6.566e+04
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3794      1.57333      -3      0.989953       4.66180       583.427
61.377       0.218993     -4      0.986148       4.72475       589.872
========================================
 Variances and Principal Axes
                 3        4        5  
 4.7455E-03| -0.2350  -0.9720   0.0089  
 1.6930E-01|  0.9720  -0.2350   0.0031  
 5.1052E+04|  0.0009  -0.0093  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.004e-01  -4.606e-01  -4.528e+01
  -4.606e-01   4.470e+00   4.769e+02
  -4.528e+01   4.769e+02   5.105e+04
------------------------------------

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


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

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

!XSPEC12>newpar 1 50.0;

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

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

!XSPEC12>newpar 2 100.0;

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

Test statistic : Chi-Squared =       103993.8 using 59 PHA bins.
 Reduced chi-squared =       1857.032 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
185.119      139161       -3     0.0477559       4.69750       587.075
61.379       1205.41      -4     0.0131649       4.69364       586.640
61.3768      4.90023      -5     0.0127724       4.70746       588.027
========================================
 Variances and Principal Axes
                 3        4        5  
 9.8348E-06| -0.9987  -0.0506   0.0003  
 1.3228E-02|  0.0506  -0.9987   0.0094  
 4.9633E+04|  0.0001  -0.0094  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.139e-03  -6.977e-02  -7.373e+00
  -6.977e-02   4.372e+00   4.651e+02
  -7.373e+00   4.651e+02   4.963e+04
------------------------------------

========================================================================
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                1.27724E-02  +/-  3.37518E-02  
   4    2   cutep50    a                   4.70746      +/-  2.09090      
   5    2   cutep50    b                   588.027      +/-  222.774      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3768      0.27483      -3     0.0128256       4.70434       587.688
========================================
 Variances and Principal Axes
                 3        4        5  
 9.4770E-06| -0.9988  -0.0491   0.0003  
 1.3606E-02|  0.0491  -0.9987   0.0094  
 5.0749E+04|  0.0001  -0.0094  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.108e-03  -6.996e-02  -7.355e+00
  -6.996e-02   4.517e+00   4.780e+02
  -7.355e+00   4.780e+02   5.074e+04
------------------------------------

========================================================================
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                1.28256E-02  +/-  3.32933E-02  
   4    2   cutep50    a                   4.70434      +/-  2.12525      
   5    2   cutep50    b                   587.688      +/-  225.266      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3768      0.000753688  -3     0.0128490       4.70284       587.529
========================================
 Variances and Principal Axes
                 3        4        5  
 9.5443E-06| -0.9988  -0.0494   0.0003  
 1.3567E-02|  0.0494  -0.9987   0.0094  
 5.0770E+04|  0.0001  -0.0094  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.115e-03  -7.010e-02  -7.380e+00
  -7.010e-02   4.508e+00   4.776e+02
  -7.380e+00   4.776e+02   5.077e+04
------------------------------------

========================================================================
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                1.28490E-02  +/-  3.33966E-02  
   4    2   cutep50    a                   4.70284      +/-  2.12314      
   5    2   cutep50    b                   587.529      +/-  225.312      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

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

!XSPEC12>show;

XSPEC version: 12.9.0c

Sun Dec 27 06:29:05 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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha
Net count rate (cts/s) for Spectrum:1  1.460e-01 +/- 3.466e-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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp for Source 1

 Spectral data counts: 0.145999
 Model predicted rate: 0.137198


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                1.28490E-02  +/-  3.33966E-02  
   4    2   cutep50    a                   4.70284      +/-  2.12314      
   5    2   cutep50    b                   587.529      +/-  225.312      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

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

!XSPEC12>error 3;
 Parameter   Confidence Range (2.706)
***Warning: Zero alpha-matrix diagonal element for parameter 4
***Warning: Zero alpha-matrix diagonal element for parameter 5
 Parameter 4 is pegged at 4.70284 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
 Parameter 5 is pegged at 587.529 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.
Apparent non-monotonicity in statistic space detected.
Current bracket values 0.01286, 0.232609
and delta stat 0, 3.11998
but latest trial 0.217511 gives 3.2317
Suggest that you check this result using the steppar command.
     3            0     0.122734    (-0.01286,0.109874)

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

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

Test statistic : Chi-Squared =          61.38 using 59 PHA bins.
 Reduced chi-squared =          1.096 for     56 degrees of freedom 
 Null hypothesis probability =   2.893742e-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 =          67.30 using 59 PHA bins.

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          67.30 using 59 PHA bins.
 Reduced chi-squared =          1.202 for     56 degrees of freedom 
 Null hypothesis probability =   1.432569e-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:Flux           4:a           5:b
66.8747      0.464408      0       1.01118       1.18287       83.7865
66.5104      0.52792       0       1.02597       1.33643       88.9458
64.4134      0.576833      0       1.19020       2.36611       163.301
64.0948      1.43726       0       1.20831       2.38155       158.963
63.883       2.41591       0       1.24518       2.39171       156.288
63.8769      0.210974     -1       1.25595       2.39495       157.783
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0004E-03| -0.0848  -0.9964   0.0026  
 4.5654E-01|  0.9964  -0.0848   0.0022  
 6.9812E+05|  0.0020  -0.0027  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.208e+00  -3.839e+00  -1.387e+03
  -3.839e+00   5.246e+00   1.913e+03
  -1.387e+03   1.913e+03   6.981e+05
------------------------------------

========================================================================
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.25595      +/-  1.79113      
   4    2   cutep50    a                   2.39495      +/-  2.29047      
   5    2   cutep50    b                   157.783      +/-  835.530      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
63.8403      0.245125     -2       1.23345       2.43465       172.228
63.7552      1.43573      -2       1.19811       2.50238       193.352
63.6247      1.81537      -2       1.17198       2.57925       215.565
63.4891      1.72944      -2       1.15402       2.65390       236.185
63.3574      1.50873      -2       1.13900       2.72703       255.647
63.2259      1.32924      -2       1.12575       2.80067       274.517
63.0929      1.19249      -2       1.11418       2.87580       293.035
62.9581      1.07969      -2       1.10418       2.95280       311.274
62.8225      0.980985     -2       1.09558       3.03170       329.223
62.6874      0.891453     -2       1.08823       3.11232       346.829
62.5545      0.808341     -2       1.08193       3.19431       364.014
62.4257      0.730051     -2       1.07652       3.27718       380.686
62.3026      0.655742     -2       1.07179       3.36036       396.752
62.1869      0.585106     -2       1.06759       3.44320       412.121
62.0796      0.51821      -2       1.06374       3.52504       426.720
61.9818      0.45535      -2       1.06014       3.60522       440.490
61.8939      0.396916     -2       1.05667       3.68315       453.392
61.8158      0.343278     -2       1.05327       3.75831       465.407
61.7473      0.2947       -2       1.04989       3.83028       476.537
61.688       0.251289     -2       1.04653       3.89873       486.796
61.6369      0.212989     -2       1.04318       3.96344       496.215
61.5934      0.179593     -2       1.03985       4.02429       504.833
61.5566      0.150775     -2       1.03657       4.08121       512.694
61.5257      0.126134     -2       1.03335       4.13425       519.848
61.5244      0.105227     -3      0.994732       4.47819       565.324
========================================
 Variances and Principal Axes
                 3        4        5  
 3.5409E-03| -0.1949  -0.9808   0.0072  
 1.8707E-01|  0.9808  -0.1949   0.0023  
 6.5664E+04|  0.0009  -0.0076  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.304e-01  -4.688e-01  -5.745e+01
  -4.688e-01   3.754e+00   4.958e+02
  -5.745e+01   4.958e+02   6.566e+04
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3794      1.57333      -3      0.989953       4.66180       583.427
61.377       0.218993     -4      0.986148       4.72475       589.872
========================================
 Variances and Principal Axes
                 3        4        5  
 4.7455E-03| -0.2350  -0.9720   0.0089  
 1.6930E-01|  0.9720  -0.2350   0.0031  
 5.1052E+04|  0.0009  -0.0093  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.004e-01  -4.606e-01  -4.528e+01
  -4.606e-01   4.470e+00   4.769e+02
  -4.528e+01   4.769e+02   5.105e+04
------------------------------------

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


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

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

!XSPEC12>newpar 1 100.0;

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

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

!XSPEC12>newpar 2 150.0;

Fit statistic : Chi-Squared =   1.579884e+07 using 59 PHA bins.

Test statistic : Chi-Squared =   1.579884e+07 using 59 PHA bins.
 Reduced chi-squared =       282122.1 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
61550        2.37474e+07  -3     0.0667076       4.68920       586.181
81.7396      325569       -4    0.00233325       4.67901       585.094
61.4032      5582.37      -5    0.00103863       4.69717       587.002
61.3768      207.368      -6    0.00106456       4.70490       587.753
61.3768      1.40952      -4    0.00107396       4.69976       587.199
========================================
 Variances and Principal Axes
                 3        4        5  
 6.5879E-08| -1.0000  -0.0047   0.0000  
 1.3391E-02|  0.0047  -0.9999   0.0094  
 5.1126E+04|  0.0000  -0.0094  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.663e-05  -8.597e-03  -9.120e-01
  -8.597e-03   4.490e+00   4.784e+02
  -9.120e-01   4.784e+02   5.112e+04
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      100.000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                1.07396E-03  +/-  4.07811E-03  
   4    2   cutep50    a                   4.69976      +/-  2.11891      
   5    2   cutep50    b                   587.199      +/-  226.100      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3768      0.338208     -3    0.00107266       4.70045       587.276
========================================
 Variances and Principal Axes
                 3        4        5  
 6.7074E-08| -1.0000  -0.0047   0.0000  
 1.3361E-02|  0.0047  -0.9999   0.0093  
 5.1268E+04|  0.0000  -0.0093  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.690e-05  -8.662e-03  -9.207e-01
  -8.662e-03   4.485e+00   4.788e+02
  -9.207e-01   4.788e+02   5.126e+04
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      100.000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                1.07266E-03  +/-  4.11122E-03  
   4    2   cutep50    a                   4.70045      +/-  2.11769      
   5    2   cutep50    b                   587.276      +/-  226.414      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3768      0.0744499    -3    0.00107193       4.70082       587.316
========================================
 Variances and Principal Axes
                 3        4        5  
 6.6922E-08| -1.0000  -0.0047   0.0000  
 1.3369E-02|  0.0047  -0.9999   0.0093  
 5.1252E+04|  0.0000  -0.0093  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.687e-05  -8.653e-03  -9.196e-01
  -8.653e-03   4.486e+00   4.787e+02
  -9.196e-01   4.787e+02   5.125e+04
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      100.000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                1.07193E-03  +/-  4.10676E-03  
   4    2   cutep50    a                   4.70082      +/-  2.11793      
   5    2   cutep50    b                   587.316      +/-  226.379      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

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

!XSPEC12>show;

XSPEC version: 12.9.0c

Sun Dec 27 06:29:05 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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha
Net count rate (cts/s) for Spectrum:1  1.460e-01 +/- 3.466e-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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp for Source 1

 Spectral data counts: 0.145999
 Model predicted rate: 0.137200


Current model list:

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      100.000      frozen
   2    1   cpflux     Emax       keV      150.000      frozen
   3    1   cpflux     Flux                1.07193E-03  +/-  4.10676E-03  
   4    2   cutep50    a                   4.70082      +/-  2.11793      
   5    2   cutep50    b                   587.316      +/-  226.379      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

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

!XSPEC12>error 3;
 Parameter   Confidence Range (2.706)
***Warning: Zero alpha-matrix diagonal element for parameter 4
***Warning: Zero alpha-matrix diagonal element for parameter 5
 Parameter 4 is pegged at 4.70082 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
 Parameter 5 is pegged at 587.316 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.
Error occurred during upper bound error calculation.

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

Test statistic : Chi-Squared =          61.38 using 59 PHA bins.
 Reduced chi-squared =          1.096 for     56 degrees of freedom 
 Null hypothesis probability =   2.893742e-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 =          67.30 using 59 PHA bins.

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

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          67.30 using 59 PHA bins.
 Reduced chi-squared =          1.202 for     56 degrees of freedom 
 Null hypothesis probability =   1.432569e-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:Flux           4:a           5:b
66.8747      0.464408      0       1.01118       1.18287       83.7865
66.5104      0.52792       0       1.02597       1.33643       88.9458
64.4134      0.576833      0       1.19020       2.36611       163.301
64.0948      1.43726       0       1.20831       2.38155       158.963
63.883       2.41591       0       1.24518       2.39171       156.288
63.8769      0.210974     -1       1.25595       2.39495       157.783
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0004E-03| -0.0848  -0.9964   0.0026  
 4.5654E-01|  0.9964  -0.0848   0.0022  
 6.9812E+05|  0.0020  -0.0027  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.208e+00  -3.839e+00  -1.387e+03
  -3.839e+00   5.246e+00   1.913e+03
  -1.387e+03   1.913e+03   6.981e+05
------------------------------------

========================================================================
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.25595      +/-  1.79113      
   4    2   cutep50    a                   2.39495      +/-  2.29047      
   5    2   cutep50    b                   157.783      +/-  835.530      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
63.8403      0.245125     -2       1.23345       2.43465       172.228
63.7552      1.43573      -2       1.19811       2.50238       193.352
63.6247      1.81537      -2       1.17198       2.57925       215.565
63.4891      1.72944      -2       1.15402       2.65390       236.185
63.3574      1.50873      -2       1.13900       2.72703       255.647
63.2259      1.32924      -2       1.12575       2.80067       274.517
63.0929      1.19249      -2       1.11418       2.87580       293.035
62.9581      1.07969      -2       1.10418       2.95280       311.274
62.8225      0.980985     -2       1.09558       3.03170       329.223
62.6874      0.891453     -2       1.08823       3.11232       346.829
62.5545      0.808341     -2       1.08193       3.19431       364.014
62.4257      0.730051     -2       1.07652       3.27718       380.686
62.3026      0.655742     -2       1.07179       3.36036       396.752
62.1869      0.585106     -2       1.06759       3.44320       412.121
62.0796      0.51821      -2       1.06374       3.52504       426.720
61.9818      0.45535      -2       1.06014       3.60522       440.490
61.8939      0.396916     -2       1.05667       3.68315       453.392
61.8158      0.343278     -2       1.05327       3.75831       465.407
61.7473      0.2947       -2       1.04989       3.83028       476.537
61.688       0.251289     -2       1.04653       3.89873       486.796
61.6369      0.212989     -2       1.04318       3.96344       496.215
61.5934      0.179593     -2       1.03985       4.02429       504.833
61.5566      0.150775     -2       1.03657       4.08121       512.694
61.5257      0.126134     -2       1.03335       4.13425       519.848
61.5244      0.105227     -3      0.994732       4.47819       565.324
========================================
 Variances and Principal Axes
                 3        4        5  
 3.5409E-03| -0.1949  -0.9808   0.0072  
 1.8707E-01|  0.9808  -0.1949   0.0023  
 6.5664E+04|  0.0009  -0.0076  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.304e-01  -4.688e-01  -5.745e+01
  -4.688e-01   3.754e+00   4.958e+02
  -5.745e+01   4.958e+02   6.566e+04
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3794      1.57333      -3      0.989953       4.66180       583.427
61.377       0.218993     -4      0.986148       4.72475       589.872
========================================
 Variances and Principal Axes
                 3        4        5  
 4.7455E-03| -0.2350  -0.9720   0.0089  
 1.6930E-01|  0.9720  -0.2350   0.0031  
 5.1052E+04|  0.0009  -0.0093  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.004e-01  -4.606e-01  -4.528e+01
  -4.606e-01   4.470e+00   4.769e+02
  -4.528e+01   4.769e+02   5.105e+04
------------------------------------

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


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

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

!XSPEC12>newpar 1 100.0;

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

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

!XSPEC12>newpar 2 350.0;

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

Test statistic : Chi-Squared =   8.145520e+06 using 59 PHA bins.
 Reduced chi-squared =       145455.7 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
38488.6      1.25379e+07  -3     0.0742636       4.68774       586.021
77.2621      185752       -4    0.00307915       4.67707       584.880
61.4092      3508.98      -5    0.00144190       4.69812       587.105
61.3768      164.854      -6    0.00148831       4.70398       587.654
61.3768      1.09276      -4    0.00149883       4.70010       587.236
========================================
 Variances and Principal Axes
                 3        4        5  
 1.2876E-07| -1.0000  -0.0067   0.0000  
 1.3356E-02|  0.0067  -0.9999   0.0093  
 5.1237E+04|  0.0000  -0.0093  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.717e-05  -1.285e-02  -1.366e+00
  -1.285e-02   4.485e+00   4.786e+02
  -1.366e+00   4.786e+02   5.123e+04
------------------------------------

========================================================================
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.49883E-03  +/-  6.09641E-03  
   4    2   cutep50    a                   4.70010      +/-  2.11778      
   5    2   cutep50    b                   587.236      +/-  226.346      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3768      0.261712     -3    0.00149743       4.70060       587.292
========================================
 Variances and Principal Axes
                 3        4        5  
 1.3064E-07| -1.0000  -0.0068   0.0000  
 1.3335E-02|  0.0068  -0.9999   0.0093  
 5.1352E+04|  0.0000  -0.0093  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.767e-05  -1.294e-02  -1.377e+00
  -1.294e-02   4.482e+00   4.790e+02
  -1.377e+00   4.790e+02   5.135e+04
------------------------------------

========================================================================
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.49743E-03  +/-  6.13732E-03  
   4    2   cutep50    a                   4.70060      +/-  2.11702      
   5    2   cutep50    b                   587.292      +/-  226.600      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
61.3768      0.0430745    -3    0.00149663       4.70087       587.321
========================================
 Variances and Principal Axes
                 3        4        5  
 1.3041E-07| -1.0000  -0.0068   0.0000  
 1.3341E-02|  0.0068  -0.9999   0.0093  
 5.1341E+04|  0.0000  -0.0093  -1.0000  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.760e-05  -1.293e-02  -1.376e+00
  -1.293e-02   4.483e+00   4.790e+02
  -1.376e+00   4.790e+02   5.134e+04
------------------------------------

========================================================================
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.49663E-03  +/-  6.13208E-03  
   4    2   cutep50    a                   4.70087      +/-  2.11720      
   5    2   cutep50    b                   587.321      +/-  226.576      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

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

!XSPEC12>show;

XSPEC version: 12.9.0c

Sun Dec 27 06:29:05 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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha
Net count rate (cts/s) for Spectrum:1  1.460e-01 +/- 3.466e-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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp for Source 1

 Spectral data counts: 0.145999
 Model predicted rate: 0.137200


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.49663E-03  +/-  6.13208E-03  
   4    2   cutep50    a                   4.70087      +/-  2.11720      
   5    2   cutep50    b                   587.321      +/-  226.576      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

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

!XSPEC12>error 3;
 Parameter   Confidence Range (2.706)
***Warning: Zero alpha-matrix diagonal element for parameter 4
***Warning: Zero alpha-matrix diagonal element for parameter 5
 Parameter 4 is pegged at 4.70087 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
 Parameter 5 is pegged at 587.321 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.
Error occurred during upper bound error calculation.

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

Test statistic : Chi-Squared =          61.38 using 59 PHA bins.
 Reduced chi-squared =          1.096 for     56 degrees of freedom 
 Null hypothesis probability =   2.893742e-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 =          76.19 using 59 PHA bins.

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.385 for     55 degrees of freedom 
 Null hypothesis probability =   3.080412e-02
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.361 for     56 degrees of freedom 
 Null hypothesis probability =   3.764049e-02
 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
72.5958      0.863897      0      -7.69716       1.87160       12.2798
65.9121      2.23989       0      -7.21599       1.72983       4.89947
65.4696      1.99545      -1      -7.28311       1.72945       4.35086
65.4191      0.327136     -2      -7.30381       1.79118       3.07202
65.418       0.0568904    -2      -7.30722       1.80959       2.78610
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0432E-02| -0.7826   0.6208   0.0472  
 3.1323E-02|  0.6226   0.7802   0.0608  
 5.2026E+03| -0.0009  -0.0770   0.9970  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.257e-02   3.631e-01  -4.572e+00
   3.631e-01   3.085e+01  -3.993e+02
  -4.572e+00  -3.993e+02   5.172e+03
------------------------------------

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


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00288343   -1      -7.30743       1.81144       2.75840
========================================
 Variances and Principal Axes
                 3        4        5  
 9.6536E-03| -0.7170   0.6950   0.0527  
 2.8297E-02|  0.6970   0.7149   0.0555  
 5.2524E+03| -0.0009  -0.0765   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.306e-02   3.750e-01  -4.767e+00
   3.750e-01   3.075e+01  -4.006e+02
  -4.767e+00  -4.006e+02   5.222e+03
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00418008    0      -7.30743       1.81146       2.75812
========================================
 Variances and Principal Axes
                 3        4        5  
 9.5595E-03| -0.7097   0.7025   0.0532  
 2.8016E-02|  0.7046   0.7075   0.0549  
 5.2512E+03| -0.0009  -0.0764   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.311e-02   3.761e-01  -4.786e+00
   3.761e-01   3.068e+01  -4.001e+02
  -4.786e+00  -4.001e+02   5.221e+03
------------------------------------

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


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

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

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

!XSPEC12>show;

XSPEC version: 12.9.0c

Sun Dec 27 06:29:06 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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha
Net count rate (cts/s) for Spectrum:1  1.460e-01 +/- 3.466e-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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp for Source 1

 Spectral data counts: 0.145999
 Model predicted rate: 0.101632


Current model list:

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

   Using energies from responses.

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

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

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

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

Test statistic : Chi-Squared =          65.42 using 59 PHA bins.
 Reduced chi-squared =          1.168 for     56 degrees of freedom 
 Null hypothesis probability =   1.823023e-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 =          76.19 using 59 PHA bins.

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.385 for     55 degrees of freedom 
 Null hypothesis probability =   3.080412e-02
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.361 for     56 degrees of freedom 
 Null hypothesis probability =   3.764049e-02
 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
72.5958      0.863897      0      -7.69716       1.87160       12.2798
65.9121      2.23989       0      -7.21599       1.72983       4.89947
65.4696      1.99545      -1      -7.28311       1.72945       4.35086
65.4191      0.327136     -2      -7.30381       1.79118       3.07202
65.418       0.0568904    -2      -7.30722       1.80959       2.78610
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0432E-02| -0.7826   0.6208   0.0472  
 3.1323E-02|  0.6226   0.7802   0.0608  
 5.2026E+03| -0.0009  -0.0770   0.9970  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.257e-02   3.631e-01  -4.572e+00
   3.631e-01   3.085e+01  -3.993e+02
  -4.572e+00  -3.993e+02   5.172e+03
------------------------------------

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


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00288343   -1      -7.30743       1.81144       2.75840
========================================
 Variances and Principal Axes
                 3        4        5  
 9.6536E-03| -0.7170   0.6950   0.0527  
 2.8297E-02|  0.6970   0.7149   0.0555  
 5.2524E+03| -0.0009  -0.0765   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.306e-02   3.750e-01  -4.767e+00
   3.750e-01   3.075e+01  -4.006e+02
  -4.767e+00  -4.006e+02   5.222e+03
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00418008    0      -7.30743       1.81146       2.75812
========================================
 Variances and Principal Axes
                 3        4        5  
 9.5595E-03| -0.7097   0.7025   0.0532  
 2.8016E-02|  0.7046   0.7075   0.0549  
 5.2512E+03| -0.0009  -0.0764   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.311e-02   3.761e-01  -4.786e+00
   3.761e-01   3.068e+01  -4.001e+02
  -4.786e+00  -4.001e+02   5.221e+03
------------------------------------

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


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

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

!XSPEC12>newpar 1 15.0;

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

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

!XSPEC12>newpar 2 150.0;

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

Test statistic : Chi-Squared =          65.42 using 59 PHA bins.
 Reduced chi-squared =          1.168 for     56 degrees of freedom 
 Null hypothesis probability =   1.823023e-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
65.418       0.00437012    0      -7.30743       1.81147       2.75784
========================================
 Variances and Principal Axes
                 3        4        5  
 9.5629E-03| -0.7098   0.7024   0.0532  
 2.7998E-02|  0.7044   0.7076   0.0549  
 5.2506E+03| -0.0009  -0.0764   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.303e-02   3.732e-01  -4.749e+00
   3.732e-01   3.068e+01  -4.001e+02
  -4.749e+00  -4.001e+02   5.220e+03
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.30743     +/-  0.151767     
   4    2   cutep50    a                   1.81147      +/-  5.53892      
   5    2   cutep50    b                   2.75784      +/-  72.2491      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.0043864     0      -7.30744       1.81149       2.75756
========================================
 Variances and Principal Axes
                 3        4        5  
 9.5620E-03| -0.7097   0.7025   0.0532  
 2.7995E-02|  0.7045   0.7076   0.0549  
 5.2506E+03| -0.0009  -0.0764   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.303e-02   3.732e-01  -4.749e+00
   3.732e-01   3.068e+01  -4.001e+02
  -4.749e+00  -4.001e+02   5.220e+03
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.30744     +/-  0.151769     
   4    2   cutep50    a                   1.81149      +/-  5.53888      
   5    2   cutep50    b                   2.75756      +/-  72.2491      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00440228    0      -7.30744       1.81151       2.75728
========================================
 Variances and Principal Axes
                 3        4        5  
 9.5611E-03| -0.7096   0.7026   0.0532  
 2.7992E-02|  0.7046   0.7075   0.0549  
 5.2506E+03| -0.0009  -0.0764   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.303e-02   3.732e-01  -4.750e+00
   3.732e-01   3.068e+01  -4.001e+02
  -4.750e+00  -4.001e+02   5.220e+03
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.30744     +/-  0.151771     
   4    2   cutep50    a                   1.81151      +/-  5.53883      
   5    2   cutep50    b                   2.75728      +/-  72.2492      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

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

!XSPEC12>show;

XSPEC version: 12.9.0c

Sun Dec 27 06:29:06 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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha
Net count rate (cts/s) for Spectrum:1  1.460e-01 +/- 3.466e-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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp for Source 1

 Spectral data counts: 0.145999
 Model predicted rate: 0.101632


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.30744     +/-  0.151771     
   4    2   cutep50    a                   1.81151      +/-  5.53883      
   5    2   cutep50    b                   2.75728      +/-  72.2492      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

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

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

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

Test statistic : Chi-Squared =          65.42 using 59 PHA bins.
 Reduced chi-squared =          1.168 for     56 degrees of freedom 
 Null hypothesis probability =   1.823023e-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 =          76.19 using 59 PHA bins.

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.385 for     55 degrees of freedom 
 Null hypothesis probability =   3.080412e-02
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.361 for     56 degrees of freedom 
 Null hypothesis probability =   3.764049e-02
 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
72.5958      0.863897      0      -7.69716       1.87160       12.2798
65.9121      2.23989       0      -7.21599       1.72983       4.89947
65.4696      1.99545      -1      -7.28311       1.72945       4.35086
65.4191      0.327136     -2      -7.30381       1.79118       3.07202
65.418       0.0568904    -2      -7.30722       1.80959       2.78610
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0432E-02| -0.7826   0.6208   0.0472  
 3.1323E-02|  0.6226   0.7802   0.0608  
 5.2026E+03| -0.0009  -0.0770   0.9970  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.257e-02   3.631e-01  -4.572e+00
   3.631e-01   3.085e+01  -3.993e+02
  -4.572e+00  -3.993e+02   5.172e+03
------------------------------------

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


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00288343   -1      -7.30743       1.81144       2.75840
========================================
 Variances and Principal Axes
                 3        4        5  
 9.6536E-03| -0.7170   0.6950   0.0527  
 2.8297E-02|  0.6970   0.7149   0.0555  
 5.2524E+03| -0.0009  -0.0765   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.306e-02   3.750e-01  -4.767e+00
   3.750e-01   3.075e+01  -4.006e+02
  -4.767e+00  -4.006e+02   5.222e+03
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00418008    0      -7.30743       1.81146       2.75812
========================================
 Variances and Principal Axes
                 3        4        5  
 9.5595E-03| -0.7097   0.7025   0.0532  
 2.8016E-02|  0.7046   0.7075   0.0549  
 5.2512E+03| -0.0009  -0.0764   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.311e-02   3.761e-01  -4.786e+00
   3.761e-01   3.068e+01  -4.001e+02
  -4.786e+00  -4.001e+02   5.221e+03
------------------------------------

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


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

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

!XSPEC12>newpar 1 15.0;

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

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

!XSPEC12>newpar 2 25.0;

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

Test statistic : Chi-Squared =          70.24 using 59 PHA bins.
 Reduced chi-squared =          1.254 for     56 degrees of freedom 
 Null hypothesis probability =   9.546078e-02
 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
65.6348      10.7933      -3      -7.47028       1.93098       1.19218
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat 
_cutpow_cflux_25_50kev_fit.xcm

!XSPEC12>log none;
No log file open

!XSPEC12>query no;

!XSPEC12>model cflux*cutep50  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     -8.0        1.00000E+02  -30.000      -30.000      1.0000       1.0000  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

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


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

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.385 for     55 degrees of freedom 
 Null hypothesis probability =   3.080412e-02
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.361 for     56 degrees of freedom 
 Null hypothesis probability =   3.764049e-02
 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
72.5958      0.863897      0      -7.69716       1.87160       12.2798
65.9121      2.23989       0      -7.21599       1.72983       4.89947
65.4696      1.99545      -1      -7.28311       1.72945       4.35086
65.4191      0.327136     -2      -7.30381       1.79118       3.07202
65.418       0.0568904    -2      -7.30722       1.80959       2.78610
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0432E-02| -0.7826   0.6208   0.0472  
 3.1323E-02|  0.6226   0.7802   0.0608  
 5.2026E+03| -0.0009  -0.0770   0.9970  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.257e-02   3.631e-01  -4.572e+00
   3.631e-01   3.085e+01  -3.993e+02
  -4.572e+00  -3.993e+02   5.172e+03
------------------------------------

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


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00288343   -1      -7.30743       1.81144       2.75840
========================================
 Variances and Principal Axes
                 3        4        5  
 9.6536E-03| -0.7170   0.6950   0.0527  
 2.8297E-02|  0.6970   0.7149   0.0555  
 5.2524E+03| -0.0009  -0.0765   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.306e-02   3.750e-01  -4.767e+00
   3.750e-01   3.075e+01  -4.006e+02
  -4.767e+00  -4.006e+02   5.222e+03
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00418008    0      -7.30743       1.81146       2.75812
========================================
 Variances and Principal Axes
                 3        4        5  
 9.5595E-03| -0.7097   0.7025   0.0532  
 2.8016E-02|  0.7046   0.7075   0.0549  
 5.2512E+03| -0.0009  -0.0764   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.311e-02   3.761e-01  -4.786e+00
   3.761e-01   3.068e+01  -4.001e+02
  -4.786e+00  -4.001e+02   5.221e+03
------------------------------------

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


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

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

!XSPEC12>newpar 1 25.0;

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

Test statistic : Chi-Squared =         101.29 using 59 PHA bins.
 Reduced chi-squared =         1.8088 for     56 degrees of freedom 
 Null hypothesis probability =   2.010090e-04
 Current data and model not fit yet.

!XSPEC12>newpar 2 50.0;

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

Test statistic : Chi-Squared =         118.10 using 59 PHA bins.
 Reduced chi-squared =         2.1090 for     56 degrees of freedom 
 Null hypothesis probability =   2.486531e-06
 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
69.3323      110.899      -3      -7.59455       1.82779       2.55178
65.5102      16.5587      -3      -7.74668       1.86630       2.03934
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat 
_cutpow_cflux_50_100kev_fit.xcm

!XSPEC12>log none;
No log file open

!XSPEC12>query no;

!XSPEC12>model cflux*cutep50  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     -8.0        1.00000E+02  -30.000      -30.000      1.0000       1.0000  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

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


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

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.385 for     55 degrees of freedom 
 Null hypothesis probability =   3.080412e-02
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.361 for     56 degrees of freedom 
 Null hypothesis probability =   3.764049e-02
 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
72.5958      0.863897      0      -7.69716       1.87160       12.2798
65.9121      2.23989       0      -7.21599       1.72983       4.89947
65.4696      1.99545      -1      -7.28311       1.72945       4.35086
65.4191      0.327136     -2      -7.30381       1.79118       3.07202
65.418       0.0568904    -2      -7.30722       1.80959       2.78610
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0432E-02| -0.7826   0.6208   0.0472  
 3.1323E-02|  0.6226   0.7802   0.0608  
 5.2026E+03| -0.0009  -0.0770   0.9970  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.257e-02   3.631e-01  -4.572e+00
   3.631e-01   3.085e+01  -3.993e+02
  -4.572e+00  -3.993e+02   5.172e+03
------------------------------------

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


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00288343   -1      -7.30743       1.81144       2.75840
========================================
 Variances and Principal Axes
                 3        4        5  
 9.6536E-03| -0.7170   0.6950   0.0527  
 2.8297E-02|  0.6970   0.7149   0.0555  
 5.2524E+03| -0.0009  -0.0765   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.306e-02   3.750e-01  -4.767e+00
   3.750e-01   3.075e+01  -4.006e+02
  -4.767e+00  -4.006e+02   5.222e+03
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00418008    0      -7.30743       1.81146       2.75812
========================================
 Variances and Principal Axes
                 3        4        5  
 9.5595E-03| -0.7097   0.7025   0.0532  
 2.8016E-02|  0.7046   0.7075   0.0549  
 5.2512E+03| -0.0009  -0.0764   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.311e-02   3.761e-01  -4.786e+00
   3.761e-01   3.068e+01  -4.001e+02
  -4.786e+00  -4.001e+02   5.221e+03
------------------------------------

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


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

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

!XSPEC12>newpar 1 50.0;

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

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

!XSPEC12>newpar 2 100.0;

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

Test statistic : Chi-Squared =        6557.84 using 59 PHA bins.
 Reduced chi-squared =        117.104 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
900.283      30589        -3      -7.70459       1.81373       2.76530
161.726      4227.53      -4      -8.08812       1.81514       2.74636
73.7234      597.739      -5      -8.40513       1.82603       2.59109
65.5912      90.4729      -6      -8.59138       1.89610       1.62125
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat 
_cutpow_cflux_100_150kev_fit.xcm

!XSPEC12>log none;
No log file open

!XSPEC12>query no;

!XSPEC12>model cflux*cutep50  ;     15.000     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     350.00     -1.00000E-02  -100.00      -100.00      1.00000E+10  1.00000E+10  ;     -8.0        1.00000E+02  -30.000      -30.000      1.0000       1.0000  ;     1.0000      1.00000E-02  -10.0000      -9.0000       9.0000       10.000  ;       80.0      1.00000E-02  1.00000E-02   1.0000       1000.0       10000.  ;     1.0000      1.00000E-02   0.0000       0.0000      1.00000E+24  1.00000E+24;

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


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

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.385 for     55 degrees of freedom 
 Null hypothesis probability =   3.080412e-02
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.361 for     56 degrees of freedom 
 Null hypothesis probability =   3.764049e-02
 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
72.5958      0.863897      0      -7.69716       1.87160       12.2798
65.9121      2.23989       0      -7.21599       1.72983       4.89947
65.4696      1.99545      -1      -7.28311       1.72945       4.35086
65.4191      0.327136     -2      -7.30381       1.79118       3.07202
65.418       0.0568904    -2      -7.30722       1.80959       2.78610
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0432E-02| -0.7826   0.6208   0.0472  
 3.1323E-02|  0.6226   0.7802   0.0608  
 5.2026E+03| -0.0009  -0.0770   0.9970  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.257e-02   3.631e-01  -4.572e+00
   3.631e-01   3.085e+01  -3.993e+02
  -4.572e+00  -3.993e+02   5.172e+03
------------------------------------

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


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00288343   -1      -7.30743       1.81144       2.75840
========================================
 Variances and Principal Axes
                 3        4        5  
 9.6536E-03| -0.7170   0.6950   0.0527  
 2.8297E-02|  0.6970   0.7149   0.0555  
 5.2524E+03| -0.0009  -0.0765   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.306e-02   3.750e-01  -4.767e+00
   3.750e-01   3.075e+01  -4.006e+02
  -4.767e+00  -4.006e+02   5.222e+03
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00418008    0      -7.30743       1.81146       2.75812
========================================
 Variances and Principal Axes
                 3        4        5  
 9.5595E-03| -0.7097   0.7025   0.0532  
 2.8016E-02|  0.7046   0.7075   0.0549  
 5.2512E+03| -0.0009  -0.0764   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.311e-02   3.761e-01  -4.786e+00
   3.761e-01   3.068e+01  -4.001e+02
  -4.786e+00  -4.001e+02   5.221e+03
------------------------------------

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


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

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

!XSPEC12>newpar 1 100.0;

Fit statistic : Chi-Squared =   1.662168e+07 using 59 PHA bins.

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

!XSPEC12>newpar 2 150.0;

Fit statistic : Chi-Squared =   1.746336e+07 using 59 PHA bins.

Test statistic : Chi-Squared =   1.746336e+07 using 59 PHA bins.
 Reduced chi-squared =       311845.7 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
2.41091e+06  1.90249e+08  -3      -7.67102       1.81367       2.79627
328740       2.59112e+07  -4      -8.09377       1.81372       2.80455
44510.4      3.53483e+06  -5      -8.52215       1.81257       2.82240
5643.94      479611       -6      -8.94367       1.79132       3.14343
617.068      54798.1      -7      -9.37096       1.70336       4.41830
128.112      4058.44      -8      -9.75920       1.72016       4.15943
69.997       622.829      -9      -10.1168       1.69902       4.35535
65.4316      79.5469     -10      -10.4232       1.60178       5.43039
65.4145      1.62983      -4      -10.5821       1.58341       5.33104
65.4138      0.533743     -4      -10.6468       1.55092       5.59970
========================================
 Variances and Principal Axes
                 3        4        5  
 3.1342E-04| -0.1503   0.9850   0.0848  
 3.9071E+00|  0.9862   0.1433   0.0829  
 4.2647E+03| -0.0695  -0.0961   0.9929  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.442e+01   2.904e+01  -2.941e+02
   2.904e+01   3.945e+01  -4.068e+02
  -2.941e+02  -4.068e+02   4.205e+03
------------------------------------

========================================================================
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      -10.6468     +/-  4.94132      
   4    2   cutep50    a                   1.55092      +/-  6.28121      
   5    2   cutep50    b                   5.59970      +/-  64.8438      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.4117      0.758931     -3      -10.6622       1.54559       5.62220
========================================
 Variances and Principal Axes
                 3        4        5  
 3.6485E-04| -0.1590   0.9834   0.0875  
 4.2441E+00|  0.9845   0.1512   0.0893  
 4.1077E+03| -0.0746  -0.1003   0.9922  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.695e+01   3.136e+01  -3.035e+02
   3.136e+01   4.145e+01  -4.088e+02
  -3.035e+02  -4.088e+02   4.044e+03
------------------------------------

========================================================================
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      -10.6622     +/-  5.19111      
   4    2   cutep50    a                   1.54559      +/-  6.43802      
   5    2   cutep50    b                   5.62220      +/-  63.5889      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.4115      0.03043      -3      -10.6719       1.54080       5.65780
========================================
 Variances and Principal Axes
                 3        4        5  
 3.6000E-04| -0.1598   0.9832   0.0882  
 4.1965E+00|  0.9843   0.1518   0.0906  
 3.9726E+03| -0.0757  -0.1013   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.680e+01   3.107e+01  -2.978e+02
   3.107e+01   4.087e+01  -3.992e+02
  -2.978e+02  -3.992e+02   3.909e+03
------------------------------------

========================================================================
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      -10.6719     +/-  5.17714      
   4    2   cutep50    a                   1.54080      +/-  6.39293      
   5    2   cutep50    b                   5.65780      +/-  62.5232      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

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

!XSPEC12>show;

XSPEC version: 12.9.0c

Sun Dec 27 06:29:08 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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha
Net count rate (cts/s) for Spectrum:1  1.460e-01 +/- 3.466e-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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp for Source 1

 Spectral data counts: 0.145999
 Model predicted rate: 0.100764


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      -10.6719     +/-  5.17714      
   4    2   cutep50    a                   1.54080      +/-  6.39293      
   5    2   cutep50    b                   5.65780      +/-  62.5232      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

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

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

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

Test statistic : Chi-Squared =          65.41 using 59 PHA bins.
 Reduced chi-squared =          1.168 for     56 degrees of freedom 
 Null hypothesis probability =   1.824492e-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 =          76.19 using 59 PHA bins.

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.385 for     55 degrees of freedom 
 Null hypothesis probability =   3.080412e-02
 Current data and model not fit yet.

!XSPEC12>freeze 6;

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

Test statistic : Chi-Squared =          76.19 using 59 PHA bins.
 Reduced chi-squared =          1.361 for     56 degrees of freedom 
 Null hypothesis probability =   3.764049e-02
 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
72.5958      0.863897      0      -7.69716       1.87160       12.2798
65.9121      2.23989       0      -7.21599       1.72983       4.89947
65.4696      1.99545      -1      -7.28311       1.72945       4.35086
65.4191      0.327136     -2      -7.30381       1.79118       3.07202
65.418       0.0568904    -2      -7.30722       1.80959       2.78610
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0432E-02| -0.7826   0.6208   0.0472  
 3.1323E-02|  0.6226   0.7802   0.0608  
 5.2026E+03| -0.0009  -0.0770   0.9970  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.257e-02   3.631e-01  -4.572e+00
   3.631e-01   3.085e+01  -3.993e+02
  -4.572e+00  -3.993e+02   5.172e+03
------------------------------------

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


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00288343   -1      -7.30743       1.81144       2.75840
========================================
 Variances and Principal Axes
                 3        4        5  
 9.6536E-03| -0.7170   0.6950   0.0527  
 2.8297E-02|  0.6970   0.7149   0.0555  
 5.2524E+03| -0.0009  -0.0765   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.306e-02   3.750e-01  -4.767e+00
   3.750e-01   3.075e+01  -4.006e+02
  -4.767e+00  -4.006e+02   5.222e+03
------------------------------------

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


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.418       0.00418008    0      -7.30743       1.81146       2.75812
========================================
 Variances and Principal Axes
                 3        4        5  
 9.5595E-03| -0.7097   0.7025   0.0532  
 2.8016E-02|  0.7046   0.7075   0.0549  
 5.2512E+03| -0.0009  -0.0764   0.9971  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.311e-02   3.761e-01  -4.786e+00
   3.761e-01   3.068e+01  -4.001e+02
  -4.786e+00  -4.001e+02   5.221e+03
------------------------------------

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


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

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

!XSPEC12>newpar 1 100.0;

Fit statistic : Chi-Squared =   1.662168e+07 using 59 PHA bins.

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

!XSPEC12>newpar 2 350.0;

Fit statistic : Chi-Squared =   1.662168e+07 using 59 PHA bins.

Test statistic : Chi-Squared =   1.662168e+07 using 59 PHA bins.
 Reduced chi-squared =       296815.7 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
2.29479e+06  1.83763e+08  -3      -7.66965       1.81367       2.79671
312864       2.50586e+07  -4      -8.09214       1.81369       2.80541
42344.5      3.41838e+06  -5      -8.52040       1.81251       2.82397
5350.94      463599       -6      -8.94110       1.79055       3.15651
579.6        52591.4      -7      -9.36829       1.69924       4.48146
123.554      3802.06      -8      -9.75364       1.72059       4.16140
69.5699      593.665      -9      -10.1108       1.69963       4.35208
65.4448      75.5502     -10      -10.4190       1.59893       5.46935
65.4338      2.59814      -5      -10.6158       1.53702       5.82379
65.4128      2.41228      -4      -10.6968       1.49449       6.11628
65.4119      0.907841     -4      -10.7584       1.43990       6.57329
========================================
 Variances and Principal Axes
                 3        4        5  
 4.4180E-04| -0.1743   0.9805   0.0910  
 4.5789E+00|  0.9812   0.1653   0.0994  
 3.6640E+03| -0.0824  -0.1066   0.9909  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.927e+01   3.293e+01  -2.986e+02
   3.293e+01   4.179e+01  -3.871e+02
  -2.986e+02  -3.871e+02   3.597e+03
------------------------------------

========================================================================
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      -10.7584     +/-  5.41008      
   4    2   cutep50    a                   1.43990      +/-  6.46434      
   5    2   cutep50    b                   6.57329      +/-  59.9792      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.4066      1.01777      -3      -10.7756       1.43096       6.61421
========================================
 Variances and Principal Axes
                 3        4        5  
 5.2501E-04| -0.1894   0.9773   0.0946  
 4.8498E+00|  0.9779   0.1791   0.1081  
 3.3271E+03| -0.0887  -0.1130   0.9896  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.082e+01   3.419e+01  -2.915e+02
   3.419e+01   4.262e+01  -3.719e+02
  -2.915e+02  -3.719e+02   3.258e+03
------------------------------------

========================================================================
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      -10.7756     +/-  5.55123      
   4    2   cutep50    a                   1.43096      +/-  6.52870      
   5    2   cutep50    b                   6.61421      +/-  57.0831      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

!XSPEC12>fit 100;
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
65.4062      0.024556     -3      -10.7882       1.42278       6.67243
========================================
 Variances and Principal Axes
                 3        4        5  
 5.1327E-04| -0.1909   0.9769   0.0956  
 4.7360E+00|  0.9775   0.1802   0.1100  
 3.1590E+03| -0.0902  -0.1144   0.9893  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.023e+01   3.344e+01  -2.814e+02
   3.344e+01   4.151e+01  -3.575e+02
  -2.814e+02  -3.575e+02   3.092e+03
------------------------------------

========================================================================
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      -10.7882     +/-  5.49820      
   4    2   cutep50    a                   1.42278      +/-  6.44300      
   5    2   cutep50    b                   6.67243      +/-  55.6053      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


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

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

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

!XSPEC12>show;

XSPEC version: 12.9.0c

Sun Dec 27 06:29: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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 80
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger307604/00307604000-results/pha/sw00307604000b_peak.pha
Net count rate (cts/s) for Spectrum:1  1.460e-01 +/- 3.466e-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/trigger307604/remake_spec_cflux/spec_1speak/sw00307604000b_1speak.rsp for Source 1

 Spectral data counts: 0.145999
 Model predicted rate: 0.100496


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      -10.7882     +/-  5.49820      
   4    2   cutep50    a                   1.42278      +/-  6.44300      
   5    2   cutep50    b                   6.67243      +/-  55.6053      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

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

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

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

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

Test statistic : Chi-Squared =          65.41 using 59 PHA bins.
 Reduced chi-squared =          1.168 for     56 degrees of freedom 
 Null hypothesis probability =   1.825687e-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: 2.13686     ( -1.93217   0.838277 )
Epeak [keV] : 65.6990      (   )
Norm@50keV  : 7.54353E-03    (     )
------------------------------------------------------------
#Fit statistic : Chi-Squared =          64.19 using 59 PHA bins.
# Reduced chi-squared =          1.146 for     56 degrees of freedom 
# Null hypothesis probability =   2.113628e-01
 
Photon flux (15-150 keV)    in 1 sec: 0.988082 ( -0.651627  0.730718 ) ph/cm2/s
Energy fluence (15-150 keV)             : 4.92674e-08 ( 0  0 ) ergs/cm2