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 206 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 = 17407 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_weekly_bin762 RA = 250.119, Dec = 39.7626 tmin = 699840001, tmax = 700444801 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='4146', job_status='RUN', time_executed='2023-03-14 03:44:04.811855', time_epoch_executed='1678790644.81' WHERE source_name='4FGL J1640.4+3945' and cadence='weekly' and bin_id='762' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/4146 Creating custom pfile directory: /scratch/kocevski/4146/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=699840001.0 && nMetStart<700444801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=699840001.0 && nMetStart<700444801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/4146/ft1_4FGL_J1640.4+3945_weekly_bin762.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=699840001.0 && nMetStart<700444801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /scratch/kocevski/4146/ft2_4FGL_J1640.4+3945_weekly_bin762.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/4146/ft1_4FGL_J1640.4+3945_weekly_bin762.fits outfile=/scratch/kocevski/4146/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin762.fits ra=250.119 dec=39.7626 rad=12.0 tmin=699840001.0 tmax=700444801.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.13 user 7.81 sys 0.27 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/4146/ft2_4FGL_J1640.4+3945_weekly_bin762.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/4146/ft2_4FGL_J1640.4+3945_weekly_bin762.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/4146/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/4146/ft1_filtered_4FGL_J1640.4+3945_weekly_bin762.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.55 user 0.38 sys 0.15 Number of photons that the gtmktime cut: 1718 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/4146/ft1_filtered_4FGL_J1640.4+3945_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/4146/ft2_4FGL_J1640.4+3945_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/4146/ltcube_699840001_700444801_4FGL_J1640.4+3945_weekly_bin762.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/4146/ft2_4FGL_J1640.4+3945_weekly_bin762.fits .....................! real 30.24 user 29.66 sys 0.38 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/4146/ft1_filtered_4FGL_J1640.4+3945_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/4146/ft2_4FGL_J1640.4+3945_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/4146/ltcube_699840001_700444801_4FGL_J1640.4+3945_weekly_bin762.fits outfile=/scratch/kocevski/4146/expmap_699840001_700444801_4FGL_J1640.4+3945_weekly_bin762.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/4146/ltcube_699840001_700444801_4FGL_J1640.4+3945_weekly_bin762.fits .....................! real 193.02 user 186.90 sys 5.17 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 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/4146/ft1_filtered_4FGL_J1640.4+3945_weekly_bin762.fits scfile=/scratch/kocevski/4146/ft2_4FGL_J1640.4+3945_weekly_bin762.fits outfile=/scratch/kocevski/4146/cmap_699840001_700444801_4FGL_J1640.4+3945_weekly_bin762.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=250.119 yref=39.7626 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.60 user 0.41 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/4146/ft1_filtered_4FGL_J1640.4+3945_weekly_bin762.fits scfile=/scratch/kocevski/4146/ft2_4FGL_J1640.4+3945_weekly_bin762.fits outfile=/scratch/kocevski/4146/cmap_HighResolution_699840001_700444801_4FGL_J1640.4+3945_weekly_bin762.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=250.119 yref=39.7626 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.42 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/4146/ft1_filtered_4FGL_J1640.4+3945_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/4146/ft2_4FGL_J1640.4+3945_weekly_bin762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/4146/Model_4FGL_J1640.4+3945_weekly_bin762.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/4146/ft1_filtered_4FGL_J1640.4+3945_weekly_bin762.fits.....................! real 127.30 user 125.39 sys 1.33 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/4146/ft1_filtered_4FGL_J1640.4+3945_weekly_bin762.fits', '/scratch/kocevski/4146/ft2_4FGL_J1640.4+3945_weekly_bin762.fits', expMap='/scratch/kocevski/4146/expmap_699840001_700444801_4FGL_J1640.4+3945_weekly_bin762.fits', expCube='/scratch/kocevski/4146/ltcube_699840001_700444801_4FGL_J1640.4+3945_weekly_bin762.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/4146/Model_4FGL_J1640.4+3945_weekly_bin762.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/4146/ft1_filtered_4FGL_J1640.4+3945_weekly_bin762.fits Spacecraft file(s): /scratch/kocevski/4146/ft2_4FGL_J1640.4+3945_weekly_bin762.fits Exposure map: /scratch/kocevski/4146/expmap_699840001_700444801_4FGL_J1640.4+3945_weekly_bin762.fits Exposure cube: /scratch/kocevski/4146/ltcube_699840001_700444801_4FGL_J1640.4+3945_weekly_bin762.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/4146/Model_4FGL_J1640.4+3945_weekly_bin762.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) = 18864.9725903 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 18864.9690004 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.8096 1.0000 .0000 .10000E+07 2 'Prefactor ' 7.8324 1.0000 .0000 .10000E+07 3 'Prefactor ' .30808E-04 1.0000 .0000 .10000E+07 4 'Prefactor ' .35036E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .40863E-04 1.0000 .0000 .10000E+07 6 'Prefactor ' 1.9832 1.0000 .0000 .10000E+07 7 'norm ' .16814 1.0000 .0000 .10000E+07 8 'norm ' .74253E-04 1.0000 .0000 .10000E+07 9 'Prefactor ' 6.8860 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.4565 1.0000 .0000 .10000E+07 11 'norm ' .47542E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 1.3193 1.0000 .0000 .10000E+07 13 'Prefactor ' .69389E-08 1.0000 .0000 .10000E+07 14 'Prefactor ' .87520E-04 1.0000 .0000 .10000E+07 15 'Prefactor ' .55395E-06 1.0000 .0000 .10000E+07 16 'norm ' 2.5614 1.0000 .0000 .10000E+07 17 'norm ' .37498E-05 1.0000 .0000 .10000E+07 18 'Prefactor ' 1.3177 1.0000 .0000 .10000E+07 19 'norm ' .42411E-05 1.0000 .0000 .10000E+07 20 'norm ' 4.2987 1.0000 .0000 .10000E+07 21 'norm ' 3.6046 1.0000 .0000 .10000E+07 22 'norm ' 19.058 1.0000 .0000 .10000E+07 23 'Prefactor ' 9.1797 1.0000 .0000 .10000E+07 24 'Normalizat' 1.1153 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.0248 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 18864.97 FROM MIGRAD STATUS=CONVERGED 152 CALLS 2159 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.8298 1.1167 .12168E-07 -.78967E-02 2 Prefactor 7.7772 4.2774 .66720E-09 -.62337E-01 3 Prefactor .55511E-10 1.4197 .18204E-07** at limit ** 4 Prefactor .0000 1.4647 .82520E-08** at limit ** 5 Prefactor .55511E-10 6.3681 -.12953E-06** at limit ** 6 Prefactor 1.9838 1.6950 .15921E-08 .29619E-02 7 norm .16820 .85024E-01 .15658E-08** at limit ** 8 norm .11102E-09 2.2557 .85937E-07** at limit ** 9 Prefactor 6.8705 1.1365 .12531E-07 -.67736E-01 10 Prefactor 2.4587 2.6968 .12177E-07 .26738E-02 11 norm .14433E-08 12.191 .17976E-06** at limit ** 12 Prefactor 1.3189 .75566 .14073E-07 .18922E-01 13 Prefactor .33307E-09 .80165 -.11946E-06** at limit ** 14 Prefactor .0000 2.0453 -.46009E-08** at limit ** 15 Prefactor .0000 .53783 -.20556E-07** at limit ** 16 norm 2.5607 .89205 .67023E-08 .10098E-01 17 norm .0000 .59311 -.22544E-07** at limit ** 18 Prefactor 1.2814 4.4063 -.45682E-07 -.30146E-03 19 norm .0000 .52015 .10016E-07** at limit ** 20 norm 4.2998 2.4007 -.15853E-07 .63052E-01 21 norm 3.6061 1.2878 .20097E-07 .15694E-01 22 norm 19.040 4.5480 .82361E-08 -.71139E-01 23 Prefactor 9.7943 74.496 .13135E-06 -.72896E-02 24 Normalizat 1.1154 .14293 .89428E-07 .76615E-03 25 Prefactor 1.0247 .11349 .65295E-06 .92289E-03 ERR DEF= .500 Final values: Prefactor = 2.82976 Prefactor = 7.77724 Prefactor = 5.55112e-11 Prefactor = 0 Prefactor = 5.55112e-11 Prefactor = 1.98382 norm = 0.168204 norm = 1.11022e-10 Prefactor = 6.87055 Prefactor = 2.45868 norm = 1.44329e-09 Prefactor = 1.31892 Prefactor = 3.33067e-10 Prefactor = 0 Prefactor = 0 norm = 2.56069 norm = 0 Prefactor = 1.28144 norm = 0 norm = 4.29982 norm = 3.60614 norm = 19.0401 Prefactor = 9.79432 Normalizat = 1.11542 Prefactor = 1.02472 ********** ** 18 **HESSE ********** FCN= 18864.97 FROM HESSE STATUS=OK 501 CALLS 2660 TOTAL EDM= .56E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.8298 23.222 .60661E-03 -1.5674 2 Prefactor 7.7772 35.527 .35805E-03 -1.5652 3 Prefactor .55511E-10 1.3878 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 1.4641 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .55511E-10 6.3774 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 1.9838 1.7060 .73563E-03 -1.5680 7 norm .16820 .95339E-01 .56861E-03 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .11102E-09 2.2634 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 6.8705 10.872 .38210E-03 -1.5656 10 Prefactor 2.4587 2.7234 .65231E-03 -1.5677 11 norm .14433E-08 12.209 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.3189 .94750 .95785E-03 -1.5685 13 Prefactor .33307E-09 .47015 .23354E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .0000 2.0150 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .0000 .53736 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.5607 .89496 .63761E-03 -1.5676 17 norm .0000 .14801 .26645E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 1.2814 4.6373 .95878E-03 -1.5685 19 norm .0000 .15135 .27337E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 4.2998 5.2979 .48566E-03 -1.5666 21 norm 3.6061 1.3037 .53195E-03 -1.5670 22 norm 19.040 5.2631 .22914E-03 -1.5621 23 Prefactor 9.7943 74.413 .33055E-03 -1.5645 24 Normalizat 1.1154 .12191 .61467E-01 -.89258 25 Prefactor 1.0247 .94868E-01 .41690E-01 -.91910 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.59536e-06 Minuit parameter uncertainties: 1 16.2129 2 33.245 3 1.42649e-05 4 2.09694e-06 5 4.31349e-05 6 1.70597 7 0.0953393 8 3.14498e-05 9 10.8721 10 2.72341 11 0.00026548 12 0.947501 13 2.43646e-05 14 3.82783e-06 15 4.74106e-06 16 0.894959 17 2.81832e-06 18 4.63734 19 9.31466e-07 20 5.29794 21 1.30366 22 5.26306 23 53.9943 24 0.121945 25 0.094884 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 18864.9688198 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.319e+00 9.475e-01 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.025e+00 9.488e-02 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.115e+00 1.219e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 4.87 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 5.21e-08 +/- 3.74e-08 Energy Flux (Fixed Index): 1.66e-05 +/- 1.19e-05 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) = 18864.8995333 delta logL = 0.0692865554483 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 18864.8912384 delta logL = 0.0775813978871 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.0817 1.0000 .0000 .10000E+07 2 'Index ' 2.5862 1.0000 .0000 10.000 3 'Normalizat' 1.1067 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0296 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 18864.89 FROM MIGRAD STATUS=CONVERGED 55 CALLS 247 TOTAL EDM= .51E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.0817 6.0424 .11570E-02 .26398E-01 2 Index 2.5862 1.9631 .11702 .43135E-03 3 Normalizat 1.1067 .30976E-01 .61667E-01 .33565E-04 4 Prefactor 1.0296 .25035E-01 .41290E-01 .22741E-04 ERR DEF= .500 Final values: Prefactor = 1.08171 Index = 2.58622 Normalizat = 1.10672 Prefactor = 1.02961 ********** ** 18 **HESSE ********** FCN= 18864.89 FROM HESSE STATUS=OK 33 CALLS 280 TOTAL EDM= .63E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.0817 1.0064 .69901E-05 -1.5687 2 Index 2.5862 .50625 .66053E-02 -.50380 3 Normalizat 1.1067 .13957 .27275E-03 -.89536 4 Prefactor 1.0296 .11333 .23164E-03 -.91749 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.26006e-11 Minuit parameter uncertainties: 1 1.00644 2 0.507382 3 0.139613 4 0.11336 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/4146': 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) = 18864.8912382 delta logL = 0.0775816335226 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.082e+00 1.006e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.586e+00 5.074e-01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.030e+00 1.134e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.107e+00 1.396e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.11 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.59 +/- 0.51 Photon Flux (Free Index): 5.89e-08 +/- 3.29e-08 Energy Flux (Free Index): 1.57e-05 +/- 8.92e-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/4146/cmap_HighResolution_699840001_700444801_4FGL_J1640.4+3945_weekly_bin762.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/4146 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.21e-08', energy_flux2='1.57e-05', photon_flux_error='3.74e-08', dlogl='7.76e-02', energy_flux='1.66e-05', photon_flux2='5.89e-08', job_status='DONE', time_completed='2023-03-14 04:05:51.636427', photon_index_error2='0.51', photon_index2='2.59', ts='4.87', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='8.92e-06', EG='1.12', time_epoch_completed='1678791951.64', return_code='0', job_id='4146', GAL2='1.03', EG2='1.11', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='3.29e-08', ts2='5.11', photon_index='2.42' WHERE bin_id='762' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Mar 14 04:05:51 PDT 2023 ------------------------------------------------------------ Sender: LSF System Subject: Job 4146: <4FGL_J1640.4+3945_weekly_bin762> in cluster Done Job <4FGL_J1640.4+3945_weekly_bin762> was submitted from host by user in cluster at Tue Mar 14 03:40:25 2023 Job was executed on host(s) , in queue , as user in cluster at Tue Mar 14 03:40:26 2023 was used as the home directory. was used as the working directory. Started at Tue Mar 14 03:40:26 2023 Terminated at Tue Mar 14 04:05:52 2023 Results reported at Tue Mar 14 04:05:52 2023 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_weekly_bin762 250.119 39.7626 699840001 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.4+3945 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1303.00 sec. Max Memory : 620 MB Average Memory : 295.74 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 1525 sec. Turnaround time : 1527 sec. The output (if any) is above this job summary.