/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 225 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 = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin1131 RA = 250.119, Dec = 39.7626 tmin = 532483201, tmax = 532742401 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='838386', job_status='RUN', time_executed='2021-09-15 06:50:39.457697', time_epoch_executed='1631713839.46' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='1131' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/838386 Creating custom pfile directory: /scratch/kocevski/838386/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=532483201.0 && nMetStart<532742401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=532483201.0 && nMetStart<532742401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/838386/ft1_4FGL_J1640.4+3945_daily_bin1131.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=532483201.0 && nMetStart<532742401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/838386/ft2_4FGL_J1640.4+3945_daily_bin1131.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/838386/ft1_4FGL_J1640.4+3945_daily_bin1131.fits outfile=/scratch/kocevski/838386/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1131.fits ra=250.119 dec=39.7626 rad=12.0 tmin=532483201.0 tmax=532742401.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 2.93 user 2.72 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/838386/ft2_4FGL_J1640.4+3945_daily_bin1131.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/838386/ft2_4FGL_J1640.4+3945_daily_bin1131.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/838386/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1131.fits evtable="EVENTS" outfile="/scratch/kocevski/838386/ft1_filtered_4FGL_J1640.4+3945_daily_bin1131.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.47 user 0.28 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/838386/ft1_filtered_4FGL_J1640.4+3945_daily_bin1131.fits" evtable="EVENTS" scfile=/scratch/kocevski/838386/ft2_4FGL_J1640.4+3945_daily_bin1131.fits sctable="SC_DATA" outfile=/scratch/kocevski/838386/ltcube_532483201_532742401_4FGL_J1640.4+3945_daily_bin1131.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/838386/ft2_4FGL_J1640.4+3945_daily_bin1131.fits .....................! real 11.04 user 10.69 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/838386/ft1_filtered_4FGL_J1640.4+3945_daily_bin1131.fits evtable="EVENTS" scfile=/scratch/kocevski/838386/ft2_4FGL_J1640.4+3945_daily_bin1131.fits sctable="SC_DATA" expcube=/scratch/kocevski/838386/ltcube_532483201_532742401_4FGL_J1640.4+3945_daily_bin1131.fits outfile=/scratch/kocevski/838386/expmap_532483201_532742401_4FGL_J1640.4+3945_daily_bin1131.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/838386/ltcube_532483201_532742401_4FGL_J1640.4+3945_daily_bin1131.fits .....................! real 155.42 user 151.11 sys 3.88 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/838386/ft1_filtered_4FGL_J1640.4+3945_daily_bin1131.fits scfile=/scratch/kocevski/838386/ft2_4FGL_J1640.4+3945_daily_bin1131.fits outfile=/scratch/kocevski/838386/cmap_532483201_532742401_4FGL_J1640.4+3945_daily_bin1131.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.47 user 0.31 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/838386/ft1_filtered_4FGL_J1640.4+3945_daily_bin1131.fits scfile=/scratch/kocevski/838386/ft2_4FGL_J1640.4+3945_daily_bin1131.fits outfile=/scratch/kocevski/838386/cmap_HighResolution_532483201_532742401_4FGL_J1640.4+3945_daily_bin1131.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.52 user 0.31 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/838386/ft1_filtered_4FGL_J1640.4+3945_daily_bin1131.fits evtable="EVENTS" scfile=/scratch/kocevski/838386/ft2_4FGL_J1640.4+3945_daily_bin1131.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/838386/Model_4FGL_J1640.4+3945_daily_bin1131.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/838386/ft1_filtered_4FGL_J1640.4+3945_daily_bin1131.fits.....................! real 43.43 user 42.21 sys 1.06 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/838386/ft1_filtered_4FGL_J1640.4+3945_daily_bin1131.fits', '/scratch/kocevski/838386/ft2_4FGL_J1640.4+3945_daily_bin1131.fits', expMap='/scratch/kocevski/838386/expmap_532483201_532742401_4FGL_J1640.4+3945_daily_bin1131.fits', expCube='/scratch/kocevski/838386/ltcube_532483201_532742401_4FGL_J1640.4+3945_daily_bin1131.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/838386/Model_4FGL_J1640.4+3945_daily_bin1131.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/838386/ft1_filtered_4FGL_J1640.4+3945_daily_bin1131.fits Spacecraft file(s): /scratch/kocevski/838386/ft2_4FGL_J1640.4+3945_daily_bin1131.fits Exposure map: /scratch/kocevski/838386/expmap_532483201_532742401_4FGL_J1640.4+3945_daily_bin1131.fits Exposure cube: /scratch/kocevski/838386/ltcube_532483201_532742401_4FGL_J1640.4+3945_daily_bin1131.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/838386/Model_4FGL_J1640.4+3945_daily_bin1131.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) = 6746.5426256 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6746.53309588 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .49295E-01 1.0000 .10000E-03 10000. 2 'Prefactor ' .10056E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 2.2364 1.0000 .10000E-03 10000. 4 'Prefactor ' .19769E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10043E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.8408 1.0000 .10000E-03 10000. 7 'norm ' .23954 1.0000 .10000E-03 10000. 8 'norm ' 2.4145 1.0000 .10000E-03 10000. 9 'Prefactor ' 36.573 1.0000 .10000E-03 10000. 10 'Prefactor ' 2.1659 1.0000 .10000E-03 10000. 11 'norm ' 91.499 1.0000 .10000E-03 10000. 12 'Prefactor ' 3.1981 1.0000 .10000E-03 10000. 13 'Prefactor ' .10030E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.2781 1.0000 .10000E-03 10000. 15 'Prefactor ' .62155 1.0000 .10000E-03 10000. 16 'norm ' .89700 1.0000 .10000E-03 10000. 17 'norm ' 1.5459 1.0000 .10000E-03 10000. 18 'Prefactor ' .10511E-03 1.0000 .10000E-03 10000. 19 'norm ' .12907E-03 1.0000 .10000E-03 10000. 20 'norm ' .10179E-03 1.0000 .10000E-03 10000. 21 'norm ' 5.0428 1.0000 .10000E-03 10000. 22 'Prefactor ' 11.989 1.0000 .10000E-03 10000. 23 'norm ' 10.642 1.0000 .10000E-03 10000. 24 'Prefactor ' .11602E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .95814 1.0000 .10000E-01 10.000 26 'Prefactor ' .84175 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= 6746.533 FROM MIGRAD STATUS=CONVERGED 669 CALLS 3661 TOTAL EDM= .16E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10032E-03 13.887 .63165E-07** at limit ** 2 Prefactor .10000E-03 18.818 .12397E-07** at limit ** 3 Prefactor 2.2359 2.4793 .10759E-06 -.34210E-04 4 Prefactor .10000E-03 2.9411 -.16402E-08** at limit ** 5 Prefactor .10000E-03 13.722 -.23670E-07** at limit ** 6 Prefactor 3.8409 3.7807 .10515E-06 -.14831E-03 7 norm .23952 .14717 .48270E-08 -.25666E-03 8 norm 2.4092 13.215 .13135E-06 -.69212E-04 9 Prefactor 36.571 22.846 .34279E-06 .49532E-04 10 Prefactor 2.1668 4.5711 .33202E-06 -.20383E-03 11 norm 91.482 54.225 -.32548E-06 .17800E-04 12 Prefactor 3.1967 1.6309 -.59077E-07 -.19874E-03 13 Prefactor .10000E-03 .87220 -.60159E-07** at limit ** 14 Prefactor 1.2758 3.3152 .70738E-06 -.17872E-03 15 Prefactor .61706 2.8220 .15955E-05 -.24237E-03 16 norm .89703 .80576 -.27067E-07 .20675E-04 17 norm 1.5464 .92315 -.46103E-07 -.34434E-03 18 Prefactor .10000E-03 7.8246 -.10891E-06** at limit ** 19 norm .10000E-03 .38469 -.10567E-07** at limit ** 20 norm .10000E-03 5.5489 .50706E-07** at limit ** 21 norm 5.0436 1.8454 .22588E-07 -.71362E-04 22 Prefactor 11.982 32.504 .38285E-05 .14125E-03 23 norm 10.641 5.4093 -.46547E-07 -.29744E-04 24 Prefactor .10000E-03 29.195 .27794E-07** at limit ** 25 Normalizat .95830 .18845 -.84231E-06 -.89979E-04 26 Prefactor .84175 .14244 -.13900E-06 -.10507E-03 ERR DEF= .500 Final values: Prefactor = 0.000100325 Prefactor = 0.0001 Prefactor = 2.23594 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.84087 norm = 0.239521 norm = 2.4092 Prefactor = 36.5713 Prefactor = 2.16683 norm = 91.4823 Prefactor = 3.19671 Prefactor = 0.0001 Prefactor = 1.27578 Prefactor = 0.617057 norm = 0.897025 norm = 1.54636 Prefactor = 0.0001 norm = 0.0001 norm = 0.0001 norm = 5.04364 Prefactor = 11.9821 norm = 10.6414 Prefactor = 0.0001 Normalizat = 0.958301 Prefactor = 0.841751 ********** ** 18 **HESSE ********** FCN= 6746.533 FROM HESSE STATUS=OK 480 CALLS 4141 TOTAL EDM= .49E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10032E-03 16.664 .99087E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 18.820 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 2.2359 2.4724 .13105E-03 -1.5409 4 Prefactor .10000E-03 6.8473 .27212E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 13.774 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 3.8409 3.7818 .14471E-03 -1.5316 7 norm .23952 .14553 .20880E-04 -1.5610 8 norm 2.4092 13.369 .26344E-03 -1.5398 9 Prefactor 36.571 22.778 .66270E-04 -1.4498 10 Prefactor 2.1668 4.4836 .22804E-03 -1.5414 11 norm 91.482 54.457 .42010E-04 -1.3792 12 Prefactor 3.1967 1.4715 .56994E-04 -1.5350 13 Prefactor .10000E-03 1.1783 .12871E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 1.2758 3.2662 .21783E-03 -1.5482 15 Prefactor .61706 2.9533 .25431E-03 -1.5551 16 norm .89703 .85696 .67899E-03 -1.5519 17 norm 1.5464 .90758 .56793E-04 -1.5459 18 Prefactor .10000E-03 8.0769 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .10000E-03 2.4369 .98472E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 5.6371 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 5.0436 1.8440 .64890E-04 -1.5259 22 Prefactor 11.982 34.627 .11569E-03 -1.5016 23 norm 10.641 5.4179 .12282E-03 -1.5055 24 Prefactor .10000E-03 29.216 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .95830 .21990 .25975E-03 -.94441 26 Prefactor .84175 .16772 .22762E-03 -.98207 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.90859e-10 Minuit parameter uncertainties: 1 0.00465303 2 3.4902e-06 3 2.47254 4 2.19806e-05 5 1.9129e-06 6 3.78208 7 0.145533 8 11.3542 9 22.7831 10 4.48434 11 54.4865 12 1.47156 13 2.96226e-06 14 3.26663 15 2.69987 16 0.856969 17 0.907587 18 4.11301e-06 19 5.42963e-06 20 1.1754e-06 21 1.84399 22 34.6854 23 5.41811 24 3.76461e-06 25 0.22011 26 0.167821 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6746.53305103 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.197e+00 1.472e+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: 8.418e-01 1.678e-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.583e-01 2.201e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 10.86 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.26e-07 +/- 5.81e-08 Energy Flux (Fixed Index): 4.02e-05 +/- 1.85e-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) = 6745.37840868 delta logL = 1.15464234829 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6745.37529357 delta logL = 1.15775745202 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.2111 1.0000 .10000E-03 10000. 2 'Index ' 3.0960 1.0000 .0000 10.000 3 'Normalizat' .88556 1.0000 .10000E-01 10.000 4 'Prefactor ' .88198 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= 6745.375 FROM MIGRAD STATUS=CONVERGED 48 CALLS 213 TOTAL EDM= .13E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.2110 4.7611 .66615E-02 .26601E-02 2 Index 3.0961 1.7891 .65140E-01 .19960E-03 3 Normalizat .88546 .69286E-01 .44717E-01 .30783E-04 4 Prefactor .88206 .53037E-01 .44775E-01 .11477E-04 ERR DEF= .500 Final values: Prefactor = 1.21098 Index = 3.09607 Normalizat = 0.885464 Prefactor = 0.882065 ********** ** 18 **HESSE ********** FCN= 6745.375 FROM HESSE STATUS=OK 33 CALLS 246 TOTAL EDM= .91E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.2110 1.6232 .29642E-04 -1.5488 2 Index 3.0961 .67956 .27124E-02 -.39065 3 Normalizat .88546 .20761 .26822E-03 -.96973 4 Prefactor .88206 .16773 .22283E-03 -.96771 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.14526e-09 Minuit parameter uncertainties: 1 1.6233 2 0.682032 3 0.207796 4 0.16783 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/838386': 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) = 6745.37529343 delta logL = 1.15775759315 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.211e+00 1.623e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 3.096e+00 6.820e-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: 8.821e-01 1.678e-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: 8.855e-01 2.078e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 13.92 Ra Dec: 250.119 39.763 Photon Index (Free Index): 3.10 +/- 0.68 Photon Flux (Free Index): 1.89e-07 +/- 7.31e-08 Energy Flux (Free Index): 3.62e-05 +/- 1.35e-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/838386/cmap_HighResolution_532483201_532742401_4FGL_J1640.4+3945_daily_bin1131.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/838386 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='3.62e-05', photon_flux_error='5.81e-08', dlogl='1.16e+00', energy_flux='4.02e-05', photon_flux2='1.89e-07', job_status='DONE', time_completed='2021-09-15 07:02:23.163306', photon_index_error2='0.68', photon_index2='3.10', ts='10.86', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.35e-05', EG='0.96', time_epoch_completed='1631714543.16', return_code='0', job_id='838386', GAL2='0.88', EG2='0.89', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='7.31e-08', ts2='13.92', photon_index='2.42' WHERE bin_id='1131' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 07:02:23 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 838386: <4FGL_J1640.4+3945_daily_bin1131> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1131> was submitted from host by user in cluster at Wed Sep 15 06:45:18 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:46:46 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:46:46 2021 Terminated at Wed Sep 15 07:02:23 2021 Results reported at Wed Sep 15 07:02:23 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1131 250.119 39.7626 532483201 532742401 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 : 682.00 sec. Max Memory : 618 MB Average Memory : 236.96 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 937 sec. Turnaround time : 1025 sec. The output (if any) is above this job summary.