/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 77 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 = 7431 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin743 RA = 250.119, Dec = 39.7626 tmin = 431913601, tmax = 432172801 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='835410', job_status='RUN', time_executed='2021-09-15 06:37:27.905781', time_epoch_executed='1631713047.91' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='743' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835410 Creating custom pfile directory: /scratch/kocevski/835410/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=431913601.0 && nMetStart<432172801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=431913601.0 && nMetStart<432172801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835410/ft1_4FGL_J1640.4+3945_daily_bin743.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=431913601.0 && nMetStart<432172801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835410/ft2_4FGL_J1640.4+3945_daily_bin743.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835410/ft1_4FGL_J1640.4+3945_daily_bin743.fits outfile=/scratch/kocevski/835410/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin743.fits ra=250.119 dec=39.7626 rad=12.0 tmin=431913601.0 tmax=432172801.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.41 user 5.09 sys 0.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835410/ft2_4FGL_J1640.4+3945_daily_bin743.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835410/ft2_4FGL_J1640.4+3945_daily_bin743.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/835410/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin743.fits evtable="EVENTS" outfile="/scratch/kocevski/835410/ft1_filtered_4FGL_J1640.4+3945_daily_bin743.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.51 user 0.35 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/835410/ft1_filtered_4FGL_J1640.4+3945_daily_bin743.fits" evtable="EVENTS" scfile=/scratch/kocevski/835410/ft2_4FGL_J1640.4+3945_daily_bin743.fits sctable="SC_DATA" outfile=/scratch/kocevski/835410/ltcube_431913601_432172801_4FGL_J1640.4+3945_daily_bin743.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/835410/ft2_4FGL_J1640.4+3945_daily_bin743.fits .....................! real 14.44 user 14.08 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835410/ft1_filtered_4FGL_J1640.4+3945_daily_bin743.fits evtable="EVENTS" scfile=/scratch/kocevski/835410/ft2_4FGL_J1640.4+3945_daily_bin743.fits sctable="SC_DATA" expcube=/scratch/kocevski/835410/ltcube_431913601_432172801_4FGL_J1640.4+3945_daily_bin743.fits outfile=/scratch/kocevski/835410/expmap_431913601_432172801_4FGL_J1640.4+3945_daily_bin743.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/835410/ltcube_431913601_432172801_4FGL_J1640.4+3945_daily_bin743.fits .....................! real 190.98 user 185.90 sys 4.48 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/835410/ft1_filtered_4FGL_J1640.4+3945_daily_bin743.fits scfile=/scratch/kocevski/835410/ft2_4FGL_J1640.4+3945_daily_bin743.fits outfile=/scratch/kocevski/835410/cmap_431913601_432172801_4FGL_J1640.4+3945_daily_bin743.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.62 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/835410/ft1_filtered_4FGL_J1640.4+3945_daily_bin743.fits scfile=/scratch/kocevski/835410/ft2_4FGL_J1640.4+3945_daily_bin743.fits outfile=/scratch/kocevski/835410/cmap_HighResolution_431913601_432172801_4FGL_J1640.4+3945_daily_bin743.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.39 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/835410/ft1_filtered_4FGL_J1640.4+3945_daily_bin743.fits evtable="EVENTS" scfile=/scratch/kocevski/835410/ft2_4FGL_J1640.4+3945_daily_bin743.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835410/Model_4FGL_J1640.4+3945_daily_bin743.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/835410/ft1_filtered_4FGL_J1640.4+3945_daily_bin743.fits.....................! real 53.66 user 52.26 sys 1.19 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835410/ft1_filtered_4FGL_J1640.4+3945_daily_bin743.fits', '/scratch/kocevski/835410/ft2_4FGL_J1640.4+3945_daily_bin743.fits', expMap='/scratch/kocevski/835410/expmap_431913601_432172801_4FGL_J1640.4+3945_daily_bin743.fits', expCube='/scratch/kocevski/835410/ltcube_431913601_432172801_4FGL_J1640.4+3945_daily_bin743.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835410/Model_4FGL_J1640.4+3945_daily_bin743.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/835410/ft1_filtered_4FGL_J1640.4+3945_daily_bin743.fits Spacecraft file(s): /scratch/kocevski/835410/ft2_4FGL_J1640.4+3945_daily_bin743.fits Exposure map: /scratch/kocevski/835410/expmap_431913601_432172801_4FGL_J1640.4+3945_daily_bin743.fits Exposure cube: /scratch/kocevski/835410/ltcube_431913601_432172801_4FGL_J1640.4+3945_daily_bin743.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835410/Model_4FGL_J1640.4+3945_daily_bin743.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) = 6757.92869242 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6757.87318421 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .25633E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 2.5668 1.0000 .10000E-03 10000. 4 'Prefactor ' .10443E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10521E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10015E-03 1.0000 .10000E-03 10000. 7 'norm ' .38771 1.0000 .10000E-03 10000. 8 'norm ' 9.8556 1.0000 .10000E-03 10000. 9 'Prefactor ' 11.208 1.0000 .10000E-03 10000. 10 'Prefactor ' .10481E-03 1.0000 .10000E-03 10000. 11 'norm ' .57256E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10019E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .75768 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.7160 1.0000 .10000E-03 10000. 15 'Prefactor ' .10053E-03 1.0000 .10000E-03 10000. 16 'norm ' 8.6943 1.0000 .10000E-03 10000. 17 'norm ' 2.8681 1.0000 .10000E-03 10000. 18 'Prefactor ' .10284E-03 1.0000 .10000E-03 10000. 19 'norm ' .77437 1.0000 .10000E-03 10000. 20 'norm ' 12.806 1.0000 .10000E-03 10000. 21 'norm ' 4.1631 1.0000 .10000E-03 10000. 22 'Prefactor ' .11477E-02 1.0000 .10000E-03 10000. 23 'norm ' 5.2045 1.0000 .10000E-03 10000. 24 'Prefactor ' .83310E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.0694 1.0000 .10000E-01 10.000 26 'Prefactor ' .80552 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= 6757.873 FROM MIGRAD STATUS=CONVERGED 102 CALLS 2590 TOTAL EDM= .95E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 11.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10006E-03 1.7019 -.11593E-04** at limit ** 2 Prefactor .10000E-03 21.588 -.83833E-05** at limit ** 3 Prefactor 2.5685 2.5180 -.24533E-05 -.20341E-03 4 Prefactor .10000E-03 2.1350 .34745E-06** at limit ** 5 Prefactor .10000E-03 6.3908 -.39699E-06** at limit ** 6 Prefactor .10000E-03 1.5863 -.16060E-06** at limit ** 7 norm .38737 .16279 -.30403E-06 .80757E-03 8 norm 9.8821 1.9214 -.19642E-05 -.72578E-03 9 Prefactor 11.296 19.265 .18275E-04 -.15086E-02 10 Prefactor .10000E-03 2.3186 .91888E-06** at limit ** 11 norm .10000E-03 14.878 .53216E-05** at limit ** 12 Prefactor .10000E-03 1.4202 -.33986E-06** at limit ** 13 Prefactor .75671 .72544 -.51266E-07 -.16224E-02 14 Prefactor 1.6998 2.7559 -.29737E-05 -.28926E-03 15 Prefactor .10000E-03 1.0514 -.46086E-06** at limit ** 16 norm 8.6933 2.3269 -.38275E-07 -.34634E-03 17 norm 2.8707 1.3384 .29639E-06 -.58772E-03 18 Prefactor .10000E-03 3.4319 .65291E-06** at limit ** 19 norm .77437 .65361 -.25504E-07 -.13333E-03 20 norm 12.816 1.1571 .16488E-06 .13246E-02 21 norm 4.1600 2.2159 -.22520E-07 -.19735E-03 22 Prefactor .10010E-03 23.236 .49730E-04** at limit ** 23 norm 5.1936 2.1357 .48559E-05 .64035E-02 24 Prefactor .10171E-03 22.728 .29032E-04** at limit ** 25 Normalizat 1.0695 .22419 -.14918E-05 -.42360E-03 26 Prefactor .80546 .17177 -.35891E-06 -.30412E-03 ERR DEF= .500 Final values: Prefactor = 0.000100056 Prefactor = 0.000100001 Prefactor = 2.5685 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.387368 norm = 9.88214 Prefactor = 11.2964 Prefactor = 0.0001 norm = 0.000100002 Prefactor = 0.0001 Prefactor = 0.756715 Prefactor = 1.6998 Prefactor = 0.0001 norm = 8.69334 norm = 2.87069 Prefactor = 0.0001 norm = 0.774372 norm = 12.8158 norm = 4.15998 Prefactor = 0.000100098 norm = 5.19364 Prefactor = 0.000101712 Normalizat = 1.06948 Prefactor = 0.805455 ********** ** 18 **HESSE ********** FCN= 6757.873 FROM HESSE STATUS=OK 514 CALLS 3104 TOTAL EDM= .75E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10006E-03 28.347 .10727E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 22.451 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 2.5685 3.5137 .63697E-02 -1.5387 4 Prefactor .10000E-03 2.1254 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 6.3968 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 1.5642 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .38737 .16689 .41608E-02 -1.5584 8 norm 9.8821 10.834 .31911E-02 -1.5079 9 Prefactor 11.296 20.223 .29917E-02 -1.5036 10 Prefactor .10000E-03 2.2863 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 14.973 .10544E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 .67571 .21114E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .75671 .77835 .12281E-01 -1.5534 14 Prefactor 1.6998 3.6116 .80194E-02 -1.5447 15 Prefactor .10000E-03 1.0415 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 8.6933 2.3319 .33986E-02 -1.5118 17 norm 2.8707 1.3870 .60006E-02 -1.5369 18 Prefactor .10000E-03 3.4147 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .77437 .68407 .12344E-01 -1.5532 20 norm 12.816 10.633 .27984E-02 -1.4992 21 norm 4.1600 2.2222 .49384E-02 -1.5300 22 Prefactor .10010E-03 37.972 .10335E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 5.1936 5.9010 .44051E-02 -1.5252 24 Prefactor .10171E-03 60.340 .10439E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0695 .18791 .59647E-01 -.90738 26 Prefactor .80546 .14469 .43789E-01 -.99528 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.48539e-08 Minuit parameter uncertainties: 1 0.0025245 2 0.000228528 3 3.51396 4 8.94932e-06 5 0.000101338 6 3.27559e-06 7 0.166891 8 10.8365 9 20.2353 10 1.29038e-05 11 0.000341976 12 4.94237e-06 13 0.778359 14 3.61206 15 2.69717e-05 16 2.33193 17 1.38704 18 2.52752e-05 19 0.684072 20 10.6349 21 2.22222 22 0.00385492 23 5.90169 24 0.0203501 25 0.188024 26 0.14476 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6757.87311414 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 4.942e-06 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: 8.055e-01 1.448e-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.069e+00 1.880e-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: 8.03e-08 ph cm-2 s-1 Energy Flux Upper Limit: 6.21e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/835410/likelihoodResults_431913601_432172801_4FGL_J1640.4+3945_daily_bin743.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6757.87652706 delta logL = -0.00341291206587 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6757.87311506 delta logL = -9.18358637136e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10050E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4063 1.0000 .0000 10.000 3 'Normalizat' 1.0695 1.0000 .10000E-01 10.000 4 'Prefactor ' .80556 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 6757.873 FROM MIGRAD STATUS=FAILED 88 CALLS 249 TOTAL EDM= .40E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10170E-03 276.91 .12276E-02** at limit ** 2 Index 2.1828 8.8502 .95517E-01 .21227E-04 3 Normalizat 1.0695 .86970E-01 .26379E-03 -.37472E-03 4 Prefactor .80546 .69035E-01 .23661E-03 -.15789E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 6757.873 FROM SIMPLEX STATUS=PROGRESS 154 CALLS 403 TOTAL EDM= .51E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10163E-03 276.91 .15303E-03** at limit ** 2 Index 2.1826 8.8502 .51034E-04 .21227E-04 3 Normalizat 1.0695 .86970E-01 .15396E-05 -.37472E-03 4 Prefactor .80545 .69035E-01 .66429E-06 -.15789E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6757.873 FROM MIGRAD STATUS=CONVERGED 38 CALLS 441 TOTAL EDM= .62E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 1.5693 .24553E-03** at limit ** 2 Index 2.1183 5.2161 .38207E-02 .13092E-07 3 Normalizat 1.0695 .21447 .52757E-04 -.73223E-04 4 Prefactor .80545 .17030 .94644E-05 .47568E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.1183 Normalizat = 1.06948 Prefactor = 0.805455 ********** ** 18 **HESSE ********** FCN= 6757.873 FROM HESSE STATUS=OK 23 CALLS 464 TOTAL EDM= .62E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 1.5694 .49105E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.1183 5.1855 .76414E-03 -.61424 3 Normalizat 1.0695 .21454 .10551E-04 -.90738 4 Prefactor .80545 .17037 .18929E-05 -.99528 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.23423e-11 Minuit parameter uncertainties: 1 3.96641e-07 2 110.871 3 0.214716 4 0.170477 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835410': 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) = 6757.87311077 delta logL = 3.37713663612e-06 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 3.966e-07 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.118e+00 1.109e+02 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: 8.055e-01 1.705e-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.069e+00 2.147e-01 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 -2.500e-04 [aplpy.core] INFO: Auto-setting vmax to 2.775e-03 [aplpy.core] Saving /scratch/kocevski/835410/cmap_HighResolution_431913601_432172801_4FGL_J1640.4+3945_daily_bin743.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835410 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.21e-03', job_status='DONE', photon_flux_upper_limit='8.03e-08', time_completed='2021-09-15 06:51:13.040708', job_id='835410', GAL2='0.81', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1631713873.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.38e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='743' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:51:13 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835410: <4FGL_J1640.4+3945_daily_bin743> in cluster Done Job <4FGL_J1640.4+3945_daily_bin743> was submitted from host by user in cluster at Wed Sep 15 06:35:21 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:36:01 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:36:01 2021 Terminated at Wed Sep 15 06:51:13 2021 Results reported at Wed Sep 15 06:51:13 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin743 250.119 39.7626 431913601 432172801 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 : 824.00 sec. Max Memory : 1095 MB Average Memory : 304.38 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 913 sec. Turnaround time : 952 sec. The output (if any) is above this job summary.