aklog: Couldn't determine realm of user:aklog: No credentials cache found 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 161 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 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). /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 = 17347 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.0+4737_weekly_bin741 RA = 265.023, Dec = 47.6198 tmin = 687139201, tmax = 687744001 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='391968', job_status='RUN', time_executed='2022-10-18 01:28:23.962031', time_epoch_executed='1666081703.96' WHERE source_name='4FGL J1740.0+4737' and cadence='weekly' and bin_id='741' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/391968 Creating custom pfile directory: /scratch/kocevski/391968/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=687139201.0 && nMetStart<687744001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=687139201.0 && nMetStart<687744001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/391968/ft1_4FGL_J1740.0+4737_weekly_bin741.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=687139201.0 && nMetStart<687744001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/391968/ft2_4FGL_J1740.0+4737_weekly_bin741.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/391968/ft1_4FGL_J1740.0+4737_weekly_bin741.fits outfile=/scratch/kocevski/391968/ft1_filteredMKT_4FGL_J1740.0+4737_weekly_bin741.fits ra=265.023 dec=47.6198 rad=12.0 tmin=687139201.0 tmax=687744001.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 5.15 user 4.91 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/391968/ft2_4FGL_J1740.0+4737_weekly_bin741.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/391968/ft2_4FGL_J1740.0+4737_weekly_bin741.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/391968/ft1_filteredMKT_4FGL_J1740.0+4737_weekly_bin741.fits evtable="EVENTS" outfile="/scratch/kocevski/391968/ft1_filtered_4FGL_J1740.0+4737_weekly_bin741.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.47 user 0.32 sys 0.13 Number of photons that the gtmktime cut: 2936 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/391968/ft1_filtered_4FGL_J1740.0+4737_weekly_bin741.fits" evtable="EVENTS" scfile=/scratch/kocevski/391968/ft2_4FGL_J1740.0+4737_weekly_bin741.fits sctable="SC_DATA" outfile=/scratch/kocevski/391968/ltcube_687139201_687744001_4FGL_J1740.0+4737_weekly_bin741.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/391968/ft2_4FGL_J1740.0+4737_weekly_bin741.fits .....................! real 21.66 user 21.24 sys 0.26 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/391968/ft1_filtered_4FGL_J1740.0+4737_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/391968/ft2_4FGL_J1740.0+4737_weekly_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/391968/ltcube_687139201_687744001_4FGL_J1740.0+4737_weekly_bin741.fits outfile=/scratch/kocevski/391968/expmap_687139201_687744001_4FGL_J1740.0+4737_weekly_bin741.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/391968/ltcube_687139201_687744001_4FGL_J1740.0+4737_weekly_bin741.fits .....................! real 152.24 user 147.64 sys 4.21 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 214 point sources and 0 extended sources Setting source of interest to: 4FGL J1740.0+4737 @ 265.023 47.6198 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/391968/ft1_filtered_4FGL_J1740.0+4737_weekly_bin741.fits scfile=/scratch/kocevski/391968/ft2_4FGL_J1740.0+4737_weekly_bin741.fits outfile=/scratch/kocevski/391968/cmap_687139201_687744001_4FGL_J1740.0+4737_weekly_bin741.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=265.023 yref=47.6198 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.52 user 0.35 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/391968/ft1_filtered_4FGL_J1740.0+4737_weekly_bin741.fits scfile=/scratch/kocevski/391968/ft2_4FGL_J1740.0+4737_weekly_bin741.fits outfile=/scratch/kocevski/391968/cmap_HighResolution_687139201_687744001_4FGL_J1740.0+4737_weekly_bin741.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=265.023 yref=47.6198 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.51 user 0.35 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/391968/ft1_filtered_4FGL_J1740.0+4737_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/391968/ft2_4FGL_J1740.0+4737_weekly_bin741.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/391968/Model_4FGL_J1740.0+4737_weekly_bin741.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/391968/ft1_filtered_4FGL_J1740.0+4737_weekly_bin741.fits.....................! real 182.13 user 180.60 sys 1.07 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/391968/ft1_filtered_4FGL_J1740.0+4737_weekly_bin741.fits', '/scratch/kocevski/391968/ft2_4FGL_J1740.0+4737_weekly_bin741.fits', expMap='/scratch/kocevski/391968/expmap_687139201_687744001_4FGL_J1740.0+4737_weekly_bin741.fits', expCube='/scratch/kocevski/391968/ltcube_687139201_687744001_4FGL_J1740.0+4737_weekly_bin741.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/391968/Model_4FGL_J1740.0+4737_weekly_bin741.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1740.0+4737' 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 7.827e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.090e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/391968/ft1_filtered_4FGL_J1740.0+4737_weekly_bin741.fits Spacecraft file(s): /scratch/kocevski/391968/ft2_4FGL_J1740.0+4737_weekly_bin741.fits Exposure map: /scratch/kocevski/391968/expmap_687139201_687744001_4FGL_J1740.0+4737_weekly_bin741.fits Exposure cube: /scratch/kocevski/391968/ltcube_687139201_687744001_4FGL_J1740.0+4737_weekly_bin741.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/391968/Model_4FGL_J1740.0+4737_weekly_bin741.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) = 31173.5350455 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 31172.4841558 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.6207 1.0000 .0000 .10000E+07 2 'Prefactor ' 4.2105 1.0000 .0000 .10000E+07 3 'Prefactor ' .55511E-10 1.0000 .0000 .10000E+07 4 'Prefactor ' .86209E-07 1.0000 .0000 .10000E+07 5 'norm ' 3.6833 1.0000 .0000 .10000E+07 6 'norm ' .37982 1.0000 .0000 .10000E+07 7 'Prefactor ' .40791E-04 1.0000 .0000 .10000E+07 8 'norm ' .38062 1.0000 .0000 .10000E+07 9 'norm ' 6.7630 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.5515 1.0000 .0000 .10000E+07 11 'norm ' 3.6832 1.0000 .0000 .10000E+07 12 'Prefactor ' 4.1025 1.0000 .0000 .10000E+07 13 'norm ' 6.9147 1.0000 .0000 .10000E+07 14 'Prefactor ' .42332E-02 1.0000 .0000 .10000E+07 15 'norm ' .80713E-07 1.0000 .0000 .10000E+07 16 'Prefactor ' 6.3877 1.0000 .0000 .10000E+07 17 'Prefactor ' .81329E-06 1.0000 .0000 .10000E+07 18 'Prefactor ' 3.5335 1.0000 .0000 .10000E+07 19 'Prefactor ' 4.7145 1.0000 .0000 .10000E+07 20 'Prefactor ' .45510 1.0000 .0000 .10000E+07 21 'norm ' 2.9538 1.0000 .0000 .10000E+07 22 'Prefactor ' .25836E-01 1.0000 .0000 .10000E+07 23 'norm ' 3.2251 1.0000 .0000 .10000E+07 24 'norm ' 1.9095 1.0000 .0000 .10000E+07 25 'norm ' 4.7216 1.0000 .0000 .10000E+07 26 'Normalizat' 1.0240 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.0346 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 31172.48 FROM MIGRAD STATUS=CONVERGED 164 CALLS 1946 TOTAL EDM= .67E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.6193 1.7233 .23933E-07 -.45095E-03 2 Prefactor 4.2089 1.4698 .23939E-08 -.10061E-03 3 Prefactor .0000 .52898 -.66011E-07** at limit ** 4 Prefactor .0000 1.9498 -.12124E-06** at limit ** 5 norm 3.6828 .86659 .24121E-07 -.16417E-02 6 norm .37923 .37943 -.13693E-07 -.54169E-03 7 Prefactor .0000 5.4682 .12285E-06** at limit ** 8 norm .38029 .29002 -.38448E-07 -.15507E-02 9 norm 6.7598 3.2784 -.32500E-07 .34759E-03 10 Prefactor 2.5598 2.7702 -.27601E-07 -.57193E-03 11 norm 3.6821 .92910 .74177E-08 -.28843E-02 12 Prefactor 4.1014 1.6683 -.12137E-06 .26615E-03 13 norm 6.9116 2.5297 .35813E-07 .12983E-03 14 Prefactor .16653E-09 26.207 -.83641E-06** at limit ** 15 norm .0000 2.0261 .24242E-06** at limit ** 16 Prefactor 6.3526 7.8100 .64217E-06 .62980E-01 17 Prefactor .0000 1.6040 -.17585E-06** at limit ** 18 Prefactor 3.4390 12.122 .10130E-05 .18505E-01 19 Prefactor 3.2901 75.943 -.22825E-05 .80661E-03 20 Prefactor .44815 10.984 -.59228E-06 .70423E-03 21 norm 2.9476 3.8992 -.18946E-06 .80262E-03 22 Prefactor .37587E-01 85.468 .53065E-05** at limit ** 23 norm 3.2247 2.4633 .66005E-07 .20402E-03 24 norm 1.9040 3.9038 .23874E-06 -.47366E-03 25 norm 4.7205 3.7096 .88179E-07 -.63767E-03 26 Normalizat 1.0243 .11606 .25017E-05 .16624E-03 27 Prefactor 1.0347 .78900E-01 -.27248E-05 .28821E-03 ERR DEF= .500 Final values: Prefactor = 2.61931 Prefactor = 4.20891 Prefactor = 0 Prefactor = 0 norm = 3.68285 norm = 0.379231 Prefactor = 0 norm = 0.380293 norm = 6.75979 Prefactor = 2.55978 norm = 3.68215 Prefactor = 4.10136 norm = 6.91161 Prefactor = 1.66533e-10 norm = 0 Prefactor = 6.35263 Prefactor = 0 Prefactor = 3.43897 Prefactor = 3.29014 Prefactor = 0.448148 norm = 2.9476 Prefactor = 0.0375874 norm = 3.22474 norm = 1.904 norm = 4.72046 Normalizat = 1.02432 Prefactor = 1.03474 ********** ** 18 **HESSE ********** FCN= 31172.48 FROM HESSE STATUS=OK 566 CALLS 2512 TOTAL EDM= .19E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.6193 1.7292 .62974E-03 -1.5676 2 Prefactor 4.2089 1.4823 .49087E-03 -1.5667 3 Prefactor .0000 .52398 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 1.9388 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 3.6828 .86585 .52602E-03 -1.5670 6 norm .37923 .39724 .91863E-03 -1.5696 7 Prefactor .0000 5.3520 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .38029 .33020 .18823E-02 -1.5696 9 norm 6.7598 3.2843 .38559E-03 -1.5656 10 Prefactor 2.5598 2.7766 .63895E-03 -1.5676 11 norm 3.6821 .93370 .52602E-03 -1.5670 12 Prefactor 4.1014 1.6732 .49748E-03 -1.5667 13 norm 6.9116 2.5354 .38129E-03 -1.5655 14 Prefactor .16653E-09 26.216 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .0000 2.0069 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 6.3526 9.7668 .39689E-03 -1.5658 17 Prefactor .0000 1.5846 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 3.4390 12.759 .53750E-03 -1.5671 19 Prefactor 3.2901 76.624 .46320E-03 -1.5672 20 Prefactor .44815 1.8333 .83362E-02 -1.5695 21 norm 2.9476 3.9584 .59063E-03 -1.5674 22 Prefactor .37587E-01 1.6843 .12338E-01 -1.5704 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 3.2247 2.4702 .56383E-03 -1.5672 24 norm 1.9040 3.9362 .75205E-03 -1.5680 25 norm 4.7205 3.7129 .46284E-03 -1.5665 26 Normalizat 1.0243 .98856E-01 .66663E-01 -.92220 27 Prefactor 1.0347 .66073E-01 .40909E-01 -.91580 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.89573e-06 Minuit parameter uncertainties: 1 1.72919 2 1.48228 3 5.45598e-07 4 1.02402e-05 5 0.865851 6 0.397239 7 3.18499e-06 8 0.330199 9 3.28428 10 2.77663 11 0.933701 12 1.67325 13 2.53539 14 0.000125344 15 1.31885e-06 16 9.7668 17 4.39671e-07 18 12.7587 19 31.756 20 1.81285 21 3.95839 22 0.503225 23 2.47017 24 3.93621 25 3.71286 26 0.0988732 27 0.0660779 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 31172.4830295 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 6.353e+00 9.767e+00 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.090e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 1.035e+00 6.608e-02 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.024e+00 9.887e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.76 Ra Dec: 265.023 47.620 Photon Flux Upper Limit: 2.20e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.66e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/391968/likelihoodResults_687139201_687744001_4FGL_J1740.0+4737_weekly_bin741.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) = 31172.2403746 delta logL = 0.242654867565 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 31172.2254294 delta logL = 0.257600052577 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 8.1666 1.0000 .0000 .10000E+07 2 'Index ' 1.4453 1.0000 .0000 10.000 3 'Normalizat' 1.0268 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0339 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 31172.23 FROM MIGRAD STATUS=FAILED 94 CALLS 262 TOTAL EDM= .30E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.1666 579.49 .14024E-04 -.60527E-01 2 Index 1.4453 6.0905 .38045 -.22307E-02 3 Normalizat 1.0268 .66959E-01 .29457E-03 .15438E-06 4 Prefactor 1.0340 .30443E-01 .20619E-03 .22055E-06 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 31172.23 FROM SIMPLEX STATUS=UNCHANGED 86 CALLS 348 TOTAL EDM= .16E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.1666 579.49 .15836E-04 -.60527E-01 2 Index 1.4453 6.0905 .10428E-02 -.22307E-02 3 Normalizat 1.0268 .66959E-01 .12111E-03 .15438E-06 4 Prefactor 1.0340 .30443E-01 .37981E-04 .22055E-06 ERR DEF= .500 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= 31172.23 FROM MIGRAD STATUS=FAILED 70 CALLS 418 TOTAL EDM= .26E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.1679 11.017 .56094E-06 -.22556E-01 2 Index 1.4452 .78002 .27954E-01 -.52918E-03 3 Normalizat 1.0268 .10952 .23566E-05 .77574E-03 4 Prefactor 1.0340 .77368E-01 .16495E-05 .11027E-02 ERR DEF= .500 Final values: Prefactor = 8.16795 Index = 1.44524 Normalizat = 1.02677 Prefactor = 1.03396 ********** ** 18 **HESSE ********** FCN= 31172.23 FROM HESSE STATUS=OK 23 CALLS 441 TOTAL EDM= .27E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 8.1679 11.225 .37314E-06 -1.5651 2 Index 1.4452 .79555 .11182E-02 -.79085 3 Normalizat 1.0268 .10499 .47132E-06 -.92139 4 Prefactor 1.0340 .74083E-01 .32991E-06 -.91606 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.74899e-08 Minuit parameter uncertainties: 1 11.2252 2 0.802497 3 0.105012 4 0.0740901 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/391968': 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): 1 logL (Free Index) = 31172.2254294 delta logL = 0.257600104505 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 8.168e+00 1.123e+01 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 1.445e+00 8.025e-01 0.000e+00 1.000e+01 (-1.000e+00) 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 1.034e+00 7.409e-02 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.027e+00 1.050e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.27 Ra Dec: 265.023 47.620 Photon Index (Free Index): 1.45 +/- 0.80 Photon Flux (Free Index): 1.50e-09 +/- 2.79e-09 Energy Flux (Free Index): 5.71e-06 +/- 1.10e-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/391968/cmap_HighResolution_687139201_687744001_4FGL_J1740.0+4737_weekly_bin741.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/391968 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', comment='SUCCESS', energy_flux2='5.71e-06', dlogl='2.58e-01', photon_flux2='1.50e-09', job_status='DONE', time_completed='2022-10-18 02:00:02.692792', photon_index_error2='0.80', photon_index2='1.45', ts='0.76', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='2.20e-08', energy_flux_error2='1.10e-05', EG='1.02', time_epoch_completed='1666083602.69', return_code='0', job_id='391968', GAL2='1.03', EG2='1.03', return_code2='1', photon_flux_error2='2.79e-09', ts2='1.27', photon_index='2.09' WHERE bin_id='741' AND source_name='4FGL J1740.0+4737' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 18 02:00:02 PDT 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 391968: <4FGL_J1740.0+4737_weekly_bin741> in cluster Done Job <4FGL_J1740.0+4737_weekly_bin741> was submitted from host by user in cluster at Tue Oct 18 01:25:34 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Oct 18 01:25:35 2022 was used as the home directory. was used as the working directory. Started at Tue Oct 18 01:25:35 2022 Terminated at Tue Oct 18 02:00:03 2022 Results reported at Tue Oct 18 02:00:03 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1740.0+4737_weekly_bin741 265.023 47.6198 687139201 687744001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1740.0+4737 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1897.00 sec. Max Memory : 621 MB Average Memory : 334.02 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2068 sec. Turnaround time : 2069 sec. The output (if any) is above this job summary.