aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189) while getting realm /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 61 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 = 17268 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0304.5+6821_weekly_bin466 RA = 46.1411, Dec = 68.3539 tmin = 520819201, tmax = 521424001 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='955164', job_status='RUN', time_executed='2021-07-05 21:11:03.429138', time_epoch_executed='1625544663.43' WHERE source_name='4FGL J0304.5+6821' and cadence='weekly' and bin_id='466' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/955164 Creating custom pfile directory: /scratch/kocevski/955164/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=520819201.0 && nMetStart<521424001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=520819201.0 && nMetStart<521424001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/955164/ft1_4FGL_J0304.5+6821_weekly_bin466.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=520819201.0 && nMetStart<521424001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/955164/ft2_4FGL_J0304.5+6821_weekly_bin466.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/955164/ft1_4FGL_J0304.5+6821_weekly_bin466.fits outfile=/scratch/kocevski/955164/ft1_filteredMKT_4FGL_J0304.5+6821_weekly_bin466.fits ra=46.1411 dec=68.3539 rad=12.0 tmin=520819201.0 tmax=521424001.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 10.24 user 8.81 sys 0.34 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/955164/ft2_4FGL_J0304.5+6821_weekly_bin466.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/955164/ft2_4FGL_J0304.5+6821_weekly_bin466.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/955164/ft1_filteredMKT_4FGL_J0304.5+6821_weekly_bin466.fits evtable="EVENTS" outfile="/scratch/kocevski/955164/ft1_filtered_4FGL_J0304.5+6821_weekly_bin466.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 2.31 user 0.44 sys 0.19 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/955164/ft1_filtered_4FGL_J0304.5+6821_weekly_bin466.fits" evtable="EVENTS" scfile=/scratch/kocevski/955164/ft2_4FGL_J0304.5+6821_weekly_bin466.fits sctable="SC_DATA" outfile=/scratch/kocevski/955164/ltcube_520819201_521424001_4FGL_J0304.5+6821_weekly_bin466.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/955164/ft2_4FGL_J0304.5+6821_weekly_bin466.fits .....................! real 28.27 user 26.38 sys 0.41 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/955164/ft1_filtered_4FGL_J0304.5+6821_weekly_bin466.fits evtable="EVENTS" scfile=/scratch/kocevski/955164/ft2_4FGL_J0304.5+6821_weekly_bin466.fits sctable="SC_DATA" expcube=/scratch/kocevski/955164/ltcube_520819201_521424001_4FGL_J0304.5+6821_weekly_bin466.fits outfile=/scratch/kocevski/955164/expmap_520819201_521424001_4FGL_J0304.5+6821_weekly_bin466.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/955164/ltcube_520819201_521424001_4FGL_J0304.5+6821_weekly_bin466.fits .....................! real 197.14 user 185.41 sys 5.99 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 Extended source HB 3 in ROI with RadialDisk spatial model. Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template. Extended source G150.3+4.5 in ROI with RadialDisk spatial model. Added 187 point sources and 3 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0304.5+6821 @ 46.1411 68.3539 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/955164/ft1_filtered_4FGL_J0304.5+6821_weekly_bin466.fits scfile=/scratch/kocevski/955164/ft2_4FGL_J0304.5+6821_weekly_bin466.fits outfile=/scratch/kocevski/955164/cmap_520819201_521424001_4FGL_J0304.5+6821_weekly_bin466.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=46.1411 yref=68.3539 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.61 user 0.43 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/955164/ft1_filtered_4FGL_J0304.5+6821_weekly_bin466.fits scfile=/scratch/kocevski/955164/ft2_4FGL_J0304.5+6821_weekly_bin466.fits outfile=/scratch/kocevski/955164/cmap_HighResolution_520819201_521424001_4FGL_J0304.5+6821_weekly_bin466.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=46.1411 yref=68.3539 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 2.11 user 0.45 sys 0.18 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/955164/ft1_filtered_4FGL_J0304.5+6821_weekly_bin466.fits evtable="EVENTS" scfile=/scratch/kocevski/955164/ft2_4FGL_J0304.5+6821_weekly_bin466.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/955164/Model_4FGL_J0304.5+6821_weekly_bin466.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 G150.3+4.5 adding source GAL_V02 adding source HB 3 adding source W 3 Working on... /scratch/kocevski/955164/ft1_filtered_4FGL_J0304.5+6821_weekly_bin466.fits.....................! real 1182.97 user 1164.38 sys 4.83 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/955164/ft1_filtered_4FGL_J0304.5+6821_weekly_bin466.fits', '/scratch/kocevski/955164/ft2_4FGL_J0304.5+6821_weekly_bin466.fits', expMap='/scratch/kocevski/955164/expmap_520819201_521424001_4FGL_J0304.5+6821_weekly_bin466.fits', expCube='/scratch/kocevski/955164/ltcube_520819201_521424001_4FGL_J0304.5+6821_weekly_bin466.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/955164/Model_4FGL_J0304.5+6821_weekly_bin466.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0304.5+6821' 4FGL J0304.5+6821 Spectrum: LogParabola 306 norm: 2.775e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 307 alpha: 2.670e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 308 beta: 2.132e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 309 Eb: 9.365e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/955164/ft1_filtered_4FGL_J0304.5+6821_weekly_bin466.fits Spacecraft file(s): /scratch/kocevski/955164/ft2_4FGL_J0304.5+6821_weekly_bin466.fits Exposure map: /scratch/kocevski/955164/expmap_520819201_521424001_4FGL_J0304.5+6821_weekly_bin466.fits Exposure cube: /scratch/kocevski/955164/ltcube_520819201_521424001_4FGL_J0304.5+6821_weekly_bin466.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/955164/Model_4FGL_J0304.5+6821_weekly_bin466.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) = 82155.366868 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 82155.2549558 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10177E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.5303 1.0000 .10000E-03 10000. 4 'norm ' 4.3798 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'norm ' 4.9471 1.0000 .10000E-03 10000. 7 'norm ' .10000E-03 1.0000 .10000E-03 10000. 8 'norm ' 3.3401 1.0000 .10000E-03 10000. 9 'Prefactor ' .10024E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 5.0628 1.0000 .10000E-03 10000. 11 'Prefactor ' 1.2743 1.0000 .10000E-03 10000. 12 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 3.7554 1.0000 .10000E-03 10000. 14 'Prefactor ' .67846E-03 1.0000 .10000E-03 10000. 15 'norm ' 64.903 1.0000 .10000E-03 10000. 16 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 17 'Normalizat' 1.1834 1.0000 .10000E-01 10.000 18 'Prefactor ' .97542 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6430E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 82155.25 FROM MIGRAD STATUS=CONVERGED 380 CALLS 1577 TOTAL EDM= .32E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 6.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 14.802 .60029E-05** at limit ** 2 Prefactor .10000E-03 7.3575 -.95054E-07** at limit ** 3 Prefactor 1.5303 .53041 -.15162E-08 -.11537E-02 4 norm 4.3803 5.5648 .14652E-05 .13740E-03 5 Prefactor .10000E-03 .50577 -.14682E-06** at limit ** 6 norm 4.9471 .37762 .95508E-09 -.15120E-02 7 norm .10000E-03 2.0020 -.24202E-07** at limit ** 8 norm 3.3400 .60117 .79462E-07 -.24713E-02 9 Prefactor .10000E-03 8.7058 -.13502E-05** at limit ** 10 Prefactor 5.0627 2.5668 .13754E-07 -.27955E-03 11 Prefactor 1.2742 1.0677 -.58342E-08 -.70366E-04 12 Prefactor .10000E-03 65.526 .57973E-05** at limit ** 13 Prefactor 3.7557 4.0158 .18302E-05 .29493E-03 14 Prefactor .10000E-03 24.614 .31532E-04** at limit ** 15 norm 64.904 11.664 .54918E-07 -.12053E-03 16 Prefactor .10000E-03 1.9668 -.39412E-07** at limit ** 17 Normalizat 1.1833 .15820 .88053E-06 -.43200E-03 18 Prefactor .97543 .19296E-01 -.16612E-06 -.33716E-02 ERR DEF= .500 Final values: Prefactor = 0.000100001 Prefactor = 0.0001 Prefactor = 1.53033 norm = 4.38031 Prefactor = 0.0001 norm = 4.94709 norm = 0.0001 norm = 3.33995 Prefactor = 0.0001 Prefactor = 5.06273 Prefactor = 1.2742 Prefactor = 0.000100003 Prefactor = 3.75567 Prefactor = 0.0001 norm = 64.9036 Prefactor = 0.0001 Normalizat = 1.18331 Prefactor = 0.975428 ********** ** 18 **HESSE ********** FCN= 82155.25 FROM HESSE STATUS=OK 254 CALLS 1831 TOTAL EDM= .16E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 14.992 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 7.3702 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.5303 .52687 .11797E-03 -1.5461 4 norm 4.3803 5.5651 .19245E-03 -1.5289 5 Prefactor .10000E-03 .52604 .36285E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 4.9471 .37792 .46538E-04 -1.5263 7 norm .10000E-03 2.0389 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 3.3400 2.7498 .11073E-02 -1.5342 9 Prefactor .10000E-03 8.7490 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 5.0627 2.5661 .17870E-03 -1.5258 11 Prefactor 1.2742 1.0821 .26364E-03 -1.5482 12 Prefactor .10000E-03 67.270 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 3.7557 4.0257 .20834E-03 -1.5320 14 Prefactor .10000E-03 3.1337 .20653 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 64.904 11.661 .49814E-04 -1.4095 16 Prefactor .10000E-03 1.9696 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Normalizat 1.1833 .15793 .90783E-03 -.87120 18 Prefactor .97543 .19707E-01 .12151E-03 -.93553 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.58275e-09 Minuit parameter uncertainties: 1 0.000206702 2 0.000102916 3 0.526868 4 5.56571 5 8.4287e-06 6 0.377919 7 1.67415e-06 8 2.74994 9 3.81906e-05 10 2.56618 11 1.08216 12 0.000855864 13 4.02601 14 1.83813e-05 15 11.6614 16 4.75532e-06 17 0.15799 18 0.0197072 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 82155.2549438 Extracting fit parameters... 4FGL J0304.5+6821 Spectrum: LogParabola 306 norm: 3.340e+00 2.750e+00 1.000e-04 1.000e+04 ( 1.000e-12) 307 alpha: 2.670e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 308 beta: 2.132e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 309 Eb: 9.365e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 632 Prefactor: 9.754e-01 1.971e-02 0.000e+00 1.000e+01 ( 1.000e+00) 633 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 634 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 627 Normalization: 1.183e+00 1.580e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.70 Ra Dec: 46.141 68.354 Photon Index (Fixed Index): 2.67 +/- 0.00 Photon Flux (Fixed Index): 4.31e-08 +/- 3.55e-08 Energy Flux (Fixed Index): 1.27e-05 +/- 1.05e-05 TS (Fixed Index): 1.70 Ra Dec: 46.141 68.354 Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1 Energy Flux Upper Limit: 3.21e-05 MeV cm-2 s-1 Saving results to: /scratch/kocevski/955164/likelihoodResults_520819201_521424001_4FGL_J0304.5+6821_weekly_bin466.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) = 82153.3459921 delta logL = 1.90895167647 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 82153.2604217 delta logL = 1.99452211025 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .21990 1.0000 .10000E-03 10000. 2 'alpha ' 4.8211 1.0000 .0000 5.0000 3 'Normalizat' 1.1085 1.0000 .10000E-01 10.000 4 'Prefactor ' .97913 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6430E+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= 82153.26 FROM MIGRAD STATUS=FAILED 94 CALLS 301 TOTAL EDM= .11E-03 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .22000 2.1513 .57542E-04 .15351E-01 2 alpha 4.8212 4.6274 .96857E-01 -.29573E-02 3 Normalizat 1.1085 .13804 .93251E-03 .42661E-03 4 Prefactor .97913 .17248E-01 .12127E-03 .22259E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 82153.26 FROM SIMPLEX STATUS=UNCHANGED 86 CALLS 387 TOTAL EDM= .15E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .22000 2.1513 .56969E-04 .15351E-01 2 alpha 4.8212 4.6274 .75873E-02 -.29573E-02 3 Normalizat 1.1085 .13804 .15892E-03 .42661E-03 4 Prefactor .97913 .17248E-01 .13159E-04 .22259E-02 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 82153.26 FROM MIGRAD STATUS=CONVERGED 29 CALLS 416 TOTAL EDM= .12E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .21996 2.1831 .23017E-05 .13530E-01 2 alpha 4.8213 4.6390 .19371E-01 .11011E-03 3 Normalizat 1.1085 .15571 .37300E-04 .55398E-03 4 Prefactor .97913 .19468E-01 .48509E-05 .27224E-02 ERR DEF= .500 Final values: norm = 0.219965 alpha = 4.82127 Normalizat = 1.10847 Prefactor = 0.979131 ********** ** 18 **HESSE ********** FCN= 82153.26 FROM HESSE STATUS=OK 23 CALLS 439 TOTAL EDM= .88E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .21996 .55886 .46033E-06 -1.5614 2 alpha 4.8213 3.9022 .77486E-03 1.1904 3 Normalizat 1.1085 .15773 .74601E-05 -.89480 4 Prefactor .97913 .19275E-01 .97018E-06 -.93428 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.76135e-10 Minuit parameter uncertainties: 1 0.558876 2 1.28552 3 0.157796 4 0.0192747 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/955164': 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) = 82153.2604209 delta logL = 1.99452287469 Extracting fit parameters... 4FGL J0304.5+6821 Spectrum: LogParabola 306 norm: 2.200e-01 5.589e-01 1.000e-04 1.000e+04 ( 1.000e-12) 307 alpha: 4.821e+00 1.286e+00 0.000e+00 5.000e+00 ( 1.000e+00) 308 beta: 2.132e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 309 Eb: 9.365e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 632 Prefactor: 9.791e-01 1.927e-02 0.000e+00 1.000e+01 ( 1.000e+00) 633 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 634 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 627 Normalization: 1.108e+00 1.578e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.96 Ra Dec: 46.141 68.354 Photon Index (Free Index): 4.82 +/- 1.29 Photon Flux (Free Index): 1.22e-07 +/- 5.54e-08 Energy Flux (Free Index): 1.78e-05 +/- 8.81e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/955164/cmap_HighResolution_520819201_521424001_4FGL_J0304.5+6821_weekly_bin466.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/955164 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-05', comment='SUCCESS', photon_flux='4.31e-08', energy_flux2='1.78e-05', photon_flux_error='3.55e-08', dlogl='1.99e+00', energy_flux='1.27e-05', photon_flux2='1.22e-07', job_status='DONE', time_completed='2021-07-05 22:37:17.774573', photon_index_error2='1.29', photon_index2='4.82', ts='1.70', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='8.81e-06', EG='1.18', time_epoch_completed='1625549837.77', return_code='0', job_id='955164', GAL2='0.98', EG2='1.11', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='5.54e-08', ts2='5.96', photon_index='2.67' WHERE bin_id='466' AND source_name='4FGL J0304.5+6821' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 5 22:37:17 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 955164: <4FGL_J0304.5+6821_weekly_bin466> in cluster Done Job <4FGL_J0304.5+6821_weekly_bin466> was submitted from host by user in cluster at Mon Jul 5 18:44:26 2021 Job was executed on host(s) , in queue , as user in cluster at Mon Jul 5 21:07:50 2021 was used as the home directory. was used as the working directory. Started at Mon Jul 5 21:07:50 2021 Terminated at Mon Jul 5 22:37:22 2021 Results reported at Mon Jul 5 22:37:22 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0304.5+6821_weekly_bin466 46.1411 68.3539 520819201 521424001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0304.5+6821 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 5113.00 sec. Max Memory : 1096 MB Average Memory : 460.54 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 5371 sec. Turnaround time : 13976 sec. The output (if any) is above this job summary.