/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 42 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 = 7438 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0401.9-2034_daily_bin798 RA = 60.4867, Dec = -20.5804 tmin = 446169601, tmax = 446428801 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='161991', job_status='RUN', time_executed='2021-08-19 23:27:19.803533', time_epoch_executed='1629440839.8' WHERE source_name='4FGL J0401.9-2034' and cadence='daily' and bin_id='798' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/161991 Creating custom pfile directory: /scratch/kocevski/161991/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=446169601.0 && nMetStart<446428801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=446169601.0 && nMetStart<446428801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/161991/ft1_4FGL_J0401.9-2034_daily_bin798.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=446169601.0 && nMetStart<446428801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/161991/ft2_4FGL_J0401.9-2034_daily_bin798.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/161991/ft1_4FGL_J0401.9-2034_daily_bin798.fits outfile=/scratch/kocevski/161991/ft1_filteredMKT_4FGL_J0401.9-2034_daily_bin798.fits ra=60.4867 dec=-20.5804 rad=12.0 tmin=446169601.0 tmax=446428801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 4.99 user 3.23 sys 1.73 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/161991/ft2_4FGL_J0401.9-2034_daily_bin798.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/161991/ft2_4FGL_J0401.9-2034_daily_bin798.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/161991/ft1_filteredMKT_4FGL_J0401.9-2034_daily_bin798.fits evtable="EVENTS" outfile="/scratch/kocevski/161991/ft1_filtered_4FGL_J0401.9-2034_daily_bin798.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 2.01 user 0.34 sys 1.66 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/161991/ft1_filtered_4FGL_J0401.9-2034_daily_bin798.fits" evtable="EVENTS" scfile=/scratch/kocevski/161991/ft2_4FGL_J0401.9-2034_daily_bin798.fits sctable="SC_DATA" outfile=/scratch/kocevski/161991/ltcube_446169601_446428801_4FGL_J0401.9-2034_daily_bin798.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/161991/ft2_4FGL_J0401.9-2034_daily_bin798.fits .....................! real 14.03 user 11.92 sys 2.00 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/161991/ft1_filtered_4FGL_J0401.9-2034_daily_bin798.fits evtable="EVENTS" scfile=/scratch/kocevski/161991/ft2_4FGL_J0401.9-2034_daily_bin798.fits sctable="SC_DATA" expcube=/scratch/kocevski/161991/ltcube_446169601_446428801_4FGL_J0401.9-2034_daily_bin798.fits outfile=/scratch/kocevski/161991/expmap_446169601_446428801_4FGL_J0401.9-2034_daily_bin798.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/161991/ltcube_446169601_446428801_4FGL_J0401.9-2034_daily_bin798.fits .....................! real 192.89 user 185.37 sys 7.19 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/161991/ft1_filtered_4FGL_J0401.9-2034_daily_bin798.fits scfile=/scratch/kocevski/161991/ft2_4FGL_J0401.9-2034_daily_bin798.fits outfile=/scratch/kocevski/161991/cmap_446169601_446428801_4FGL_J0401.9-2034_daily_bin798.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 2.01 user 0.36 sys 1.63 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/161991/ft1_filtered_4FGL_J0401.9-2034_daily_bin798.fits scfile=/scratch/kocevski/161991/ft2_4FGL_J0401.9-2034_daily_bin798.fits outfile=/scratch/kocevski/161991/cmap_HighResolution_446169601_446428801_4FGL_J0401.9-2034_daily_bin798.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 2.03 user 0.37 sys 1.62 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/161991/ft1_filtered_4FGL_J0401.9-2034_daily_bin798.fits evtable="EVENTS" scfile=/scratch/kocevski/161991/ft2_4FGL_J0401.9-2034_daily_bin798.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/161991/Model_4FGL_J0401.9-2034_daily_bin798.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/161991/ft1_filtered_4FGL_J0401.9-2034_daily_bin798.fits.....................! real 171.26 user 167.35 sys 3.48 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/161991/ft1_filtered_4FGL_J0401.9-2034_daily_bin798.fits', '/scratch/kocevski/161991/ft2_4FGL_J0401.9-2034_daily_bin798.fits', expMap='/scratch/kocevski/161991/expmap_446169601_446428801_4FGL_J0401.9-2034_daily_bin798.fits', expCube='/scratch/kocevski/161991/ltcube_446169601_446428801_4FGL_J0401.9-2034_daily_bin798.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/161991/Model_4FGL_J0401.9-2034_daily_bin798.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/161991/ft1_filtered_4FGL_J0401.9-2034_daily_bin798.fits Spacecraft file(s): /scratch/kocevski/161991/ft2_4FGL_J0401.9-2034_daily_bin798.fits Exposure map: /scratch/kocevski/161991/expmap_446169601_446428801_4FGL_J0401.9-2034_daily_bin798.fits Exposure cube: /scratch/kocevski/161991/ltcube_446169601_446428801_4FGL_J0401.9-2034_daily_bin798.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/161991/Model_4FGL_J0401.9-2034_daily_bin798.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) = 7654.76736077 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7654.75806397 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .42088E-02 1.0000 .10000E-03 10000. 2 'Prefactor ' 5.4918 1.0000 .10000E-03 10000. 3 'Prefactor ' 16.496 1.0000 .10000E-03 10000. 4 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 29.521 1.0000 .10000E-03 10000. 6 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 3.1905 1.0000 .10000E-03 10000. 8 'Prefactor ' 1.6643 1.0000 .10000E-03 10000. 9 'Prefactor ' 6.5364 1.0000 .10000E-03 10000. 10 'norm ' .10000E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 11.413 1.0000 .10000E-03 10000. 12 'norm ' .68106 1.0000 .10000E-03 10000. 13 'Prefactor ' .10109E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 15 'norm ' 6.0526 1.0000 .10000E-03 10000. 16 'Prefactor ' 5.0640 1.0000 .10000E-03 10000. 17 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 4.9568 1.0000 .10000E-03 10000. 19 'Prefactor ' .10089E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10769E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' 77.703 1.0000 .10000E-03 10000. 23 'Normalizat' .64720 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.1244 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7654.758 FROM MIGRAD STATUS=CONVERGED 958 CALLS 3524 TOTAL EDM= .18E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10002E-03 103.54 .30678 ** at limit ** 2 Prefactor 5.4923 3.4913 .12490E-03 .99943E-04 3 Prefactor 16.491 11.466 .98613E-04 .13258E-04 4 Prefactor .10000E-03 4.6582 .18142E-02** at limit ** 5 Prefactor 29.517 28.424 .36870E-03 .76729E-04 6 Prefactor .10000E-03 11.490 .18142E-02** at limit ** 7 Prefactor 3.1892 1.9574 .89151E-04 -.25721E-03 8 Prefactor 1.6629 3.3499 .19584E-03 .37831E-03 9 Prefactor 6.5362 3.7068 .10888E-03 -.20600E-03 10 norm .10000E-03 .41609 .80923E-03** at limit ** 11 Prefactor 11.417 19.454 .11858E-03 -.34513E-05 12 norm .68239 1.0065 .10163E-03 .37275E-03 13 Prefactor .10000E-03 7.8512 .18142E-02** at limit ** 14 Prefactor .10000E-03 1.0128 .16917E-03** at limit ** 15 norm 6.0534 8.5912 .81600E-03 -.68602E-04 16 Prefactor 5.0629 10.614 .17868E-03 -.25450E-06 17 Prefactor .10000E-03 7.4989 .36285E-03** at limit ** 18 Prefactor 4.9571 2.8721 .10805E-03 -.17887E-05 19 Prefactor .10000E-03 5.0635 .18142E-02** at limit ** 20 Prefactor .10000E-03 13.108 .18142E-02** at limit ** 21 Prefactor .10002E-03 16.460 .30209E-02** at limit ** 22 Prefactor 77.683 37.933 .45556E-04 .89141E-04 23 Normalizat .64720 .16534 .28111E-03 -.16217E-04 24 Prefactor 1.1244 .14464 .19938E-03 -.20147E-03 ERR DEF= .500 Final values: Prefactor = 0.000100021 Prefactor = 5.49225 Prefactor = 16.4908 Prefactor = 0.0001 Prefactor = 29.5167 Prefactor = 0.0001 Prefactor = 3.1892 Prefactor = 1.66287 Prefactor = 6.53621 norm = 0.0001 Prefactor = 11.4168 norm = 0.682389 Prefactor = 0.0001 Prefactor = 0.0001 norm = 6.05343 Prefactor = 5.06287 Prefactor = 0.0001 Prefactor = 4.95711 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100023 Prefactor = 77.6835 Normalizat = 0.647204 Prefactor = 1.12435 ********** ** 18 **HESSE ********** FCN= 7654.758 FROM HESSE STATUS=OK 385 CALLS 3909 TOTAL EDM= .18E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10002E-03 103.54 .30678 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 5.4923 3.4913 .49960E-05 -1.5239 3 Prefactor 16.491 11.466 .39445E-05 -1.4896 4 Prefactor .10000E-03 4.6593 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 29.517 28.423 .73740E-04 -1.4621 6 Prefactor .10000E-03 11.491 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 3.1892 1.9571 .35660E-05 -1.5351 8 Prefactor 1.6629 3.3478 .78337E-05 -1.5450 9 Prefactor 6.5362 3.7053 .43553E-05 -1.5197 10 norm .10000E-03 .41668 .16185E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 11.417 19.453 .47434E-05 -1.5032 12 norm .68239 1.0063 .40650E-05 -1.5543 13 Prefactor .10000E-03 7.8518 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 1.0128 .33834E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 6.0534 8.5900 .32640E-04 -1.5216 16 Prefactor 5.0629 10.613 .71472E-05 -1.5258 17 Prefactor .10000E-03 7.4993 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 4.9571 2.8720 .43221E-05 -1.5263 19 Prefactor .10000E-03 5.0640 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 13.119 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10002E-03 16.817 .60419E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 77.683 37.933 .91112E-05 -1.3943 23 Normalizat .64720 .16542 .11245E-04 -1.0602 24 Prefactor 1.1244 .14472 .39877E-04 -.88692 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.79636e-09 Minuit parameter uncertainties: 1 0.00293658 2 3.49138 3 11.468 4 2.45563e-06 5 28.4362 6 3.52239e-06 7 1.95719 8 3.34817 9 3.7054 10 8.87737e-06 11 19.4639 12 1.00636 13 3.96658e-05 14 4.32841e-06 15 8.59177 16 10.6169 17 6.33944e-05 18 2.87207 19 4.95474e-05 20 6.61786e-05 21 0.0012487 22 37.9444 23 0.16555 24 0.144771 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7654.75806134 Extracting fit parameters... 4FGL J0401.9-2034 Spectrum: PowerLaw 250 Prefactor: 1.000e-04 4.328e-06 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: 1.124e+00 1.448e-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.472e-01 1.656e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 60.487 -20.580 Photon Flux Upper Limit: 4.75e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.65e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/161991/likelihoodResults_446169601_446428801_4FGL_J0401.9-2034_daily_bin798.txt 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) = 7654.76275834 delta logL = -0.0046969951436 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7654.75806129 delta logL = 5.36656443728e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.3042 1.0000 .0000 10.000 3 'Normalizat' .64720 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1244 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 7654.758 FROM MIGRAD STATUS=FAILED 86 CALLS 242 TOTAL EDM= .38E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10013E-03 110.36 .16941E-03** at limit ** 2 Index 2.2842 5.5200 .50000 .34848E-04 3 Normalizat .64720 .43541E-01 .28111E-03 .60218E-04 4 Prefactor 1.1244 .39981E-01 .19938E-03 .10672E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 7654.758 FROM SIMPLEX STATUS=PROGRESS 155 CALLS 397 TOTAL EDM= .60E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10006E-03 110.36 .12822E-03** at limit ** 2 Index 2.2840 5.5200 .56757E-04 .34848E-04 3 Normalizat .64720 .43541E-01 .12268E-05 .60218E-04 4 Prefactor 1.1244 .39981E-01 .93777E-06 .10672E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7654.758 FROM MIGRAD STATUS=CONVERGED 45 CALLS 442 TOTAL EDM= .11E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 1.4995 .33883E-04** at limit ** 2 Index 2.1922 6.0338 .50000 .22312E-06 3 Normalizat .64720 .15420 .11244E-04 .14357E-04 4 Prefactor 1.1244 .14180 .39877E-04 .12316E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.19215 Normalizat = 0.647203 Prefactor = 1.12435 ********** ** 18 **HESSE ********** FCN= 7654.758 FROM HESSE STATUS=OK 29 CALLS 471 TOTAL EDM= .66E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 1.0386 .67765E-05 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.1922 8.3423 .50000 -.59628 3 Normalizat .64720 .15433 .22489E-05 -1.0602 4 Prefactor 1.1244 .14190 .79753E-05 -.88692 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.63704e-12 Minuit parameter uncertainties: 1 6.75933e-07 2 45.8513 3 0.154433 4 0.14195 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/161991': 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) = 7654.75806073 delta logL = 6.09148628428e-07 Extracting fit parameters... 4FGL J0401.9-2034 Spectrum: PowerLaw 250 Prefactor: 1.000e-04 6.759e-07 1.000e-04 1.000e+04 ( 1.000e-12) 251 Index: 2.192e+00 4.585e+01 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.124e+00 1.420e-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.472e-01 1.544e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 60.487 -20.580 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/161991/cmap_HighResolution_446169601_446428801_4FGL_J0401.9-2034_daily_bin798.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/161991 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-03', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2021-08-19 23:42:04.662416', job_id='161991', GAL2='1.12', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1629441724.66', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='6.09e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='798' AND source_name='4FGL J0401.9-2034' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Aug 19 23:42:04 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 161991: <4FGL_J0401.9-2034_daily_bin798> in cluster Done Job <4FGL_J0401.9-2034_daily_bin798> was submitted from host by user in cluster at Thu Aug 19 23:26:03 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Aug 19 23:26:05 2021 was used as the home directory. was used as the working directory. Started at Thu Aug 19 23:26:05 2021 Terminated at Thu Aug 19 23:42:05 2021 Results reported at Thu Aug 19 23:42:05 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0401.9-2034_daily_bin798 60.4867 -20.5804 446169601 446428801 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 : 906.17 sec. Max Memory : 1256 MB Average Memory : 334.17 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 960 sec. Turnaround time : 962 sec. The output (if any) is above this job summary.