XSPEC version: 12.11.0 Build Date/Time: Mon Mar 29 15:43:38 2021 XSPEC12># Load spectra XSPEC12>@load_spectra !XSPEC12>data epoch01_grouped_spec_A.pha 1 spectrum in use Spectral Data File: epoch01_grouped_spec_A.pha Spectrum 1 Net count rate (cts/s) for Spectrum:1 1.847e-03 +/- 4.107e-04 (31.0 % total) Assigned to Data Group 1 and Plot Group 1 Noticed Channels: 1-3933 Telescope: NuSTAR Instrument: FPMA Channel Type: PI Exposure Time: 4.027e+04 sec Using fit statistic: chi Using Background File nu90701312002A01_bk.pha Background Exposure Time: 4.027e+04 sec Using Response (RMF) File nu90701312002A01_sr.rmf for Source 1 Using Auxiliary Response (ARF) File nu90701312002A01_sr.arf !XSPEC12>data 2:2 epoch01_grouped_spec_B.pha 2 spectra in use Spectral Data File: epoch01_grouped_spec_B.pha Spectrum 2 Net count rate (cts/s) for Spectrum:2 2.227e-03 +/- 4.296e-04 (34.4 % total) Assigned to Data Group 2 and Plot Group 2 Noticed Channels: 1-3781 Telescope: NuSTAR Instrument: FPMB Channel Type: PI Exposure Time: 3.97e+04 sec Using fit statistic: chi Using Background File nu90701312002B01_bk.pha Background Exposure Time: 3.97e+04 sec Using Response (RMF) File nu90701312002B01_sr.rmf for Source 1 Using Auxiliary Response (ARF) File nu90701312002B01_sr.arf !XSPEC12>ignore bad ignore: 3929 channels ignored from source number 1 ignore: 3774 channels ignored from source number 2 !XSPEC12>ignore **-3.5 78.-** 48 channels (1-48) ignored in spectrum # 1 2187 channels (1747-3933) ignored in spectrum # 1 !XSPEC12>ignore 2: **-3.5 78.-** 48 channels (1-48) ignored in spectrum # 2 2187 channels (1595-3781) ignored in spectrum # 2 XSPEC12># Load model XSPEC12>@const_phabs_apec !XSPEC12>method leven 1000 0.01 !XSPEC12>abund aspl Solar Abundance Vector set to aspl: Asplund M, Grevesse N., Sauval A.J. & Scott P., 2009, ARAA, 47, 481 !XSPEC12>xsect vern Cross Section Table set to vern: Verner, Ferland, Korista, and Yakovlev 1996 !XSPEC12>cosmo 70 0 0.73 !XSPEC12>xset delta 0.01 Parameter delta values for fits will now be 0.01 * parValue !XSPEC12>xset APEC_TRACE_ABUND Fe !XSPEC12>systematic 0 Model systematic error set to 0 !XSPEC12>model constant*phabs*apec ; 1 -0.01 0 0 1e+10 1e+10 ; 1.44769e-07 0.001 0 0 100000 1e+06 ; 1.84334 0.01 0.008 0.008 64 64 ; 1 -0.001 0 0 5 5 ; 0 -0.01 -0.999 -0.999 10 10 ; 0.000539095 0.01 0 0 1e+20 1e+24 ; = p1 ; = p2 ; = p3 ; = p4 ; = p5 ; = p6 ======================================================================== Model constant<1>*phabs<2>*apec<3> Source No.: 1 Active/On Model Model Component Parameter Unit Value par comp Data group: 1 1 1 constant factor 1.00000 frozen 2 2 phabs nH 10^22 1.44769E-07 +/- 0.0 3 3 apec kT keV 1.84334 +/- 0.0 4 3 apec Abundanc 1.00000 frozen 5 3 apec Redshift 0.0 frozen 6 3 apec norm 5.39095E-04 +/- 0.0 Data group: 2 7 1 constant factor 1.00000 = p1 8 2 phabs nH 10^22 1.44769E-07 = p2 9 3 apec kT keV 1.84334 = p3 10 3 apec Abundanc 1.00000 = p4 11 3 apec Redshift 0.0 = p5 12 3 apec norm 5.39095E-04 = p6 ________________________________________________________________________ Reading APEC data from 3.0.9 Fit statistic : Chi-Squared 1.88 using 3 bins. Chi-Squared 7.53 using 6 bins. Total fit statistic 9.40 with 6 d.o.f. Test statistic : Chi-Squared 9.40 using 9 bins. Null hypothesis probability of 1.52e-01 with 6 degrees of freedom Current data and model not fit yet. !XSPEC12>bayes off Fit statistic : Chi-Squared 1.88 using 3 bins. Chi-Squared 7.53 using 6 bins. Total fit statistic 9.40 with 6 d.o.f. Test statistic : Chi-Squared 9.40 using 9 bins. Null hypothesis probability of 1.52e-01 with 6 degrees of freedom Current data and model not fit yet. XSPEC12># Abundances and APEC_TRACE_ABUND are in the model, XSPEC12># but we can override here XSPEC12>#abund aspl XSPEC12>#xset APEC_TRACE_ABUND Fe XSPEC12># Refit the model XSPEC12>fit 1000 Parameters Chi-Squared |beta|/N Lvl 2:nH 3:kT 6:norm ***Warning: Zero alpha-matrix diagonal element for parameter 2 Parameter 2 is pegged at 1.44769e-07 due to zero or negative pivot element, likely caused by the fit being insensitive to the parameter. 9.40358 5.21242e-06 -3 1.44769e-07 1.84334 0.000539095 ***Warning: Zero alpha-matrix diagonal element for parameter 2 Parameter 2 is pegged at 1.44769e-07 due to zero or negative pivot element, likely caused by the fit being insensitive to the parameter. 9.40358 0.000137306 -3 1.44769e-07 1.84334 0.000539095 ============================== Variances and Principal Axes 3 6 8.7455E-09| -0.0007 -1.0000 3.2680E-01| -1.0000 0.0007 ------------------------------ ======================== Covariance Matrix 1 2 3.268e-01 -2.390e-04 -2.390e-04 1.835e-07 ------------------------ ======================================================================== Model constant<1>*phabs<2>*apec<3> Source No.: 1 Active/On Model Model Component Parameter Unit Value par comp Data group: 1 1 1 constant factor 1.00000 frozen 2 2 phabs nH 10^22 1.44769E-07 +/- -1.00000 3 3 apec kT keV 1.84334 +/- 0.571661 4 3 apec Abundanc 1.00000 frozen 5 3 apec Redshift 0.0 frozen 6 3 apec norm 5.39095E-04 +/- 4.28380E-04 Data group: 2 7 1 constant factor 1.00000 = p1 8 2 phabs nH 10^22 1.44769E-07 = p2 9 3 apec kT keV 1.84334 = p3 10 3 apec Abundanc 1.00000 = p4 11 3 apec Redshift 0.0 = p5 12 3 apec norm 5.39095E-04 = p6 ________________________________________________________________________ Fit statistic : Chi-Squared 1.88 using 3 bins. Chi-Squared 7.53 using 6 bins. Total fit statistic 9.40 with 6 d.o.f. Test statistic : Chi-Squared 9.40 using 9 bins. Null hypothesis probability of 1.52e-01 with 6 degrees of freedom XSPEC12>save model tmpmodel XSPEC12># Set plot parameters XSPEC12>setplot energy XSPEC12>setplot command lwidth 2 1 XSPEC12>setplot command lwidth 2 on 0..20 2 XSPEC12>setplot device const_phabs_apec.ps/cps XSPEC12>plot ldata delchi XSPEC12># Print the number of counts XSPEC12>show rates Spectral Data File: epoch01_grouped_spec_A.pha Assigned to Data Group 1 and Plot Group 1 Net count rate (cts/s) for Spectrum:1 5.929e-04 +/- 1.806e-04 (49.7 % total) Spectral data counts: 48 Model predicted rate: 8.20954E-04 Spectral Data File: epoch01_grouped_spec_B.pha Assigned to Data Group 2 and Plot Group 2 Net count rate (cts/s) for Spectrum:2 1.360e-03 +/- 2.484e-04 (60.0 % total) Spectral data counts: 90 Model predicted rate: 7.32477E-04 XSPEC12># Flux determination the new way XSPEC12> XSPEC12># Flux determination the old way XSPEC12> XSPEC12># Absorved flux over the NuSTAR band XSPEC12>flux 3.5 78.0 Spectrum Number: 1 Data Group Number: 1 Model Flux 1.106e-05 photons (8.8158e-14 ergs/cm^2/s) range (3.5000 - 78.000 keV) Spectrum Number: 2 Data Group Number: 2 Model Flux 1.106e-05 photons (8.8158e-14 ergs/cm^2/s) range (3.5000 - 78.000 keV) XSPEC12># Absorbed flux over a wide band XSPEC12>energies extend low 0.1 Models will use response energies extended to: Low: 0.1 in 200 log bins Fit statistic : Chi-Squared 1.88 using 3 bins. Chi-Squared 7.53 using 6 bins. Total fit statistic 9.40 with 6 d.o.f. Test statistic : Chi-Squared 9.40 using 9 bins. Null hypothesis probability of 1.52e-01 with 6 degrees of freedom Current data and model not fit yet. XSPEC12>energies extend high 500 Models will use response energies extended to: Low: 0.1 in 200 log bins High: 500.0 in 200 log bins Fit statistic : Chi-Squared 1.88 using 3 bins. Chi-Squared 7.53 using 6 bins. Total fit statistic 9.40 with 6 d.o.f. Test statistic : Chi-Squared 9.40 using 9 bins. Null hypothesis probability of 1.52e-01 with 6 degrees of freedom Current data and model not fit yet. XSPEC12>flux 0.3 78.0 Spectrum Number: 1 Data Group Number: 1 Model Flux 0.00044334 photons (7.4089e-13 ergs/cm^2/s) range (0.30000 - 78.000 keV) Spectrum Number: 2 Data Group Number: 2 Model Flux 0.00044334 photons (7.4089e-13 ergs/cm^2/s) range (0.30000 - 78.000 keV) XSPEC12># Unabsorbed flux over the NuSTAR band XSPEC12>newpar 2 0.0 Fit statistic : Chi-Squared 1.88 using 3 bins. Chi-Squared 7.53 using 6 bins. Total fit statistic 9.40 with 6 d.o.f. Test statistic : Chi-Squared 9.40 using 9 bins. Null hypothesis probability of 1.52e-01 with 6 degrees of freedom Current data and model not fit yet. XSPEC12> XSPEC12>flux 3.5 78.0 Spectrum Number: 1 Data Group Number: 1 Model Flux 1.106e-05 photons (8.8158e-14 ergs/cm^2/s) range (3.5000 - 78.000 keV) Spectrum Number: 2 Data Group Number: 2 Model Flux 1.106e-05 photons (8.8158e-14 ergs/cm^2/s) range (3.5000 - 78.000 keV) XSPEC12># Unabsorbed flux over a wide band XSPEC12>flux 0.3 78.0 Spectrum Number: 1 Data Group Number: 1 Model Flux 0.00044334 photons (7.4089e-13 ergs/cm^2/s) range (0.30000 - 78.000 keV) Spectrum Number: 2 Data Group Number: 2 Model Flux 0.00044334 photons (7.4089e-13 ergs/cm^2/s) range (0.30000 - 78.000 keV) XSPEC12>exit XSPEC: quit