.0000 .10000E+07 27 'Normalizat' .99254 1.0000 .10000E-01 10.000 28 'Prefactor ' 1.0413 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6940E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 9909.139 FROM MIGRAD STATUS=CONVERGED 158 CALLS 1993 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.4337 1.1757 -.82193E-08 -.11711E-04 2 norm .12274E-06 2.7334 .68568E-07** at limit ** 3 Prefactor .26096E-06 40.254 -.28873E-06** at limit ** 4 Prefactor .22204E-09 2.3403 .11910E-06** at limit ** 5 Prefactor 3.0546 2.5212 -.20190E-07 -.14091E-02 6 Prefactor .11913E-06 2.4061 .62940E-07** at limit ** 7 Prefactor .67957E-06 20.513 -.18729E-06** at limit ** 8 norm .33307E-09 4.2217 -.88136E-07** at limit ** 9 Prefactor 18.283 6.7340 -.30640E-07 -.18360E-02 10 norm .64049 .89144 .13695E-07 .12357E-02 11 norm 3.8645 3.0863 .92446E-08 .79153E-03 12 Prefactor 8.4689 9.2208 -.11168E-07 -.32571E-03 13 Prefactor .55511E-09 1.6623 .40461E-07** at limit ** 14 Prefactor .48461E-07 5.4594 .14609E-06** at limit ** 15 Prefactor .13817E-06 6.2022 .15143E-06** at limit ** 16 norm .55511E-10 1.5664 -.49791E-07** at limit ** 17 norm 7.6707 3.8440 .17641E-07 .33866E-02 18 Prefactor .26373E-06 5.9086 .90617E-07** at limit ** 19 Prefactor .64615E-07 5.3886 .90132E-08** at limit ** 20 Prefactor .27056E-06 6.6691 .12773E-06** at limit ** 21 Prefactor .15388E-06 8.3253 -.59940E-07** at limit ** 22 Prefactor .48506E-06 8.0695 .15055E-06** at limit ** 23 Prefactor .41966E-07 6.2622 -.11186E-06** at limit ** 24 Prefactor .76483E-06 7.2496 .19410E-07** at limit ** 25 norm .38031E-06 4.5881 .56915E-07** at limit ** 26 Prefactor .16176E-06 6.5925 .43434E-07** at limit ** 27 Normalizat .99220 .15230 -.86104E-06 .14917E-04 28 Prefactor 1.0415 .10669 .78244E-06 .20843E-03 ERR DEF= .500 Final values: Prefactor = 3.43365 norm = 1.22735e-07 Prefactor = 2.60958e-07 Prefactor = 2.22045e-10 Prefactor = 3.05458 Prefactor = 1.19127e-07 Prefactor = 6.79568e-07 norm = 3.33067e-10 Prefactor = 18.2826 norm = 0.640485 norm = 3.86448 Prefactor = 8.46889 Prefactor = 5.55112e-10 Prefactor = 4.84612e-08 Prefactor = 1.38167e-07 norm = 5.55112e-11 norm = 7.67072 Prefactor = 2.63733e-07 Prefactor = 6.4615e-08 Prefactor = 2.70561e-07 Prefactor = 1.53877e-07 Prefactor = 4.85056e-07 Prefactor = 4.19664e-08 Prefactor = 7.64833e-07 norm = 3.80307e-07 Prefactor = 1.61759e-07 Normalizat = 0.992204 Prefactor = 1.04151 /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 7600 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1223.8+8039_daily_bin1816 RA = 185.971, Dec = 80.6598 tmin = 710035201, tmax = 710294401 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='18907080', job_status='RUN', time_executed='2023-07-10 12:01:48.495918', time_epoch_executed='1689015708.5' WHERE source_name='4FGL J1223.8+8039' and cadence='daily' and bin_id='1816' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18907080 Creating custom pfile directory: /lscratch/kocevski/18907080/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710035201.0 && nMetStart<710294401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710035201.0 && nMetStart<710294401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18907080/ft1_4FGL_J1223.8+8039_daily_bin1816.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710035201.0 && nMetStart<710294401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18907080/ft2_4FGL_J1223.8+8039_daily_bin1816.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18907080/ft1_4FGL_J1223.8+8039_daily_bin1816.fits outfile=/lscratch/kocevski/18907080/ft1_filteredMKT_4FGL_J1223.8+8039_daily_bin1816.fits ra=185.971 dec=80.6598 rad=12.0 tmin=710035201.0 tmax=710294401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 2.39 user 2.17 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18907080/ft2_4FGL_J1223.8+8039_daily_bin1816.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18907080/ft2_4FGL_J1223.8+8039_daily_bin1816.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/18907080/ft1_filteredMKT_4FGL_J1223.8+8039_daily_bin1816.fits evtable="EVENTS" outfile="/lscratch/kocevski/18907080/ft1_filtered_4FGL_J1223.8+8039_daily_bin1816.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.35 user 0.20 sys 0.13 Number of photons that the gtmktime cut: 950 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18907080/ft1_filtered_4FGL_J1223.8+8039_daily_bin1816.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18907080/ft2_4FGL_J1223.8+8039_daily_bin1816.fits sctable="SC_DATA" out ********** ** 18 **HESSE ********** FCN= 9909.139 FROM HESSE STATUS=OK 571 CALLS 2564 TOTAL EDM= .41E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.4337 46.476 .54026E-03 -1.5671 2 norm .12274E-06 6.7144 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .26096E-06 41.988 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .22204E-09 2.3422 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 3.0546 11.283 .58130E-03 -1.5673 6 Prefactor .11913E-06 6.7786 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .67957E-06 30.968 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .33307E-09 4.2259 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 18.283 7.8878 .23460E-03 -1.5622 10 norm .64049 .97057 .65104E-03 -1.5692 11 norm 3.8645 3.1512 .51274E-03 -1.5669 12 Prefactor 8.4689 9.2553 .34480E-03 -1.5650 13 Prefactor .55511E-09 8.2157 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .48461E-07 13.510 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .13817E-06 13.705 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .55511E-10 1.5664 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 7.6707 3.8514 .36185E-03 -1.5653 18 Prefactor .26373E-06 17.412 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .64615E-07 5.7360 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .27056E-06 8.1088 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .15388E-06 31.579 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .48506E-06 10.630 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .41966E-07 12.798 .20196E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .76483E-06 20.041 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm .38031E-06 6.0508 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .16176E-06 19.151 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Normalizat .99220 .13977 .46073E-01 -.93292 28 Prefactor 1.0415 .99048E-01 .40447E-01 -.91358 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.0859e-07 Minuit parameter uncertainties: 1 25.2654 2 0.00181548 3 0.00662031 4 4.50134e-05 5 11.2832 6 0.00179722 7 0.00917489 8 7.45994e-05 9 7.88783 10 0.970572 11 3.15117 12 9.25529 13 0.000134742 14 0.00161864 15 0.00275212 16 2.1244e-05 17 3.8514 18 0.00428569 19 0.00121735 20 0.00296228 21 0.00440894 22 0.00454143 23 0.00146613 24 0.00783018 25 0.00303387 26 0.00351992 27 0.139824 28 0.0990658 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9909.13892929 Extracting fit parameters... 4FGL J1223.8+8039 Spectrum: LogParabola 361 norm: 7.671e+00 3.851e+00 0.000e+00 1.000e+06 ( 1.000e-12) 362 alpha: 2.117e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 363 beta: 1.252e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 364 Eb: 9.363e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 1.042e+00 9.907e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 9.922e-01 1.398e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 6.69 Ra Dec: 185.971 80.660 Photon Index (Fixed Index): 2.12 +/- 0.00 Photon Flux (Fixed Index): 5.78e-08 +/- 2.90e-08 Energy Flux (Fixed Index): 2.79e-05 +/- 1.40e-05 Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 9908.78224945 delta logL = 0.356679839881 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 9908.77181156 delta logL = 0.367117723374 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 6.3840 1.0000 .0000 .10000E+07 2 'alpha ' 2.5113 1.0000 .0000 5.0000 3 'Normalizat' .96957 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0473 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6940E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 9908.772 FROM MIGRAD STATUS=CONVERGED 85 CALLS 293 TOTAL EDM= .42E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 6.3842 4.0378 .10846E-04 -.17925E-02 2 alpha 2.5112 .49196 .10699E-01 -.27172E-04 3 Normalizat .96952 .15118 .28139E-03 .89047E-04 4 Prefactor 1.0473 .10686 .19428E-03 .21757E-03 ERR DEF= .500 Final values: norm = 6.38419 alpha = 2.51124 Normalizat = 0.969521 Prefactor = 1.04733 ********** ** 18 **HESSE ********** FCN= 9908.772 FROM HESSE STATUS=OK 25 CALLS 318 TOTAL EDM= .66E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 6.3842 3.8293 .43383E-06 -1.5657 2 alpha 2.5112 .46632 .42794E-03 .44956E-02 3 Normalizat .96952 .15096 .11255E-04 -.94059 4 Prefactor 1.0473 .10679 .38856E-04 -.91168 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.55621e-11 Minuit parameter uncertainties: 1 3.8293 2 0.469068 3 0.151029 4 0.106816 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 9908.77181137 delta logL = 0.367117915872 Extracting fit parameters... 4FGL J1223.8+8039 Spectrum: LogParabola 361 norm: 6.384e+00 3.829e+00 0.000e+00 1.000e+06 ( 1.000e-12) 362 alpha: 2.511e+00 4.691e-01 0.000e+00 5.000e+00 ( 1.000e+00) 363 beta: 1.252e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 364 Eb: 9.363e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 1.047e+00 1.068e-01 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 9.695e-01 1.510e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 7.39 Ra Dec: 185.971 80.660 Photon Index (Free Index): 2.51 +/- 0.47 Photon Flux (Free Index): 8.21e-08 +/- 4.46e-08 Energy Flux (Free Index): 2.54e-05 +/- 1.20e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/18906615/cmap_HighResolution_710035201_710294401_4FGL_J1223.8+8039_daily_bin1816.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.78e-08', energy_flux2='2.54e-05', photon_flux_error='2.90e-08', dlogl='3.67e-01', energy_flux='2.79e-05', photon_flux2='8.21e-08', job_status='DONE', time_completed='2023-07-10 12:02:42.663335', photon_index_error2='0.47', photon_index2='2.51', ts='6.69', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.20e-05', EG='0.99', time_epoch_completed='1689015762.66', return_code='0', job_id='18906615', GAL2='1.05', EG2='0.97', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='4.46e-08', ts2='7.39', photon_index='2.12' WHERE bin_id='1816' AND source_name='4FGL J1223.8+8039' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 10 12:02:42 PDT 2023 file=/lscratch/kocevski/18907080/ltcube_710035201_710294401_4FGL_J1223.8+8039_daily_bin1816.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/18907080/ft2_4FGL_J1223.8+8039_daily_bin1816.fits .....................! real 8.84 user 8.51 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18907080/ft1_filtered_4FGL_J1223.8+8039_daily_bin1816.fits evtable="EVENTS" scfile=/lscratch/kocevski/18907080/ft2_4FGL_J1223.8+8039_daily_bin1816.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18907080/ltcube_710035201_710294401_4FGL_J1223.8+8039_daily_bin1816.fits outfile=/lscratch/kocevski/18907080/expmap_710035201_710294401_4FGL_J1223.8+8039_daily_bin1816.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/18907080/ltcube_710035201_710294401_4FGL_J1223.8+8039_daily_bin1816.fits .....................! real 68.83 user 64.41 sys 3.94 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 217 point sources and 0 extended sources Setting source of interest to: 4FGL J1223.8+8039 @ 185.971 80.6598 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18907080/ft1_filtered_4FGL_J1223.8+8039_daily_bin1816.fits scfile=/lscratch/kocevski/18907080/ft2_4FGL_J1223.8+8039_daily_bin1816.fits outfile=/lscratch/kocevski/18907080/cmap_710035201_710294401_4FGL_J1223.8+8039_daily_bin1816.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.36 user 0.22 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18907080/ft1_filtered_4FGL_J1223.8+8039_daily_bin1816.fits scfile=/lscratch/kocevski/18907080/ft2_4FGL_J1223.8+8039_daily_bin1816.fits outfile=/lscratch/kocevski/18907080/cmap_HighResolution_710035201_710294401_4FGL_J1223.8+8039_daily_bin1816.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=185.971 yref=80.6598 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.37 user 0.22 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18907080/ft1_filtered_4FGL_J1223.8+8039_daily_bin1816.fits evtable="EVENTS" scfile=/lscratch/kocevski/18907080/ft2_4FGL_J1223.8+8039_daily_bin1816.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18907080/Model_4FGL_J1223.8+8039_daily_bin1816.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/18907080/ft1_filtered_4FGL_J1223.8+8039_daily_bin1816.fits.....................! real 50.14 user 48.33 sys 1.42 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18907080/ft1_filtered_4FGL_J1223.8+8039_daily_bin1816.fits', '/lscratch/kocevski/18907080/ft2_4FGL_J1223.8+8039_daily_bin1816.fits', expMap='/lscratch/kocevski/18907080/expmap_710035201_710294401_4FGL_J1223.8+8039_daily_bin1816.fits', expCube='/lscratch/kocevski/18907080/ltcube_710035201_710294401_4FGL_J1223.8+8039_daily_bin1816.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18907080/Model_4FGL_J1223.8+8039_daily_bin1816.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1223.8+8039' 4FGL J1223.8+8039 Spectrum: LogParabola 361 norm: 1.610e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 362 alpha: 2.117e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 363 beta: 1.252e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 364 Eb: 9.363e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18907080/ft1_filtered_4FGL_J1223.8+8039_daily_bin1816.fits Spacecraft file(s): /lscratch/kocevski/18907080/ft2_4FGL_J1223.8+8039_daily_bin1816.fits Exposure map: /lscratch/kocevski/18907080/expmap_710035201_710294401_4FGL_J1223.8+8039_daily_bin1816.fits Exposure cube: /lscratch/kocevski/18907080/ltcube_710035201_710294401_4FGL_J1223.8+8039_daily_bin1816.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18907080/Model_4FGL_J1223.8+8039_daily_bin1816.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 9909.56336242 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9909.14012881 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.4990 1.0000 .0000 .10000E+07 2 'norm ' .15806E-05 1.0000 .0000 .10000E+07 3 'Prefactor ' .12392E-01 1.0000 .0000 .10000E+07 4 'Prefactor ' .60460E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' 3.0438 1.0000 .0000 .10000E+07 6 'Prefactor ' .55511E-10 1.0000 .0000 .10000E+07 7 'Prefactor ' .84355E-03 1.0000 .0000 .10000E+07 8 'norm ' .19760E-04 1.0000 .0000 .10000E+07 9 'Prefactor ' 18.184 1.0000 .0000 .10000E+07 10 'norm ' .64718 1.0000 .0000 .10000E+07 11 'norm ' 3.8695 1.0000 .0000 .10000E+07 12 'Prefactor ' 8.4413 1.0000 .0000 .10000E+07 13 'Prefactor ' .74385E-07 1.0000 .0000 .10000E+07 14 'Prefactor ' .15102E-04 1.0000 .0000 .10000E+07 15 'Prefactor ' .16863E-02 1.0000 .0000 .10000E+07 16 'norm ' .43678E-05 1.0000 .0000 .10000E+07 17 'norm ' 7.6700 1.0000 .0000 .10000E+07 18 'Prefactor ' .28650E-02 1.0000 .0000 .10000E+07 19 'Prefactor ' .53985E-03 1.0000 .0000 .10000E+07 20 'Prefactor ' .13222E-02 1.0000 .0000 .10000E+07 21 'Prefactor ' .20603E-03 1.0000 .0000 .10000E+07 22 'Prefactor ' .38510E-02 1.0000 .0000 .10000E+07 23 'Prefactor ' .17130 1.0000 .0000 .10000E+07 24 'Prefactor ' .43355E-02 1.0000 .0000 .10000E+07 25 'norm ' .25754E-03 1.0000 .0000 .10000E+07 26 'Prefactor ' .24600E-02 1.0000 .0000 .10000E+07 27 'Normalizat' .99254 1.0000 .10000E-01 10.000 28 'Prefactor ' 1.0413 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6940E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 9909.139 FROM MIGRAD STATUS=CONVERGED 158 CALLS 1993 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.4337 1.1757 -.82193E-08 -.11711E-04 2 norm .12274E-06 2.7334 .68568E-07** at limit ** 3 Prefactor .26096E-06 40.254 -.28873E-06** at limit ** 4 Prefactor .22204E-09 2.3403 .11910E-06** at limit ** 5 Prefactor 3.0546 2.5212 -.20190E-07 -.14091E-02 6 Prefactor .11913E-06 2.4061 .62940E-07** at limit ** 7 Prefactor .67957E-06 20.513 -.18729E-06** at limit ** 8 norm .33307E-09 4.2217 -.88136E-07** at limit ** 9 Prefactor 18.283 6.7340 -.30640E-07 -.18360E-02 10 norm .64049 .89144 .13695E-07 .12357E-02 11 norm 3.8645 3.0863 .92446E-08 .79153E-03 12 Prefactor 8.4689 9.2208 -.11168E-07 -.32571E-03 13 Prefactor .55511E-09 1.6623 .40461E-07** at limit ** 14 Prefactor .48461E-07 5.4594 .14609E-06** at limit ** 15 Prefactor .13817E-06 6.2022 .15143E-06** at limit ** 16 norm .55511E-10 1.5664 -.49791E-07** at limit ** 17 norm 7.6707 3.8440 .17641E-07 .33866E-02 18 Prefactor .26373E-06 5.9086 .90617E-07** at limit ** 19 Prefactor .64615E-07 5.3886 .90132E-08** at limit ** 20 Prefactor .27056E-06 6.6691 .12773E-06** at limit ** 21 Prefactor .15388E-06 8.3253 -.59940E-07** at limit ** 22 Prefactor .48506E-06 8.0695 .15055E-06** at limit ** 23 Prefactor .41966E-07 6.2622 -.11186E-06** at limit ** 24 Prefactor .76483E-06 7.2496 .19410E-07** at limit ** 25 norm .38031E-06 4.5881 .56915E-07** at limit ** 26 Prefactor .16176E-06 6.5925 .43434E-07** at limit ** 27 Normalizat .99220 .15230 -.86104E-06 .14917E-04 28 Prefactor 1.0415 .10669 .78244E-06 .20843E-03 ERR DEF= .500 Final values: Prefactor = 3.43365 norm = 1.22735e-07 Prefactor = 2.60958e-07 Prefactor = 2.22045e-10 Prefactor = 3.05458 Prefactor = 1.19127e-07 Prefactor = 6.79568e-07 norm = 3.33067e-10 Prefactor = 18.2826 norm = 0.640485 norm = 3.86448 Prefactor = 8.46889 Prefactor = 5.55112e-10 Prefactor = 4.84612e-08 Prefactor = 1.38167e-07 norm = 5.55112e-11 norm = 7.67072 Prefactor = 2.63733e-07 Prefactor = 6.4615e-08 Prefactor = 2.70561e-07 Prefactor = 1.53877e-07 Prefactor = 4.85056e-07 Prefactor = 4.19664e-08 Prefactor = 7.64833e-07 norm = 3.80307e-07 Prefactor = 1.61759e-07 Normalizat = 0.992204 Prefactor = 1.04151 ********** ** 18 **HESSE ********** FCN= 9909.139 FROM HESSE STATUS=OK 571 CALLS 2564 TOTAL EDM= .41E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.4337 46.476 .54026E-03 -1.5671 2 norm .12274E-06 6.7144 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .26096E-06 41.988 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .22204E-09 2.3422 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 3.0546 11.283 .58130E-03 -1.5673 6 Prefactor .11913E-06 6.7786 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .67957E-06 30.968 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .33307E-09 4.2259 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 18.283 7.8878 .23460E-03 -1.5622 10 norm .64049 .97057 .65104E-03 -1.5692 11 norm 3.8645 3.1512 .51274E-03 -1.5669 12 Prefactor 8.4689 9.2553 .34480E-03 -1.5650 13 Prefactor .55511E-09 8.2157 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .48461E-07 13.510 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .13817E-06 13.705 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .55511E-10 1.5664 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 7.6707 3.8514 .36185E-03 -1.5653 18 Prefactor .26373E-06 17.412 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .64615E-07 5.7360 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .27056E-06 8.1088 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .15388E-06 31.579 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .48506E-06 10.630 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .41966E-07 12.798 .20196E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .76483E-06 20.041 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm .38031E-06 6.0508 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .16176E-06 19.151 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Normalizat .99220 .13977 .46073E-01 -.93292 28 Prefactor 1.0415 .99048E-01 .40447E-01 -.91358 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.0859e-07 Minuit parameter uncertainties: 1 25.2654 2 0.00181548 3 0.00662031 4 4.50134e-05 5 11.2832 6 0.00179722 7 0.00917489 8 7.45994e-05 9 7.88783 10 0.970572 11 3.15117 12 9.25529 13 0.000134742 14 0.00161864 15 0.00275212 16 2.1244e-05 17 3.8514 18 0.00428569 19 0.00121735 20 0.00296228 21 0.00440894 22 0.00454143 23 0.00146613 24 0.00783018 25 0.00303387 26 0.00351992 27 0.139824 28 0.0990658 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9909.13892929 Extracting fit parameters... 4FGL J1223.8+8039 Spectrum: LogParabola 361 norm: 7.671e+00 3.851e+00 0.000e+00 1.000e+06 ( 1.000e-12) 362 alpha: 2.117e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 363 beta: 1.252e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 364 Eb: 9.363e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 1.042e+00 9.907e-02 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 9.922e-01 1.398e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 6.69 Ra Dec: 185.971 80.660 Photon Index (Fixed Index): 2.12 +/- 0.00 Photon Flux (Fixed Index): 5.78e-08 +/- 2.90e-08 Energy Flux (Fixed Index): 2.79e-05 +/- 1.40e-05 Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 9908.78224945 delta logL = 0.356679839881 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 9908.77181156 delta logL = 0.367117723374 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 6.3840 1.0000 .0000 .10000E+07 2 'alpha ' 2.5113 1.0000 .0000 5.0000 3 'Normalizat' .96957 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0473 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6940E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 9908.772 FROM MIGRAD STATUS=CONVERGED 85 CALLS 293 TOTAL EDM= .42E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 6.3842 4.0378 .10846E-04 -.17925E-02 2 alpha 2.5112 .49196 .10699E-01 -.27172E-04 3 Normalizat .96952 .15118 .28139E-03 .89047E-04 4 Prefactor 1.0473 .10686 .19428E-03 .21757E-03 ERR DEF= .500 Final values: norm = 6.38419 alpha = 2.51124 Normalizat = 0.969521 Prefactor = 1.04733 ********** ** 18 **HESSE ********** FCN= 9908.772 FROM HESSE STATUS=OK 25 CALLS 318 TOTAL EDM= .66E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 6.3842 3.8293 .43383E-06 -1.5657 2 alpha 2.5112 .46632 .42794E-03 .44956E-02 3 Normalizat .96952 .15096 .11255E-04 -.94059 4 Prefactor 1.0473 .10679 .38856E-04 -.91168 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.55621e-11 Minuit parameter uncertainties: 1 3.8293 2 0.469068 3 0.151029 4 0.106816 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 9908.77181137 delta logL = 0.367117915872 Extracting fit parameters... 4FGL J1223.8+8039 Spectrum: LogParabola 361 norm: 6.384e+00 3.829e+00 0.000e+00 1.000e+06 ( 1.000e-12) 362 alpha: 2.511e+00 4.691e-01 0.000e+00 5.000e+00 ( 1.000e+00) 363 beta: 1.252e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 364 Eb: 9.363e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 691 Prefactor: 1.047e+00 1.068e-01 0.000e+00 1.000e+01 ( 1.000e+00) 692 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 693 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 690 Normalization: 9.695e-01 1.510e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 7.39 Ra Dec: 185.971 80.660 Photon Index (Free Index): 2.51 +/- 0.47 Photon Flux (Free Index): 8.21e-08 +/- 4.46e-08 Energy Flux (Free Index): 2.54e-05 +/- 1.20e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/18907080/cmap_HighResolution_710035201_710294401_4FGL_J1223.8+8039_daily_bin1816.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.78e-08', energy_flux2='2.54e-05', photon_flux_error='2.90e-08', dlogl='3.67e-01', energy_flux='2.79e-05', photon_flux2='8.21e-08', job_status='DONE', time_completed='2023-07-10 12:08:26.901906', photon_index_error2='0.47', photon_index2='2.51', ts='6.69', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.20e-05', EG='0.99', time_epoch_completed='1689016106.9', return_code='0', job_id='18907080', GAL2='1.05', EG2='0.97', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='4.46e-08', ts2='7.39', photon_index='2.12' WHERE bin_id='1816' AND source_name='4FGL J1223.8+8039' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Jul 10 12:08:26 PDT 2023