/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 2 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 = 7338 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin846 RA = 250.119, Dec = 39.7626 tmin = 458611201, tmax = 458870401 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='835578', job_status='RUN', time_executed='2021-09-15 06:38:45.734719', time_epoch_executed='1631713125.73' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='846' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835578 Creating custom pfile directory: /scratch/kocevski/835578/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=458611201.0 && nMetStart<458870401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=458611201.0 && nMetStart<458870401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835578/ft1_4FGL_J1640.4+3945_daily_bin846.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=458611201.0 && nMetStart<458870401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835578/ft2_4FGL_J1640.4+3945_daily_bin846.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835578/ft1_4FGL_J1640.4+3945_daily_bin846.fits outfile=/scratch/kocevski/835578/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin846.fits ra=250.119 dec=39.7626 rad=12.0 tmin=458611201.0 tmax=458870401.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.69 user 3.44 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835578/ft2_4FGL_J1640.4+3945_daily_bin846.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835578/ft2_4FGL_J1640.4+3945_daily_bin846.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/835578/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin846.fits evtable="EVENTS" outfile="/scratch/kocevski/835578/ft1_filtered_4FGL_J1640.4+3945_daily_bin846.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/835578/ft1_filtered_4FGL_J1640.4+3945_daily_bin846.fits" evtable="EVENTS" scfile=/scratch/kocevski/835578/ft2_4FGL_J1640.4+3945_daily_bin846.fits sctable="SC_DATA" outfile=/scratch/kocevski/835578/ltcube_458611201_458870401_4FGL_J1640.4+3945_daily_bin846.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/835578/ft2_4FGL_J1640.4+3945_daily_bin846.fits .....................! real 14.78 user 14.29 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835578/ft1_filtered_4FGL_J1640.4+3945_daily_bin846.fits evtable="EVENTS" scfile=/scratch/kocevski/835578/ft2_4FGL_J1640.4+3945_daily_bin846.fits sctable="SC_DATA" expcube=/scratch/kocevski/835578/ltcube_458611201_458870401_4FGL_J1640.4+3945_daily_bin846.fits outfile=/scratch/kocevski/835578/expmap_458611201_458870401_4FGL_J1640.4+3945_daily_bin846.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/835578/ltcube_458611201_458870401_4FGL_J1640.4+3945_daily_bin846.fits .....................! real 193.34 user 188.15 sys 4.53 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/835578/ft1_filtered_4FGL_J1640.4+3945_daily_bin846.fits scfile=/scratch/kocevski/835578/ft2_4FGL_J1640.4+3945_daily_bin846.fits outfile=/scratch/kocevski/835578/cmap_458611201_458870401_4FGL_J1640.4+3945_daily_bin846.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.56 user 0.39 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/835578/ft1_filtered_4FGL_J1640.4+3945_daily_bin846.fits scfile=/scratch/kocevski/835578/ft2_4FGL_J1640.4+3945_daily_bin846.fits outfile=/scratch/kocevski/835578/cmap_HighResolution_458611201_458870401_4FGL_J1640.4+3945_daily_bin846.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.57 user 0.40 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/835578/ft1_filtered_4FGL_J1640.4+3945_daily_bin846.fits evtable="EVENTS" scfile=/scratch/kocevski/835578/ft2_4FGL_J1640.4+3945_daily_bin846.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835578/Model_4FGL_J1640.4+3945_daily_bin846.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/835578/ft1_filtered_4FGL_J1640.4+3945_daily_bin846.fits.....................! real 57.46 user 56.07 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835578/ft1_filtered_4FGL_J1640.4+3945_daily_bin846.fits', '/scratch/kocevski/835578/ft2_4FGL_J1640.4+3945_daily_bin846.fits', expMap='/scratch/kocevski/835578/expmap_458611201_458870401_4FGL_J1640.4+3945_daily_bin846.fits', expCube='/scratch/kocevski/835578/ltcube_458611201_458870401_4FGL_J1640.4+3945_daily_bin846.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835578/Model_4FGL_J1640.4+3945_daily_bin846.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/835578/ft1_filtered_4FGL_J1640.4+3945_daily_bin846.fits Spacecraft file(s): /scratch/kocevski/835578/ft2_4FGL_J1640.4+3945_daily_bin846.fits Exposure map: /scratch/kocevski/835578/expmap_458611201_458870401_4FGL_J1640.4+3945_daily_bin846.fits Exposure cube: /scratch/kocevski/835578/ltcube_458611201_458870401_4FGL_J1640.4+3945_daily_bin846.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835578/Model_4FGL_J1640.4+3945_daily_bin846.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) = 7163.05383971 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7163.05072175 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .12943E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 6.6653 1.0000 .10000E-03 10000. 4 'Prefactor ' .10021E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' 1.1575 1.0000 .10000E-03 10000. 8 'norm ' .10117E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .13158E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 3.4881 1.0000 .10000E-03 10000. 11 'norm ' .10039E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 1.7278 1.0000 .10000E-03 10000. 13 'Prefactor ' .22976 1.0000 .10000E-03 10000. 14 'Prefactor ' 4.5255 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'norm ' 2.6496 1.0000 .10000E-03 10000. 17 'norm ' .85510 1.0000 .10000E-03 10000. 18 'Prefactor ' 5.3079 1.0000 .10000E-03 10000. 19 'norm ' .10145 1.0000 .10000E-03 10000. 20 'norm ' .10196E-03 1.0000 .10000E-03 10000. 21 'norm ' 6.5353 1.0000 .10000E-03 10000. 22 'Prefactor ' 61.912 1.0000 .10000E-03 10000. 23 'norm ' .52829E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 50.473 1.0000 .10000E-03 10000. 25 'Normalizat' .83953 1.0000 .10000E-01 10.000 26 'Prefactor ' .85089 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= 7163.051 FROM MIGRAD STATUS=CONVERGED 619 CALLS 3079 TOTAL EDM= .49E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 8.0146 -.40252E-07** at limit ** 2 Prefactor .10000E-03 30.632 .56048E-07** at limit ** 3 Prefactor 6.6659 4.1744 .13713E-06 -.42066E-04 4 Prefactor .10000E-03 2.4766 .14096E-07** at limit ** 5 Prefactor .10000E-03 10.371 -.22805E-07** at limit ** 6 Prefactor .10000E-03 1.1107 .16004E-07** at limit ** 7 norm 1.1574 .20828 -.11251E-07 -.47315E-02 8 norm .10000E-03 5.0342 .13396E-08** at limit ** 9 Prefactor .10000E-03 22.583 .21765E-07** at limit ** 10 Prefactor 3.4884 2.7394 .26290E-07 -.63719E-04 11 norm .10000E-03 8.8882 .78920E-07** at limit ** 12 Prefactor 1.7278 1.5178 -.63126E-06 -.77403E-03 13 Prefactor .22978 1.2092 .17031E-05 .18465E-03 14 Prefactor 4.5259 3.2275 .11290E-06 -.60019E-04 15 Prefactor .10000E-03 .61148 -.16552E-07** at limit ** 16 norm 2.6498 1.3838 -.75106E-07 -.46277E-03 17 norm .85513 .60784 -.84002E-09 -.14390E-03 18 Prefactor 5.3079 4.8769 -.59127E-07 -.18304E-03 19 norm .10139 .39542 .27970E-06 -.81070E-03 20 norm .10000E-03 4.1717 .63602E-07** at limit ** 21 norm 6.5352 2.0693 -.19278E-07 -.39561E-03 22 Prefactor 61.887 39.547 -.80148E-06 -.28203E-03 23 norm .10001E-03 3.2640 .15059E-05** at limit ** 24 Prefactor 50.497 52.018 -.13714E-05 -.79687E-04 25 Normalizat .83958 .17926 -.64279E-06 -.31265E-03 26 Prefactor .85076 .14097 -.11288E-06 -.38885E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 6.66587 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 1.15743 norm = 0.0001 Prefactor = 0.0001 Prefactor = 3.4884 norm = 0.0001 Prefactor = 1.72777 Prefactor = 0.229781 Prefactor = 4.52593 Prefactor = 0.0001 norm = 2.64978 norm = 0.855132 Prefactor = 5.30789 norm = 0.101388 norm = 0.0001 norm = 6.53519 Prefactor = 61.8871 norm = 0.000100008 Prefactor = 50.497 Normalizat = 0.839584 Prefactor = 0.850763 ********** ** 18 **HESSE ********** FCN= 7163.051 FROM HESSE STATUS=OK 456 CALLS 3535 TOTAL EDM= .25E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 8.0203 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 30.651 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 6.6659 4.1796 .12938E-03 -1.5192 4 Prefactor .10000E-03 2.4956 .13004E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 10.413 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 1.1224 .87051E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 1.1574 .21064 .14870E-04 -1.5493 8 norm .10000E-03 5.0384 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 22.968 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 3.4884 2.7361 .11919E-03 -1.5334 11 norm .10000E-03 8.8892 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.7278 1.5082 .63249E-04 -1.5445 13 Prefactor .22978 1.2148 .12675E-03 -1.5612 14 Prefactor 4.5259 3.2180 .11962E-03 -1.5282 15 Prefactor .10000E-03 .61565 .64609E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.6498 1.3858 .69751E-04 -1.5382 17 norm .85513 .59886 .52743E-04 -1.5523 18 Prefactor 5.3079 4.8251 .16802E-03 -1.5247 19 norm .10139 .55327 .96634E-03 -1.5644 20 norm .10000E-03 4.2116 .16876E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 6.5352 2.0628 .64933E-04 -1.5197 22 Prefactor 61.887 39.540 .25498E-03 -1.4133 23 norm .10001E-03 6.5475 .26630E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 50.497 50.652 .56448E-04 -1.4286 25 Normalizat .83958 .21640 .27938E-03 -.98617 26 Prefactor .85076 .17048 .22687E-03 -.97883 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.5246e-08 Minuit parameter uncertainties: 1 1.1985e-05 2 2.86445e-05 3 4.1798 4 2.13706e-06 5 7.04197e-06 6 1.3634e-06 7 0.210637 8 6.61435e-08 9 1.40801e-05 10 2.73622 11 2.51686e-05 12 1.50826 13 1.05646 14 3.21811 15 4.17972e-07 16 1.38579 17 0.598861 18 4.82547 19 0.473463 20 2.1925e-06 21 2.06278 22 39.5568 23 0.000448088 24 50.6953 25 0.216618 26 0.170582 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7163.05068645 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.728e+00 1.508e+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.508e-01 1.706e-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.396e-01 2.166e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 5.21 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 6.82e-08 +/- 5.95e-08 Energy Flux (Fixed Index): 2.18e-05 +/- 1.90e-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) = 7163.04767141 delta logL = 0.00301504571962 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7163.04457131 delta logL = 0.00611514295997 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.8369 1.0000 .10000E-03 10000. 2 'Index ' 2.3629 1.0000 .0000 10.000 3 'Normalizat' .84293 1.0000 .10000E-01 10.000 4 'Prefactor ' .84893 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= 7163.045 FROM MIGRAD STATUS=CONVERGED 51 CALLS 202 TOTAL EDM= .93E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.8367 20.999 .76959E-02 .99759E-03 2 Index 2.3629 3.2473 .12079 .11162E-03 3 Normalizat .84299 .73962E-01 .44168E-01 -.10941E-03 4 Prefactor .84890 .49990E-01 .44351E-01 .17785E-03 ERR DEF= .500 Final values: Prefactor = 1.8367 Index = 2.36292 Normalizat = 0.842994 Prefactor = 0.848901 ********** ** 18 **HESSE ********** FCN= 7163.045 FROM HESSE STATUS=OK 33 CALLS 235 TOTAL EDM= .46E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.8367 1.5372 .65743E-04 -1.5437 2 Index 2.3629 .55580 .62141E-02 -.55556 3 Normalizat .84299 .20802 .27868E-03 -.98493 4 Prefactor .84890 .16899 .22710E-03 -.97950 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.58226e-09 Minuit parameter uncertainties: 1 1.53721 2 0.5574 3 0.208213 4 0.169096 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835578': 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) = 7163.04457122 delta logL = 0.00611522995587 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.837e+00 1.537e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.363e+00 5.574e-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.489e-01 1.691e-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.430e-01 2.082e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.42 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.36 +/- 0.56 Photon Flux (Free Index): 6.49e-08 +/- 4.86e-08 Energy Flux (Free Index): 2.24e-05 +/- 1.52e-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/835578/cmap_HighResolution_458611201_458870401_4FGL_J1640.4+3945_daily_bin846.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835578 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.82e-08', energy_flux2='2.24e-05', photon_flux_error='5.95e-08', dlogl='6.12e-03', energy_flux='2.18e-05', photon_flux2='6.49e-08', job_status='DONE', time_completed='2021-09-15 06:51:55.572275', photon_index_error2='0.56', photon_index2='2.36', ts='5.21', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.52e-05', EG='0.84', time_epoch_completed='1631713915.57', return_code='0', job_id='835578', GAL2='0.85', EG2='0.84', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='4.86e-08', ts2='5.42', photon_index='2.42' WHERE bin_id='846' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:51:55 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835578: <4FGL_J1640.4+3945_daily_bin846> in cluster Done Job <4FGL_J1640.4+3945_daily_bin846> was submitted from host by user in cluster at Wed Sep 15 06:35:36 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:38:34 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:38:34 2021 Terminated at Wed Sep 15 06:51:56 2021 Results reported at Wed Sep 15 06:51:56 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin846 250.119 39.7626 458611201 458870401 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 : 783.00 sec. Max Memory : 618 MB Average Memory : 315.48 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 801 sec. Turnaround time : 980 sec. The output (if any) is above this job summary.