/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 122 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 = 17449 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_weekly_bin691 RA = 250.119, Dec = 39.7626 tmin = 656899201, tmax = 657504001 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='669341', job_status='RUN', time_executed='2021-12-08 19:49:30.051565', time_epoch_executed='1639021770.05' WHERE source_name='4FGL J1640.4+3945' and cadence='weekly' and bin_id='691' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/669341 Creating custom pfile directory: /scratch/kocevski/669341/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=656899201.0 && nMetStart<657504001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=656899201.0 && nMetStart<657504001.0' /Data/Flight/Level1/LPA Retrieving 109 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/669341/ft1_4FGL_J1640.4+3945_weekly_bin691.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=656899201.0 && nMetStart<657504001.0' /Data/Flight/Level1/LPA Retrieving 109 files... Done. Merging files... Merged file saved to: /scratch/kocevski/669341/ft2_4FGL_J1640.4+3945_weekly_bin691.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/669341/ft1_4FGL_J1640.4+3945_weekly_bin691.fits outfile=/scratch/kocevski/669341/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin691.fits ra=250.119 dec=39.7626 rad=12.0 tmin=656899201.0 tmax=657504001.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 7.72 user 7.47 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/669341/ft2_4FGL_J1640.4+3945_weekly_bin691.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/669341/ft2_4FGL_J1640.4+3945_weekly_bin691.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/669341/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin691.fits evtable="EVENTS" outfile="/scratch/kocevski/669341/ft1_filtered_4FGL_J1640.4+3945_weekly_bin691.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.56 user 0.39 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/669341/ft1_filtered_4FGL_J1640.4+3945_weekly_bin691.fits" evtable="EVENTS" scfile=/scratch/kocevski/669341/ft2_4FGL_J1640.4+3945_weekly_bin691.fits sctable="SC_DATA" outfile=/scratch/kocevski/669341/ltcube_656899201_657504001_4FGL_J1640.4+3945_weekly_bin691.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/669341/ft2_4FGL_J1640.4+3945_weekly_bin691.fits .....................! real 31.39 user 30.97 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/669341/ft1_filtered_4FGL_J1640.4+3945_weekly_bin691.fits evtable="EVENTS" scfile=/scratch/kocevski/669341/ft2_4FGL_J1640.4+3945_weekly_bin691.fits sctable="SC_DATA" expcube=/scratch/kocevski/669341/ltcube_656899201_657504001_4FGL_J1640.4+3945_weekly_bin691.fits outfile=/scratch/kocevski/669341/expmap_656899201_657504001_4FGL_J1640.4+3945_weekly_bin691.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/669341/ltcube_656899201_657504001_4FGL_J1640.4+3945_weekly_bin691.fits .....................! real 193.91 user 187.52 sys 3.88 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/669341/ft1_filtered_4FGL_J1640.4+3945_weekly_bin691.fits scfile=/scratch/kocevski/669341/ft2_4FGL_J1640.4+3945_weekly_bin691.fits outfile=/scratch/kocevski/669341/cmap_656899201_657504001_4FGL_J1640.4+3945_weekly_bin691.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.58 user 0.43 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/669341/ft1_filtered_4FGL_J1640.4+3945_weekly_bin691.fits scfile=/scratch/kocevski/669341/ft2_4FGL_J1640.4+3945_weekly_bin691.fits outfile=/scratch/kocevski/669341/cmap_HighResolution_656899201_657504001_4FGL_J1640.4+3945_weekly_bin691.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.61 user 0.43 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/669341/ft1_filtered_4FGL_J1640.4+3945_weekly_bin691.fits evtable="EVENTS" scfile=/scratch/kocevski/669341/ft2_4FGL_J1640.4+3945_weekly_bin691.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/669341/Model_4FGL_J1640.4+3945_weekly_bin691.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/669341/ft1_filtered_4FGL_J1640.4+3945_weekly_bin691.fits.....................! real 118.26 user 114.31 sys 1.17 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/669341/ft1_filtered_4FGL_J1640.4+3945_weekly_bin691.fits', '/scratch/kocevski/669341/ft2_4FGL_J1640.4+3945_weekly_bin691.fits', expMap='/scratch/kocevski/669341/expmap_656899201_657504001_4FGL_J1640.4+3945_weekly_bin691.fits', expCube='/scratch/kocevski/669341/ltcube_656899201_657504001_4FGL_J1640.4+3945_weekly_bin691.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/669341/Model_4FGL_J1640.4+3945_weekly_bin691.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 1.000e-04 1.000e+04 ( 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/669341/ft1_filtered_4FGL_J1640.4+3945_weekly_bin691.fits Spacecraft file(s): /scratch/kocevski/669341/ft2_4FGL_J1640.4+3945_weekly_bin691.fits Exposure map: /scratch/kocevski/669341/expmap_656899201_657504001_4FGL_J1640.4+3945_weekly_bin691.fits Exposure cube: /scratch/kocevski/669341/ltcube_656899201_657504001_4FGL_J1640.4+3945_weekly_bin691.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/669341/Model_4FGL_J1640.4+3945_weekly_bin691.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) = 17428.0006347 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17427.8663649 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10529E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10019E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 3.9549 1.0000 .10000E-03 10000. 4 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .11066E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10179E-03 1.0000 .10000E-03 10000. 7 'norm ' .32196 1.0000 .10000E-03 10000. 8 'norm ' .10166E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 5.9375 1.0000 .10000E-03 10000. 10 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 11 'norm ' .15689E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .16471E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 8.3153 1.0000 .10000E-03 10000. 14 'Prefactor ' 3.6427 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.6763 1.0000 .10000E-03 10000. 16 'norm ' 3.9499 1.0000 .10000E-03 10000. 17 'norm ' 1.7995 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.9496 1.0000 .10000E-03 10000. 19 'norm ' .39671 1.0000 .10000E-03 10000. 20 'norm ' 2.9168 1.0000 .10000E-03 10000. 21 'norm ' 5.1763 1.0000 .10000E-03 10000. 22 'Prefactor ' 7.6443 1.0000 .10000E-03 10000. 23 'norm ' .10107E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 3.1321 1.0000 .10000E-03 10000. 25 'Normalizat' .67068 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.1302 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= 17427.87 FROM MIGRAD STATUS=CONVERGED 108 CALLS 2191 TOTAL EDM= .63E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 11.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 5.4296 -.14843E-05** at limit ** 2 Prefactor .10000E-03 10.277 .17962E-04** at limit ** 3 Prefactor 3.9554 1.8129 .22842E-07 .24743E-03 4 Prefactor .10000E-03 .89920 -.10312E-06** at limit ** 5 Prefactor .10000E-03 10.846 -.19117E-04** at limit ** 6 Prefactor .10000E-03 1.3287 -.70299E-07** at limit ** 7 norm .32199 .93635E-01 .64617E-08 .25284E-02 8 norm .10000E-03 2.2702 .15433E-06** at limit ** 9 Prefactor 5.9457 1.2501 -.28607E-06 .92729E-03 10 Prefactor .10000E-03 .71686 .12545E-06** at limit ** 11 norm .10000E-03 22.882 .39600E-05** at limit ** 12 Prefactor .10000E-03 5.0044 .18142E-05** at limit ** 13 Prefactor 8.3173 1.0973 -.29298E-07 -.11057E-02 14 Prefactor 3.6430 2.0231 -.10182E-06 -.41263E-03 15 Prefactor 1.6771 1.8277 -.24785E-06 -.95240E-04 16 norm 3.9498 1.1023 -.12151E-06 -.26887E-02 17 norm 1.7995 .62316 -.17719E-06 .15357E-02 18 Prefactor 2.9511 4.2276 .54807E-05 .12854E-03 19 norm .39660 .43598 -.35835E-06 -.57502E-03 20 norm 2.9165 1.0645 .21286E-06 -.22540E-03 21 norm 5.1762 1.1836 -.11842E-06 .49118E-03 22 Prefactor 7.6626 6.4586 .40637E-05 .36106E-02 23 norm .10000E-03 .85705 -.10975E-06** at limit ** 24 Prefactor 3.0869 38.943 -.34108E-04 .67525E-03 25 Normalizat .67045 .14074 -.18815E-05 .59102E-03 26 Prefactor 1.1304 .11559 .14651E-05 .92457E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.000100001 Prefactor = 3.95543 Prefactor = 0.0001 Prefactor = 0.000100002 Prefactor = 0.0001 norm = 0.321986 norm = 0.0001 Prefactor = 5.94568 Prefactor = 0.0001 norm = 0.000100001 Prefactor = 0.0001 Prefactor = 8.31728 Prefactor = 3.64301 Prefactor = 1.67712 norm = 3.94979 norm = 1.79955 Prefactor = 2.95112 norm = 0.396596 norm = 2.91648 norm = 5.17621 Prefactor = 7.66257 norm = 0.0001 Prefactor = 3.08689 Normalizat = 0.670448 Prefactor = 1.13037 ********** ** 18 **HESSE ********** FCN= 17427.87 FROM HESSE STATUS=OK 524 CALLS 2715 TOTAL EDM= .37E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 5.4178 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 10.307 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 3.9554 1.8167 .50709E-02 -1.5310 4 Prefactor .10000E-03 .89372 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 10.676 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 .73902 .39616E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .32199 .10474 .45486E-02 -1.5594 8 norm .10000E-03 2.2681 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 5.9457 11.641 .41199E-02 -1.5220 10 Prefactor .10000E-03 .70929 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 22.792 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 .27217 .54915E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 8.3173 1.3371 .34756E-03 -1.5131 14 Prefactor 3.6430 2.0341 .52916E-02 -1.5326 15 Prefactor 1.6771 1.8563 .81366E-02 -1.5449 16 norm 3.9498 1.1041 .50741E-02 -1.5310 17 norm 1.7995 .63130 .77911E-02 -1.5440 18 Prefactor 2.9511 4.3457 .59117E-02 -1.5364 19 norm .39660 .46037 .10842E-01 -1.5582 20 norm 2.9165 4.6521 .59470E-02 -1.5366 21 norm 5.1762 1.1871 .44173E-02 -1.5253 22 Prefactor 7.6626 15.720 .36261E-02 -1.5154 23 norm .10000E-03 .84893 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 3.0869 46.118 .57268E-02 -1.5357 25 Normalizat .67045 .12333 .71670E-01 -1.0507 26 Prefactor 1.1304 .99824E-01 .36537E-01 -.88502 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.69335e-07 Minuit parameter uncertainties: 1 3.98887e-07 2 0.000244987 3 1.81672 4 2.67931e-06 5 0.000322236 6 6.31586e-06 7 0.104745 8 5.47038e-06 9 11.645 10 1.87189e-05 11 0.000242969 12 6.90192e-07 13 1.33713 14 2.03411 15 1.85639 16 1.10413 17 0.631303 18 4.34616 19 0.460376 20 4.65268 21 1.18711 22 15.7289 23 1.52739e-06 24 23.8847 25 0.123379 26 0.0998403 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17427.8663486 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 6.902e-07 1.000e-04 1.000e+04 ( 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.130e+00 9.984e-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: 6.704e-01 1.234e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.31e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.66e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/669341/likelihoodResults_656899201_657504001_4FGL_J1640.4+3945_weekly_bin691.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) = 17427.8673569 delta logL = -0.00100830806696 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 17427.8663532 delta logL = -4.63151445729e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .13076E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4886 1.0000 .0000 10.000 3 'Normalizat' .67078 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1302 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= 17427.87 FROM MIGRAD STATUS=CONVERGED 67 CALLS 237 TOTAL EDM= .15E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .17918E-02 .53573E-01** at limit ** 2 Index 2.5403 2.7932 .50000 -.56326E-04 3 Normalizat .67045 .33333E-03 .71670E-01 -.11730E-03 4 Prefactor 1.1304 .28504E-03 .36538E-01 -.38758E-03 ERR DEF= .500 Final values: Prefactor = 0.000100002 Index = 2.54031 Normalizat = 0.670447 Prefactor = 1.13037 ********** ** 18 **HESSE ********** FCN= 17427.87 FROM HESSE STATUS=NOT POSDEF 33 CALLS 270 TOTAL EDM= .27E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 19.549 .89372E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.5403 7.9409 .50000 -.51431 3 Normalizat .67045 .46268E-02 .31721E-03 -1.0507 4 Prefactor 1.1304 .39642E-02 .21265E-03 -.88502 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.67066e-07 Minuit parameter uncertainties: 1 0.0003848 2 42.07 3 0.00462679 4 0.00396424 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/669341': 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): 102 logL (Free Index) = 17427.8663457 delta logL = 2.83734698314e-06 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 3.848e-04 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.540e+00 4.207e+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.130e+00 3.964e-03 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: 6.704e-01 4.627e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.119 39.763 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/669341/cmap_HighResolution_656899201_657504001_4FGL_J1640.4+3945_weekly_bin691.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/669341 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-03', job_status='DONE', photon_flux_upper_limit='7.31e-08', time_completed='2021-12-08 20:15:26.404447', job_id='669341', GAL2='1.13', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1639023326.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.84e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='691' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Dec 8 20:15:26 PST 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 669341: <4FGL_J1640.4+3945_weekly_bin691> in cluster Done Job <4FGL_J1640.4+3945_weekly_bin691> was submitted from host by user in cluster at Wed Dec 8 19:45:33 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Dec 8 19:47:17 2021 was used as the home directory. was used as the working directory. Started at Wed Dec 8 19:47:17 2021 Terminated at Wed Dec 8 20:15:26 2021 Results reported at Wed Dec 8 20:15:26 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_weekly_bin691 250.119 39.7626 656899201 657504001 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 : 1549.75 sec. Max Memory : 636 MB Average Memory : 324.13 MB Total Requested Memory : - Delta Memory : - Max Swap : 2934 MB Max Processes : 6 Max Threads : 21 Run time : 1689 sec. Turnaround time : 1793 sec. The output (if any) is above this job summary.