#XSPEC version: 12.8.2
#Build Date/Time: Thu Jul  3 19:14:55 2014
#
!XSPEC12>show;
#
#XSPEC version: 12.8.2
#
#Sun May 31 11:12:10 2015
# Auto-saving is done after every command.
# Fit statistic in use: Chi-Squared
# Minimization technique: Levenberg-Marquardt
#    Convergence criterion = 0.01
#    Parameter fit deltas: 0.01 * parValue
# Always calculate parameter derivatives using full (slower) numerical differentiation: No
# Querying disabled - will not continue fitting.
# Prefit-renorming enabled.
# Solar abundance table: angr
# Photoionization Cross-Section Table:
#    bcmc:  Balucinska-Church and McCammon, 1998
# Cosmology in use: H0 = 70 q0 = 0 Lambda0 = 0.73
# Model data directory: /software/lheasoft/release/x86_64-unknown-linux-gnu-libc2.12/../spectral/modelData/
# Plot settings:
#   Showing of individual additive components is OFF.
#   Showing of background spectra is OFF.
#   Effective area normalization is OFF.
#   Current unit settings:
#      Energy     = keV
#      Wavelength = angstrom, with Y-Axis displayed per Hz
#   X-Axis data display mode: Energy
#   Spectra plots will be shifted to source frame by redshift value z: 0
#   Device: /null
#   Plotting of line IDs is OFF.
#   Splashpage is ON.
#   xlog for data plots is ON.
#   ylog for data plots is OFF.
#
#   Default plot rebin settings for all plot groups:
#   Min. Signif.   Max. # Bins   Error Type
#        0.00000             1         quad
#
# Responses read: 
#   ../sw00251863000b_preslew.rsp associated with spectrum 1 source 1
#      energies: 204 channels: 80
# Distinct RMF files: 
#     ../sw00251863000b_preslew.rsp
#
#1 file 1 spectrum 
#Spectrum 1  Spectral Data File: ../sw00251863000b_slew.pha
#Net count rate (cts/s) for Spectrum:1  -7.614e-04 +/- 1.396e-03
# Assigned to Data Group 1 and Plot Group 1
#  Noticed Channels:  4-62
#  Telescope: SWIFT Instrument: BAT  Channel Type: PI
#  Exposure Time: 38.4 sec
# Using fit statistic: chi
# Using test statistic: chi
# Using Response (RMF) File            ../sw00251863000b_preslew.rsp for Source 1
#
# Spectral data counts: -0.0292383
# Model predicted rate: 0.0
#
#
#Current model list:
#
#========================================================================
#Model npegpow<1> Source No.: 1   Active/On
#Model Model Component  Parameter  Unit     Value
# par  comp
#   1    1   npegpow    PhoIndex            1.50000      +/-  -1.00000     
#   2    1   npegpow    eMin       keV      15.0000      frozen
#   3    1   npegpow    eMax       keV      25.0000      frozen
#   4    1   npegpow    enorm      keV      50.0000      frozen
#   5    1   npegpow    norm                0.0          +/-  222.353      
#________________________________________________________________________
#
#   Using energies from responses.
#
#Fit statistic : Chi-Squared =          56.46 using 59 PHA bins.
#
#Test statistic : Chi-Squared =          56.46 using 59 PHA bins.
# Reduced chi-squared =         0.9906 for     57 degrees of freedom 
# Null hypothesis probability =   4.952073e-01
# Weighting method: standard
#
!XSPEC12>error 5;
# Parameter   Confidence Range (2.706)
# Due to zero model norms, the following fit parameters are temporarily frozen:1 
#
#***XSPEC Error:  No variable parameters for fit 
# Fit error occurred during lower bound error calculation.
# Due to zero model norms, the following fit parameters are temporarily frozen:1 
# Due to zero model norms, the following fit parameters are temporarily frozen:1 
#                                   Parameters
#Chi-Squared  |beta|/N    Lvl    1:PhoIndex        5:norm
#54.8325      0.0488067    -3       7.09407       187.470
#54.8311      0.0220779    -2       5.07942       236.205
#==============================
# Variances and Principal Axes
#                 1        5  
# 1.8104E+01| -0.9997  -0.0253  
# 6.8194E+04|  0.0253  -0.9997  
#------------------------------
#
#========================
#  Covariance Matrix
#        1           2   
#   6.187e+01  -1.727e+03
#  -1.727e+03   6.815e+04
#------------------------
#
#========================================================================
#Model npegpow<1> Source No.: 1   Active/On
#Model Model Component  Parameter  Unit     Value
# par  comp
#   1    1   npegpow    PhoIndex            5.07942      +/-  7.86593      
#   2    1   npegpow    eMin       keV      15.0000      frozen
#   3    1   npegpow    eMax       keV      25.0000      frozen
#   4    1   npegpow    enorm      keV      50.0000      frozen
#   5    1   npegpow    norm                236.205      +/-  261.057      
#________________________________________________________________________
#
#
#Fit statistic : Chi-Squared =          54.83 using 59 PHA bins.
#
#Test statistic : Chi-Squared =          54.83 using 59 PHA bins.
# Reduced chi-squared =         0.9619 for     57 degrees of freedom 
# Null hypothesis probability =   5.568855e-01
#***Warning: New best fit found, fit parameters will be set to new values.
#
!XSPEC12> @/local/data/raid2/battools/bin/GRB_spec_fit_v2/bat_pegpow_part4_25_50kev_fit.xcm
#
!XSPEC12>log none;
#