/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 1 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 = 7636 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin937 RA = 250.119, Dec = 39.7626 tmin = 482198401, tmax = 482457601 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='835728', job_status='RUN', time_executed='2021-09-15 06:41:51.131679', time_epoch_executed='1631713311.13' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='937' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835728 Creating custom pfile directory: /scratch/kocevski/835728/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=482198401.0 && nMetStart<482457601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=482198401.0 && nMetStart<482457601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835728/ft1_4FGL_J1640.4+3945_daily_bin937.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=482198401.0 && nMetStart<482457601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835728/ft2_4FGL_J1640.4+3945_daily_bin937.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835728/ft1_4FGL_J1640.4+3945_daily_bin937.fits outfile=/scratch/kocevski/835728/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin937.fits ra=250.119 dec=39.7626 rad=12.0 tmin=482198401.0 tmax=482457601.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 3.66 user 3.40 sys 0.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835728/ft2_4FGL_J1640.4+3945_daily_bin937.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835728/ft2_4FGL_J1640.4+3945_daily_bin937.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/835728/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin937.fits evtable="EVENTS" outfile="/scratch/kocevski/835728/ft1_filtered_4FGL_J1640.4+3945_daily_bin937.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.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/835728/ft1_filtered_4FGL_J1640.4+3945_daily_bin937.fits" evtable="EVENTS" scfile=/scratch/kocevski/835728/ft2_4FGL_J1640.4+3945_daily_bin937.fits sctable="SC_DATA" outfile=/scratch/kocevski/835728/ltcube_482198401_482457601_4FGL_J1640.4+3945_daily_bin937.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/835728/ft2_4FGL_J1640.4+3945_daily_bin937.fits .....................! real 13.60 user 13.24 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835728/ft1_filtered_4FGL_J1640.4+3945_daily_bin937.fits evtable="EVENTS" scfile=/scratch/kocevski/835728/ft2_4FGL_J1640.4+3945_daily_bin937.fits sctable="SC_DATA" expcube=/scratch/kocevski/835728/ltcube_482198401_482457601_4FGL_J1640.4+3945_daily_bin937.fits outfile=/scratch/kocevski/835728/expmap_482198401_482457601_4FGL_J1640.4+3945_daily_bin937.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/835728/ltcube_482198401_482457601_4FGL_J1640.4+3945_daily_bin937.fits .....................! real 191.24 user 185.81 sys 4.94 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/835728/ft1_filtered_4FGL_J1640.4+3945_daily_bin937.fits scfile=/scratch/kocevski/835728/ft2_4FGL_J1640.4+3945_daily_bin937.fits outfile=/scratch/kocevski/835728/cmap_482198401_482457601_4FGL_J1640.4+3945_daily_bin937.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.55 user 0.38 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/835728/ft1_filtered_4FGL_J1640.4+3945_daily_bin937.fits scfile=/scratch/kocevski/835728/ft2_4FGL_J1640.4+3945_daily_bin937.fits outfile=/scratch/kocevski/835728/cmap_HighResolution_482198401_482457601_4FGL_J1640.4+3945_daily_bin937.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.56 user 0.39 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/835728/ft1_filtered_4FGL_J1640.4+3945_daily_bin937.fits evtable="EVENTS" scfile=/scratch/kocevski/835728/ft2_4FGL_J1640.4+3945_daily_bin937.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835728/Model_4FGL_J1640.4+3945_daily_bin937.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/835728/ft1_filtered_4FGL_J1640.4+3945_daily_bin937.fits.....................! real 53.33 user 51.99 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835728/ft1_filtered_4FGL_J1640.4+3945_daily_bin937.fits', '/scratch/kocevski/835728/ft2_4FGL_J1640.4+3945_daily_bin937.fits', expMap='/scratch/kocevski/835728/expmap_482198401_482457601_4FGL_J1640.4+3945_daily_bin937.fits', expCube='/scratch/kocevski/835728/ltcube_482198401_482457601_4FGL_J1640.4+3945_daily_bin937.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835728/Model_4FGL_J1640.4+3945_daily_bin937.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/835728/ft1_filtered_4FGL_J1640.4+3945_daily_bin937.fits Spacecraft file(s): /scratch/kocevski/835728/ft2_4FGL_J1640.4+3945_daily_bin937.fits Exposure map: /scratch/kocevski/835728/expmap_482198401_482457601_4FGL_J1640.4+3945_daily_bin937.fits Exposure cube: /scratch/kocevski/835728/ltcube_482198401_482457601_4FGL_J1640.4+3945_daily_bin937.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835728/Model_4FGL_J1640.4+3945_daily_bin937.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) = 6796.75127261 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6796.7502714 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60426 1.0000 .10000E-03 10000. 2 'Prefactor ' 50.964 1.0000 .10000E-03 10000. 3 'Prefactor ' 5.4045 1.0000 .10000E-03 10000. 4 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10069E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 4.6954 1.0000 .10000E-03 10000. 7 'norm ' .35125 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .95224 1.0000 .10000E-03 10000. 10 'Prefactor ' 2.3140 1.0000 .10000E-03 10000. 11 'norm ' 88.560 1.0000 .10000E-03 10000. 12 'Prefactor ' .10051E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .55174 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.7745 1.0000 .10000E-03 10000. 15 'Prefactor ' .10178E-03 1.0000 .10000E-03 10000. 16 'norm ' 7.5501 1.0000 .10000E-03 10000. 17 'norm ' 1.2207 1.0000 .10000E-03 10000. 18 'Prefactor ' 5.6741 1.0000 .10000E-03 10000. 19 'norm ' .10000E-03 1.0000 .10000E-03 10000. 20 'norm ' .10017E-03 1.0000 .10000E-03 10000. 21 'norm ' 3.0338 1.0000 .10000E-03 10000. 22 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 23 'norm ' .10218E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 24.587 1.0000 .10000E-03 10000. 25 'Normalizat' .95407 1.0000 .10000E-01 10.000 26 'Prefactor ' .75684 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. FCN= 6796.750 FROM MIGRAD STATUS=CONVERGED 631 CALLS 3140 TOTAL EDM= .13E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .48846 10.326 .28369E-06 -.53947E-04 2 Prefactor 50.957 54.171 -.59664E-06 -.28887E-04 3 Prefactor 5.4042 3.1907 .16846E-08 -.61884E-04 4 Prefactor .10000E-03 2.8175 .35894E-07** at limit ** 5 Prefactor .10000E-03 21.445 .72724E-07** at limit ** 6 Prefactor 4.6951 2.9515 .22334E-07 -.32112E-05 7 norm .35123 .12793 -.40695E-07 -.10010E-02 8 norm .10000E-03 4.0355 -.56505E-08** at limit ** 9 Prefactor .94996 17.011 .58602E-05 -.33123E-04 10 Prefactor 2.3123 4.1857 .58452E-06 -.63632E-05 11 norm 88.556 55.694 -.20536E-06 .72109E-05 12 Prefactor .10000E-03 .54972 -.14871E-06** at limit ** 13 Prefactor .55200 .97937 .16397E-06 .70247E-03 14 Prefactor 2.7744 2.6654 .13196E-07 -.36107E-04 15 Prefactor .10000E-03 1.4554 -.65730E-07** at limit ** 16 norm 7.5500 2.1079 -.12953E-07 .35964E-04 17 norm 1.2207 .77610 -.18941E-07 -.10438E-03 18 Prefactor 5.6738 5.9072 .14539E-06 -.62827E-05 19 norm .10000E-03 .21965 -.15690E-08** at limit ** 20 norm .10000E-03 2.6606 -.24439E-06** at limit ** 21 norm 3.0338 1.6489 .21090E-07 .13308E-04 22 Prefactor .10000E-03 7.0427 -.55348E-07** at limit ** 23 norm .10000E-03 1.9077 -.93292E-06** at limit ** 24 Prefactor 24.549 52.034 -.40120E-05 -.89159E-04 25 Normalizat .95408 .17841 -.36954E-06 -.37579E-04 26 Prefactor .75687 .13784 .11151E-07 -.52601E-04 ERR DEF= .500 Final values: Prefactor = 0.488463 Prefactor = 50.9567 Prefactor = 5.4042 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 4.69511 norm = 0.351232 norm = 0.0001 Prefactor = 0.949962 Prefactor = 2.31234 norm = 88.5556 Prefactor = 0.0001 Prefactor = 0.552001 Prefactor = 2.77441 Prefactor = 0.0001 norm = 7.55 norm = 1.22067 Prefactor = 5.67379 norm = 0.0001 norm = 0.0001 norm = 3.03384 Prefactor = 0.0001 norm = 0.0001 Prefactor = 24.5486 Normalizat = 0.954076 Prefactor = 0.756871 ********** ** 18 **HESSE ********** FCN= 6796.750 FROM HESSE STATUS=OK 468 CALLS 3608 TOTAL EDM= .40E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .48846 73.012 .51345E-02 -1.5568 2 Prefactor 50.957 54.294 .56177E-04 -1.4279 3 Prefactor 5.4042 3.1972 .10804E-03 -1.5243 4 Prefactor .10000E-03 2.8426 .13507E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 21.684 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 4.6951 2.9479 .10538E-03 -1.5275 7 norm .35123 .12603 .16309E-04 -1.5589 8 norm .10000E-03 4.0361 .16175E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .94996 17.164 .51983E-03 -1.5513 10 Prefactor 2.3123 4.1663 .20793E-03 -1.5404 11 norm 88.556 53.182 .42695E-04 -1.3823 12 Prefactor .10000E-03 .69962 .10662E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .55200 .76544 .87445E-03 -1.5559 14 Prefactor 2.7744 2.6432 .12348E-03 -1.5375 15 Prefactor .10000E-03 2.3916 .18722E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 7.5500 2.0858 .59965E-04 -1.5158 17 norm 1.2207 .76171 .54236E-04 -1.5487 18 Prefactor 5.6738 5.8485 .16863E-03 -1.5232 19 norm .10000E-03 .27806 .74454E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 2.6711 .13121E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.0338 1.6450 .74207E-04 -1.5360 22 Prefactor .10000E-03 7.0428 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 1.8929 .10983E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 24.549 53.519 .80786E-04 -1.4717 25 Normalizat .95408 .21189 .24772E-03 -.94585 26 Prefactor .75687 .16418 .22723E-03 -1.0134 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.96764e-08 Minuit parameter uncertainties: 1 11.9574 2 54.3472 3 3.19735 4 4.19285e-07 5 8.69701e-06 6 2.94798 7 0.126029 8 9.21248e-10 9 8.07832 10 4.16685 11 53.2105 12 3.49385e-06 13 0.765455 14 2.64332 15 2.81539e-06 16 2.08579 17 0.761713 18 5.84906 19 2.23077e-07 20 4.37875e-06 21 1.64502 22 2.07187e-06 23 1.26066e-05 24 53.6244 25 0.212071 26 0.164284 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6796.75022379 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 3.494e-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: 7.569e-01 1.643e-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: 9.541e-01 2.121e-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.42e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.74e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/835728/likelihoodResults_482198401_482457601_4FGL_J1640.4+3945_daily_bin937.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) = 6796.75704942 delta logL = -0.00682562825295 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6796.75022668 delta logL = -2.89239869744e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10099E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4182 1.0000 .0000 10.000 3 'Normalizat' .95386 1.0000 .10000E-01 10.000 4 'Prefactor ' .75716 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= 6796.750 FROM MIGRAD STATUS=CONVERGED 58 CALLS 218 TOTAL EDM= .59E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .18838 .22113E-01** at limit ** 2 Index 2.4150 2.6045 .50000 .35261E-04 3 Normalizat .95408 .26285E-02 .45586E-01 .70860E-05 4 Prefactor .75687 .21824E-02 .43157E-01 .35506E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.41495 Normalizat = 0.954076 Prefactor = 0.756871 ********** ** 18 **HESSE ********** FCN= 6796.750 FROM HESSE STATUS=NOT POSDEF 35 CALLS 253 TOTAL EDM= .79E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 51.137 .10684E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4150 5.5054 .50000 -.54335 3 Normalizat .95408 .37672E-01 .24772E-03 -.94585 4 Prefactor .75687 .31245E-01 .11361E-02 -1.0134 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 7.9033e-08 Minuit parameter uncertainties: 1 2.91e-05 2 36.6408 3 0.0376735 4 0.0312454 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835728': 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) = 6796.75022373 delta logL = 5.47033778275e-08 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 2.910e-05 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.415e+00 3.664e+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: 7.569e-01 3.125e-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: 9.541e-01 3.767e-02 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/835728/cmap_HighResolution_482198401_482457601_4FGL_J1640.4+3945_daily_bin937.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835728 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.42e-08', time_completed='2021-09-15 06:56:21.880996', job_id='835728', GAL2='0.76', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1631714181.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='5.47e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='937' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:56:21 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835728: <4FGL_J1640.4+3945_daily_bin937> in cluster Done Job <4FGL_J1640.4+3945_daily_bin937> was submitted from host by user in cluster at Wed Sep 15 06:35:49 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:41:42 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:41:42 2021 Terminated at Wed Sep 15 06:56:22 2021 Results reported at Wed Sep 15 06:56:22 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin937 250.119 39.7626 482198401 482457601 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 : 867.00 sec. Max Memory : 618 MB Average Memory : 304.00 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 882 sec. Turnaround time : 1233 sec. The output (if any) is above this job summary.