/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 29 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 = 7396 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0401.9-2034_daily_bin1557 RA = 60.4867, Dec = -20.5804 tmin = 642902401, tmax = 643161601 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='166019', job_status='RUN', time_executed='2021-08-19 23:41:20.689782', time_epoch_executed='1629441680.69' WHERE source_name='4FGL J0401.9-2034' and cadence='daily' and bin_id='1557' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/166019 Creating custom pfile directory: /scratch/kocevski/166019/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=642902401.0 && nMetStart<643161601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=642902401.0 && nMetStart<643161601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/166019/ft1_4FGL_J0401.9-2034_daily_bin1557.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=642902401.0 && nMetStart<643161601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/166019/ft2_4FGL_J0401.9-2034_daily_bin1557.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/166019/ft1_4FGL_J0401.9-2034_daily_bin1557.fits outfile=/scratch/kocevski/166019/ft1_filteredMKT_4FGL_J0401.9-2034_daily_bin1557.fits ra=60.4867 dec=-20.5804 rad=12.0 tmin=642902401.0 tmax=643161601.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.99 user 3.30 sys 0.65 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/166019/ft2_4FGL_J0401.9-2034_daily_bin1557.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/166019/ft2_4FGL_J0401.9-2034_daily_bin1557.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/166019/ft1_filteredMKT_4FGL_J0401.9-2034_daily_bin1557.fits evtable="EVENTS" outfile="/scratch/kocevski/166019/ft1_filtered_4FGL_J0401.9-2034_daily_bin1557.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.96 user 0.32 sys 0.61 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/166019/ft1_filtered_4FGL_J0401.9-2034_daily_bin1557.fits" evtable="EVENTS" scfile=/scratch/kocevski/166019/ft2_4FGL_J0401.9-2034_daily_bin1557.fits sctable="SC_DATA" outfile=/scratch/kocevski/166019/ltcube_642902401_643161601_4FGL_J0401.9-2034_daily_bin1557.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/166019/ft2_4FGL_J0401.9-2034_daily_bin1557.fits .....................! real 12.36 user 11.48 sys 0.84 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/166019/ft1_filtered_4FGL_J0401.9-2034_daily_bin1557.fits evtable="EVENTS" scfile=/scratch/kocevski/166019/ft2_4FGL_J0401.9-2034_daily_bin1557.fits sctable="SC_DATA" expcube=/scratch/kocevski/166019/ltcube_642902401_643161601_4FGL_J0401.9-2034_daily_bin1557.fits outfile=/scratch/kocevski/166019/expmap_642902401_643161601_4FGL_J0401.9-2034_daily_bin1557.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/166019/ltcube_642902401_643161601_4FGL_J0401.9-2034_daily_bin1557.fits .....................! real 191.30 user 186.05 sys 4.89 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 Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template. Added 146 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0401.9-2034 @ 60.4867 -20.5804 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/166019/ft1_filtered_4FGL_J0401.9-2034_daily_bin1557.fits scfile=/scratch/kocevski/166019/ft2_4FGL_J0401.9-2034_daily_bin1557.fits outfile=/scratch/kocevski/166019/cmap_642902401_643161601_4FGL_J0401.9-2034_daily_bin1557.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=60.4867 yref=-20.5804 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.98 user 0.37 sys 0.59 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/166019/ft1_filtered_4FGL_J0401.9-2034_daily_bin1557.fits scfile=/scratch/kocevski/166019/ft2_4FGL_J0401.9-2034_daily_bin1557.fits outfile=/scratch/kocevski/166019/cmap_HighResolution_642902401_643161601_4FGL_J0401.9-2034_daily_bin1557.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=60.4867 yref=-20.5804 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.98 user 0.38 sys 0.60 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/166019/ft1_filtered_4FGL_J0401.9-2034_daily_bin1557.fits evtable="EVENTS" scfile=/scratch/kocevski/166019/ft2_4FGL_J0401.9-2034_daily_bin1557.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/166019/Model_4FGL_J0401.9-2034_daily_bin1557.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 Fornax A adding source GAL_V02 Working on... /scratch/kocevski/166019/ft1_filtered_4FGL_J0401.9-2034_daily_bin1557.fits.....................! real 177.58 user 175.44 sys 1.78 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/166019/ft1_filtered_4FGL_J0401.9-2034_daily_bin1557.fits', '/scratch/kocevski/166019/ft2_4FGL_J0401.9-2034_daily_bin1557.fits', expMap='/scratch/kocevski/166019/expmap_642902401_643161601_4FGL_J0401.9-2034_daily_bin1557.fits', expCube='/scratch/kocevski/166019/ltcube_642902401_643161601_4FGL_J0401.9-2034_daily_bin1557.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/166019/Model_4FGL_J0401.9-2034_daily_bin1557.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0401.9-2034' 4FGL J0401.9-2034 Spectrum: PowerLaw 250 Prefactor: 1.016e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 251 Index: 2.309e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 252 Scale: 9.282e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/166019/ft1_filtered_4FGL_J0401.9-2034_daily_bin1557.fits Spacecraft file(s): /scratch/kocevski/166019/ft2_4FGL_J0401.9-2034_daily_bin1557.fits Exposure map: /scratch/kocevski/166019/expmap_642902401_643161601_4FGL_J0401.9-2034_daily_bin1557.fits Exposure cube: /scratch/kocevski/166019/ltcube_642902401_643161601_4FGL_J0401.9-2034_daily_bin1557.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/166019/Model_4FGL_J0401.9-2034_daily_bin1557.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) = 7809.93227234 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7809.8458301 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 120.90 1.0000 .10000E-03 10000. 2 'Prefactor ' 3.5696 1.0000 .10000E-03 10000. 3 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 25.380 1.0000 .10000E-03 10000. 7 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .20574E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .40267 1.0000 .10000E-03 10000. 10 'norm ' 4.8027 1.0000 .10000E-03 10000. 11 'Prefactor ' 24.292 1.0000 .10000E-03 10000. 12 'norm ' .10336E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 11.167 1.0000 .10000E-03 10000. 14 'Prefactor ' 5.6357 1.0000 .10000E-03 10000. 15 'norm ' 3.9484 1.0000 .10000E-03 10000. 16 'Prefactor ' 7.7012 1.0000 .10000E-03 10000. 17 'Prefactor ' 4.3862 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 8.4439 1.0000 .10000E-03 10000. 21 'Prefactor ' .56790 1.0000 .10000E-03 10000. 22 'Prefactor ' 55.023 1.0000 .10000E-03 10000. 23 'Normalizat' .81593 1.0000 .10000E-01 10.000 24 'Prefactor ' .98108 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4710E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7809.846 FROM MIGRAD STATUS=CONVERGED 568 CALLS 2845 TOTAL EDM= .59E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 120.97 148.80 -.72116E-05 -.37680E-05 2 Prefactor 3.5700 3.1894 .72586E-07 .92348E-05 3 Prefactor .10000E-03 21.645 .41538E-06** at limit ** 4 Prefactor .10000E-03 2.7347 -.62977E-08** at limit ** 5 Prefactor .10000E-03 30.311 -.34409E-07** at limit ** 6 Prefactor 25.383 31.064 -.16997E-06 -.22692E-05 7 Prefactor .10000E-03 .93096 .81885E-07** at limit ** 8 Prefactor .10001E-03 1.4057 -.14511E-06** at limit ** 9 Prefactor .40279 2.9262 .66324E-06 -.10635E-04 10 norm 4.8026 1.1018 -.81135E-08 .63393E-05 11 Prefactor 24.293 24.656 -.16485E-07 -.30616E-05 12 norm .10000E-03 .55676 -.91914E-08** at limit ** 13 Prefactor 11.167 22.960 -.45912E-07 -.11647E-05 14 Prefactor 5.6358 2.9024 -.21397E-08 -.34079E-04 15 norm 3.9461 12.768 -.19031E-06 .23949E-06 16 Prefactor 7.7005 20.510 .11916E-05 -.30949E-05 17 Prefactor 4.3860 4.7061 .12667E-05 -.15714E-04 18 Prefactor .10000E-03 2.1532 -.68627E-07** at limit ** 19 Prefactor .10000E-03 8.7889 -.96631E-07** at limit ** 20 Prefactor 8.4438 12.864 .13280E-07 .10696E-05 21 Prefactor .56795 4.1952 .97310E-06 -.12676E-04 22 Prefactor 55.022 34.566 .22642E-06 .23578E-05 23 Normalizat .81598 .15344 -.35853E-06 -.21037E-05 24 Prefactor .98104 .12897 -.84721E-08 -.27734E-04 ERR DEF= .500 Final values: Prefactor = 120.972 Prefactor = 3.57004 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 25.3832 Prefactor = 0.0001 Prefactor = 0.000100007 Prefactor = 0.402786 norm = 4.80262 Prefactor = 24.2934 norm = 0.0001 Prefactor = 11.1668 Prefactor = 5.63584 norm = 3.94612 Prefactor = 7.7005 Prefactor = 4.38602 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 8.44379 Prefactor = 0.567947 Prefactor = 55.0215 Normalizat = 0.815982 Prefactor = 0.981045 ********** ** 18 **HESSE ********** FCN= 7809.846 FROM HESSE STATUS=OK 417 CALLS 3262 TOTAL EDM= .74E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 120.97 148.78 .18300E-03 -1.3504 2 Prefactor 3.5700 3.1862 .14428E-03 -1.5330 3 Prefactor .10000E-03 22.191 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 2.7369 .14273E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 30.436 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 25.383 31.052 .79515E-04 -1.4700 7 Prefactor .10000E-03 .95525 .16607E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10001E-03 2.3544 .35303E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .40279 2.8426 .27513E-03 -1.5581 10 norm 4.8026 1.1044 .41465E-04 -1.5270 11 Prefactor 24.293 24.538 .81273E-04 -1.4722 12 norm .10000E-03 2.9017 .12105E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 11.167 22.865 .11989E-03 -1.5040 14 Prefactor 5.6358 2.8307 .98299E-04 -1.5233 15 norm 3.9461 12.598 .20301E-03 -1.5311 16 Prefactor 7.7005 20.230 .72250E-03 -1.5153 17 Prefactor 4.3860 4.6947 .94781E-03 -1.5289 18 Prefactor .10000E-03 2.2517 .25292E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 8.8633 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 8.4438 12.862 .13796E-03 -1.5127 21 Prefactor .56795 4.2405 .35041E-03 -1.5557 22 Prefactor 55.022 34.558 .54076E-04 -1.4223 23 Normalizat .81598 .17539 .26183E-03 -.99479 24 Prefactor .98104 .14823 .21461E-03 -.93364 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.39487e-11 Minuit parameter uncertainties: 1 149.245 2 3.18634 3 9.06382e-05 4 4.40943e-07 5 2.9425e-06 6 31.0719 7 2.64417e-06 8 0.000259306 9 2.13994 10 1.10445 11 24.5483 12 9.61976e-06 13 22.8828 14 2.83076 15 12.606 16 20.2481 17 4.69506 18 3.42836e-06 19 8.38829e-06 20 12.8665 21 3.10381 22 34.5702 23 0.175511 24 0.148288 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7809.8458287 Extracting fit parameters... 4FGL J0401.9-2034 Spectrum: PowerLaw 250 Prefactor: 5.636e+00 2.831e+00 1.000e-04 1.000e+04 ( 1.000e-12) 251 Index: 2.309e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 252 Scale: 9.282e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 468 Prefactor: 9.810e-01 1.483e-01 0.000e+00 1.000e+01 ( 1.000e+00) 469 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 470 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 464 Normalization: 8.160e-01 1.755e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 6.51 Ra Dec: 60.487 -20.580 Photon Index (Fixed Index): 2.31 +/- 0.00 Photon Flux (Fixed Index): 7.39e-08 +/- 3.71e-08 Energy Flux (Fixed Index): 2.76e-05 +/- 1.39e-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): 102 logL (Free Index) = 7807.19576752 delta logL = 2.65006117712 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7807.09581248 delta logL = 2.75001622348 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .69359 1.0000 .10000E-03 10000. 2 'Index ' 3.9404 1.0000 .0000 10.000 3 'Normalizat' .69160 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0598 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4710E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7807.096 FROM MIGRAD STATUS=CONVERGED 54 CALLS 234 TOTAL EDM= .40E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .69196 2.7109 .54746E-02 .62993E-03 2 Index 3.9419 1.9293 .72641E-01 .20612E-03 3 Normalizat .69132 .56134E-01 .63767E-01 .23065E-04 4 Prefactor 1.0601 .48285E-01 .39366E-01 -.51561E-05 ERR DEF= .500 Final values: Prefactor = 0.691964 Index = 3.94194 Normalizat = 0.691317 Prefactor = 1.06008 ********** ** 18 **HESSE ********** FCN= 7807.096 FROM HESSE STATUS=NOT POSDEF 33 CALLS 267 TOTAL EDM= .22E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .69196 3.9394 .24412E-04 -1.5542 2 Index 3.9419 2.4859 .30334E-02 -.21322 3 Normalizat .69132 .17675 .28211E-03 -1.0424 4 Prefactor 1.0601 .15501 .20735E-03 -.90753 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.23725e-07 Minuit parameter uncertainties: 1 3.30217 2 2.60793 3 0.176892 4 0.155078 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/166019': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7807.0958099 delta logL = 2.75001880292 Extracting fit parameters... 4FGL J0401.9-2034 Spectrum: PowerLaw 250 Prefactor: 6.920e-01 3.302e+00 1.000e-04 1.000e+04 ( 1.000e-12) 251 Index: 3.942e+00 2.608e+00 0.000e+00 1.000e+01 (-1.000e+00) 252 Scale: 9.282e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 468 Prefactor: 1.060e+00 1.551e-01 0.000e+00 1.000e+01 ( 1.000e+00) 469 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 470 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 464 Normalization: 6.913e-01 1.769e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 12.93 Ra Dec: 60.487 -20.580 Photon Index (Free Index): 3.94 +/- 2.61 Photon Flux (Free Index): 1.54e-07 +/- 6.03e-08 Energy Flux (Free Index): 2.33e-05 +/- 1.07e-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/166019/cmap_HighResolution_642902401_643161601_4FGL_J0401.9-2034_daily_bin1557.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/166019 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.39e-08', energy_flux2='2.33e-05', photon_flux_error='3.71e-08', dlogl='2.75e+00', energy_flux='2.76e-05', photon_flux2='1.54e-07', job_status='DONE', time_completed='2021-08-19 23:54:00.999989', photon_index_error2='2.61', photon_index2='3.94', ts='6.51', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.07e-05', EG='0.82', time_epoch_completed='1629442441.0', return_code='0', job_id='166019', GAL2='1.06', EG2='0.69', return_code2='102', energy_flux_error='1.39e-05', photon_flux_error2='6.03e-08', ts2='12.93', photon_index='2.31' WHERE bin_id='1557' AND source_name='4FGL J0401.9-2034' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Aug 19 23:54:01 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 166019: <4FGL_J0401.9-2034_daily_bin1557> in cluster Done Job <4FGL_J0401.9-2034_daily_bin1557> was submitted from host by user in cluster at Thu Aug 19 23:40:34 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Aug 19 23:40:36 2021 was used as the home directory. was used as the working directory. Started at Thu Aug 19 23:40:36 2021 Terminated at Thu Aug 19 23:54:01 2021 Results reported at Thu Aug 19 23:54:01 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0401.9-2034_daily_bin1557 60.4867 -20.5804 642902401 643161601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0401.9-2034 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 764.00 sec. Max Memory : 618 MB Average Memory : 325.61 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 805 sec. Turnaround time : 807 sec. The output (if any) is above this job summary.