/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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) Waiting 6 seconds before starting... Proceeding. 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 make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7472 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0420.0+0805_daily_bin704 RA = 65.0086, Dec = 8.0999 tmin = 421804801, tmax = 422064001 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='375571', job_status='RUN', time_executed='2021-08-20 11:46:16.000941', time_epoch_executed='1629485176.0' WHERE source_name='4FGL J0420.0+0805' and cadence='daily' and bin_id='704' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/375571 Creating custom pfile directory: /scratch/kocevski/375571/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=421804801.0 && nMetStart<422064001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=421804801.0 && nMetStart<422064001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/375571/ft1_4FGL_J0420.0+0805_daily_bin704.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=421804801.0 && nMetStart<422064001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/375571/ft2_4FGL_J0420.0+0805_daily_bin704.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/375571/ft1_4FGL_J0420.0+0805_daily_bin704.fits outfile=/scratch/kocevski/375571/ft1_filteredMKT_4FGL_J0420.0+0805_daily_bin704.fits ra=65.0086 dec=8.0999 rad=12.0 tmin=421804801.0 tmax=422064001.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.44 user 3.34 sys 1.08 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/375571/ft2_4FGL_J0420.0+0805_daily_bin704.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/375571/ft2_4FGL_J0420.0+0805_daily_bin704.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/375571/ft1_filteredMKT_4FGL_J0420.0+0805_daily_bin704.fits evtable="EVENTS" outfile="/scratch/kocevski/375571/ft1_filtered_4FGL_J0420.0+0805_daily_bin704.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.38 user 0.32 sys 1.05 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/375571/ft1_filtered_4FGL_J0420.0+0805_daily_bin704.fits" evtable="EVENTS" scfile=/scratch/kocevski/375571/ft2_4FGL_J0420.0+0805_daily_bin704.fits sctable="SC_DATA" outfile=/scratch/kocevski/375571/ltcube_421804801_422064001_4FGL_J0420.0+0805_daily_bin704.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 /scratch/kocevski/375571/ft2_4FGL_J0420.0+0805_daily_bin704.fits .....................! real 12.80 user 11.45 sys 1.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/375571/ft1_filtered_4FGL_J0420.0+0805_daily_bin704.fits evtable="EVENTS" scfile=/scratch/kocevski/375571/ft2_4FGL_J0420.0+0805_daily_bin704.fits sctable="SC_DATA" expcube=/scratch/kocevski/375571/ltcube_421804801_422064001_4FGL_J0420.0+0805_daily_bin704.fits outfile=/scratch/kocevski/375571/expmap_421804801_422064001_4FGL_J0420.0+0805_daily_bin704.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 /scratch/kocevski/375571/ltcube_421804801_422064001_4FGL_J0420.0+0805_daily_bin704.fits .....................! real 194.21 user 187.56 sys 6.28 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 144 point sources and 0 extended sources Setting source of interest to: 4FGL J0420.0+0805 @ 65.0086 8.0999 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/375571/ft1_filtered_4FGL_J0420.0+0805_daily_bin704.fits scfile=/scratch/kocevski/375571/ft2_4FGL_J0420.0+0805_daily_bin704.fits outfile=/scratch/kocevski/375571/cmap_421804801_422064001_4FGL_J0420.0+0805_daily_bin704.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=65.0086 yref=8.0999 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 1.40 user 0.37 sys 1.02 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/375571/ft1_filtered_4FGL_J0420.0+0805_daily_bin704.fits scfile=/scratch/kocevski/375571/ft2_4FGL_J0420.0+0805_daily_bin704.fits outfile=/scratch/kocevski/375571/cmap_HighResolution_421804801_422064001_4FGL_J0420.0+0805_daily_bin704.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=65.0086 yref=8.0999 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 1.44 user 0.39 sys 1.02 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/375571/ft1_filtered_4FGL_J0420.0+0805_daily_bin704.fits evtable="EVENTS" scfile=/scratch/kocevski/375571/ft2_4FGL_J0420.0+0805_daily_bin704.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375571/Model_4FGL_J0420.0+0805_daily_bin704.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... /scratch/kocevski/375571/ft1_filtered_4FGL_J0420.0+0805_daily_bin704.fits.....................! real 151.34 user 148.71 sys 2.36 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/375571/ft1_filtered_4FGL_J0420.0+0805_daily_bin704.fits', '/scratch/kocevski/375571/ft2_4FGL_J0420.0+0805_daily_bin704.fits', expMap='/scratch/kocevski/375571/expmap_421804801_422064001_4FGL_J0420.0+0805_daily_bin704.fits', expCube='/scratch/kocevski/375571/ltcube_421804801_422064001_4FGL_J0420.0+0805_daily_bin704.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/375571/Model_4FGL_J0420.0+0805_daily_bin704.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0420.0+0805' 4FGL J0420.0+0805 Spectrum: PowerLaw 192 Prefactor: 2.735e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 193 Index: 2.543e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 194 Scale: 9.789e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/375571/ft1_filtered_4FGL_J0420.0+0805_daily_bin704.fits Spacecraft file(s): /scratch/kocevski/375571/ft2_4FGL_J0420.0+0805_daily_bin704.fits Exposure map: /scratch/kocevski/375571/expmap_421804801_422064001_4FGL_J0420.0+0805_daily_bin704.fits Exposure cube: /scratch/kocevski/375571/ltcube_421804801_422064001_4FGL_J0420.0+0805_daily_bin704.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/375571/Model_4FGL_J0420.0+0805_daily_bin704.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) = 10541.9722995 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10541.9302537 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 5.5453 1.0000 .10000E-03 10000. 2 'Prefactor ' 13.957 1.0000 .10000E-03 10000. 3 'Prefactor ' 22.952 1.0000 .10000E-03 10000. 4 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 5 'norm ' .10002E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 27.474 1.0000 .10000E-03 10000. 7 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 8 'norm ' 46.762 1.0000 .10000E-03 10000. 9 'norm ' 1.9534 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 29.962 1.0000 .10000E-03 10000. 12 'Prefactor ' .12422E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.8052 1.0000 .10000E-03 10000. 14 'norm ' 10.756 1.0000 .10000E-03 10000. 15 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 16 'norm ' 5.5694 1.0000 .10000E-03 10000. 17 'Prefactor ' .10029E-03 1.0000 .10000E-03 10000. 18 'norm ' .10024E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 31.737 1.0000 .10000E-03 10000. 20 'Prefactor ' .12693E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 5.1493 1.0000 .10000E-03 10000. 22 'norm ' 1.0317 1.0000 .10000E-03 10000. 23 'Normalizat' 1.0431 1.0000 .10000E-01 10.000 24 'Prefactor ' .99180 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4760E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 10541.93 FROM MIGRAD STATUS=CONVERGED 554 CALLS 2767 TOTAL EDM= .37E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 5.5448 5.1239 -.60782E-08 .15830E-04 2 Prefactor 14.011 54.358 .11092E-04 .15637E-03 3 Prefactor 22.952 18.310 -.37042E-06 -.47947E-04 4 Prefactor .10000E-03 8.2654 .73230E-08** at limit ** 5 norm .10000E-03 1.4517 -.20670E-07** at limit ** 6 Prefactor 27.481 27.800 .49993E-06 .20468E-04 7 Prefactor .10000E-03 20.191 -.12454E-06** at limit ** 8 norm 46.766 30.830 .35739E-06 .23288E-04 9 norm 1.9533 1.3524 .16753E-06 -.11674E-03 10 Prefactor .10000E-03 1.0484 -.17610E-07** at limit ** 11 Prefactor 29.965 33.186 .22369E-06 .70898E-05 12 Prefactor .10000E-03 101.38 .43100E-06** at limit ** 13 Prefactor 1.8004 25.341 .17988E-05 -.75926E-05 14 norm 10.756 4.6849 .97515E-07 -.39250E-04 15 Prefactor .10000E-03 22.452 .56444E-07** at limit ** 16 norm 5.5698 2.7337 .12583E-06 -.63659E-04 17 Prefactor .10000E-03 7.4543 -.74072E-07** at limit ** 18 norm .10000E-03 1.0527 -.20154E-06** at limit ** 19 Prefactor 31.748 33.143 .88897E-06 .62434E-04 20 Prefactor .10000E-03 41.540 .22863E-07** at limit ** 21 Prefactor 5.1492 10.925 .59193E-05 -.29603E-03 22 norm 1.0323 .81784 .69516E-07 -.62239E-04 23 Normalizat 1.0426 .29054 -.39194E-05 -.48533E-05 24 Prefactor .99191 .71689E-01 .28431E-06 -.17822E-03 ERR DEF= .500 Final values: norm = 5.5448 Prefactor = 14.0111 Prefactor = 22.9522 Prefactor = 0.0001 norm = 0.0001 Prefactor = 27.4815 Prefactor = 0.0001 norm = 46.7658 norm = 1.95326 Prefactor = 0.0001 Prefactor = 29.9649 Prefactor = 0.0001 Prefactor = 1.80042 norm = 10.7557 Prefactor = 0.0001 norm = 5.56978 Prefactor = 0.0001 norm = 0.0001 Prefactor = 31.7479 Prefactor = 0.0001 Prefactor = 5.14918 norm = 1.03233 Normalizat = 1.04258 Prefactor = 0.991909 ********** ** 18 **HESSE ********** FCN= 10541.93 FROM HESSE STATUS=OK 401 CALLS 3168 TOTAL EDM= .81E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 5.5448 5.1272 .17061E-03 -1.5237 2 Prefactor 14.011 59.116 .10721E-03 -1.4959 3 Prefactor 22.952 18.370 .83609E-04 -1.4749 4 Prefactor .10000E-03 8.2664 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .10000E-03 1.4529 .12080E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 27.481 27.789 .76431E-04 -1.4659 7 Prefactor .10000E-03 20.207 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 46.766 30.759 .58635E-04 -1.4339 9 norm 1.9533 1.3402 .93511E-04 -1.5428 10 Prefactor .10000E-03 1.0663 .20416E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 29.965 33.190 .73196E-04 -1.4613 12 Prefactor .10000E-03 101.87 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.8004 25.355 .31106E-03 -1.5440 14 norm 10.756 4.6821 .11685E-03 -1.5052 15 Prefactor .10000E-03 22.485 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.5698 2.7355 .11382E-03 -1.5236 17 Prefactor .10000E-03 7.6267 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm .10000E-03 1.0978 .20555E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 31.748 33.053 .71125E-04 -1.4580 20 Prefactor .10000E-03 41.886 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 5.1492 11.139 .88583E-03 -1.5254 22 norm 1.0323 .79860 .77759E-04 -1.5505 23 Normalizat 1.0426 .31149 .52218E-03 -.91617 24 Prefactor .99191 .78011E-01 .14555E-03 -.93000 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.07517e-10 Minuit parameter uncertainties: 1 5.12764 2 57.6568 3 18.3744 4 8.78273e-07 5 5.59899e-07 6 27.8021 7 5.72488e-06 8 30.7697 9 1.34024 10 6.70287e-07 11 33.2105 12 0.00027873 13 13.5196 14 4.68226 15 2.98669e-05 16 2.73559 17 1.19933e-05 18 8.59106e-07 19 33.0724 20 7.62523e-05 21 11.1433 22 0.798605 23 0.312039 24 0.0780194 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10541.9302511 Extracting fit parameters... 4FGL J0420.0+0805 Spectrum: PowerLaw 192 Prefactor: 2.748e+01 2.780e+01 1.000e-04 1.000e+04 ( 1.000e-13) 193 Index: 2.543e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 194 Scale: 9.789e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 473 Prefactor: 9.919e-01 7.802e-02 0.000e+00 1.000e+01 ( 1.000e+00) 474 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 475 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 472 Normalization: 1.043e+00 3.120e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.39 Ra Dec: 65.009 8.100 Photon Index (Fixed Index): 2.54 +/- 0.00 Photon Flux (Fixed Index): 5.89e-08 +/- 5.96e-08 Energy Flux (Fixed Index): 1.63e-05 +/- 1.65e-05 TS (Fixed Index): 1.39 Ra Dec: 65.009 8.100 Photon Flux Upper Limit: 1.85e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.44e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/375571/likelihoodResults_421804801_422064001_4FGL_J0420.0+0805_daily_bin704.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): 0 logL (Free Index) = 10541.8699501 delta logL = 0.0603009831302 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 10541.8631229 delta logL = 0.067128159204 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 17.026 1.0000 .10000E-03 10000. 2 'Index ' 2.9983 1.0000 .0000 10.000 3 'Normalizat' 1.0191 1.0000 .10000E-01 10.000 4 'Prefactor ' .99561 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4760E+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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 10541.86 FROM MIGRAD STATUS=FAILED 98 CALLS 320 TOTAL EDM= .74E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 17.057 225.98 .97065E-04 -.70977E-04 2 Index 2.9979 6.4801 .88095E-02 .78139E-03 3 Normalizat 1.0183 .33113 .52756E-03 -.24381E-03 4 Prefactor .99582 .84385E-01 .14529E-03 .11245E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 10541.86 FROM SIMPLEX STATUS=UNCHANGED 82 CALLS 402 TOTAL EDM= .17E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 17.057 225.98 .42284E-03 -1.4882 2 Index 2.9979 6.4801 .15533E-02 -.41198 3 Normalizat 1.0183 .33113 .56514E-03 -.92420 4 Prefactor .99582 .84385E-01 .14779E-03 -.92869 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 10541.86 FROM MIGRAD STATUS=CONVERGED 32 CALLS 434 TOTAL EDM= .17E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 17.057 38.122 .38826E-05 .11712E-05 2 Index 2.9979 1.4263 .17619E-02 .16260E-05 3 Normalizat 1.0183 .28567 .21102E-04 .86199E-07 4 Prefactor .99582 .76536E-01 .29058E-04 .15650E-06 ERR DEF= .500 Final values: Prefactor = 17.0566 Index = 2.99786 Normalizat = 1.01831 Prefactor = 0.995819 ********** ** 18 **HESSE ********** FCN= 10541.86 FROM HESSE STATUS=OK 23 CALLS 457 TOTAL EDM= .23E-14 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 17.057 34.498 .77652E-06 -1.4882 2 Index 2.9979 1.2966 .70476E-04 -.41198 3 Normalizat 1.0183 .28483 .21102E-04 -.92419 4 Prefactor .99582 .76386E-01 .58116E-05 -.92869 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.34912e-15 Minuit parameter uncertainties: 1 34.5381 2 1.31453 3 0.285259 4 0.0763947 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/375571': No such file or directory 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) = 10541.8631182 delta logL = 0.0671328822536 Extracting fit parameters... 4FGL J0420.0+0805 Spectrum: PowerLaw 192 Prefactor: 1.706e+01 3.454e+01 1.000e-04 1.000e+04 ( 1.000e-13) 193 Index: 2.998e+00 1.315e+00 0.000e+00 1.000e+01 (-1.000e+00) 194 Scale: 9.789e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 473 Prefactor: 9.958e-01 7.639e-02 0.000e+00 1.000e+01 ( 1.000e+00) 474 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 475 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 472 Normalization: 1.018e+00 2.853e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.55 Ra Dec: 65.009 8.100 Photon Index (Free Index): 3.00 +/- 1.31 Photon Flux (Free Index): 7.98e-08 +/- 8.38e-08 Energy Flux (Free Index): 1.59e-05 +/- 1.46e-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 /scratch/kocevski/375571/cmap_HighResolution_421804801_422064001_4FGL_J0420.0+0805_daily_bin704.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/375571 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-02', comment='SUCCESS', photon_flux='5.89e-08', energy_flux2='1.59e-05', photon_flux_error='5.96e-08', dlogl='6.71e-02', energy_flux='1.63e-05', photon_flux2='7.98e-08', job_status='DONE', time_completed='2021-08-20 12:01:58.648560', photon_index_error2='1.31', photon_index2='3.00', ts='1.39', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.85e-07', energy_flux_error2='1.46e-05', EG='1.04', time_epoch_completed='1629486118.65', return_code='0', job_id='375571', GAL2='1.00', EG2='1.02', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='8.38e-08', ts2='1.55', photon_index='2.54' WHERE bin_id='704' AND source_name='4FGL J0420.0+0805' AND cadence='daily'; Database successfully updated. Analysis Complete. Fri Aug 20 12:01:58 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 375571: <4FGL_J0420.0+0805_daily_bin704> in cluster Done Job <4FGL_J0420.0+0805_daily_bin704> was submitted from host by user in cluster at Fri Aug 20 11:45:46 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Aug 20 11:45:48 2021 was used as the home directory. was used as the working directory. Started at Fri Aug 20 11:45:48 2021 Terminated at Fri Aug 20 12:01:59 2021 Results reported at Fri Aug 20 12:01:59 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0420.0+0805_daily_bin704 65.0086 8.0999 421804801 422064001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0420.0+0805 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 954.41 sec. Max Memory : 618 MB Average Memory : 325.32 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 971 sec. Turnaround time : 973 sec. The output (if any) is above this job summary.