/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 34 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 = 7407 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin792 RA = 250.119, Dec = 39.7626 tmin = 444614401, tmax = 444873601 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='835490', job_status='RUN', time_executed='2021-09-15 06:37:46.410338', time_epoch_executed='1631713066.41' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='792' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835490 Creating custom pfile directory: /scratch/kocevski/835490/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=444614401.0 && nMetStart<444873601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=444614401.0 && nMetStart<444873601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835490/ft1_4FGL_J1640.4+3945_daily_bin792.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=444614401.0 && nMetStart<444873601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835490/ft2_4FGL_J1640.4+3945_daily_bin792.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835490/ft1_4FGL_J1640.4+3945_daily_bin792.fits outfile=/scratch/kocevski/835490/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin792.fits ra=250.119 dec=39.7626 rad=12.0 tmin=444614401.0 tmax=444873601.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.47 user 3.23 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835490/ft2_4FGL_J1640.4+3945_daily_bin792.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835490/ft2_4FGL_J1640.4+3945_daily_bin792.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/835490/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin792.fits evtable="EVENTS" outfile="/scratch/kocevski/835490/ft1_filtered_4FGL_J1640.4+3945_daily_bin792.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.53 user 0.35 sys 0.13 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/835490/ft1_filtered_4FGL_J1640.4+3945_daily_bin792.fits" evtable="EVENTS" scfile=/scratch/kocevski/835490/ft2_4FGL_J1640.4+3945_daily_bin792.fits sctable="SC_DATA" outfile=/scratch/kocevski/835490/ltcube_444614401_444873601_4FGL_J1640.4+3945_daily_bin792.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/835490/ft2_4FGL_J1640.4+3945_daily_bin792.fits .....................! real 13.76 user 13.41 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835490/ft1_filtered_4FGL_J1640.4+3945_daily_bin792.fits evtable="EVENTS" scfile=/scratch/kocevski/835490/ft2_4FGL_J1640.4+3945_daily_bin792.fits sctable="SC_DATA" expcube=/scratch/kocevski/835490/ltcube_444614401_444873601_4FGL_J1640.4+3945_daily_bin792.fits outfile=/scratch/kocevski/835490/expmap_444614401_444873601_4FGL_J1640.4+3945_daily_bin792.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/835490/ltcube_444614401_444873601_4FGL_J1640.4+3945_daily_bin792.fits .....................! real 191.07 user 186.05 sys 4.64 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/835490/ft1_filtered_4FGL_J1640.4+3945_daily_bin792.fits scfile=/scratch/kocevski/835490/ft2_4FGL_J1640.4+3945_daily_bin792.fits outfile=/scratch/kocevski/835490/cmap_444614401_444873601_4FGL_J1640.4+3945_daily_bin792.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.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/835490/ft1_filtered_4FGL_J1640.4+3945_daily_bin792.fits scfile=/scratch/kocevski/835490/ft2_4FGL_J1640.4+3945_daily_bin792.fits outfile=/scratch/kocevski/835490/cmap_HighResolution_444614401_444873601_4FGL_J1640.4+3945_daily_bin792.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.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/835490/ft1_filtered_4FGL_J1640.4+3945_daily_bin792.fits evtable="EVENTS" scfile=/scratch/kocevski/835490/ft2_4FGL_J1640.4+3945_daily_bin792.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835490/Model_4FGL_J1640.4+3945_daily_bin792.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/835490/ft1_filtered_4FGL_J1640.4+3945_daily_bin792.fits.....................! real 62.94 user 61.50 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835490/ft1_filtered_4FGL_J1640.4+3945_daily_bin792.fits', '/scratch/kocevski/835490/ft2_4FGL_J1640.4+3945_daily_bin792.fits', expMap='/scratch/kocevski/835490/expmap_444614401_444873601_4FGL_J1640.4+3945_daily_bin792.fits', expCube='/scratch/kocevski/835490/ltcube_444614401_444873601_4FGL_J1640.4+3945_daily_bin792.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835490/Model_4FGL_J1640.4+3945_daily_bin792.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/835490/ft1_filtered_4FGL_J1640.4+3945_daily_bin792.fits Spacecraft file(s): /scratch/kocevski/835490/ft2_4FGL_J1640.4+3945_daily_bin792.fits Exposure map: /scratch/kocevski/835490/expmap_444614401_444873601_4FGL_J1640.4+3945_daily_bin792.fits Exposure cube: /scratch/kocevski/835490/ltcube_444614401_444873601_4FGL_J1640.4+3945_daily_bin792.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835490/Model_4FGL_J1640.4+3945_daily_bin792.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) = 8017.20844821 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8017.18730403 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.2257 1.0000 .10000E-03 10000. 2 'Prefactor ' 14.188 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.0874 1.0000 .10000E-03 10000. 4 'Prefactor ' .10114E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10183E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.4061 1.0000 .10000E-03 10000. 7 'norm ' .94839 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 38.084 1.0000 .10000E-03 10000. 10 'Prefactor ' .15326 1.0000 .10000E-03 10000. 11 'norm ' .10003E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.5769 1.0000 .10000E-03 10000. 13 'Prefactor ' .23498E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.3430 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'norm ' 6.0392 1.0000 .10000E-03 10000. 17 'norm ' .15449 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.6000 1.0000 .10000E-03 10000. 19 'norm ' .10000E-03 1.0000 .10000E-03 10000. 20 'norm ' .10000E-03 1.0000 .10000E-03 10000. 21 'norm ' 8.6102 1.0000 .10000E-03 10000. 22 'Prefactor ' .99820E-02 1.0000 .10000E-03 10000. 23 'norm ' 5.7108 1.0000 .10000E-03 10000. 24 'Prefactor ' 144.17 1.0000 .10000E-03 10000. 25 'Normalizat' .70224 1.0000 .10000E-01 10.000 26 'Prefactor ' .98018 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= 8017.187 FROM MIGRAD STATUS=CONVERGED 659 CALLS 3318 TOTAL EDM= .54E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.2182 31.818 .10697E-05 .12576E-04 2 Prefactor 13.998 53.951 .12035E-06 -.31719E-04 3 Prefactor 1.0866 2.3037 .97761E-06 .27575E-03 4 Prefactor .10000E-03 1.8797 -.42941E-06** at limit ** 5 Prefactor .10000E-03 10.438 -.58044E-06** at limit ** 6 Prefactor 3.4058 3.1041 .25710E-06 -.59503E-04 7 norm .94873 .23888 -.16081E-06 -.17480E-02 8 norm .10000E-03 4.1739 -.21890E-07** at limit ** 9 Prefactor 38.057 25.638 .19575E-05 .64600E-04 10 Prefactor .15275 1.6503 .63196E-06 -.90765E-03 11 norm .10000E-03 25.592 -.17913E-06** at limit ** 12 Prefactor 2.5774 1.5417 .22472E-06 -.25759E-03 13 Prefactor .10000E-03 .61518 .15108E-08** at limit ** 14 Prefactor 2.3429 2.4068 .55620E-07 -.36918E-03 15 Prefactor .10000E-03 .77066 -.19148E-07** at limit ** 16 norm 6.0396 1.9677 -.32971E-07 -.72945E-04 17 norm .15442 .40054 .42457E-06 .84083E-03 18 Prefactor 2.5995 6.0422 .63391E-06 -.10470E-03 19 norm .10000E-03 .23255 .22375E-07** at limit ** 20 norm .10002E-03 4.5381 -.28757E-06** at limit ** 21 norm 8.6102 2.2344 -.70008E-08 -.17043E-03 22 Prefactor .10258E-03 27.023 -.19010E-05** at limit ** 23 norm 5.7108 5.4468 .11414E-06 .19530E-03 24 Prefactor 144.19 91.594 -.17905E-06 .50147E-04 25 Normalizat .70231 .18070 -.23658E-05 -.84332E-04 26 Prefactor .98017 .13792 .11254E-05 -.16050E-03 ERR DEF= .500 Final values: Prefactor = 4.21824 Prefactor = 13.9981 Prefactor = 1.08658 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.40575 norm = 0.948726 norm = 0.0001 Prefactor = 38.0568 Prefactor = 0.152746 norm = 0.0001 Prefactor = 2.57736 Prefactor = 0.0001 Prefactor = 2.34289 Prefactor = 0.0001 norm = 6.03962 norm = 0.154417 Prefactor = 2.5995 norm = 0.0001 norm = 0.000100017 norm = 8.61018 Prefactor = 0.000102583 norm = 5.71081 Prefactor = 144.192 Normalizat = 0.702309 Prefactor = 0.98017 ********** ** 18 **HESSE ********** FCN= 8017.187 FROM HESSE STATUS=OK 478 CALLS 3796 TOTAL EDM= .44E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.2182 31.797 .19603E-03 -1.5297 2 Prefactor 13.998 54.257 .10633E-03 -1.4960 3 Prefactor 1.0866 2.2700 .19158E-03 -1.5499 4 Prefactor .10000E-03 1.8831 .11977E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 10.463 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 3.4058 3.0982 .14093E-03 -1.5339 7 norm .94873 .23910 .17095E-04 -1.5513 8 norm .10000E-03 4.1758 .17866E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 38.057 25.704 .64947E-04 -1.4473 10 Prefactor .15275 12.794 .20959E-02 -1.5630 11 norm .10000E-03 25.663 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 2.5774 1.3063 .64049E-04 -1.5387 13 Prefactor .10000E-03 6.1975 .10859E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 2.3429 2.3677 .13242E-03 -1.5402 15 Prefactor .10000E-03 .77735 .76713E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 6.0396 1.9553 .68451E-04 -1.5216 17 norm .15442 .37391 .88584E-03 -1.5629 18 Prefactor 2.5995 5.8851 .25302E-03 -1.5385 19 norm .10000E-03 .24116 .84014E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10002E-03 31.696 .35576E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 8.6102 2.2284 .64024E-04 -1.5121 22 Prefactor .10258E-03 26.408 .14955 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 5.7108 5.4144 .16808E-03 -1.5230 24 Prefactor 144.19 90.486 .33557E-04 -1.3301 25 Normalizat .70231 .20687 .30954E-03 -1.0380 26 Prefactor .98017 .16073 .21979E-03 -.93393 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.44945e-09 Minuit parameter uncertainties: 1 23.1796 2 54.4488 3 2.27016 4 4.4435e-06 5 1.18254e-05 6 3.0983 7 0.239099 8 8.1121e-07 9 25.7114 10 2.79555 11 1.43989e-05 12 1.30628 13 8.85147e-05 14 2.36779 15 7.31308e-07 16 1.95531 17 0.373911 18 5.88637 19 2.6845e-07 20 0.00148628 21 2.22841 22 0.0165256 23 5.41486 24 90.5731 25 0.207096 26 0.160812 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8017.18727492 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.577e+00 1.306e+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: 9.802e-01 1.608e-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: 7.023e-01 2.071e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 7.47 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.02e-07 +/- 5.15e-08 Energy Flux (Fixed Index): 3.24e-05 +/- 1.64e-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) = 8016.82119604 delta logL = 0.366078878511 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8016.80815801 delta logL = 0.379116906439 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.6273 1.0000 .10000E-03 10000. 2 'Index ' 2.7656 1.0000 .0000 10.000 3 'Normalizat' .67884 1.0000 .10000E-01 10.000 4 'Prefactor ' .99255 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= 8016.808 FROM MIGRAD STATUS=CONVERGED 51 CALLS 211 TOTAL EDM= .37E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.6276 9.2183 .82895E-02 .85373E-03 2 Index 2.7654 2.0761 .96088E-01 .23794E-03 3 Normalizat .67890 .59247E-01 .70968E-01 .21454E-03 4 Prefactor .99249 .45767E-01 .46174E-01 .28552E-03 ERR DEF= .500 Final values: Prefactor = 1.62758 Index = 2.76543 Normalizat = 0.678899 Prefactor = 0.992488 ********** ** 18 **HESSE ********** FCN= 8016.808 FROM HESSE STATUS=OK 31 CALLS 242 TOTAL EDM= .68E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.6276 1.4643 .47665E-04 -1.5453 2 Index 2.7654 .46674 .37785E-02 -.46331 3 Normalizat .67890 .19361 .31410E-03 -1.0473 4 Prefactor .99249 .15867 .21849E-03 -.92980 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.77759e-11 Minuit parameter uncertainties: 1 1.4643 2 0.467595 3 0.1938 4 0.158747 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835490': 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) = 8016.80815785 delta logL = 0.379117070998 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.628e+00 1.464e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.765e+00 4.676e-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: 9.925e-01 1.587e-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.789e-01 1.938e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 8.68 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.77 +/- 0.47 Photon Flux (Free Index): 1.27e-07 +/- 5.99e-08 Energy Flux (Free Index): 2.92e-05 +/- 1.36e-05 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/835490/cmap_HighResolution_444614401_444873601_4FGL_J1640.4+3945_daily_bin792.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835490 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.02e-07', energy_flux2='2.92e-05', photon_flux_error='5.15e-08', dlogl='3.79e-01', energy_flux='3.24e-05', photon_flux2='1.27e-07', job_status='DONE', time_completed='2021-09-15 06:52:07.206164', photon_index_error2='0.47', photon_index2='2.77', ts='7.47', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.36e-05', EG='0.70', time_epoch_completed='1631713927.21', return_code='0', job_id='835490', GAL2='0.99', EG2='0.68', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='5.99e-08', ts2='8.68', photon_index='2.42' WHERE bin_id='792' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:52:07 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835490: <4FGL_J1640.4+3945_daily_bin792> in cluster Done Job <4FGL_J1640.4+3945_daily_bin792> was submitted from host by user in cluster at Wed Sep 15 06:35:28 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:37:03 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:37:03 2021 Terminated at Wed Sep 15 06:52:07 2021 Results reported at Wed Sep 15 06:52:07 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin792 250.119 39.7626 444614401 444873601 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 : 858.00 sec. Max Memory : 1257 MB Average Memory : 351.35 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 904 sec. Turnaround time : 999 sec. The output (if any) is above this job summary.