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 166 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 = 17568 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.0+4737_weekly_bin752 RA = 265.023, Dec = 47.6198 tmin = 693792001, tmax = 694396801 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='452294', job_status='RUN', time_executed='2023-01-03 03:20:27.176910', time_epoch_executed='1672744827.18' WHERE source_name='4FGL J1740.0+4737' and cadence='weekly' and bin_id='752' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/452294 Creating custom pfile directory: /scratch/kocevski/452294/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=693792001.0 && nMetStart<694396801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=693792001.0 && nMetStart<694396801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/452294/ft1_4FGL_J1740.0+4737_weekly_bin752.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=693792001.0 && nMetStart<694396801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /scratch/kocevski/452294/ft2_4FGL_J1740.0+4737_weekly_bin752.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/452294/ft1_4FGL_J1740.0+4737_weekly_bin752.fits outfile=/scratch/kocevski/452294/ft1_filteredMKT_4FGL_J1740.0+4737_weekly_bin752.fits ra=265.023 dec=47.6198 rad=12.0 tmin=693792001.0 tmax=694396801.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 8.63 user 8.19 sys 0.36 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/452294/ft2_4FGL_J1740.0+4737_weekly_bin752.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/452294/ft2_4FGL_J1740.0+4737_weekly_bin752.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/452294/ft1_filteredMKT_4FGL_J1740.0+4737_weekly_bin752.fits evtable="EVENTS" outfile="/scratch/kocevski/452294/ft1_filtered_4FGL_J1740.0+4737_weekly_bin752.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.57 user 0.38 sys 0.17 Number of photons that the gtmktime cut: 2749 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/452294/ft1_filtered_4FGL_J1740.0+4737_weekly_bin752.fits" evtable="EVENTS" scfile=/scratch/kocevski/452294/ft2_4FGL_J1740.0+4737_weekly_bin752.fits sctable="SC_DATA" outfile=/scratch/kocevski/452294/ltcube_693792001_694396801_4FGL_J1740.0+4737_weekly_bin752.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/452294/ft2_4FGL_J1740.0+4737_weekly_bin752.fits .....................! real 32.36 user 31.78 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/452294/ft1_filtered_4FGL_J1740.0+4737_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/452294/ft2_4FGL_J1740.0+4737_weekly_bin752.fits sctable="SC_DATA" expcube=/scratch/kocevski/452294/ltcube_693792001_694396801_4FGL_J1740.0+4737_weekly_bin752.fits outfile=/scratch/kocevski/452294/expmap_693792001_694396801_4FGL_J1740.0+4737_weekly_bin752.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/452294/ltcube_693792001_694396801_4FGL_J1740.0+4737_weekly_bin752.fits .....................! real 193.71 user 187.78 sys 5.03 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/452294/ft1_filtered_4FGL_J1740.0+4737_weekly_bin752.fits scfile=/scratch/kocevski/452294/ft2_4FGL_J1740.0+4737_weekly_bin752.fits outfile=/scratch/kocevski/452294/cmap_693792001_694396801_4FGL_J1740.0+4737_weekly_bin752.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.58 user 0.40 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/452294/ft1_filtered_4FGL_J1740.0+4737_weekly_bin752.fits scfile=/scratch/kocevski/452294/ft2_4FGL_J1740.0+4737_weekly_bin752.fits outfile=/scratch/kocevski/452294/cmap_HighResolution_693792001_694396801_4FGL_J1740.0+4737_weekly_bin752.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.59 user 0.43 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/452294/ft1_filtered_4FGL_J1740.0+4737_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/452294/ft2_4FGL_J1740.0+4737_weekly_bin752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/452294/Model_4FGL_J1740.0+4737_weekly_bin752.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/452294/ft1_filtered_4FGL_J1740.0+4737_weekly_bin752.fits.....................! real 213.78 user 211.50 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/452294/ft1_filtered_4FGL_J1740.0+4737_weekly_bin752.fits', '/scratch/kocevski/452294/ft2_4FGL_J1740.0+4737_weekly_bin752.fits', expMap='/scratch/kocevski/452294/expmap_693792001_694396801_4FGL_J1740.0+4737_weekly_bin752.fits', expCube='/scratch/kocevski/452294/ltcube_693792001_694396801_4FGL_J1740.0+4737_weekly_bin752.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/452294/Model_4FGL_J1740.0+4737_weekly_bin752.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/452294/ft1_filtered_4FGL_J1740.0+4737_weekly_bin752.fits Spacecraft file(s): /scratch/kocevski/452294/ft2_4FGL_J1740.0+4737_weekly_bin752.fits Exposure map: /scratch/kocevski/452294/expmap_693792001_694396801_4FGL_J1740.0+4737_weekly_bin752.fits Exposure cube: /scratch/kocevski/452294/ltcube_693792001_694396801_4FGL_J1740.0+4737_weekly_bin752.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/452294/Model_4FGL_J1740.0+4737_weekly_bin752.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) = 28924.2424733 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 28924.2356766 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.2716 1.0000 .0000 .10000E+07 2 'Prefactor ' 3.4502 1.0000 .0000 .10000E+07 3 'Prefactor ' .93006E-01 1.0000 .0000 .10000E+07 4 'Prefactor ' .61700 1.0000 .0000 .10000E+07 5 'norm ' 2.7723 1.0000 .0000 .10000E+07 6 'norm ' .33665 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.4125 1.0000 .0000 .10000E+07 8 'norm ' .12534E-06 1.0000 .0000 .10000E+07 9 'norm ' .26462E-05 1.0000 .0000 .10000E+07 10 'Prefactor ' 3.5256 1.0000 .0000 .10000E+07 11 'norm ' 2.5399 1.0000 .0000 .10000E+07 12 'Prefactor ' 7.7590 1.0000 .0000 .10000E+07 13 'norm ' 13.940 1.0000 .0000 .10000E+07 14 'Prefactor ' .12954 1.0000 .0000 .10000E+07 15 'norm ' .77161E-08 1.0000 .0000 .10000E+07 16 'Prefactor ' 50.150 1.0000 .0000 .10000E+07 17 'Prefactor ' 1.1499 1.0000 .0000 .10000E+07 18 'Prefactor ' 32.293 1.0000 .0000 .10000E+07 19 'Prefactor ' .17831E-03 1.0000 .0000 .10000E+07 20 'Prefactor ' 8.4391 1.0000 .0000 .10000E+07 21 'norm ' .40540E-06 1.0000 .0000 .10000E+07 22 'Prefactor ' .26618E-06 1.0000 .0000 .10000E+07 23 'norm ' 1.3083 1.0000 .0000 .10000E+07 24 'norm ' 4.9954 1.0000 .0000 .10000E+07 25 'norm ' 12.940 1.0000 .0000 .10000E+07 26 'Normalizat' .98303 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.0921 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= 28924.23 FROM MIGRAD STATUS=CONVERGED 146 CALLS 2386 TOTAL EDM= .16E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.2715 1.7518 .37346E-07 .45834E-04 2 Prefactor 3.4473 1.5748 .17277E-07 -.63051E-03 3 Prefactor .95664E-01 2.4518 -.98397E-07** at limit ** 4 Prefactor .66774 9.2036 -.64969E-06 -.10540E-01 5 norm 2.7725 .86770 -.58333E-07 -.29996E-02 6 norm .33627 .43241 -.28350E-06 -.55600E-02 7 Prefactor 2.4118 3.0316 -.58253E-07 -.82738E-03 8 norm .0000 .61714 .17661E-06** at limit ** 9 norm .0000 1.6616 -.60685E-06** at limit ** 10 Prefactor 3.5186 2.6645 .11393E-06 .16554E-03 11 norm 2.5418 .86453 .27384E-08 -.43994E-02 12 Prefactor 7.7615 2.0840 -.12885E-06 -.33148E-02 13 norm 13.952 3.3326 .39165E-07 -.38972E-03 14 Prefactor .11033E-03 8.2243 .68670E-07** at limit ** 15 norm .0000 1.2246 -.51779E-06** at limit ** 16 Prefactor 49.546 28.096 -.46991E-06 .51643E-01 17 Prefactor 1.1511 1.4351 .88326E-07 -.12059E-02 18 Prefactor 32.185 3.9281 -.61338E-07 -.70163E-01 19 Prefactor .12185E-06 14.788 .80972E-06** at limit ** 20 Prefactor 8.4211 4.4187 -.71316E-07 -.11753E-02 21 norm .0000 1.6416 -.99970E-07** at limit ** 22 Prefactor .0000 2.2580 .13200E-06** at limit ** 23 norm 1.3136 1.9500 -.17069E-06 -.14092E-02 24 norm 5.0075 3.7101 -.16734E-06 .58137E-02 25 norm 12.940 1.3632 -.48120E-07 -.80283E-01 26 Normalizat .98331 .12582 -.83286E-05 -.13453E-03 27 Prefactor 1.0920 .84327E-01 .51498E-05 -.14713E-03 ERR DEF= .500 Final values: Prefactor = 1.27151 Prefactor = 3.44728 Prefactor = 0.0956639 Prefactor = 0.667738 norm = 2.77251 norm = 0.336272 Prefactor = 2.4118 norm = 0 norm = 0 Prefactor = 3.5186 norm = 2.54181 Prefactor = 7.76149 norm = 13.9519 Prefactor = 0.000110331 norm = 0 Prefactor = 49.5456 Prefactor = 1.15107 Prefactor = 32.1854 Prefactor = 1.21847e-07 Prefactor = 8.4211 norm = 0 Prefactor = 0 norm = 1.31358 norm = 5.00753 norm = 12.9403 Normalizat = 0.983311 Prefactor = 1.09199 ********** ** 18 **HESSE ********** FCN= 28924.23 FROM HESSE STATUS=OK 574 CALLS 2960 TOTAL EDM= .23E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.2715 1.7854 .98602E-03 -1.5685 2 Prefactor 3.4473 1.5994 .54424E-03 -1.5671 3 Prefactor .95664E-01 .35828 .53929E-02 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .66774 9.3134 .67719E-03 -1.5692 5 norm 2.7725 .86906 .61096E-03 -1.5675 6 norm .33627 .44936 .97227E-03 -1.5696 7 Prefactor 2.4118 3.1176 .65881E-03 -1.5677 8 norm .0000 .84697E-01 .26342E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .0000 1.6718 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 3.5186 2.6659 .53814E-03 -1.5670 11 norm 2.5418 .86855 .64053E-03 -1.5676 12 Prefactor 7.7615 2.0859 .35975E-03 -1.5652 13 norm 13.952 3.6147 .26801E-03 -1.5633 14 Prefactor .11033E-03 19.101 .18227E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .0000 1.2213 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 49.546 28.921 .14122E-03 -1.5567 17 Prefactor 1.1511 1.4999 .10791E-02 -1.5687 18 Prefactor 32.185 23.800 .17600E-03 -1.5594 19 Prefactor .12185E-06 14.971 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 8.4211 4.4272 .34484E-03 -1.5650 21 norm .0000 1.6471 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .0000 2.2556 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 1.3136 1.9808 .96404E-03 -1.5685 24 norm 5.0075 3.7891 .44970E-03 -1.5663 25 norm 12.940 5.5816 .27820E-03 -1.5636 26 Normalizat .98331 .10822 .69691E-01 -.93592 27 Prefactor 1.0920 .71394E-01 .37895E-01 -.89723 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.29971e-06 Minuit parameter uncertainties: 1 1.7854 2 1.59939 3 0.358277 4 4.98755 5 0.869057 6 0.449363 7 3.11762 8 9.75744e-07 9 3.00315e-09 10 2.66593 11 0.868547 12 2.08588 13 3.6147 14 0.0918126 15 6.19225e-06 16 28.9214 17 1.49985 18 23.8 19 0.00270101 20 4.42719 21 4.29861e-06 22 2.21033e-06 23 1.98077 24 3.7891 25 5.58158 26 0.108241 27 0.0714006 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 28924.2349286 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 4.955e+01 2.892e+01 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.092e+00 7.140e-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: 9.833e-01 1.082e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 4.44 Ra Dec: 265.023 47.620 Photon Index (Fixed Index): 2.09 +/- 0.00 Photon Flux (Fixed Index): 2.84e-08 +/- 1.66e-08 Energy Flux (Fixed Index): 1.60e-05 +/- 9.32e-06 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) = 28921.871316 delta logL = 2.36361256033 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 28921.8355499 delta logL = 2.39937868606 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 15.189 1.0000 .0000 .10000E+07 2 'Index ' 2.9616 1.0000 .0000 10.000 3 'Normalizat' .92784 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1138 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. FCN= 28921.84 FROM MIGRAD STATUS=CONVERGED 102 CALLS 315 TOTAL EDM= .65E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 15.177 100.99 .10269E-04 .12709E-02 2 Index 2.9619 2.0785 .45284E-02 .22445E-03 3 Normalizat .92788 .14162 .31620E-03 -.94918E-05 4 Prefactor 1.1138 .94520E-01 .20499E-03 .11092E-05 ERR DEF= .500 Final values: Prefactor = 15.1765 Index = 2.9619 Normalizat = 0.927884 Prefactor = 1.1138 ********** ** 18 **HESSE ********** FCN= 28921.84 FROM HESSE STATUS=OK 25 CALLS 340 TOTAL EDM= .12E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 15.177 16.187 .41077E-06 -1.5630 2 Index 2.9619 .44476 .18114E-03 -.41985 3 Normalizat .92788 .12145 .12648E-04 -.95487 4 Prefactor 1.1138 .83996E-01 .81995E-05 -.89027 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.17905e-11 Minuit parameter uncertainties: 1 16.1873 2 0.445469 3 0.121488 4 0.0840059 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/452294': 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) = 28921.8355495 delta logL = 2.3993790753 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 1.518e+01 1.619e+01 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.962e+00 4.455e-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.114e+00 8.401e-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: 9.279e-01 1.215e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 9.48 Ra Dec: 265.023 47.620 Photon Index (Free Index): 2.96 +/- 0.45 Photon Flux (Free Index): 7.12e-08 +/- 2.91e-08 Energy Flux (Free Index): 1.45e-05 +/- 5.65e-06 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/452294/cmap_HighResolution_693792001_694396801_4FGL_J1740.0+4737_weekly_bin752.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/452294 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.84e-08', energy_flux2='1.45e-05', photon_flux_error='1.66e-08', dlogl='2.40e+00', energy_flux='1.60e-05', photon_flux2='7.12e-08', job_status='DONE', time_completed='2023-01-03 03:55:55.651052', photon_index_error2='0.45', photon_index2='2.96', ts='4.44', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='5.65e-06', EG='0.98', time_epoch_completed='1672746955.65', return_code='0', job_id='452294', GAL2='1.11', EG2='0.93', return_code2='0', energy_flux_error='9.32e-06', photon_flux_error2='2.91e-08', ts2='9.48', photon_index='2.09' WHERE bin_id='752' AND source_name='4FGL J1740.0+4737' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jan 3 03:55:55 PST 2023 ------------------------------------------------------------ Sender: LSF System Subject: Job 452294: <4FGL_J1740.0+4737_weekly_bin752> in cluster Done Job <4FGL_J1740.0+4737_weekly_bin752> was submitted from host by user in cluster at Tue Jan 3 02:30:21 2023 Job was executed on host(s) , in queue , as user in cluster at Tue Jan 3 03:17:28 2023 was used as the home directory. was used as the working directory. Started at Tue Jan 3 03:17:28 2023 Terminated at Tue Jan 3 03:55:56 2023 Results reported at Tue Jan 3 03:55:56 2023 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1740.0+4737_weekly_bin752 265.023 47.6198 693792001 694396801 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 : 2120.00 sec. Max Memory : 785 MB Average Memory : 345.55 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 2308 sec. Turnaround time : 5135 sec. The output (if any) is above this job summary.