/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 41 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 = 7383 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin308 RA = 250.119, Dec = 39.7626 tmin = 319161601, tmax = 319420801 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='831694', job_status='RUN', time_executed='2021-09-15 06:23:56.444746', time_epoch_executed='1631712236.44' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='308' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/831694 Creating custom pfile directory: /scratch/kocevski/831694/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=319161601.0 && nMetStart<319420801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=319161601.0 && nMetStart<319420801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/831694/ft1_4FGL_J1640.4+3945_daily_bin308.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=319161601.0 && nMetStart<319420801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/831694/ft2_4FGL_J1640.4+3945_daily_bin308.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/831694/ft1_4FGL_J1640.4+3945_daily_bin308.fits outfile=/scratch/kocevski/831694/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin308.fits ra=250.119 dec=39.7626 rad=12.0 tmin=319161601.0 tmax=319420801.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 4.52 user 4.25 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/831694/ft2_4FGL_J1640.4+3945_daily_bin308.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/831694/ft2_4FGL_J1640.4+3945_daily_bin308.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/831694/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin308.fits evtable="EVENTS" outfile="/scratch/kocevski/831694/ft1_filtered_4FGL_J1640.4+3945_daily_bin308.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.50 user 0.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/831694/ft1_filtered_4FGL_J1640.4+3945_daily_bin308.fits" evtable="EVENTS" scfile=/scratch/kocevski/831694/ft2_4FGL_J1640.4+3945_daily_bin308.fits sctable="SC_DATA" outfile=/scratch/kocevski/831694/ltcube_319161601_319420801_4FGL_J1640.4+3945_daily_bin308.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/831694/ft2_4FGL_J1640.4+3945_daily_bin308.fits .....................! real 13.49 user 13.14 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/831694/ft1_filtered_4FGL_J1640.4+3945_daily_bin308.fits evtable="EVENTS" scfile=/scratch/kocevski/831694/ft2_4FGL_J1640.4+3945_daily_bin308.fits sctable="SC_DATA" expcube=/scratch/kocevski/831694/ltcube_319161601_319420801_4FGL_J1640.4+3945_daily_bin308.fits outfile=/scratch/kocevski/831694/expmap_319161601_319420801_4FGL_J1640.4+3945_daily_bin308.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/831694/ltcube_319161601_319420801_4FGL_J1640.4+3945_daily_bin308.fits .....................! real 191.35 user 186.70 sys 4.24 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/831694/ft1_filtered_4FGL_J1640.4+3945_daily_bin308.fits scfile=/scratch/kocevski/831694/ft2_4FGL_J1640.4+3945_daily_bin308.fits outfile=/scratch/kocevski/831694/cmap_319161601_319420801_4FGL_J1640.4+3945_daily_bin308.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.37 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/831694/ft1_filtered_4FGL_J1640.4+3945_daily_bin308.fits scfile=/scratch/kocevski/831694/ft2_4FGL_J1640.4+3945_daily_bin308.fits outfile=/scratch/kocevski/831694/cmap_HighResolution_319161601_319420801_4FGL_J1640.4+3945_daily_bin308.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.55 user 0.40 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/831694/ft1_filtered_4FGL_J1640.4+3945_daily_bin308.fits evtable="EVENTS" scfile=/scratch/kocevski/831694/ft2_4FGL_J1640.4+3945_daily_bin308.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831694/Model_4FGL_J1640.4+3945_daily_bin308.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/831694/ft1_filtered_4FGL_J1640.4+3945_daily_bin308.fits.....................! real 53.42 user 52.03 sys 1.24 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/831694/ft1_filtered_4FGL_J1640.4+3945_daily_bin308.fits', '/scratch/kocevski/831694/ft2_4FGL_J1640.4+3945_daily_bin308.fits', expMap='/scratch/kocevski/831694/expmap_319161601_319420801_4FGL_J1640.4+3945_daily_bin308.fits', expCube='/scratch/kocevski/831694/ltcube_319161601_319420801_4FGL_J1640.4+3945_daily_bin308.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/831694/Model_4FGL_J1640.4+3945_daily_bin308.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/831694/ft1_filtered_4FGL_J1640.4+3945_daily_bin308.fits Spacecraft file(s): /scratch/kocevski/831694/ft2_4FGL_J1640.4+3945_daily_bin308.fits Exposure map: /scratch/kocevski/831694/expmap_319161601_319420801_4FGL_J1640.4+3945_daily_bin308.fits Exposure cube: /scratch/kocevski/831694/ltcube_319161601_319420801_4FGL_J1640.4+3945_daily_bin308.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/831694/Model_4FGL_J1640.4+3945_daily_bin308.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) = 6663.77602427 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6663.71890101 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 116.08 1.0000 .10000E-03 10000. 3 'Prefactor ' 3.9286 1.0000 .10000E-03 10000. 4 'Prefactor ' .10295E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10170E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.2228 1.0000 .10000E-03 10000. 7 'norm ' .87536 1.0000 .10000E-03 10000. 8 'norm ' 19.815 1.0000 .10000E-03 10000. 9 'Prefactor ' 44.480 1.0000 .10000E-03 10000. 10 'Prefactor ' 11.269 1.0000 .10000E-03 10000. 11 'norm ' .10009E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.9567 1.0000 .10000E-03 10000. 13 'Prefactor ' .10234E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 7.7215 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'norm ' 1.1876 1.0000 .10000E-03 10000. 17 'norm ' 2.1081 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'norm ' 9.0131 1.0000 .10000E-03 10000. 20 'norm ' 21.419 1.0000 .10000E-03 10000. 21 'norm ' .10096E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' 3.2552 1.0000 .10000E-03 10000. 23 'norm ' .10000E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .63107 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.1989 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= 6663.719 FROM MIGRAD STATUS=CONVERGED 607 CALLS 3163 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 9.7338 .84446E-06** at limit ** 2 Prefactor 116.18 98.821 .83946E-04 .11323E-04 3 Prefactor 3.9287 4.5150 .40886E-06 -.47272E-03 4 Prefactor .10000E-03 4.7236 -.13058E-05** at limit ** 5 Prefactor .10000E-03 14.571 -.42357E-05** at limit ** 6 Prefactor 3.2232 3.5103 .71404E-06 -.47351E-03 7 norm .87537 .24768 .21443E-07 -.24719E-02 8 norm 19.814 19.432 -.10260E-05 -.14854E-04 9 Prefactor 44.481 27.579 .11486E-05 -.71991E-04 10 Prefactor 11.270 5.6199 -.46076E-06 -.11287E-03 11 norm .10000E-03 20.424 .79086E-05** at limit ** 12 Prefactor 2.9557 1.8500 -.59361E-07 -.19793E-02 13 Prefactor .10000E-03 .90514 .34945E-06** at limit ** 14 Prefactor 7.7220 4.8515 -.69287E-07 -.25578E-03 15 Prefactor .10000E-03 1.7694 .16007E-06** at limit ** 16 norm 1.1875 1.2901 .85244E-07 -.13714E-03 17 norm 2.1080 1.1433 .12545E-06 -.22005E-03 18 Prefactor .10000E-03 3.9490 .54686E-07** at limit ** 19 norm 9.0129 1.6430 .14466E-06 -.20175E-03 20 norm 21.417 11.954 .10545E-05 .95398E-04 21 norm .10000E-03 .62605 .15783E-06** at limit ** 22 Prefactor 3.2358 97.716 -.81325E-04 .38037E-05 23 norm .10000E-03 1.3173 .12638E-06** at limit ** 24 Prefactor .10000E-03 23.114 -.45651E-05** at limit ** 25 Normalizat .63065 .22662 -.13830E-04 .10589E-03 26 Prefactor 1.1992 .17697 .44399E-05 -.43902E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 116.176 Prefactor = 3.92865 Prefactor = 0.000100002 Prefactor = 0.000100001 Prefactor = 3.22319 norm = 0.875368 norm = 19.8137 Prefactor = 44.4813 Prefactor = 11.2697 norm = 0.0001 Prefactor = 2.95573 Prefactor = 0.0001 Prefactor = 7.72202 Prefactor = 0.0001 norm = 1.18751 norm = 2.10804 Prefactor = 0.0001 norm = 9.01286 norm = 21.4174 norm = 0.0001 Prefactor = 3.23583 norm = 0.0001 Prefactor = 0.0001 Normalizat = 0.630646 Prefactor = 1.19924 ********** ** 18 **HESSE ********** FCN= 6663.719 FROM HESSE STATUS=OK 462 CALLS 3625 TOTAL EDM= .27E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 9.7419 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 116.18 98.716 .18672E-03 -1.3548 3 Prefactor 3.9287 4.5009 .17491E-03 -1.5312 4 Prefactor .10000E-03 4.8026 .17327E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 14.637 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 3.2232 3.4954 .15076E-03 -1.5349 7 norm .87537 .25070 .18233E-04 -1.5521 8 norm 19.814 19.438 .89977E-04 -1.4817 9 Prefactor 44.481 27.807 .60113E-04 -1.4373 10 Prefactor 11.270 5.6147 .11934E-03 -1.5036 11 norm .10000E-03 20.442 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 2.9557 1.5449 .65386E-04 -1.5364 13 Prefactor .10000E-03 4.4452 .11993E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 7.7220 4.8420 .12895E-03 -1.5152 15 Prefactor .10000E-03 1.7936 .10593E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 1.1875 1.2792 .93470E-04 -1.5490 17 norm 2.1080 1.1367 .59362E-04 -1.5418 18 Prefactor .10000E-03 3.9738 .15831E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 9.0129 1.6384 .42320E-04 -1.5107 20 norm 21.417 11.952 .86545E-04 -1.4782 21 norm .10000E-03 1.1228 .12524E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 3.2358 98.669 .22447E-03 -1.5348 23 norm .10000E-03 1.3180 .91494E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .10000E-03 23.123 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .63065 .25948 .37651E-03 -1.0670 26 Prefactor 1.1992 .20653 .23376E-03 -.86355 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.70757e-09 Minuit parameter uncertainties: 1 1.06487e-05 2 98.8557 3 4.5013 4 0.00019631 5 0.000227588 6 3.49561 7 0.2507 8 19.4446 9 27.8152 10 5.61501 11 1.3508e-05 12 1.54495 13 2.51766e-05 14 4.84222 15 1.08965e-05 16 1.27923 17 1.13673 18 1.62218e-05 19 1.63837 20 11.9537 21 1.6457e-05 22 35.8009 23 9.25901e-06 24 3.16888e-05 25 0.259984 26 0.206674 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6663.71889767 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.956e+00 1.545e+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 GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.199e+00 2.067e-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: 6.306e-01 2.600e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 7.39 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.17e-07 +/- 6.10e-08 Energy Flux (Fixed Index): 3.72e-05 +/- 1.94e-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) = 6663.71451812 delta logL = 0.0043795456013 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6663.70782945 delta logL = 0.0110682189679 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.7205 1.0000 .10000E-03 10000. 2 'Index ' 2.4911 1.0000 .0000 10.000 3 'Normalizat' .62418 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2029 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= 6663.708 FROM MIGRAD STATUS=CONVERGED 53 CALLS 208 TOTAL EDM= .37E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.7207 19.644 .61727E-02 .34825E-03 2 Index 2.4911 2.5398 .11879 .14707E-03 3 Normalizat .62420 .87490E-01 .85387E-01 .35487E-04 4 Prefactor 1.2029 .61035E-01 .52804E-01 .10285E-05 ERR DEF= .500 Final values: Prefactor = 2.72069 Index = 2.49106 Normalizat = 0.624196 Prefactor = 1.2029 ********** ** 18 **HESSE ********** FCN= 6663.708 FROM HESSE STATUS=OK 33 CALLS 241 TOTAL EDM= .73E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.7207 2.2683 .61880E-04 -1.5378 2 Index 2.4911 .51728 .43616E-02 -.52567 3 Normalizat .62420 .24754 .37822E-03 -1.0697 4 Prefactor 1.2029 .20422 .23344E-03 -.86242 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.29233e-12 Minuit parameter uncertainties: 1 2.26836 2 0.518523 3 0.247976 4 0.204359 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/831694': 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) = 6663.70782944 delta logL = 0.0110682236536 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.721e+00 2.268e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.491e+00 5.185e-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.203e+00 2.044e-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: 6.242e-01 2.480e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 7.63 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.49 +/- 0.52 Photon Flux (Free Index): 1.23e-07 +/- 7.13e-08 Energy Flux (Free Index): 3.60e-05 +/- 1.96e-05 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/831694/cmap_HighResolution_319161601_319420801_4FGL_J1640.4+3945_daily_bin308.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/831694 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.17e-07', energy_flux2='3.60e-05', photon_flux_error='6.10e-08', dlogl='1.11e-02', energy_flux='3.72e-05', photon_flux2='1.23e-07', job_status='DONE', time_completed='2021-09-15 06:36:37.583540', photon_index_error2='0.52', photon_index2='2.49', ts='7.39', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.96e-05', EG='0.63', time_epoch_completed='1631712997.58', return_code='0', job_id='831694', GAL2='1.20', EG2='0.62', return_code2='0', energy_flux_error='1.94e-05', photon_flux_error2='7.13e-08', ts2='7.63', photon_index='2.42' WHERE bin_id='308' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:36:37 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 831694: <4FGL_J1640.4+3945_daily_bin308> in cluster Done Job <4FGL_J1640.4+3945_daily_bin308> was submitted from host by user in cluster at Wed Sep 15 06:20:30 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:23:06 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:23:06 2021 Terminated at Wed Sep 15 06:36:38 2021 Results reported at Wed Sep 15 06:36:38 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin308 250.119 39.7626 319161601 319420801 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 : 758.42 sec. Max Memory : 1095 MB Average Memory : 313.69 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 811 sec. Turnaround time : 968 sec. The output (if any) is above this job summary.