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 1 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 = 17233 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1040.5+0617_weekly_bin142 RA = 160.15, Dec = 6.2848 tmin = 324864001, tmax = 325468801 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='453250', job_status='RUN', time_executed='2021-07-17 03:08:06.882415', time_epoch_executed='1626516486.88' WHERE source_name='4FGL J1040.5+0617' and cadence='weekly' and bin_id='142' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/453250 Creating custom pfile directory: /scratch/kocevski/453250/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=324864001.0 && nMetStart<325468801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=324864001.0 && nMetStart<325468801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/453250/ft1_4FGL_J1040.5+0617_weekly_bin142.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=324864001.0 && nMetStart<325468801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /scratch/kocevski/453250/ft2_4FGL_J1040.5+0617_weekly_bin142.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/453250/ft1_4FGL_J1040.5+0617_weekly_bin142.fits outfile=/scratch/kocevski/453250/ft1_filteredMKT_4FGL_J1040.5+0617_weekly_bin142.fits ra=160.15 dec=6.2848 rad=12.0 tmin=324864001.0 tmax=325468801.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 9.79 user 9.39 sys 0.33 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/453250/ft2_4FGL_J1040.5+0617_weekly_bin142.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/453250/ft2_4FGL_J1040.5+0617_weekly_bin142.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/453250/ft1_filteredMKT_4FGL_J1040.5+0617_weekly_bin142.fits evtable="EVENTS" outfile="/scratch/kocevski/453250/ft1_filtered_4FGL_J1040.5+0617_weekly_bin142.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 0.58 user 0.38 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/453250/ft1_filtered_4FGL_J1040.5+0617_weekly_bin142.fits" evtable="EVENTS" scfile=/scratch/kocevski/453250/ft2_4FGL_J1040.5+0617_weekly_bin142.fits sctable="SC_DATA" outfile=/scratch/kocevski/453250/ltcube_324864001_325468801_4FGL_J1040.5+0617_weekly_bin142.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/453250/ft2_4FGL_J1040.5+0617_weekly_bin142.fits .....................! real 31.48 user 30.87 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/453250/ft1_filtered_4FGL_J1040.5+0617_weekly_bin142.fits evtable="EVENTS" scfile=/scratch/kocevski/453250/ft2_4FGL_J1040.5+0617_weekly_bin142.fits sctable="SC_DATA" expcube=/scratch/kocevski/453250/ltcube_324864001_325468801_4FGL_J1040.5+0617_weekly_bin142.fits outfile=/scratch/kocevski/453250/expmap_324864001_325468801_4FGL_J1040.5+0617_weekly_bin142.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/453250/ltcube_324864001_325468801_4FGL_J1040.5+0617_weekly_bin142.fits .....................! real 192.90 user 187.29 sys 5.04 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 169 point sources and 0 extended sources Setting source of interest to: 4FGL J1040.5+0617 @ 160.15 6.2848 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/453250/ft1_filtered_4FGL_J1040.5+0617_weekly_bin142.fits scfile=/scratch/kocevski/453250/ft2_4FGL_J1040.5+0617_weekly_bin142.fits outfile=/scratch/kocevski/453250/cmap_324864001_325468801_4FGL_J1040.5+0617_weekly_bin142.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=160.15 yref=6.2848 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.58 user 0.41 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/453250/ft1_filtered_4FGL_J1040.5+0617_weekly_bin142.fits scfile=/scratch/kocevski/453250/ft2_4FGL_J1040.5+0617_weekly_bin142.fits outfile=/scratch/kocevski/453250/cmap_HighResolution_324864001_325468801_4FGL_J1040.5+0617_weekly_bin142.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=160.15 yref=6.2848 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.59 user 0.42 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/453250/ft1_filtered_4FGL_J1040.5+0617_weekly_bin142.fits evtable="EVENTS" scfile=/scratch/kocevski/453250/ft2_4FGL_J1040.5+0617_weekly_bin142.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/453250/Model_4FGL_J1040.5+0617_weekly_bin142.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/453250/ft1_filtered_4FGL_J1040.5+0617_weekly_bin142.fits.....................! real 110.23 user 108.68 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/453250/ft1_filtered_4FGL_J1040.5+0617_weekly_bin142.fits', '/scratch/kocevski/453250/ft2_4FGL_J1040.5+0617_weekly_bin142.fits', expMap='/scratch/kocevski/453250/expmap_324864001_325468801_4FGL_J1040.5+0617_weekly_bin142.fits', expCube='/scratch/kocevski/453250/ltcube_324864001_325468801_4FGL_J1040.5+0617_weekly_bin142.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/453250/Model_4FGL_J1040.5+0617_weekly_bin142.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1040.5+0617' 4FGL J1040.5+0617 Spectrum: PowerLaw 216 Prefactor: 2.877e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 217 Index: 2.368e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 218 Scale: 8.643e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/453250/ft1_filtered_4FGL_J1040.5+0617_weekly_bin142.fits Spacecraft file(s): /scratch/kocevski/453250/ft2_4FGL_J1040.5+0617_weekly_bin142.fits Exposure map: /scratch/kocevski/453250/expmap_324864001_325468801_4FGL_J1040.5+0617_weekly_bin142.fits Exposure cube: /scratch/kocevski/453250/ltcube_324864001_325468801_4FGL_J1040.5+0617_weekly_bin142.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/453250/Model_4FGL_J1040.5+0617_weekly_bin142.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) = 13513.7188384 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13513.6253125 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .65345 1.0000 .10000E-03 10000. 2 'Prefactor ' 5.0535 1.0000 .10000E-03 10000. 3 'norm ' 14.243 1.0000 .10000E-03 10000. 4 'Prefactor ' .10067E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10194E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 23.504 1.0000 .10000E-03 10000. 7 'Prefactor ' .10737E-03 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10013E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 4.2014 1.0000 .10000E-03 10000. 12 'Prefactor ' 12.268 1.0000 .10000E-03 10000. 13 'norm ' .84180 1.0000 .10000E-03 10000. 14 'Prefactor ' 5.6454 1.0000 .10000E-03 10000. 15 'norm ' .87177 1.0000 .10000E-03 10000. 16 'Prefactor ' 5.7345 1.0000 .10000E-03 10000. 17 'norm ' 4.5891 1.0000 .10000E-03 10000. 18 'Normalizat' .86779 1.0000 .10000E-01 10.000 19 'Prefactor ' 1.2037 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5360E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 13513.63 FROM MIGRAD STATUS=CONVERGED 375 CALLS 1625 TOTAL EDM= .47E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .65813 4.6253 -.25904E-05 .41092E-03 2 Prefactor 5.0486 18.317 -.49200E-05 .68689E-04 3 norm 14.229 10.840 .23004E-05 .23857E-03 4 Prefactor .10000E-03 3.1340 .23333E-06** at limit ** 5 Prefactor .10000E-03 43.529 -.14875E-05** at limit ** 6 Prefactor 23.504 24.205 .24053E-05 .13048E-04 7 Prefactor .10000E-03 6.3167 -.15310E-06** at limit ** 8 norm .10000E-03 .18407 .26155E-07** at limit ** 9 Prefactor .10000E-03 .80426 -.15383E-06** at limit ** 10 Prefactor .10000E-03 .89834 -.20513E-07** at limit ** 11 Prefactor 4.2014 5.4410 -.17872E-05 -.13578E-03 12 Prefactor 12.269 5.4782 -.57519E-06 .26507E-03 13 norm .84180 .37477 .11009E-06 -.84456E-03 14 Prefactor 5.6452 5.4393 -.15713E-05 .82243E-04 15 norm .87208 .92607 -.19944E-06 -.17519E-02 16 Prefactor 5.7344 9.2032 .30094E-06 -.10655E-03 17 norm 4.5889 7.0876 -.28309E-06 -.20600E-03 18 Normalizat .86780 .13246 .68775E-06 .53385E-03 19 Prefactor 1.2037 .11149 .30242E-06 .58997E-03 ERR DEF= .500 Final values: Prefactor = 0.658134 Prefactor = 5.04859 norm = 14.2295 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 23.5038 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 4.20143 Prefactor = 12.269 norm = 0.841797 Prefactor = 5.64516 norm = 0.872082 Prefactor = 5.73442 norm = 4.58891 Normalizat = 0.867804 Prefactor = 1.20367 ********** ** 18 **HESSE ********** FCN= 13513.63 FROM HESSE STATUS=OK 274 CALLS 1899 TOTAL EDM= .40E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .65813 45.701 .42883E-02 -1.5546 2 Prefactor 5.0486 18.323 .17887E-03 -1.5259 3 norm 14.229 11.453 .10613E-03 -1.4953 4 Prefactor .10000E-03 3.1418 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 43.796 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 23.504 24.083 .82623E-04 -1.4738 7 Prefactor .10000E-03 6.3349 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .10000E-03 .18701 .48662E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 .80694 .10179E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 .92418 .21489E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 4.2014 5.5398 .19661E-03 -1.5298 12 Prefactor 12.269 5.4800 .11437E-03 -1.5007 13 norm .84180 .37093 .40972E-04 -1.5524 14 Prefactor 5.6452 5.5108 .16907E-03 -1.5233 15 norm .87208 .91239 .11001E-03 -1.5521 16 Prefactor 5.7344 9.1849 .16773E-03 -1.5229 17 norm 4.5889 7.0925 .18790E-03 -1.5280 18 Normalizat .86780 .15459 .28840E-03 -.97601 19 Prefactor 1.2037 .12956 .21740E-03 -.86219 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.96563e-09 Minuit parameter uncertainties: 1 10.9765 2 18.3437 3 11.4546 4 2.8748e-05 5 4.42078e-05 6 24.0929 7 6.28852e-05 8 3.74583e-07 9 1.71994e-06 10 1.09018e-06 11 5.54045 12 5.48026 13 0.370935 14 5.51125 15 0.912403 16 9.18718 17 7.09379 18 0.154673 19 0.129595 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13513.6253105 Extracting fit parameters... 4FGL J1040.5+0617 Spectrum: PowerLaw 216 Prefactor: 1.000e-04 1.090e-06 1.000e-04 1.000e+04 ( 1.000e-12) 217 Index: 2.368e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 218 Scale: 8.643e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 533 Prefactor: 1.204e+00 1.296e-01 0.000e+00 1.000e+01 ( 1.000e+00) 534 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 535 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 532 Normalization: 8.678e-01 1.547e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 160.150 6.285 Photon Flux Upper Limit: 4.09e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.15e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/453250/likelihoodResults_324864001_325468801_4FGL_J1040.5+0617_weekly_bin142.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) = 13513.6304647 delta logL = -0.00515412124332 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 13513.6253142 delta logL = -3.69879489881e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10036E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.3602 1.0000 .0000 10.000 3 'Normalizat' .86773 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2036 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5360E+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= 13513.63 FROM MIGRAD STATUS=FAILED 86 CALLS 241 TOTAL EDM= .40E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10019E-03 72.547 .21547E-03** at limit ** 2 Index 2.3369 8.1843 .50000 .54988E-04 3 Normalizat .86780 .30902E-01 .28840E-03 -.78208E-04 4 Prefactor 1.2037 .27115E-01 .21740E-03 -.73736E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 13513.63 FROM SIMPLEX STATUS=UNCHANGED 154 CALLS 395 TOTAL EDM= .69E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10019E-03 72.547 .13069E-03** at limit ** 2 Index 2.3369 8.1843 .42420E-04 .54988E-04 3 Normalizat .86780 .30902E-01 .55134E-06 -.78208E-04 4 Prefactor 1.2037 .27115E-01 .19630E-06 -.73736E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 13513.63 FROM MIGRAD STATUS=CONVERGED 42 CALLS 437 TOTAL EDM= .25E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 3.3718 .43094E-04** at limit ** 2 Index 2.2406 8.7236 .50000 .36830E-06 3 Normalizat .86780 .14694 .11536E-04 .55345E-03 4 Prefactor 1.2037 .12898 .43479E-04 .73882E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.24062 Normalizat = 0.867804 Prefactor = 1.20367 ********** ** 18 **HESSE ********** FCN= 13513.63 FROM HESSE STATUS=OK 29 CALLS 466 TOTAL EDM= .22E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 .97081 .86189E-05 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2406 7.1375 .50000 -.58461 3 Normalizat .86780 .14704 .23072E-05 -.97601 4 Prefactor 1.2037 .12906 .86958E-05 -.86219 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.22284e-10 Minuit parameter uncertainties: 1 3.39022e-07 2 38.1443 3 0.147103 4 0.129092 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/453250': 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) = 13513.6253095 delta logL = 1.07196865429e-06 Extracting fit parameters... 4FGL J1040.5+0617 Spectrum: PowerLaw 216 Prefactor: 1.000e-04 3.390e-07 1.000e-04 1.000e+04 ( 1.000e-12) 217 Index: 2.241e+00 3.814e+01 0.000e+00 1.000e+01 (-1.000e+00) 218 Scale: 8.643e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 533 Prefactor: 1.204e+00 1.291e-01 0.000e+00 1.000e+01 ( 1.000e+00) 534 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 535 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 532 Normalization: 8.678e-01 1.471e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 160.150 6.285 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/453250/cmap_HighResolution_324864001_325468801_4FGL_J1040.5+0617_weekly_bin142.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/453250 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.15e-03', job_status='DONE', photon_flux_upper_limit='4.09e-08', time_completed='2021-07-17 03:23:47.562926', job_id='453250', GAL2='1.20', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1626517427.56', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='1.07e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='142' AND source_name='4FGL J1040.5+0617' AND cadence='weekly'; Database successfully updated. Analysis Complete. Sat Jul 17 03:23:47 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 453250: <4FGL_J1040.5+0617_weekly_bin142> in cluster Done Job <4FGL_J1040.5+0617_weekly_bin142> was submitted from host by user in cluster at Sat Jul 17 03:00:58 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Jul 17 03:07:57 2021 was used as the home directory. was used as the working directory. Started at Sat Jul 17 03:07:57 2021 Terminated at Sat Jul 17 03:23:48 2021 Results reported at Sat Jul 17 03:23:48 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1040.5+0617_weekly_bin142 160.15 6.2848 324864001 325468801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1040.5+0617 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 924.00 sec. Max Memory : 1257 MB Average Memory : 351.15 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 950 sec. Turnaround time : 1370 sec. The output (if any) is above this job summary.