XSPEC version: 12.13.1
	Build Date/Time: Thu Jul 20 16:52:54 2023

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

1 spectrum  in use
 
Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha  Spectrum 1
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 No response loaded.

***Warning!  One or more spectra are missing responses,
               and are not suitable for fit.
XSPEC12>response 1 /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp
Response successfully loaded.
XSPEC12>ignore **-13.0 150.0-**
      No channels ignored (no channels in specified range)
      No channels ignored (no channels in specified range)

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

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

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


Fit statistic  : Chi-Squared                10910.85     using 10 bins.

Test statistic : Chi-Squared                10910.85     using 10 bins.
 Null hypothesis probability of 0.00e+00 with 7 degrees of freedom
 Current data and model not fit yet.
XSPEC12>renorm

Fit statistic  : Chi-Squared                    4.61     using 10 bins.

Test statistic : Chi-Squared                    4.61     using 10 bins.
 Null hypothesis probability of 7.07e-01 with 7 degrees of freedom
 Current data and model not fit yet.
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl           1:a           2:b        3:norm
3.87831      0.416127     -1      0.661585       101.810     0.0411391
3.7274       1.35207      -1      0.494755       89.4375     0.0487328
3.56285      6.11299      -1      0.357640       84.1636     0.0582032
3.43632      3.94647      -1      0.238761       79.8475     0.0681272
3.33161      2.89592      -1      0.130985       76.6632     0.0785561
3.24453      2.1363       -1     0.0326491       74.1844     0.0894047
3.17123      1.62122      -1    -0.0575332       72.1995      0.100623
3.10893      1.2584       -1     -0.140593       70.5725      0.112161
3.05556      0.995829     -1     -0.217377       69.2132      0.123972
3.00953      0.801295     -1     -0.288594       68.0597      0.136013
========================================
 Variances and Principal Axes
                 1        2        3  
 9.5304E-04|  0.1082   0.0027   0.9941  
 1.7866E+00|  0.9931  -0.0465  -0.1080  
 1.4819E+03|  0.0459   0.9989  -0.0077  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   4.883e+00   6.786e+01  -7.183e-01
   6.786e+01   1.479e+03  -1.146e+01
  -7.183e-01  -1.146e+01   1.107e-01
------------------------------------

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   -0.288594    +/-  2.20986      
   2    1   cutep50    b                   68.0597      +/-  38.4537      
   3    1   cutep50    norm                0.136013     +/-  0.332694     
________________________________________________________________________


Fit statistic  : Chi-Squared                    3.01     using 10 bins.

Test statistic : Chi-Squared                    3.01     using 10 bins.
 Null hypothesis probability of 8.84e-01 with 7 degrees of freedom
XSPEC12>fit
                                   Parameters
Chi-Squared  |beta|/N    Lvl           1:a           2:b        3:norm
2.96553      0.0761616    -1     -0.360625       66.9502      0.149612
2.93134      0.502304     -1     -0.422688       66.1137      0.161945
2.90124      0.441879     -1     -0.480198       65.3713      0.174442
2.87473      0.375368     -1     -0.533988       64.7103      0.187024
2.8513       0.320625     -1     -0.584467       64.1196      0.199656
2.83052      0.275934     -1     -0.631941       63.5888      0.212311
2.81203      0.239199     -1     -0.676666       63.1094      0.224962
2.79553      0.208751     -1     -0.718867       62.6742      0.237587
2.795        0.183308     -2      -1.02211       59.9093      0.327551
========================================
 Variances and Principal Axes
                 1        2        3  
 3.2523E-03|  0.2179   0.0075   0.9759  
 2.6209E+00|  0.9734  -0.0748  -0.2167  
 6.3511E+02|  0.0714   0.9972  -0.0236  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   5.719e+00   4.502e+01  -1.623e+00
   4.502e+01   6.315e+02  -1.492e+01
  -1.623e+00  -1.492e+01   4.807e-01
------------------------------------

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   -1.02211     +/-  2.39155      
   2    1   cutep50    b                   59.9093      +/-  25.1304      
   3    1   cutep50    norm                0.327551     +/-  0.693325     
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.79     using 10 bins.

Test statistic : Chi-Squared                    2.79     using 10 bins.
 Null hypothesis probability of 9.03e-01 with 7 degrees of freedom
XSPEC12>fit 100
                                   Parameters
Chi-Squared  |beta|/N    Lvl           1:a           2:b        3:norm
2.68088      0.0321734    -2      -1.21650       58.5988      0.437658
2.65375      0.417442     -2      -1.33656       57.7991      0.517647
2.64141      0.212175     -2      -1.42165       57.2506      0.583172
2.63588      0.100499     -2      -1.48403       56.8622      0.635293
========================================
 Variances and Principal Axes
                 1        2        3  
 1.5271E-02|  0.5034   0.0239   0.8637  
 5.0324E+00|  0.8569  -0.1420  -0.4956  
 3.0027E+02|  0.1108   0.9896  -0.0920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.385e+00   3.231e+01  -5.190e+00
   3.231e+01   2.941e+02  -2.697e+01
  -5.190e+00  -2.697e+01   3.787e+00
------------------------------------

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   -1.48403     +/-  2.71755      
   2    1   cutep50    b                   56.8622      +/-  17.1507      
   3    1   cutep50    norm                0.635293     +/-  1.94599      
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.64     using 10 bins.

Test statistic : Chi-Squared                    2.64     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom
XSPEC12>log bat_spec_cutplep.log
Logging to file:bat_spec_cutplep.log
XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.302061


Current model list:

========================================================================
Model cutep50<1> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cutep50    a                   -1.48403     +/-  2.71755      
   2    1   cutep50    b                   56.8622      +/-  17.1507      
   3    1   cutep50    norm                0.635293     +/-  1.94599      
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.64     using 10 bins.

Test statistic : Chi-Squared                    2.64     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off

XSPEC12>error 1
 Parameter   Confidence Range (2.706)
 Due to zero model norms, the following fit parameters are temporarily frozen:2 
     1     -9.39427      1.48155    (-7.86257,3.01325)
XSPEC12>error 2
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     2      38.8184            0    (-17.1789,-55.9973)
XSPEC12>error 3
 Parameter   Confidence Range (2.706)
 Due to zero model norms, the following fit parameters are temporarily frozen:1 2 

 Fit error occurred during lower bound error calculation.

***Warning: Number of trials exceeded before convergence.
Current trial values 0.802345, 96848.5
and delta statistic 0, 2.79077

     3            0      96680.1    (-0.802345,96679.3)
XSPEC12>log none
Log file closed
logging switched off
XSPEC12>setplot energy
XSPEC12>setplot command sc white
1
XSPEC12>setplot command cpd bat_spec_cutplep.gif/gif
2
XSPEC12>plot ldata delchi
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cpflux_15_350kev_fit.xcm

!XSPEC12>log none
No log file open

!XSPEC12>query no

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

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


Fit statistic  : Chi-Squared                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 1.57e-01 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 2.31e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
4.67859      1.23953       0       1.62921     -0.545216       50.5189
3.01068      0.647108     -1       2.17483      -2.61411       57.6197
2.74588      0.104384     -2       2.28263     -0.952160       57.4903
2.63495      0.0690484    -3       2.23387      -1.84834       54.9684
2.63069      0.0113996    -4       2.25180      -1.62902       55.6996
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9519E-01|  0.9981  -0.0609   0.0029  
 4.6614E+00| -0.0607  -0.9888   0.1365  
 2.1057E+02|  0.0054   0.1364   0.9906  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.175e-01   4.174e-01   1.093e+00
   4.174e-01   8.475e+00   2.782e+01
   1.093e+00   2.782e+01   2.067e+02
------------------------------------

========================================================================
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                2.25180      +/-  0.563431     
   4    2   cutep50    a                   -1.62902     +/-  2.91119      
   5    2   cutep50    b                   55.6996      +/-  14.3784      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.63005      0.00500539   -3       2.24896      -1.68834       55.7245
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9811E-01|  0.9981  -0.0614   0.0022  
 4.2112E+00| -0.0612  -0.9903   0.1244  
 2.4091E+02|  0.0055   0.1243   0.9922  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.200e-01   4.011e-01   1.280e+00
   4.011e-01   7.852e+00   2.919e+01
   1.280e+00   2.919e+01   2.373e+02
------------------------------------

========================================================================
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                2.24896      +/-  0.565688     
   4    2   cutep50    a                   -1.68834     +/-  2.80213      
   5    2   cutep50    b                   55.7245      +/-  15.4030      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62998      0.00151168   -3       2.25044      -1.66070       55.7885
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9715E-01|  0.9980  -0.0627   0.0025  
 4.2881E+00| -0.0625  -0.9900   0.1268  
 2.3467E+02|  0.0055   0.1267   0.9919  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.197e-01   4.091e-01   1.237e+00
   4.091e-01   7.970e+00   2.895e+01
   1.237e+00   2.895e+01   2.310e+02
------------------------------------

========================================================================
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                2.25044      +/-  0.565449     
   4    2   cutep50    a                   -1.66070     +/-  2.82311      
   5    2   cutep50    b                   55.7885      +/-  15.1975      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303207


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                2.25044      +/-  0.565449     
   4    2   cutep50    a                   -1.66070     +/-  2.82311      
   5    2   cutep50    b                   55.7885      +/-  15.1975      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3      1.33842      3.18888    (-0.911535,0.938932)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4     -9.40232      1.50664    (-7.73619,3.17277)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

***Warning: Number of trials exceeded before convergence.
Current trial values 429.682, 434.097
and delta statistic 2.0532, 5.10977

     5      36.2632      429.682    (-19.52,373.899)

!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                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 1.57e-01 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 2.31e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
4.67859      1.23953       0       1.62921     -0.545216       50.5189
3.01068      0.647108     -1       2.17483      -2.61411       57.6197
2.74588      0.104384     -2       2.28263     -0.952160       57.4903
2.63495      0.0690484    -3       2.23387      -1.84834       54.9684
2.63069      0.0113996    -4       2.25180      -1.62902       55.6996
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9519E-01|  0.9981  -0.0609   0.0029  
 4.6614E+00| -0.0607  -0.9888   0.1365  
 2.1057E+02|  0.0054   0.1364   0.9906  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.175e-01   4.174e-01   1.093e+00
   4.174e-01   8.475e+00   2.782e+01
   1.093e+00   2.782e+01   2.067e+02
------------------------------------

========================================================================
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                2.25180      +/-  0.563431     
   4    2   cutep50    a                   -1.62902     +/-  2.91119      
   5    2   cutep50    b                   55.6996      +/-  14.3784      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.63005      0.00500539   -3       2.24896      -1.68834       55.7245
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9811E-01|  0.9981  -0.0614   0.0022  
 4.2112E+00| -0.0612  -0.9903   0.1244  
 2.4091E+02|  0.0055   0.1243   0.9922  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.200e-01   4.011e-01   1.280e+00
   4.011e-01   7.852e+00   2.919e+01
   1.280e+00   2.919e+01   2.373e+02
------------------------------------

========================================================================
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                2.24896      +/-  0.565688     
   4    2   cutep50    a                   -1.68834     +/-  2.80213      
   5    2   cutep50    b                   55.7245      +/-  15.4030      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62998      0.00151168   -3       2.25044      -1.66070       55.7885
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9715E-01|  0.9980  -0.0627   0.0025  
 4.2881E+00| -0.0625  -0.9900   0.1268  
 2.3467E+02|  0.0055   0.1267   0.9919  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.197e-01   4.091e-01   1.237e+00
   4.091e-01   7.970e+00   2.895e+01
   1.237e+00   2.895e+01   2.310e+02
------------------------------------

========================================================================
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                2.25044      +/-  0.565449     
   4    2   cutep50    a                   -1.66070     +/-  2.82311      
   5    2   cutep50    b                   55.7885      +/-  15.1975      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>newpar 1 15.0

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 2 150.0

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62998      0.00536289   -3       2.24521      -1.66952       55.7789
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9641E-01|  0.9983  -0.0587   0.0031  
 4.2205E+00| -0.0586  -0.9904   0.1253  
 2.3753E+02|  0.0043   0.1253   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.143e-01   3.562e-01   9.882e-01
   3.562e-01   7.870e+00   2.900e+01
   9.882e-01   2.900e+01   2.339e+02
------------------------------------

========================================================================
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                2.24521      +/-  0.560639     
   4    2   cutep50    a                   -1.66952     +/-  2.80527      
   5    2   cutep50    b                   55.7789      +/-  15.2927      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62997      0.000204107  -3       2.24538      -1.66614       55.7850
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9629E-01|  0.9983  -0.0587   0.0031  
 4.2521E+00| -0.0586  -0.9903   0.1257  
 2.3745E+02|  0.0043   0.1257   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.143e-01   3.582e-01   9.860e-01
   3.582e-01   7.923e+00   2.908e+01
   9.860e-01   2.908e+01   2.338e+02
------------------------------------

========================================================================
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                2.24538      +/-  0.560617     
   4    2   cutep50    a                   -1.66614     +/-  2.81478      
   5    2   cutep50    b                   55.7850      +/-  15.2892      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62997      7.50569e-05  -3       2.24532      -1.66731       55.7833
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9634E-01|  0.9983  -0.0586   0.0031  
 4.2466E+00| -0.0586  -0.9904   0.1256  
 2.3790E+02|  0.0043   0.1255   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.143e-01   3.577e-01   9.877e-01
   3.577e-01   7.915e+00   2.910e+01
   9.877e-01   2.910e+01   2.342e+02
------------------------------------

========================================================================
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                2.24532      +/-  0.560628     
   4    2   cutep50    a                   -1.66731     +/-  2.81337      
   5    2   cutep50    b                   55.7833      +/-  15.3041      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303191


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                2.24532      +/-  0.560628     
   4    2   cutep50    a                   -1.66731     +/-  2.81337      
   5    2   cutep50    b                   55.7833      +/-  15.3041      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3      1.33578      3.16608    (-0.909557,0.920744)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4     -9.39972      1.52755    (-7.73269,3.19458)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     5      36.2637            0    (-19.5202,-55.7838)

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

!XSPEC12>log none
No log file open

!XSPEC12>query no

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

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


Fit statistic  : Chi-Squared                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 1.57e-01 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 2.31e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
4.67859      1.23953       0       1.62921     -0.545216       50.5189
3.01068      0.647108     -1       2.17483      -2.61411       57.6197
2.74588      0.104384     -2       2.28263     -0.952160       57.4903
2.63495      0.0690484    -3       2.23387      -1.84834       54.9684
2.63069      0.0113996    -4       2.25180      -1.62902       55.6996
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9519E-01|  0.9981  -0.0609   0.0029  
 4.6614E+00| -0.0607  -0.9888   0.1365  
 2.1057E+02|  0.0054   0.1364   0.9906  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.175e-01   4.174e-01   1.093e+00
   4.174e-01   8.475e+00   2.782e+01
   1.093e+00   2.782e+01   2.067e+02
------------------------------------

========================================================================
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                2.25180      +/-  0.563431     
   4    2   cutep50    a                   -1.62902     +/-  2.91119      
   5    2   cutep50    b                   55.6996      +/-  14.3784      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.63005      0.00500539   -3       2.24896      -1.68834       55.7245
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9811E-01|  0.9981  -0.0614   0.0022  
 4.2112E+00| -0.0612  -0.9903   0.1244  
 2.4091E+02|  0.0055   0.1243   0.9922  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.200e-01   4.011e-01   1.280e+00
   4.011e-01   7.852e+00   2.919e+01
   1.280e+00   2.919e+01   2.373e+02
------------------------------------

========================================================================
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                2.24896      +/-  0.565688     
   4    2   cutep50    a                   -1.68834     +/-  2.80213      
   5    2   cutep50    b                   55.7245      +/-  15.4030      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62998      0.00151168   -3       2.25044      -1.66070       55.7885
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9715E-01|  0.9980  -0.0627   0.0025  
 4.2881E+00| -0.0625  -0.9900   0.1268  
 2.3467E+02|  0.0055   0.1267   0.9919  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.197e-01   4.091e-01   1.237e+00
   4.091e-01   7.970e+00   2.895e+01
   1.237e+00   2.895e+01   2.310e+02
------------------------------------

========================================================================
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                2.25044      +/-  0.565449     
   4    2   cutep50    a                   -1.66070     +/-  2.82311      
   5    2   cutep50    b                   55.7885      +/-  15.1975      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>newpar 1 15.0

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 2 25.0

Fit statistic  : Chi-Squared                  250.92     using 10 bins.

Test statistic : Chi-Squared                  250.92     using 10 bins.
 Null hypothesis probability of 1.76e-50 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.63547      54.2159      -3      0.476331      -1.64602       55.7967
2.62999      0.216568     -4      0.464731      -1.67497       55.7674
========================================
 Variances and Principal Axes
                 3        4        5  
 1.2706E-02|  0.9919  -0.1265   0.0140  
 4.1244E+00| -0.1273  -0.9841   0.1239  
 2.3190E+02|  0.0019   0.1246   0.9922  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.012e-02   5.696e-01   3.706e-01
   5.696e-01   7.597e+00   2.817e+01
   3.706e-01   2.817e+01   2.284e+02
------------------------------------

========================================================================
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.464731     +/-  0.283056     
   4    2   cutep50    a                   -1.67497     +/-  2.75618      
   5    2   cutep50    b                   55.7674      +/-  15.1115      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62998      0.00182703   -3      0.465834      -1.66440       55.7874
========================================
 Variances and Principal Axes
                 3        4        5  
 1.2542E-02|  0.9922  -0.1236   0.0138  
 4.3155E+00| -0.1244  -0.9843   0.1252  
 2.3672E+02|  0.0019   0.1260   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.995e-02   5.829e-01   3.751e-01
   5.829e-01   7.937e+00   2.905e+01
   3.751e-01   2.905e+01   2.330e+02
------------------------------------

========================================================================
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.465834     +/-  0.282756     
   4    2   cutep50    a                   -1.66440     +/-  2.81722      
   5    2   cutep50    b                   55.7874      +/-  15.2653      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62997      0.000248979  -3      0.465474      -1.66782       55.7829
========================================
 Variances and Principal Axes
                 3        4        5  
 1.2598E-02|  0.9922  -0.1239   0.0138  
 4.2969E+00| -0.1247  -0.9843   0.1247  
 2.3808E+02|  0.0019   0.1254   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   8.000e-02   5.817e-01   3.765e-01
   5.817e-01   7.910e+00   2.910e+01
   3.765e-01   2.910e+01   2.344e+02
------------------------------------

========================================================================
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.465474     +/-  0.282848     
   4    2   cutep50    a                   -1.66782     +/-  2.81239      
   5    2   cutep50    b                   55.7829      +/-  15.3101      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303190


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.465474     +/-  0.282848     
   4    2   cutep50    a                   -1.66782     +/-  2.81239      
   5    2   cutep50    b                   55.7829      +/-  15.3101      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3     0.108986     0.903254    (-0.35661,0.437658)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4     -9.39969       1.5068    (-7.73268,3.17381)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     5      36.2824            0    (-19.5022,-55.7846)

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

!XSPEC12>log none
No log file open

!XSPEC12>query no

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

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


Fit statistic  : Chi-Squared                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 1.57e-01 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 2.31e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
4.67859      1.23953       0       1.62921     -0.545216       50.5189
3.01068      0.647108     -1       2.17483      -2.61411       57.6197
2.74588      0.104384     -2       2.28263     -0.952160       57.4903
2.63495      0.0690484    -3       2.23387      -1.84834       54.9684
2.63069      0.0113996    -4       2.25180      -1.62902       55.6996
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9519E-01|  0.9981  -0.0609   0.0029  
 4.6614E+00| -0.0607  -0.9888   0.1365  
 2.1057E+02|  0.0054   0.1364   0.9906  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.175e-01   4.174e-01   1.093e+00
   4.174e-01   8.475e+00   2.782e+01
   1.093e+00   2.782e+01   2.067e+02
------------------------------------

========================================================================
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                2.25180      +/-  0.563431     
   4    2   cutep50    a                   -1.62902     +/-  2.91119      
   5    2   cutep50    b                   55.6996      +/-  14.3784      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.63005      0.00500539   -3       2.24896      -1.68834       55.7245
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9811E-01|  0.9981  -0.0614   0.0022  
 4.2112E+00| -0.0612  -0.9903   0.1244  
 2.4091E+02|  0.0055   0.1243   0.9922  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.200e-01   4.011e-01   1.280e+00
   4.011e-01   7.852e+00   2.919e+01
   1.280e+00   2.919e+01   2.373e+02
------------------------------------

========================================================================
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                2.24896      +/-  0.565688     
   4    2   cutep50    a                   -1.68834     +/-  2.80213      
   5    2   cutep50    b                   55.7245      +/-  15.4030      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62998      0.00151168   -3       2.25044      -1.66070       55.7885
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9715E-01|  0.9980  -0.0627   0.0025  
 4.2881E+00| -0.0625  -0.9900   0.1268  
 2.3467E+02|  0.0055   0.1267   0.9919  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.197e-01   4.091e-01   1.237e+00
   4.091e-01   7.970e+00   2.895e+01
   1.237e+00   2.895e+01   2.310e+02
------------------------------------

========================================================================
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                2.25044      +/-  0.565449     
   4    2   cutep50    a                   -1.66070     +/-  2.82311      
   5    2   cutep50    b                   55.7885      +/-  15.1975      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>newpar 1 25.0

Fit statistic  : Chi-Squared                    3.79     using 10 bins.

Test statistic : Chi-Squared                    3.79     using 10 bins.
 Null hypothesis probability of 8.04e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 2 50.0

Fit statistic  : Chi-Squared                   25.20     using 10 bins.

Test statistic : Chi-Squared                   25.20     using 10 bins.
 Null hypothesis probability of 7.00e-04 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.63003      6.25164      -3       1.04747      -1.66933       55.7553
2.62997      0.00972889   -4       1.04528      -1.66751       55.7786
========================================
 Variances and Principal Axes
                 3        4        5  
 6.4413E-02|  0.9996   0.0263   0.0110  
 4.2289E+00|  0.0247  -0.9917   0.1261  
 2.3630E+02| -0.0142   0.1258   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.146e-01  -5.239e-01  -3.314e+00
  -5.239e-01   7.897e+00   2.895e+01
  -3.314e+00   2.895e+01   2.326e+02
------------------------------------

========================================================================
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                1.04528      +/-  0.338506     
   4    2   cutep50    a                   -1.66751     +/-  2.81007      
   5    2   cutep50    b                   55.7786      +/-  15.2505      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62997      9.89952e-06  -3       1.04522      -1.66703       55.7831
========================================
 Variances and Principal Axes
                 3        4        5  
 6.4376E-02|  0.9996   0.0262   0.0110  
 4.2383E+00|  0.0246  -0.9917   0.1259  
 2.3767E+02| -0.0142   0.1256   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.145e-01  -5.242e-01  -3.324e+00
  -5.242e-01   7.918e+00   2.908e+01
  -3.324e+00   2.908e+01   2.339e+02
------------------------------------

========================================================================
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                1.04522      +/-  0.338413     
   4    2   cutep50    a                   -1.66703     +/-  2.81393      
   5    2   cutep50    b                   55.7831      +/-  15.2952      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62997      4.5777e-06   -3       1.04521      -1.66700       55.7838
========================================
 Variances and Principal Axes
                 3        4        5  
 6.4369E-02|  0.9996   0.0261   0.0110  
 4.2370E+00|  0.0246  -0.9917   0.1259  
 2.3779E+02| -0.0142   0.1256   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.145e-01  -5.241e-01  -3.325e+00
  -5.241e-01   7.917e+00   2.909e+01
  -3.325e+00   2.909e+01   2.341e+02
------------------------------------

========================================================================
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                1.04521      +/-  0.338395     
   4    2   cutep50    a                   -1.66700     +/-  2.81365      
   5    2   cutep50    b                   55.7838      +/-  15.2989      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303192


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                1.04521      +/-  0.338395     
   4    2   cutep50    a                   -1.66700     +/-  2.81365      
   5    2   cutep50    b                   55.7838      +/-  15.2989      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3     0.538327      1.68719    (-0.506883,0.641985)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4     -9.39923      1.52543    (-7.73225,3.19241)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     5      36.2669            0    (-19.5171,-55.784)

!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                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 1.57e-01 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 2.31e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
4.67859      1.23953       0       1.62921     -0.545216       50.5189
3.01068      0.647108     -1       2.17483      -2.61411       57.6197
2.74588      0.104384     -2       2.28263     -0.952160       57.4903
2.63495      0.0690484    -3       2.23387      -1.84834       54.9684
2.63069      0.0113996    -4       2.25180      -1.62902       55.6996
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9519E-01|  0.9981  -0.0609   0.0029  
 4.6614E+00| -0.0607  -0.9888   0.1365  
 2.1057E+02|  0.0054   0.1364   0.9906  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.175e-01   4.174e-01   1.093e+00
   4.174e-01   8.475e+00   2.782e+01
   1.093e+00   2.782e+01   2.067e+02
------------------------------------

========================================================================
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                2.25180      +/-  0.563431     
   4    2   cutep50    a                   -1.62902     +/-  2.91119      
   5    2   cutep50    b                   55.6996      +/-  14.3784      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.63005      0.00500539   -3       2.24896      -1.68834       55.7245
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9811E-01|  0.9981  -0.0614   0.0022  
 4.2112E+00| -0.0612  -0.9903   0.1244  
 2.4091E+02|  0.0055   0.1243   0.9922  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.200e-01   4.011e-01   1.280e+00
   4.011e-01   7.852e+00   2.919e+01
   1.280e+00   2.919e+01   2.373e+02
------------------------------------

========================================================================
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                2.24896      +/-  0.565688     
   4    2   cutep50    a                   -1.68834     +/-  2.80213      
   5    2   cutep50    b                   55.7245      +/-  15.4030      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62998      0.00151168   -3       2.25044      -1.66070       55.7885
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9715E-01|  0.9980  -0.0627   0.0025  
 4.2881E+00| -0.0625  -0.9900   0.1268  
 2.3467E+02|  0.0055   0.1267   0.9919  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.197e-01   4.091e-01   1.237e+00
   4.091e-01   7.970e+00   2.895e+01
   1.237e+00   2.895e+01   2.310e+02
------------------------------------

========================================================================
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                2.25044      +/-  0.565449     
   4    2   cutep50    a                   -1.66070     +/-  2.82311      
   5    2   cutep50    b                   55.7885      +/-  15.1975      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>newpar 1 50.0

Fit statistic  : Chi-Squared                   73.52     using 10 bins.

Test statistic : Chi-Squared                   73.52     using 10 bins.
 Null hypothesis probability of 2.86e-13 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 2 100.0

Fit statistic  : Chi-Squared                   97.40     using 10 bins.

Test statistic : Chi-Squared                   97.40     using 10 bins.
 Null hypothesis probability of 3.72e-18 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.63041      20.3919      -3      0.673104      -1.66287       55.8254
2.62997      0.0423219    -4      0.669380      -1.66660       55.7905
========================================
 Variances and Principal Axes
                 3        4        5  
 2.6350E-02|  0.9981   0.0593  -0.0170  
 4.1962E+00|  0.0610  -0.9903   0.1245  
 2.3633E+02|  0.0094   0.1253   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   6.286e-02   2.732e-02   2.242e+00
   2.732e-02   7.826e+00   2.886e+01
   2.242e+00   2.886e+01   2.327e+02
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      50.0000      frozen
   2    1   cpflux     Emax       keV      100.000      frozen
   3    1   cpflux     Flux                0.669380     +/-  0.250717     
   4    2   cutep50    a                   -1.66660     +/-  2.79748      
   5    2   cutep50    b                   55.7905      +/-  15.2532      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62997      3.91249e-05  -3      0.669299      -1.66687       55.7847
========================================
 Variances and Principal Axes
                 3        4        5  
 2.6322E-02|  0.9981   0.0589  -0.0169  
 4.2482E+00|  0.0605  -0.9903   0.1248  
 2.3780E+02|  0.0094   0.1256   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   6.289e-02   2.834e-02   2.254e+00
   2.834e-02   7.917e+00   2.910e+01
   2.254e+00   2.910e+01   2.341e+02
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      50.0000      frozen
   2    1   cpflux     Emax       keV      100.000      frozen
   3    1   cpflux     Flux                0.669299     +/-  0.250775     
   4    2   cutep50    a                   -1.66687     +/-  2.81366      
   5    2   cutep50    b                   55.7847      +/-  15.3001      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62997      3.46899e-06  -3      0.669289      -1.66707       55.7834
========================================
 Variances and Principal Axes
                 3        4        5  
 2.6316E-02|  0.9981   0.0588  -0.0169  
 4.2494E+00|  0.0605  -0.9903   0.1248  
 2.3769E+02|  0.0094   0.1256   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   6.289e-02   2.848e-02   2.255e+00
   2.848e-02   7.918e+00   2.909e+01
   2.255e+00   2.909e+01   2.340e+02
------------------------------------

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      50.0000      frozen
   2    1   cpflux     Emax       keV      100.000      frozen
   3    1   cpflux     Flux                0.669289     +/-  0.250782     
   4    2   cutep50    a                   -1.66707     +/-  2.81389      
   5    2   cutep50    b                   55.7834      +/-  15.2964      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303192


Current model list:

========================================================================
Model cpflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cpflux     Emin       keV      50.0000      frozen
   2    1   cpflux     Emax       keV      100.000      frozen
   3    1   cpflux     Flux                0.669289     +/-  0.250782     
   4    2   cutep50    a                   -1.66707     +/-  2.81389      
   5    2   cutep50    b                   55.7834      +/-  15.2964      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
***Warning: Zero alpha-matrix diagonal element for parameter 4
***Warning: Zero alpha-matrix diagonal element for parameter 5
 Parameter 4 is pegged at -1.66707 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
 Parameter 5 is pegged at 55.7834 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      1.08096    (-0.669288,0.411673)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4     -9.40698      1.50199    (-7.73992,3.16905)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     5      36.2641            0    (-19.5193,-55.7834)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cpflux_100_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                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 1.57e-01 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 2.31e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
4.67859      1.23953       0       1.62921     -0.545216       50.5189
3.01068      0.647108     -1       2.17483      -2.61411       57.6197
2.74588      0.104384     -2       2.28263     -0.952160       57.4903
2.63495      0.0690484    -3       2.23387      -1.84834       54.9684
2.63069      0.0113996    -4       2.25180      -1.62902       55.6996
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9519E-01|  0.9981  -0.0609   0.0029  
 4.6614E+00| -0.0607  -0.9888   0.1365  
 2.1057E+02|  0.0054   0.1364   0.9906  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.175e-01   4.174e-01   1.093e+00
   4.174e-01   8.475e+00   2.782e+01
   1.093e+00   2.782e+01   2.067e+02
------------------------------------

========================================================================
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                2.25180      +/-  0.563431     
   4    2   cutep50    a                   -1.62902     +/-  2.91119      
   5    2   cutep50    b                   55.6996      +/-  14.3784      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.63005      0.00500539   -3       2.24896      -1.68834       55.7245
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9811E-01|  0.9981  -0.0614   0.0022  
 4.2112E+00| -0.0612  -0.9903   0.1244  
 2.4091E+02|  0.0055   0.1243   0.9922  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.200e-01   4.011e-01   1.280e+00
   4.011e-01   7.852e+00   2.919e+01
   1.280e+00   2.919e+01   2.373e+02
------------------------------------

========================================================================
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                2.24896      +/-  0.565688     
   4    2   cutep50    a                   -1.68834     +/-  2.80213      
   5    2   cutep50    b                   55.7245      +/-  15.4030      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62998      0.00151168   -3       2.25044      -1.66070       55.7885
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9715E-01|  0.9980  -0.0627   0.0025  
 4.2881E+00| -0.0625  -0.9900   0.1268  
 2.3467E+02|  0.0055   0.1267   0.9919  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.197e-01   4.091e-01   1.237e+00
   4.091e-01   7.970e+00   2.895e+01
   1.237e+00   2.895e+01   2.310e+02
------------------------------------

========================================================================
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                2.25044      +/-  0.565449     
   4    2   cutep50    a                   -1.66070     +/-  2.82311      
   5    2   cutep50    b                   55.7885      +/-  15.1975      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>newpar 1 100.0

Fit statistic  : Chi-Squared                16376.37     using 10 bins.

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

!XSPEC12>newpar 2 150.0

Fit statistic  : Chi-Squared                18942.71     using 10 bins.

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

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
40.9003      3276.72      -3      0.171187      -1.59777       56.1783
2.63955      124.218      -4     0.0657895      -1.62497       56.0587
2.63         1.96198      -5     0.0653423      -1.67202       55.8045
========================================
 Variances and Principal Axes
                 3        4        5  
 2.6753E-04|  0.9999  -0.0143  -0.0053  
 4.3394E+00| -0.0136  -0.9923   0.1232  
 2.5761E+02|  0.0070   0.1231   0.9924  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.378e-02   2.812e-01   1.789e+00
   2.812e-01   8.177e+00   3.094e+01
   1.789e+00   3.094e+01   2.538e+02
------------------------------------

========================================================================
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                6.53423E-02  +/-  0.117397     
   4    2   cutep50    a                   -1.67202     +/-  2.85954      
   5    2   cutep50    b                   55.8045      +/-  15.9298      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62998      0.0498787    -3     0.0653620      -1.66381       55.7929
========================================
 Variances and Principal Axes
                 3        4        5  
 2.5141E-04|  0.9999  -0.0146  -0.0054  
 4.2340E+00| -0.0138  -0.9919   0.1261  
 2.3654E+02|  0.0072   0.1260   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.323e-02   2.716e-01   1.676e+00
   2.716e-01   7.921e+00   2.903e+01
   1.676e+00   2.903e+01   2.328e+02
------------------------------------

========================================================================
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                6.53620E-02  +/-  0.115017     
   4    2   cutep50    a                   -1.66381     +/-  2.81434      
   5    2   cutep50    b                   55.7929      +/-  15.2590      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62997      0.000300447  -3     0.0652481      -1.66790       55.7828
========================================
 Variances and Principal Axes
                 3        4        5  
 2.5185E-04|  0.9999  -0.0146  -0.0054  
 4.2292E+00| -0.0138  -0.9920   0.1258  
 2.3754E+02|  0.0072   0.1257   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.325e-02   2.718e-01   1.681e+00
   2.718e-01   7.914e+00   2.909e+01
   1.681e+00   2.909e+01   2.338e+02
------------------------------------

========================================================================
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                6.52481E-02  +/-  0.115124     
   4    2   cutep50    a                   -1.66790     +/-  2.81311      
   5    2   cutep50    b                   55.7828      +/-  15.2919      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303190


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                6.52481E-02  +/-  0.115124     
   4    2   cutep50    a                   -1.66790     +/-  2.81311      
   5    2   cutep50    b                   55.7828      +/-  15.2919      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
***Warning: Zero alpha-matrix diagonal element for parameter 4
***Warning: Zero alpha-matrix diagonal element for parameter 5
 Parameter 4 is pegged at -1.6679 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
 Parameter 5 is pegged at 55.7828 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.400479    (-0.0652638,0.335216)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values -1.66684, -10.6586
and delta stat 0, 2.85008
but latest trial -9.31816 gives 3.66699
Suggest that you check this result using the steppar command.
     4     -6.16272      1.52257    (-4.49545,3.18984)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 36.6204, 36.6176
and delta stat 2.61496, 2.81397
but latest trial 36.619 gives 4.67059
Suggest that you check this result using the steppar command.

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


*** Parameter upper bound is INVALID.

     5       36.619            0    (-19.1631,-55.7821)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cpflux_100_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                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 1.57e-01 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                    9.32     using 10 bins.

Test statistic : Chi-Squared                    9.32     using 10 bins.
 Null hypothesis probability of 2.31e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
4.67859      1.23953       0       1.62921     -0.545216       50.5189
3.01068      0.647108     -1       2.17483      -2.61411       57.6197
2.74588      0.104384     -2       2.28263     -0.952160       57.4903
2.63495      0.0690484    -3       2.23387      -1.84834       54.9684
2.63069      0.0113996    -4       2.25180      -1.62902       55.6996
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9519E-01|  0.9981  -0.0609   0.0029  
 4.6614E+00| -0.0607  -0.9888   0.1365  
 2.1057E+02|  0.0054   0.1364   0.9906  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.175e-01   4.174e-01   1.093e+00
   4.174e-01   8.475e+00   2.782e+01
   1.093e+00   2.782e+01   2.067e+02
------------------------------------

========================================================================
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                2.25180      +/-  0.563431     
   4    2   cutep50    a                   -1.62902     +/-  2.91119      
   5    2   cutep50    b                   55.6996      +/-  14.3784      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.63005      0.00500539   -3       2.24896      -1.68834       55.7245
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9811E-01|  0.9981  -0.0614   0.0022  
 4.2112E+00| -0.0612  -0.9903   0.1244  
 2.4091E+02|  0.0055   0.1243   0.9922  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.200e-01   4.011e-01   1.280e+00
   4.011e-01   7.852e+00   2.919e+01
   1.280e+00   2.919e+01   2.373e+02
------------------------------------

========================================================================
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                2.24896      +/-  0.565688     
   4    2   cutep50    a                   -1.68834     +/-  2.80213      
   5    2   cutep50    b                   55.7245      +/-  15.4030      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62998      0.00151168   -3       2.25044      -1.66070       55.7885
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9715E-01|  0.9980  -0.0627   0.0025  
 4.2881E+00| -0.0625  -0.9900   0.1268  
 2.3467E+02|  0.0055   0.1267   0.9919  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.197e-01   4.091e-01   1.237e+00
   4.091e-01   7.970e+00   2.895e+01
   1.237e+00   2.895e+01   2.310e+02
------------------------------------

========================================================================
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                2.25044      +/-  0.565449     
   4    2   cutep50    a                   -1.66070     +/-  2.82311      
   5    2   cutep50    b                   55.7885      +/-  15.1975      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>newpar 1 100.0

Fit statistic  : Chi-Squared                16376.37     using 10 bins.

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

!XSPEC12>newpar 2 350.0

Fit statistic  : Chi-Squared                16376.37     using 10 bins.

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

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
46.7005      2945         -3      0.193251      -1.59232       56.2039
2.64368      123.333      -4     0.0706847      -1.62008       56.0840
2.63001      2.1793       -5     0.0700792      -1.67321       55.8036
2.62998      0.0573414    -6     0.0701524      -1.66328       55.7938
========================================
 Variances and Principal Axes
                 3        4        5  
 2.8907E-04|  0.9998  -0.0183  -0.0061  
 4.2352E+00| -0.0174  -0.9919   0.1262  
 2.3629E+02|  0.0083   0.1261   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.795e-02   3.210e-01   1.942e+00
   3.210e-01   7.921e+00   2.902e+01
   1.942e+00   2.902e+01   2.326e+02
------------------------------------

========================================================================
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                7.01524E-02  +/-  0.133977     
   4    2   cutep50    a                   -1.66328     +/-  2.81448      
   5    2   cutep50    b                   55.7938      +/-  15.2509      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62997      0.000375058  -3     0.0699987      -1.66803       55.7828
========================================
 Variances and Principal Axes
                 3        4        5  
 2.9009E-04|  0.9998  -0.0183  -0.0061  
 4.2288E+00| -0.0174  -0.9919   0.1258  
 2.3757E+02|  0.0083   0.1257   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.802e-02   3.215e-01   1.952e+00
   3.215e-01   7.913e+00   2.909e+01
   1.952e+00   2.909e+01   2.339e+02
------------------------------------

========================================================================
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                6.99987E-02  +/-  0.134249     
   4    2   cutep50    a                   -1.66803     +/-  2.81294      
   5    2   cutep50    b                   55.7828      +/-  15.2928      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl        3:Flux           4:a           5:b
2.62997      9.74395e-05  -3     0.0700212      -1.66680       55.7828
========================================
 Variances and Principal Axes
                 3        4        5  
 2.8882E-04|  0.9998  -0.0183  -0.0061  
 4.2369E+00| -0.0174  -0.9919   0.1260  
 2.3690E+02|  0.0083   0.1259   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.796e-02   3.212e-01   1.945e+00
   3.212e-01   7.924e+00   2.906e+01
   1.945e+00   2.906e+01   2.332e+02
------------------------------------

========================================================================
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                7.00212E-02  +/-  0.133996     
   4    2   cutep50    a                   -1.66680     +/-  2.81497      
   5    2   cutep50    b                   55.7828      +/-  15.2707      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303192


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                7.00212E-02  +/-  0.133996     
   4    2   cutep50    a                   -1.66680     +/-  2.81497      
   5    2   cutep50    b                   55.7828      +/-  15.2707      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
***Warning: Zero alpha-matrix diagonal element for parameter 4
***Warning: Zero alpha-matrix diagonal element for parameter 5
 Parameter 4 is pegged at -1.6668 due to zero or negative pivot element, likely
 caused by the fit being insensitive to the parameter.
 Parameter 5 is pegged at 55.7828 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      1.11809    (-0.0700071,1.04808)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values -9.15443, -9.233
and delta stat 2.605, 2.72247
but latest trial -9.17711 gives 3.62638
Suggest that you check this result using the steppar command.
     4     -9.12181      1.52371    (-7.45467,3.19086)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values 36.9062, 36.8156
and delta stat 2.53129, 2.74257
but latest trial 36.8402 gives 4.70686
Suggest that you check this result using the steppar command.

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


*** Parameter upper bound is INVALID.

     5      36.8609            0    (-18.9211,-55.782)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cflux_15_350kev_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                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 6.16e-03 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 1.18e-02 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
17.5014      0.585207      1      -7.92488      0.982530       63.5100
11.7936      0.77484       0      -7.46297      -1.70222       29.8937
7.24698      2.04891       0      -7.19426      -5.96582       37.9958
3.59889      2.73629      -1      -6.85273      -2.23666       44.6544
2.71537      0.994742     -2      -6.82337      -2.20659       51.3995
2.64044      0.0615617    -3      -6.80108      -1.69727       54.4827
2.63052      0.0131899    -4      -6.79479      -1.72612       55.4564
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1048E-02|  1.0000   0.0012  -0.0062  
 4.4789E+00|  0.0020  -0.9913   0.1316  
 2.1743E+02|  0.0060   0.1316   0.9913  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.893e-02   1.634e-01   1.298e+00
   1.634e-01   8.166e+00   2.778e+01
   1.298e+00   2.778e+01   2.137e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.63003      0.0026978    -3      -6.79303      -1.65877       55.7472
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1034E-02|  1.0000   0.0006  -0.0060  
 4.3652E+00|  0.0014  -0.9916   0.1293  
 2.2711E+02|  0.0059   0.1293   0.9916  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.894e-02   1.672e-01   1.329e+00
   1.672e-01   8.088e+00   2.855e+01
   1.329e+00   2.855e+01   2.234e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62998      0.00129219   -3      -6.79290      -1.67273       55.7656
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1031E-02|  1.0000   0.0008  -0.0060  
 4.2283E+00|  0.0015  -0.9921   0.1254  
 2.3816E+02|  0.0059   0.1254   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.922e-02   1.687e-01   1.386e+00
   1.687e-01   7.905e+00   2.910e+01
   1.386e+00   2.910e+01   2.345e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303176


Current model list:

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

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3     -7.07083     -6.31139    (-0.278037,0.481411)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4     -9.40057      1.52246    (-7.73288,3.19014)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     5      36.2636            0    (-19.5202,-55.7838)

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

!XSPEC12>log none
No log file open

!XSPEC12>query no

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

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


Fit statistic  : Chi-Squared                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 6.16e-03 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 1.18e-02 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
17.5014      0.585207      1      -7.92488      0.982530       63.5100
11.7936      0.77484       0      -7.46297      -1.70222       29.8937
7.24698      2.04891       0      -7.19426      -5.96582       37.9958
3.59889      2.73629      -1      -6.85273      -2.23666       44.6544
2.71537      0.994742     -2      -6.82337      -2.20659       51.3995
2.64044      0.0615617    -3      -6.80108      -1.69727       54.4827
2.63052      0.0131899    -4      -6.79479      -1.72612       55.4564
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1048E-02|  1.0000   0.0012  -0.0062  
 4.4789E+00|  0.0020  -0.9913   0.1316  
 2.1743E+02|  0.0060   0.1316   0.9913  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.893e-02   1.634e-01   1.298e+00
   1.634e-01   8.166e+00   2.778e+01
   1.298e+00   2.778e+01   2.137e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.63003      0.0026978    -3      -6.79303      -1.65877       55.7472
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1034E-02|  1.0000   0.0006  -0.0060  
 4.3652E+00|  0.0014  -0.9916   0.1293  
 2.2711E+02|  0.0059   0.1293   0.9916  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.894e-02   1.672e-01   1.329e+00
   1.672e-01   8.088e+00   2.855e+01
   1.329e+00   2.855e+01   2.234e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62998      0.00129219   -3      -6.79290      -1.67273       55.7656
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1031E-02|  1.0000   0.0008  -0.0060  
 4.2283E+00|  0.0015  -0.9921   0.1254  
 2.3816E+02|  0.0059   0.1254   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.922e-02   1.687e-01   1.386e+00
   1.687e-01   7.905e+00   2.910e+01
   1.386e+00   2.910e+01   2.345e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>newpar 1 15.0

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 2 150.0

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62998      0.104528     -3      -6.79623      -1.66549       55.7845
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0858E-02|  1.0000   0.0035  -0.0055  
 4.1784E+00|  0.0041  -0.9920   0.1259  
 2.3317E+02|  0.0051   0.1259   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.689e-02   1.313e-01   1.172e+00
   1.313e-01   7.808e+00   2.860e+01
   1.172e+00   2.860e+01   2.295e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -6.79623     +/-  0.129975     
   4    2   cutep50    a                   -1.66549     +/-  2.79425      
   5    2   cutep50    b                   55.7845      +/-  15.1505      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62997      0.000932     -3      -6.79626      -1.66766       55.7822
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1029E-02|  1.0000   0.0035  -0.0055  
 4.2316E+00|  0.0042  -0.9921   0.1255  
 2.3791E+02|  0.0051   0.1255   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.717e-02   1.333e-01   1.194e+00
   1.333e-01   7.913e+00   2.910e+01
   1.194e+00   2.910e+01   2.342e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -6.79626     +/-  0.131041     
   4    2   cutep50    a                   -1.66766     +/-  2.81307      
   5    2   cutep50    b                   55.7822      +/-  15.3042      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62997      5.12889e-05  -3      -6.79626      -1.66682       55.7838
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1031E-02|  1.0000   0.0035  -0.0055  
 4.2356E+00|  0.0042  -0.9921   0.1256  
 2.3767E+02|  0.0051   0.1256   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.717e-02   1.333e-01   1.193e+00
   1.333e-01   7.919e+00   2.909e+01
   1.193e+00   2.909e+01   2.340e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -6.79626     +/-  0.131036     
   4    2   cutep50    a                   -1.66682     +/-  2.81414      
   5    2   cutep50    b                   55.7838      +/-  15.2964      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303192


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -6.79626     +/-  0.131036     
   4    2   cutep50    a                   -1.66682     +/-  2.81414      
   5    2   cutep50    b                   55.7838      +/-  15.2964      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3     -7.07091     -6.59995    (-0.274649,0.196307)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4     -9.40144      1.50195    (-7.73444,3.16895)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     5      36.2635            0    (-19.52,-55.7835)

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

!XSPEC12>log none
No log file open

!XSPEC12>query no

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

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


Fit statistic  : Chi-Squared                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 6.16e-03 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 1.18e-02 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
17.5014      0.585207      1      -7.92488      0.982530       63.5100
11.7936      0.77484       0      -7.46297      -1.70222       29.8937
7.24698      2.04891       0      -7.19426      -5.96582       37.9958
3.59889      2.73629      -1      -6.85273      -2.23666       44.6544
2.71537      0.994742     -2      -6.82337      -2.20659       51.3995
2.64044      0.0615617    -3      -6.80108      -1.69727       54.4827
2.63052      0.0131899    -4      -6.79479      -1.72612       55.4564
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1048E-02|  1.0000   0.0012  -0.0062  
 4.4789E+00|  0.0020  -0.9913   0.1316  
 2.1743E+02|  0.0060   0.1316   0.9913  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.893e-02   1.634e-01   1.298e+00
   1.634e-01   8.166e+00   2.778e+01
   1.298e+00   2.778e+01   2.137e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.63003      0.0026978    -3      -6.79303      -1.65877       55.7472
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1034E-02|  1.0000   0.0006  -0.0060  
 4.3652E+00|  0.0014  -0.9916   0.1293  
 2.2711E+02|  0.0059   0.1293   0.9916  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.894e-02   1.672e-01   1.329e+00
   1.672e-01   8.088e+00   2.855e+01
   1.329e+00   2.855e+01   2.234e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62998      0.00129219   -3      -6.79290      -1.67273       55.7656
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1031E-02|  1.0000   0.0008  -0.0060  
 4.2283E+00|  0.0015  -0.9921   0.1254  
 2.3816E+02|  0.0059   0.1254   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.922e-02   1.687e-01   1.386e+00
   1.687e-01   7.905e+00   2.910e+01
   1.386e+00   2.910e+01   2.345e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>newpar 1 15.0

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 2 25.0

Fit statistic  : Chi-Squared                 1606.99     using 10 bins.

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

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
193.115      1371.85      -3      -7.18283      -1.65447       55.7748
20.3299      191.85       -4      -7.51606      -1.65723       55.7743
3.47121      27.181       -5      -7.73521      -1.66434       55.7732
2.63682      3.58505      -6      -7.81434      -1.66789       55.7779
2.62998      0.269844     -7      -7.82281      -1.66685       55.7836
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0446E-02|  0.9939  -0.1093   0.0126  
 4.1210E+00| -0.1101  -0.9860   0.1250  
 2.2830E+02|  0.0012   0.1256   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   6.057e-02   4.813e-01   2.219e-01
   4.813e-01   7.609e+00   2.794e+01
   2.219e-01   2.794e+01   2.248e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      25.0000      frozen
   3    1   cflux      lg10Flux   cgs      -7.82281     +/-  0.246119     
   4    2   cutep50    a                   -1.66685     +/-  2.75848      
   5    2   cutep50    b                   55.7836      +/-  14.9919      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62997      0.0039743    -3      -7.82296      -1.66698       55.7842
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0863E-02|  0.9939  -0.1093   0.0126  
 4.2834E+00| -0.1101  -0.9860   0.1249  
 2.3761E+02|  0.0012   0.1256   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   6.298e-02   5.004e-01   2.310e-01
   5.004e-01   7.910e+00   2.907e+01
   2.310e-01   2.907e+01   2.339e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      25.0000      frozen
   3    1   cflux      lg10Flux   cgs      -7.82296     +/-  0.250961     
   4    2   cutep50    a                   -1.66698     +/-  2.81254      
   5    2   cutep50    b                   55.7842      +/-  15.2949      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62997      3.06843e-05  -1      -7.82296      -1.66694       55.7843
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0869E-02|  0.9939  -0.1094   0.0126  
 4.2860E+00| -0.1101  -0.9860   0.1249  
 2.3775E+02|  0.0012   0.1256   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   6.302e-02   5.007e-01   2.312e-01
   5.007e-01   7.915e+00   2.909e+01
   2.312e-01   2.909e+01   2.341e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      25.0000      frozen
   3    1   cflux      lg10Flux   cgs      -7.82296     +/-  0.251046     
   4    2   cutep50    a                   -1.66694     +/-  2.81341      
   5    2   cutep50    b                   55.7843      +/-  15.2993      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303192


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      15.0000      frozen
   2    1   cflux      Emax       keV      25.0000      frozen
   3    1   cflux      lg10Flux   cgs      -7.82296     +/-  0.251046     
   4    2   cutep50    a                   -1.66694     +/-  2.81341      
   5    2   cutep50    b                   55.7843      +/-  15.2993      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3     -8.43132     -7.54632    (-0.608362,0.276642)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4     -9.39455      1.50654    (-7.7276,3.17348)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     5      36.2698            0    (-19.5145,-55.7843)

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

!XSPEC12>log none
No log file open

!XSPEC12>query no

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

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


Fit statistic  : Chi-Squared                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 6.16e-03 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 1.18e-02 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
17.5014      0.585207      1      -7.92488      0.982530       63.5100
11.7936      0.77484       0      -7.46297      -1.70222       29.8937
7.24698      2.04891       0      -7.19426      -5.96582       37.9958
3.59889      2.73629      -1      -6.85273      -2.23666       44.6544
2.71537      0.994742     -2      -6.82337      -2.20659       51.3995
2.64044      0.0615617    -3      -6.80108      -1.69727       54.4827
2.63052      0.0131899    -4      -6.79479      -1.72612       55.4564
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1048E-02|  1.0000   0.0012  -0.0062  
 4.4789E+00|  0.0020  -0.9913   0.1316  
 2.1743E+02|  0.0060   0.1316   0.9913  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.893e-02   1.634e-01   1.298e+00
   1.634e-01   8.166e+00   2.778e+01
   1.298e+00   2.778e+01   2.137e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.63003      0.0026978    -3      -6.79303      -1.65877       55.7472
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1034E-02|  1.0000   0.0006  -0.0060  
 4.3652E+00|  0.0014  -0.9916   0.1293  
 2.2711E+02|  0.0059   0.1293   0.9916  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.894e-02   1.672e-01   1.329e+00
   1.672e-01   8.088e+00   2.855e+01
   1.329e+00   2.855e+01   2.234e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62998      0.00129219   -3      -6.79290      -1.67273       55.7656
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1031E-02|  1.0000   0.0008  -0.0060  
 4.2283E+00|  0.0015  -0.9921   0.1254  
 2.3816E+02|  0.0059   0.1254   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.922e-02   1.687e-01   1.386e+00
   1.687e-01   7.905e+00   2.910e+01
   1.386e+00   2.910e+01   2.345e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>newpar 1 25.0

Fit statistic  : Chi-Squared                    2.81     using 10 bins.

Test statistic : Chi-Squared                    2.81     using 10 bins.
 Null hypothesis probability of 9.02e-01 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 2 50.0

Fit statistic  : Chi-Squared                   48.04     using 10 bins.

Test statistic : Chi-Squared                   48.04     using 10 bins.
 Null hypothesis probability of 3.50e-08 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
5.64568      56.39        -3      -7.06095      -1.67582       55.7395
2.68742      7.83907      -4      -7.18941      -1.66882       55.7669
2.63003      0.805421     -5      -7.21326      -1.66720       55.7804
2.62997      0.0238942    -6      -7.21406      -1.66708       55.7832
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0977E-02|  0.9999   0.0164   0.0038  
 4.2207E+00|  0.0158  -0.9919   0.1257  
 2.3683E+02| -0.0059   0.1256   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.022e-02  -2.410e-01  -1.373e+00
  -2.410e-01   7.889e+00   2.898e+01
  -1.373e+00   2.898e+01   2.331e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      25.0000      frozen
   2    1   cflux      Emax       keV      50.0000      frozen
   3    1   cflux      lg10Flux   cgs      -7.21406     +/-  0.142199     
   4    2   cutep50    a                   -1.66708     +/-  2.80866      
   5    2   cutep50    b                   55.7832      +/-  15.2692      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62997      0.000132609  -3      -7.21407      -1.66698       55.7838
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1017E-02|  0.9999   0.0164   0.0038  
 4.2355E+00|  0.0158  -0.9919   0.1257  
 2.3774E+02| -0.0059   0.1256   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.029e-02  -2.419e-01  -1.378e+00
  -2.419e-01   7.917e+00   2.909e+01
  -1.378e+00   2.909e+01   2.340e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      25.0000      frozen
   2    1   cflux      Emax       keV      50.0000      frozen
   3    1   cflux      lg10Flux   cgs      -7.21407     +/-  0.142456     
   4    2   cutep50    a                   -1.66698     +/-  2.81365      
   5    2   cutep50    b                   55.7838      +/-  15.2986      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62997      2.10972e-06  -3      -7.21407      -1.66699       55.7839
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1017E-02|  0.9999   0.0164   0.0038  
 4.2354E+00|  0.0158  -0.9919   0.1256  
 2.3776E+02| -0.0059   0.1256   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   2.029e-02  -2.419e-01  -1.378e+00
  -2.419e-01   7.916e+00   2.909e+01
  -1.378e+00   2.909e+01   2.341e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      25.0000      frozen
   2    1   cflux      Emax       keV      50.0000      frozen
   3    1   cflux      lg10Flux   cgs      -7.21407     +/-  0.142458     
   4    2   cutep50    a                   -1.66699     +/-  2.81362      
   5    2   cutep50    b                   55.7839      +/-  15.2994      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303192


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      25.0000      frozen
   2    1   cflux      Emax       keV      50.0000      frozen
   3    1   cflux      lg10Flux   cgs      -7.21407     +/-  0.142458     
   4    2   cutep50    a                   -1.66699     +/-  2.81362      
   5    2   cutep50    b                   55.7839      +/-  15.2994      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3     -7.50445     -7.00634    (-0.290374,0.207738)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4      -9.4004      1.52561    (-7.73342,3.19259)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     5      36.2639            0    (-19.5201,-55.784)

!XSPEC12>log none
Log file closed
logging switched off
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                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 6.16e-03 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 1.18e-02 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
17.5014      0.585207      1      -7.92488      0.982530       63.5100
11.7936      0.77484       0      -7.46297      -1.70222       29.8937
7.24698      2.04891       0      -7.19426      -5.96582       37.9958
3.59889      2.73629      -1      -6.85273      -2.23666       44.6544
2.71537      0.994742     -2      -6.82337      -2.20659       51.3995
2.64044      0.0615617    -3      -6.80108      -1.69727       54.4827
2.63052      0.0131899    -4      -6.79479      -1.72612       55.4564
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1048E-02|  1.0000   0.0012  -0.0062  
 4.4789E+00|  0.0020  -0.9913   0.1316  
 2.1743E+02|  0.0060   0.1316   0.9913  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.893e-02   1.634e-01   1.298e+00
   1.634e-01   8.166e+00   2.778e+01
   1.298e+00   2.778e+01   2.137e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.63003      0.0026978    -3      -6.79303      -1.65877       55.7472
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1034E-02|  1.0000   0.0006  -0.0060  
 4.3652E+00|  0.0014  -0.9916   0.1293  
 2.2711E+02|  0.0059   0.1293   0.9916  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.894e-02   1.672e-01   1.329e+00
   1.672e-01   8.088e+00   2.855e+01
   1.329e+00   2.855e+01   2.234e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62998      0.00129219   -3      -6.79290      -1.67273       55.7656
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1031E-02|  1.0000   0.0008  -0.0060  
 4.2283E+00|  0.0015  -0.9921   0.1254  
 2.3816E+02|  0.0059   0.1254   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.922e-02   1.687e-01   1.386e+00
   1.687e-01   7.905e+00   2.910e+01
   1.386e+00   2.910e+01   2.345e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>newpar 1 50.0

Fit statistic  : Chi-Squared                   16.24     using 10 bins.

Test statistic : Chi-Squared                   16.24     using 10 bins.
 Null hypothesis probability of 2.30e-02 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>newpar 2 100.0

Fit statistic  : Chi-Squared                   29.01     using 10 bins.

Test statistic : Chi-Squared                   29.01     using 10 bins.
 Null hypothesis probability of 1.44e-04 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
4.09267      36.6542      -3      -7.03230      -1.66769       55.8139
2.64734      4.97021      -4      -7.13071      -1.66560       55.7986
2.62998      0.432001     -5      -7.14422      -1.66683       55.7862
2.62997      0.00826486   -6      -7.14452      -1.66701       55.7837
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0994E-02|  0.9993   0.0341  -0.0122  
 4.2336E+00|  0.0353  -0.9915   0.1253  
 2.3739E+02|  0.0078   0.1256   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.076e-02   8.509e-02   1.859e+00
   8.509e-02   7.908e+00   2.906e+01
   1.859e+00   2.906e+01   2.337e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      50.0000      frozen
   2    1   cflux      Emax       keV      100.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.14452     +/-  0.175399     
   4    2   cutep50    a                   -1.66701     +/-  2.81209      
   5    2   cutep50    b                   55.7837      +/-  15.2871      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62997      4.28038e-05   0      -7.14452      -1.66701       55.7837
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1007E-02|  0.9993   0.0341  -0.0122  
 4.2395E+00|  0.0353  -0.9915   0.1253  
 2.3763E+02|  0.0078   0.1256   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.081e-02   8.524e-02   1.862e+00
   8.524e-02   7.918e+00   2.909e+01
   1.862e+00   2.909e+01   2.339e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      50.0000      frozen
   2    1   cflux      Emax       keV      100.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.14452     +/-  0.175522     
   4    2   cutep50    a                   -1.66701     +/-  2.81398      
   5    2   cutep50    b                   55.7837      +/-  15.2949      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62997      3.91223e-05   0      -7.14452      -1.66701       55.7837
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1007E-02|  0.9993   0.0341  -0.0122  
 4.2395E+00|  0.0353  -0.9915   0.1253  
 2.3763E+02|  0.0078   0.1256   0.9920  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   3.081e-02   8.524e-02   1.862e+00
   8.524e-02   7.918e+00   2.909e+01
   1.862e+00   2.909e+01   2.339e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      50.0000      frozen
   2    1   cflux      Emax       keV      100.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.14452     +/-  0.175522     
   4    2   cutep50    a                   -1.66701     +/-  2.81398      
   5    2   cutep50    b                   55.7837      +/-  15.2949      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303193


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      50.0000      frozen
   2    1   cflux      Emax       keV      100.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.14452     +/-  0.175522     
   4    2   cutep50    a                   -1.66701     +/-  2.81398      
   5    2   cutep50    b                   55.7837      +/-  15.2949      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
     3     -7.90743     -6.92347    (-0.762907,0.221047)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4     -9.40527      1.49766    (-7.73826,3.16467)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     5       36.264            0    (-19.5197,-55.7837)

!XSPEC12>log none
Log file closed
logging switched off
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                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 6.16e-03 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 1.18e-02 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
17.5014      0.585207      1      -7.92488      0.982530       63.5100
11.7936      0.77484       0      -7.46297      -1.70222       29.8937
7.24698      2.04891       0      -7.19426      -5.96582       37.9958
3.59889      2.73629      -1      -6.85273      -2.23666       44.6544
2.71537      0.994742     -2      -6.82337      -2.20659       51.3995
2.64044      0.0615617    -3      -6.80108      -1.69727       54.4827
2.63052      0.0131899    -4      -6.79479      -1.72612       55.4564
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1048E-02|  1.0000   0.0012  -0.0062  
 4.4789E+00|  0.0020  -0.9913   0.1316  
 2.1743E+02|  0.0060   0.1316   0.9913  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.893e-02   1.634e-01   1.298e+00
   1.634e-01   8.166e+00   2.778e+01
   1.298e+00   2.778e+01   2.137e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.63003      0.0026978    -3      -6.79303      -1.65877       55.7472
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1034E-02|  1.0000   0.0006  -0.0060  
 4.3652E+00|  0.0014  -0.9916   0.1293  
 2.2711E+02|  0.0059   0.1293   0.9916  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.894e-02   1.672e-01   1.329e+00
   1.672e-01   8.088e+00   2.855e+01
   1.329e+00   2.855e+01   2.234e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62998      0.00129219   -3      -6.79290      -1.67273       55.7656
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1031E-02|  1.0000   0.0008  -0.0060  
 4.2283E+00|  0.0015  -0.9921   0.1254  
 2.3816E+02|  0.0059   0.1254   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.922e-02   1.687e-01   1.386e+00
   1.687e-01   7.905e+00   2.910e+01
   1.386e+00   2.910e+01   2.345e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>newpar 1 100.0

Fit statistic  : Chi-Squared                 2102.12     using 10 bins.

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

!XSPEC12>newpar 2 150.0

Fit statistic  : Chi-Squared                 2612.99     using 10 bins.

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

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
322.31       2186.61      -3      -7.17253      -1.60996       56.1464
34.8635      304.912      -4      -7.52535      -1.61592       56.1216
4.5493       43.1343      -5      -7.78252      -1.63888       55.9960
2.65791      5.91613      -6      -7.89843      -1.66075       55.8564
2.62999      0.555722     -7      -7.91789      -1.66577       55.7978
2.62997      0.0136385    -8      -7.91892      -1.66695       55.7849
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0850E-02|  0.9942  -0.1014  -0.0360  
 4.2608E+00| -0.0960  -0.9869   0.1299  
 2.3743E+02|  0.0487   0.1257   0.9909  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   6.123e-01   1.855e+00   1.140e+01
   1.855e+00   7.901e+00   2.902e+01
   1.140e+01   2.902e+01   2.332e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.91892     +/-  0.782516     
   4    2   cutep50    a                   -1.66695     +/-  2.81085      
   5    2   cutep50    b                   55.7849      +/-  15.2706      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62997      0.000175383  -3      -7.91902      -1.66711       55.7827
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0872E-02|  0.9942  -0.1015  -0.0360  
 4.2731E+00| -0.0960  -0.9869   0.1300  
 2.3761E+02|  0.0487   0.1258   0.9909  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   6.142e-01   1.860e+00   1.142e+01
   1.860e+00   7.921e+00   2.907e+01
   1.142e+01   2.907e+01   2.334e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.91902     +/-  0.783693     
   4    2   cutep50    a                   -1.66711     +/-  2.81445      
   5    2   cutep50    b                   55.7827      +/-  15.2760      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62997      1.76748e-05   1      -7.91902      -1.66711       55.7827
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0872E-02|  0.9942  -0.1015  -0.0360  
 4.2738E+00| -0.0961  -0.9868   0.1300  
 2.3757E+02|  0.0487   0.1258   0.9909  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   6.143e-01   1.860e+00   1.142e+01
   1.860e+00   7.922e+00   2.906e+01
   1.142e+01   2.906e+01   2.333e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.91902     +/-  0.783763     
   4    2   cutep50    a                   -1.66711     +/-  2.81459      
   5    2   cutep50    b                   55.7827      +/-  15.2746      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303192


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      150.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.91902     +/-  0.783763     
   4    2   cutep50    a                   -1.66711     +/-  2.81459      
   5    2   cutep50    b                   55.7827      +/-  15.2746      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values -10.3416, -13.0762
and delta stat 2.00445, 16.9087
but latest trial -11.2445 gives 16.9347
Suggest that you check this result using the steppar command.
     3     -11.7089     -7.10466    (-3.78984,0.814366)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4      -9.3989      1.52252    (-7.73179,3.18963)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     5      36.2646            0    (-19.5181,-55.7827)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>@/local/data/bat1/alien/Swift_3rdBATcatalog/event/scripts/test_cflux/bat_cutpow_cflux_100_350kev_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                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 6.16e-03 with 6 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>freeze 6

Fit statistic  : Chi-Squared                   18.03     using 10 bins.

Test statistic : Chi-Squared                   18.03     using 10 bins.
 Null hypothesis probability of 1.18e-02 with 7 degrees of freedom
 Current data and model not fit yet.

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
17.5014      0.585207      1      -7.92488      0.982530       63.5100
11.7936      0.77484       0      -7.46297      -1.70222       29.8937
7.24698      2.04891       0      -7.19426      -5.96582       37.9958
3.59889      2.73629      -1      -6.85273      -2.23666       44.6544
2.71537      0.994742     -2      -6.82337      -2.20659       51.3995
2.64044      0.0615617    -3      -6.80108      -1.69727       54.4827
2.63052      0.0131899    -4      -6.79479      -1.72612       55.4564
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1048E-02|  1.0000   0.0012  -0.0062  
 4.4789E+00|  0.0020  -0.9913   0.1316  
 2.1743E+02|  0.0060   0.1316   0.9913  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.893e-02   1.634e-01   1.298e+00
   1.634e-01   8.166e+00   2.778e+01
   1.298e+00   2.778e+01   2.137e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.63003      0.0026978    -3      -6.79303      -1.65877       55.7472
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1034E-02|  1.0000   0.0006  -0.0060  
 4.3652E+00|  0.0014  -0.9916   0.1293  
 2.2711E+02|  0.0059   0.1293   0.9916  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.894e-02   1.672e-01   1.329e+00
   1.672e-01   8.088e+00   2.855e+01
   1.329e+00   2.855e+01   2.234e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62998      0.00129219   -3      -6.79290      -1.67273       55.7656
========================================
 Variances and Principal Axes
                 3        4        5  
 1.1031E-02|  1.0000   0.0008  -0.0060  
 4.2283E+00|  0.0015  -0.9921   0.1254  
 2.3816E+02|  0.0059   0.1254   0.9921  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   1.922e-02   1.687e-01   1.386e+00
   1.687e-01   7.905e+00   2.910e+01
   1.386e+00   2.910e+01   2.345e+02
------------------------------------

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


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>newpar 1 100.0

Fit statistic  : Chi-Squared                 2102.12     using 10 bins.

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

!XSPEC12>newpar 2 350.0

Fit statistic  : Chi-Squared                 2102.12     using 10 bins.

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

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
256.543      1778.66      -3      -7.16457      -1.60306       56.1777
27.3732      248.409      -4      -7.51035      -1.61113       56.1443
3.97185      35.1759      -5      -7.75565      -1.63844       55.9987
2.64537      4.7556       -6      -7.85902      -1.66164       55.8511
2.62998      0.409438     -7      -7.87428      -1.66575       55.7965
2.62997      0.00833927   -8      -7.87518      -1.66704       55.7844
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0800E-02|  0.9914  -0.1248  -0.0384  
 4.2856E+00| -0.1188  -0.9842   0.1314  
 2.3768E+02|  0.0542   0.1257   0.9906  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.697e-01   2.120e+00   1.270e+01
   2.120e+00   7.908e+00   2.904e+01
   1.270e+01   2.904e+01   2.333e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.87518     +/-  0.877316     
   4    2   cutep50    a                   -1.66704     +/-  2.81206      
   5    2   cutep50    b                   55.7844      +/-  15.2741      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62997      0.000147125  -2      -7.87523      -1.66700       55.7833
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0813E-02|  0.9914  -0.1248  -0.0385  
 4.2946E+00| -0.1188  -0.9842   0.1315  
 2.3766E+02|  0.0543   0.1258   0.9906  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.711e-01   2.123e+00   1.271e+01
   2.123e+00   7.922e+00   2.906e+01
   1.271e+01   2.906e+01   2.333e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.87523     +/-  0.878118     
   4    2   cutep50    a                   -1.66700     +/-  2.81456      
   5    2   cutep50    b                   55.7833      +/-  15.2734      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

!XSPEC12>fit 100
 Warning: renorm - no variable model to allow  renormalization
                                   Parameters
Chi-Squared  |beta|/N    Lvl    3:lg10Flux           4:a           5:b
2.62997      1.90277e-05   0      -7.87523      -1.66700       55.7833
========================================
 Variances and Principal Axes
                 3        4        5  
 1.0813E-02|  0.9914  -0.1248  -0.0385  
 4.2948E+00| -0.1188  -0.9842   0.1315  
 2.3766E+02|  0.0543   0.1258   0.9906  
----------------------------------------

====================================
  Covariance Matrix
        1           2           3   
   7.712e-01   2.124e+00   1.271e+01
   2.124e+00   7.922e+00   2.906e+01
   1.271e+01   2.906e+01   2.333e+02
------------------------------------

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.87523     +/-  0.878152     
   4    2   cutep50    a                   -1.66700     +/-  2.81460      
   5    2   cutep50    b                   55.7833      +/-  15.2732      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________


Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

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

!XSPEC12>show

XSPEC version: 12.13.1

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

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

 Responses read: 
   /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp associated with spectrum 1 source 1
      energies: 204 channels: 10
 Distinct RMF files: 
     /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak//local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp

1 file 1 spectrum 
Spectrum 1  Spectral Data File: /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.pha
Net count rate (cts/s) for Spectrum:1  3.144e-01 +/- 8.204e-02
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-10
  Telescope: SWIFT Instrument: BAT  Channel Type: PI
  Exposure Time: 0.02 sec
 Using fit statistic: chi
 Using Response (RMF) File            /local/data/bat1/alien/Swift_3rdBATcatalog/event/batevent_reproc/trigger1242223/remake_spec_cflux/spec_20ms_peak/sw01242223000b_20ms_peak.rsp for Source 1

 Spectral data counts: 0.00628833
 Model predicted rate: 0.303192


Current model list:

========================================================================
Model cflux<1>*cutep50<2> Source No.: 1   Active/On
Model Model Component  Parameter  Unit     Value
 par  comp
   1    1   cflux      Emin       keV      100.000      frozen
   2    1   cflux      Emax       keV      350.000      frozen
   3    1   cflux      lg10Flux   cgs      -7.87523     +/-  0.878152     
   4    2   cutep50    a                   -1.66700     +/-  2.81460      
   5    2   cutep50    b                   55.7833      +/-  15.2732      
   6    2   cutep50    norm                1.00000      frozen
________________________________________________________________________

   Using energies from responses.

Fit statistic  : Chi-Squared                    2.63     using 10 bins.

Test statistic : Chi-Squared                    2.63     using 10 bins.
 Null hypothesis probability of 9.17e-01 with 7 degrees of freedom

Bayes is off


!XSPEC12>error 3
 Parameter   Confidence Range (2.706)
Apparent non-monotonicity in statistic space detected.
Current bracket values -7.87523, -13.6534
and delta stat 0, 4.6122
but latest trial -12.3011 gives 16.9567
Suggest that you check this result using the steppar command.
Apparent non-monotonicity in statistic space detected.
Current bracket values -6.46544, -6.4651
and delta stat 2.64537, 3.14382
but latest trial -6.46538 gives 2.64248
Suggest that you check this result using the steppar command.
     3     -10.7643     -6.46527    (-2.88911,1.40996)

!XSPEC12>error 4
 Parameter   Confidence Range (2.706)
     4     -9.39703      1.52942    (-7.73003,3.19643)

!XSPEC12>error 5
 Parameter   Confidence Range (2.706)

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


*** Parameter upper bound is INVALID.

     5      36.2646            0    (-19.5186,-55.7833)

!XSPEC12>log none
Log file closed
logging switched off
XSPEC12>/*
XSPEC12>exit
 XSPEC: quit
 
 
Spectral model in the cutoff power-law:
------------------------------------------------------------
Parameters  : value       lower 90%   higher 90%
Photon index: -1.48403     ( -7.86257   3.01325 )
Epeak [keV] : 56.8622      ( -17.1789 -55.9973 )
Norm@50keV  : 0.635293    ( -0.802345   96679.3 )
------------------------------------------------------------
#Fit statistic  : Chi-Squared                    2.64     using 10 bins.
 Reduced chi-squared = 0.377143
# Null hypothesis probability of 9.17e-01 with 7 degrees of freedom
 
Photon flux (15-150 keV)    in 0.02 sec: 2.24532 ( -0.90954  0.92076 ) ph/cm2/s
Energy fluence (15-150 keV)             : 3.1972e-09 ( -1.49849e-09  1.82715e-09 ) ergs/cm2