/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). e GAL_V02 Working on... /lscratch/kocevski/18866144/ft1_filtered_4FGL_J1112.5+3448_weekly_bin778.fits.....................! real 53.47 user 52.09 sys 0.85 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18866144/ft1_filtered_4FGL_J1112.5+3448_weekly_bin778.fits', '/lscratch/kocevski/18866144/ft2_4FGL_J1112.5+3448_weekly_bin778.fits', expMap='/lscratch/kocevski/18866144/expmap_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.fits', expCube='/lscratch/kocevski/18866144/ltcube_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18866144/Model_4FGL_J1112.5+3448_weekly_bin778.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1112.5+3448' 4FGL J1112.5+3448 Spectrum: LogParabola 313 norm: 9.204e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 314 alpha: 2.369e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 315 beta: 1.454e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 316 Eb: 4.627e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18866144/ft1_filtered_4FGL_J1112.5+3448_weekly_bin778.fits Spacecraft file(s): /lscratch/kocevski/18866144/ft2_4FGL_J1112.5+3448_weekly_bin778.fits Exposure map: /lscratch/kocevski/18866144/expmap_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.fits Exposure cube: /lscratch/kocevski/18866144/ltcube_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18866144/Model_4FGL_J1112.5+3448_weekly_bin778.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16727.3614135 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16724.9924087 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.4339 1.0000 .0000 .10000E+07 2 'norm ' 5.7187 1.0000 .0000 .10000E+07 3 'Prefactor ' .31660E-04 1.0000 .0000 .10000E+07 4 'Prefactor ' 2.4687 1.0000 .0000 .10000E+07 5 'Prefactor ' 2.7093 1.0000 .0000 .10000E+07 6 'Prefactor ' .10047E-05 1.0000 .0000 .10000E+07 7 'Prefactor ' .62993E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' 1.3730 1.0000 .0000 .10000E+07 9 'norm ' 1.2629 1.0000 .0000 .10000E+07 10 'Prefactor ' .15238E-06 1.0000 .0000 .10000E+07 11 'Prefactor ' 15.537 1.0000 .0000 .10000E+07 12 'Prefactor ' 4.6399 1.0000 .0000 .10000E+07 13 'norm ' .58140E-05 1.0000 .0000 .10000E+07 14 'Prefactor ' .81761 1.0000 .0000 .10000E+07 15 'Prefactor ' 39.977 1.0000 .0000 .10000E+07 16 'Prefactor ' .86401E-05 1.0000 .0000 .10000E+07 17 'norm ' 7.9900 1.0000 .0000 .10000E+07 18 'Prefactor ' 4.1522 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.2797 1.0000 .0000 .10000E+07 20 'Prefactor ' .64134E-01 1.0000 .0000 .10000E+07 21 'norm ' 1.5578 1.0000 .0000 .10000E+07 22 'Prefactor ' .37868E-04 1.0000 .0000 .10000E+07 23 'norm ' 17.605 1.0000 .0000 .10000E+07 24 'Prefactor ' .20707E-01 1.0000 .0000 .10000E+07 25 'norm ' 16.968 1.0000 .0000 .10000E+07 26 'Normalizat' 1.1722 1.0000 .10000E-01 10.000 27 'Prefactor ' .84763 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16724.99 FROM MIGRAD STATUS=CONVERGED 143 CALLS 1412 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.4265 3.0673 -.12355E-06 -.25714E-02 2 norm 5.6773 5.7971 -.28369E-07 -.32238E-01 3 Prefactor .12601E-07 9.0031 .12906E-06** at limit ** 4 Prefactor 3.0559 20.373 .32224E-06 .27297E-01 5 Prefactor 2.7052 2.8087 .11157E-07 .16852E-02 6 Prefactor .41078E-08 4.5381 .36801E-07** at limit ** 7 Prefactor .27088E-05 5.6023 -.13280E-06** at limit ** 8 Prefactor 1.3888 5.7791 -.85519E-06 -.40210E-02 9 norm 1.2627 .21315 .52626E-08 .10370E-01 10 Prefactor .0000 .98986 -.11229E-06** at limit ** 11 Prefactor 15.564 1.7429 -.47555E-08 -.38353E-01 12 Prefactor 4.6315 4.6754 .43260E-07 .46748E-03 13 norm .82157E-08 3.7020 -.46178E-07** at limit ** 14 Prefactor .81686 1.5214 -.39868E-07 .23671E-02 15 Prefactor 40.045 14.238 .10151E-06 -.17471 16 Prefactor .0000 2.1336 .83513E-07** at limit ** 17 norm 7.9916 2.3686 -.38109E-07 -.35900E-03 18 Prefactor 4.1528 4.0401 .10601E-07 -.12924E-03 19 Prefactor 2.2874 3.4906 .51863E-07 .46315E-03 20 Prefactor .35527E-08 .89932 .15966E-07** at limit ** 21 norm 1.5591 .70344 .21893E-07 .62563E-02 22 Prefactor .55511E-10 6.8410 -.12406E-07** at limit ** 23 norm 17.583 2.1275 -.29445E-08 -.10227 24 Prefactor .77399E-06 2.1847 -.72208E-07** at limit ** 25 norm 16.970 1.6877 -.31905E-08 -.11166E-02 26 Normalizat 1.1719 .13710 -.26785E-06 .84597E-04 27 Prefactor .84760 .15228 .23779E-05 .10812E-03 ERR DEF= .500 Final values: Prefactor = 3.42651 norm = 5.67727 Prefactor = 1.2601e-08 Prefactor = 3.05591 Prefactor = 2.70518 Prefactor = 4.10783e-09 Prefactor = 2.70883e-06 Prefactor = 1.38885 norm = 1.26274 Prefactor = 0 Prefactor = 15.5639 Prefactor = 4.63153 norm = 8.21565e-09 Prefactor = 0.816862 Prefactor = 40.0452 Prefactor = 0 norm = 7.99156 Prefactor = 4.15278 Prefactor = 2.28741 Prefactor = 3.55271e-09 norm = 1.55912 Prefactor = 5.55112e-11 norm = 17.5835 Prefactor = 7.73992e-07 norm = 16.9704 Normalizat = 1.17191 Prefactor = 0.847604 number of points = 17494 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1112.5+3448_weekly_bin778 RA = 168.147, Dec = 34.8022 tmin = 709516801, tmax = 710121601 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='18868244', job_status='RUN', time_executed='2023-07-10 09:00:45.484569', time_epoch_executed='1689004845.48' WHERE source_name='4FGL J1112.5+3448' and cadence='weekly' and bin_id='778' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18868244 Creating custom pfile directory: /lscratch/kocevski/18868244/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=709516801.0 && nMetStart<710121601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=709516801.0 && nMetStart<710121601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18868244/ft1_4FGL_J1112.5+3448_weekly_bin778.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=709516801.0 && nMetStart<710121601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18868244/ft2_4FGL_J1112.5+3448_weekly_bin778.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18868244/ft1_4FGL_J1112.5+3448_weekly_bin778.fits outfile=/lscratch/kocevski/18868244/ft1_filteredMKT_4FGL_J1112.5+3448_weekly_bin778.fits ra=168.147 dec=34.8022 rad=12.0 tmin=709516801.0 tmax=710121601.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 4.64 user 4.16 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18868244/ft2_4FGL_J1112.5+3448_weekly_bin778.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18868244/ft2_4FGL_J1112.5+3448_weekly_bin778.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/18868244/ft1_filteredMKT_4FGL_J1112.5+3448_weekly_bin778.fits evtable="EVENTS" outfile="/lscratch/kocevski/18868244/ft1_filtered_4FGL_J1112.5+3448_weekly_bin778.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.58 user 0.22 sys 0.12 Number of photons that the gtmktime cut: 1510 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18868244/ft1_filtered_4FGL_J1112.5+3448_weekly_bin778.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18868244/ft2_4FGL_J1112.5+3448_weekly_bin778.fits sctable="SC_DATA" ********** ** 18 **HESSE ********** FCN= 16724.99 FROM HESSE STATUS=OK 554 CALLS 1966 TOTAL EDM= .31E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.4265 3.0744 .54558E-03 -1.5671 2 norm 5.6773 5.8759 .41979E-03 -1.5660 3 Prefactor .12601E-07 9.1702 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 3.0559 28.671 .65054E-03 -1.5673 5 Prefactor 2.7052 2.8344 .61855E-03 -1.5675 6 Prefactor .41078E-08 4.6392 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .27088E-05 42.630 .15056E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 1.3888 5.8663 .92973E-03 -1.5684 9 norm 1.2627 .21565 .53326E-03 -1.5685 10 Prefactor .0000 .98322 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 15.564 9.3175 .25383E-03 -1.5629 12 Prefactor 4.6315 4.6948 .46699E-03 -1.5665 13 norm .82157E-08 3.7586 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .81686 1.7767 .51632E-03 -1.5690 15 Prefactor 40.045 36.553 .15817E-03 -1.5581 16 Prefactor .0000 2.1299 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 7.9916 2.4881 .35447E-03 -1.5651 18 Prefactor 4.1528 4.0429 .49440E-03 -1.5667 19 Prefactor 2.2874 3.5270 .67975E-03 -1.5678 20 Prefactor .35527E-08 56.409 .15016E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 1.5591 .71991 .85246E-03 -1.5683 22 Prefactor .55511E-10 6.9720 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 17.583 7.6942 .23843E-03 -1.5624 24 Prefactor .77399E-06 53.795 .16991E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 16.970 1.6874 .24287E-03 -1.5626 26 Normalizat 1.1719 .11529 .56574E-01 -.87475 27 Prefactor .84760 .12841 .74690E-01 -.97997 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.12911e-06 Minuit parameter uncertainties: 1 3.07443 2 5.87589 3 0.000679125 4 18.7207 5 2.83435 6 0.000275396 7 0.0214921 8 5.70874 9 0.215649 10 7.98053e-06 11 9.31755 12 4.69485 13 0.000351966 14 1.77666 15 36.5528 16 6.97402e-06 17 2.48809 18 4.04292 19 3.52696 20 0.000896849 21 0.719913 22 3.54484e-05 23 7.69423 24 0.0129056 25 1.68743 26 0.115312 27 0.12846 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16724.9904026 Extracting fit parameters... 4FGL J1112.5+3448 Spectrum: LogParabola 313 norm: 8.216e-09 3.520e-04 0.000e+00 1.000e+06 ( 1.000e-12) 314 alpha: 2.369e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 315 beta: 1.454e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 316 Eb: 4.627e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 617 Prefactor: 8.476e-01 1.285e-01 0.000e+00 1.000e+01 ( 1.000e+00) 618 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 619 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 616 Normalization: 1.172e+00 1.153e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 168.147 34.802 Photon Flux Upper Limit: 2.79898592681e-08 ph cm-2 s-1 Energy Flux Upper Limit: 8.35516302781e-06 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18866144/likelihoodResults_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.txt 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): 102 logL (Free Index) = 16724.9904768 delta logL = -7.42493721191e-05 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16724.9904027 delta logL = -1.05115759652e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .92593E-07 1.0000 .0000 .10000E+07 2 'alpha ' 1.3786 1.0000 .0000 5.0000 3 'Normalizat' 1.1719 1.0000 .10000E-01 10.000 4 'Prefactor ' .84759 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16724.99 FROM MIGRAD STATUS=CONVERGED 68 CALLS 265 TOTAL EDM= .12E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .55511E-10 .29537E-01 .42118E-03** at limit ** 2 alpha 3.3125 4.0096 .48234 .37712E-10 3 Normalizat 1.1719 .35636E-03 .56574E-01 .77235E-03 4 Prefactor .84761 .40949E-03 .74690E-01 .79212E-03 ERR DEF= .500 Final values: norm = 5.55112e-11 alpha = 3.31248 Normalizat = 1.17191 Prefactor = 0.847606 ********** ** 18 **HESSE ********** FCN= 16724.99 FROM HESSE STATUS=NOT POSDEF 27 CALLS 292 TOTAL EDM= .58E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .55511E-10 .13829 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 3.3125 3.1371 .51000 .33100 3 Normalizat 1.1719 .76931E-03 .25017E-03 -.87475 4 Prefactor .84761 .88294E-03 .33055E-03 -.97997 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 5.76361e-12 Minuit parameter uncertainties: 1 4.97048e-06 2 70097.8 3 0.00076931 4 0.000882936 outfile=/lscratch/kocevski/18868244/ltcube_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.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/18868244/ft2_4FGL_J1112.5+3448_weekly_bin778.fits .....................! real 17.50 user 16.96 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18868244/ft1_filtered_4FGL_J1112.5+3448_weekly_bin778.fits evtable="EVENTS" scfile=/lscratch/kocevski/18868244/ft2_4FGL_J1112.5+3448_weekly_bin778.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18868244/ltcube_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.fits outfile=/lscratch/kocevski/18868244/expmap_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.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/18868244/ltcube_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.fits .....................! real 64.52 user 60.03 sys 3.82 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 197 point sources and 0 extended sources Setting source of interest to: 4FGL J1112.5+3448 @ 168.147 34.8022 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18868244/ft1_filtered_4FGL_J1112.5+3448_weekly_bin778.fits scfile=/lscratch/kocevski/18868244/ft2_4FGL_J1112.5+3448_weekly_bin778.fits outfile=/lscratch/kocevski/18868244/cmap_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.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=168.147 yref=34.8022 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.56 user 0.25 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18868244/ft1_filtered_4FGL_J1112.5+3448_weekly_bin778.fits scfile=/lscratch/kocevski/18868244/ft2_4FGL_J1112.5+3448_weekly_bin778.fits outfile=/lscratch/kocevski/18868244/cmap_HighResolution_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.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=168.147 yref=34.8022 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.62 user 0.23 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18868244/ft1_filtered_4FGL_J1112.5+3448_weekly_bin778.fits evtable="EVENTS" scfile=/lscratch/kocevski/18868244/ft2_4FGL_J1112.5+3448_weekly_bin778.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18868244/Model_4FGL_J1112.5+3448_weekly_bin778.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 sourcshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16724.9904026 delta logL = 8.84028850123e-10 Extracting fit parameters... 4FGL J1112.5+3448 Spectrum: LogParabola 313 norm: 5.551e-11 4.970e-06 0.000e+00 1.000e+06 ( 1.000e-12) 314 alpha: 3.312e+00 7.010e+04 0.000e+00 5.000e+00 ( 1.000e+00) 315 beta: 1.454e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 316 Eb: 4.627e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 617 Prefactor: 8.476e-01 8.829e-04 0.000e+00 1.000e+01 ( 1.000e+00) 618 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 619 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 616 Normalization: 1.172e+00 7.693e-04 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 168.147 34.802 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/18866144/cmap_HighResolution_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.36e-06', job_status='DONE', photon_flux_upper_limit='2.80e-08', time_completed='2023-07-10 09:06:08.123407', job_id='18866144', GAL2='0.85', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1689005168.12', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='8.84e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='778' AND source_name='4FGL J1112.5+3448' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 09:06:08 PDT 2023 e GAL_V02 Working on... /lscratch/kocevski/18868244/ft1_filtered_4FGL_J1112.5+3448_weekly_bin778.fits.....................! real 48.19 user 46.04 sys 1.61 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18868244/ft1_filtered_4FGL_J1112.5+3448_weekly_bin778.fits', '/lscratch/kocevski/18868244/ft2_4FGL_J1112.5+3448_weekly_bin778.fits', expMap='/lscratch/kocevski/18868244/expmap_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.fits', expCube='/lscratch/kocevski/18868244/ltcube_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18868244/Model_4FGL_J1112.5+3448_weekly_bin778.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1112.5+3448' 4FGL J1112.5+3448 Spectrum: LogParabola 313 norm: 9.204e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 314 alpha: 2.369e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 315 beta: 1.454e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 316 Eb: 4.627e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18868244/ft1_filtered_4FGL_J1112.5+3448_weekly_bin778.fits Spacecraft file(s): /lscratch/kocevski/18868244/ft2_4FGL_J1112.5+3448_weekly_bin778.fits Exposure map: /lscratch/kocevski/18868244/expmap_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.fits Exposure cube: /lscratch/kocevski/18868244/ltcube_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18868244/Model_4FGL_J1112.5+3448_weekly_bin778.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16727.3614135 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16724.9924087 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.4339 1.0000 .0000 .10000E+07 2 'norm ' 5.7187 1.0000 .0000 .10000E+07 3 'Prefactor ' .31660E-04 1.0000 .0000 .10000E+07 4 'Prefactor ' 2.4687 1.0000 .0000 .10000E+07 5 'Prefactor ' 2.7093 1.0000 .0000 .10000E+07 6 'Prefactor ' .10047E-05 1.0000 .0000 .10000E+07 7 'Prefactor ' .62993E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' 1.3730 1.0000 .0000 .10000E+07 9 'norm ' 1.2629 1.0000 .0000 .10000E+07 10 'Prefactor ' .15238E-06 1.0000 .0000 .10000E+07 11 'Prefactor ' 15.537 1.0000 .0000 .10000E+07 12 'Prefactor ' 4.6399 1.0000 .0000 .10000E+07 13 'norm ' .58140E-05 1.0000 .0000 .10000E+07 14 'Prefactor ' .81761 1.0000 .0000 .10000E+07 15 'Prefactor ' 39.977 1.0000 .0000 .10000E+07 16 'Prefactor ' .86401E-05 1.0000 .0000 .10000E+07 17 'norm ' 7.9900 1.0000 .0000 .10000E+07 18 'Prefactor ' 4.1522 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.2797 1.0000 .0000 .10000E+07 20 'Prefactor ' .64134E-01 1.0000 .0000 .10000E+07 21 'norm ' 1.5578 1.0000 .0000 .10000E+07 22 'Prefactor ' .37868E-04 1.0000 .0000 .10000E+07 23 'norm ' 17.605 1.0000 .0000 .10000E+07 24 'Prefactor ' .20707E-01 1.0000 .0000 .10000E+07 25 'norm ' 16.968 1.0000 .0000 .10000E+07 26 'Normalizat' 1.1722 1.0000 .10000E-01 10.000 27 'Prefactor ' .84763 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16724.99 FROM MIGRAD STATUS=CONVERGED 143 CALLS 1412 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.4265 3.0673 -.12355E-06 -.25714E-02 2 norm 5.6773 5.7971 -.28369E-07 -.32238E-01 3 Prefactor .12601E-07 9.0031 .12906E-06** at limit ** 4 Prefactor 3.0559 20.373 .32224E-06 .27297E-01 5 Prefactor 2.7052 2.8087 .11157E-07 .16852E-02 6 Prefactor .41078E-08 4.5381 .36801E-07** at limit ** 7 Prefactor .27088E-05 5.6023 -.13280E-06** at limit ** 8 Prefactor 1.3888 5.7791 -.85519E-06 -.40210E-02 9 norm 1.2627 .21315 .52626E-08 .10370E-01 10 Prefactor .0000 .98986 -.11229E-06** at limit ** 11 Prefactor 15.564 1.7429 -.47555E-08 -.38353E-01 12 Prefactor 4.6315 4.6754 .43260E-07 .46748E-03 13 norm .82157E-08 3.7020 -.46178E-07** at limit ** 14 Prefactor .81686 1.5214 -.39868E-07 .23671E-02 15 Prefactor 40.045 14.238 .10151E-06 -.17471 16 Prefactor .0000 2.1336 .83513E-07** at limit ** 17 norm 7.9916 2.3686 -.38109E-07 -.35900E-03 18 Prefactor 4.1528 4.0401 .10601E-07 -.12924E-03 19 Prefactor 2.2874 3.4906 .51863E-07 .46315E-03 20 Prefactor .35527E-08 .89932 .15966E-07** at limit ** 21 norm 1.5591 .70344 .21893E-07 .62563E-02 22 Prefactor .55511E-10 6.8410 -.12406E-07** at limit ** 23 norm 17.583 2.1275 -.29445E-08 -.10227 24 Prefactor .77399E-06 2.1847 -.72208E-07** at limit ** 25 norm 16.970 1.6877 -.31905E-08 -.11166E-02 26 Normalizat 1.1719 .13710 -.26785E-06 .84597E-04 27 Prefactor .84760 .15228 .23779E-05 .10812E-03 ERR DEF= .500 Final values: Prefactor = 3.42651 norm = 5.67727 Prefactor = 1.2601e-08 Prefactor = 3.05591 Prefactor = 2.70518 Prefactor = 4.10783e-09 Prefactor = 2.70883e-06 Prefactor = 1.38885 norm = 1.26274 Prefactor = 0 Prefactor = 15.5639 Prefactor = 4.63153 norm = 8.21565e-09 Prefactor = 0.816862 Prefactor = 40.0452 Prefactor = 0 norm = 7.99156 Prefactor = 4.15278 Prefactor = 2.28741 Prefactor = 3.55271e-09 norm = 1.55912 Prefactor = 5.55112e-11 norm = 17.5835 Prefactor = 7.73992e-07 norm = 16.9704 Normalizat = 1.17191 Prefactor = 0.847604 ********** ** 18 **HESSE ********** FCN= 16724.99 FROM HESSE STATUS=OK 554 CALLS 1966 TOTAL EDM= .31E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.4265 3.0744 .54558E-03 -1.5671 2 norm 5.6773 5.8759 .41979E-03 -1.5660 3 Prefactor .12601E-07 9.1702 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 3.0559 28.671 .65054E-03 -1.5673 5 Prefactor 2.7052 2.8344 .61855E-03 -1.5675 6 Prefactor .41078E-08 4.6392 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .27088E-05 42.630 .15056E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 1.3888 5.8663 .92973E-03 -1.5684 9 norm 1.2627 .21565 .53326E-03 -1.5685 10 Prefactor .0000 .98322 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 15.564 9.3175 .25383E-03 -1.5629 12 Prefactor 4.6315 4.6948 .46699E-03 -1.5665 13 norm .82157E-08 3.7586 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .81686 1.7767 .51632E-03 -1.5690 15 Prefactor 40.045 36.553 .15817E-03 -1.5581 16 Prefactor .0000 2.1299 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 7.9916 2.4881 .35447E-03 -1.5651 18 Prefactor 4.1528 4.0429 .49440E-03 -1.5667 19 Prefactor 2.2874 3.5270 .67975E-03 -1.5678 20 Prefactor .35527E-08 56.409 .15016E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 1.5591 .71991 .85246E-03 -1.5683 22 Prefactor .55511E-10 6.9720 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 17.583 7.6942 .23843E-03 -1.5624 24 Prefactor .77399E-06 53.795 .16991E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 16.970 1.6874 .24287E-03 -1.5626 26 Normalizat 1.1719 .11529 .56574E-01 -.87475 27 Prefactor .84760 .12841 .74690E-01 -.97997 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.12911e-06 Minuit parameter uncertainties: 1 3.07443 2 5.87589 3 0.000679125 4 18.7207 5 2.83435 6 0.000275396 7 0.0214921 8 5.70874 9 0.215649 10 7.98053e-06 11 9.31755 12 4.69485 13 0.000351966 14 1.77666 15 36.5528 16 6.97402e-06 17 2.48809 18 4.04292 19 3.52696 20 0.000896849 21 0.719913 22 3.54484e-05 23 7.69423 24 0.0129056 25 1.68743 26 0.115312 27 0.12846 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16724.9904026 Extracting fit parameters... 4FGL J1112.5+3448 Spectrum: LogParabola 313 norm: 8.216e-09 3.520e-04 0.000e+00 1.000e+06 ( 1.000e-12) 314 alpha: 2.369e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 315 beta: 1.454e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 316 Eb: 4.627e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 617 Prefactor: 8.476e-01 1.285e-01 0.000e+00 1.000e+01 ( 1.000e+00) 618 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 619 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 616 Normalization: 1.172e+00 1.153e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 168.147 34.802 Photon Flux Upper Limit: 2.79898592681e-08 ph cm-2 s-1 Energy Flux Upper Limit: 8.35516302781e-06 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18868244/likelihoodResults_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.txt 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): 102 logL (Free Index) = 16724.9904768 delta logL = -7.42493721191e-05 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16724.9904027 delta logL = -1.05115759652e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .92593E-07 1.0000 .0000 .10000E+07 2 'alpha ' 1.3786 1.0000 .0000 5.0000 3 'Normalizat' 1.1719 1.0000 .10000E-01 10.000 4 'Prefactor ' .84759 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16724.99 FROM MIGRAD STATUS=CONVERGED 68 CALLS 265 TOTAL EDM= .12E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .55511E-10 .29537E-01 .42118E-03** at limit ** 2 alpha 3.3125 4.0096 .48234 .37712E-10 3 Normalizat 1.1719 .35636E-03 .56574E-01 .77235E-03 4 Prefactor .84761 .40949E-03 .74690E-01 .79212E-03 ERR DEF= .500 Final values: norm = 5.55112e-11 alpha = 3.31248 Normalizat = 1.17191 Prefactor = 0.847606 ********** ** 18 **HESSE ********** FCN= 16724.99 FROM HESSE STATUS=NOT POSDEF 27 CALLS 292 TOTAL EDM= .58E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .55511E-10 .13829 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 alpha 3.3125 3.1371 .51000 .33100 3 Normalizat 1.1719 .76931E-03 .25017E-03 -.87475 4 Prefactor .84761 .88294E-03 .33055E-03 -.97997 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 5.76361e-12 Minuit parameter uncertainties: 1 4.97048e-06 2 70097.8 3 0.00076931 4 0.000882936 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16724.9904026 delta logL = 8.84028850123e-10 Extracting fit parameters... 4FGL J1112.5+3448 Spectrum: LogParabola 313 norm: 5.551e-11 4.970e-06 0.000e+00 1.000e+06 ( 1.000e-12) 314 alpha: 3.312e+00 7.010e+04 0.000e+00 5.000e+00 ( 1.000e+00) 315 beta: 1.454e-01 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 316 Eb: 4.627e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 617 Prefactor: 8.476e-01 8.829e-04 0.000e+00 1.000e+01 ( 1.000e+00) 618 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 619 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 616 Normalization: 1.172e+00 7.693e-04 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 168.147 34.802 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/18868244/cmap_HighResolution_709516801_710121601_4FGL_J1112.5+3448_weekly_bin778.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.36e-06', job_status='DONE', photon_flux_upper_limit='2.80e-08', time_completed='2023-07-10 09:11:23.302876', job_id='18868244', GAL2='0.85', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1689005483.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='8.84e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='778' AND source_name='4FGL J1112.5+3448' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 10 09:11:23 PDT 2023