/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 135 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 = 7717 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0159.5+1046_daily_bin764 RA = 29.8858, Dec = 10.7737 tmin = 437356801, tmax = 437616001 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='999738', job_status='RUN', time_executed='2021-08-15 00:43:03.960711', time_epoch_executed='1629013383.96' WHERE source_name='4FGL J0159.5+1046' and cadence='daily' and bin_id='764' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/999738 Creating custom pfile directory: /scratch/kocevski/999738/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=437356801.0 && nMetStart<437616001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=437356801.0 && nMetStart<437616001.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/999738/ft1_4FGL_J0159.5+1046_daily_bin764.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=437356801.0 && nMetStart<437616001.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Merged file saved to: /scratch/kocevski/999738/ft2_4FGL_J0159.5+1046_daily_bin764.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/999738/ft1_4FGL_J0159.5+1046_daily_bin764.fits outfile=/scratch/kocevski/999738/ft1_filteredMKT_4FGL_J0159.5+1046_daily_bin764.fits ra=29.8858 dec=10.7737 rad=12.0 tmin=437356801.0 tmax=437616001.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 6.36 user 5.31 sys 0.98 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/999738/ft2_4FGL_J0159.5+1046_daily_bin764.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/999738/ft2_4FGL_J0159.5+1046_daily_bin764.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/999738/ft1_filteredMKT_4FGL_J0159.5+1046_daily_bin764.fits evtable="EVENTS" outfile="/scratch/kocevski/999738/ft1_filtered_4FGL_J0159.5+1046_daily_bin764.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 1.28 user 0.34 sys 0.91 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/999738/ft1_filtered_4FGL_J0159.5+1046_daily_bin764.fits" evtable="EVENTS" scfile=/scratch/kocevski/999738/ft2_4FGL_J0159.5+1046_daily_bin764.fits sctable="SC_DATA" outfile=/scratch/kocevski/999738/ltcube_437356801_437616001_4FGL_J0159.5+1046_daily_bin764.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/999738/ft2_4FGL_J0159.5+1046_daily_bin764.fits .....................! real 14.82 user 13.54 sys 1.22 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/999738/ft1_filtered_4FGL_J0159.5+1046_daily_bin764.fits evtable="EVENTS" scfile=/scratch/kocevski/999738/ft2_4FGL_J0159.5+1046_daily_bin764.fits sctable="SC_DATA" expcube=/scratch/kocevski/999738/ltcube_437356801_437616001_4FGL_J0159.5+1046_daily_bin764.fits outfile=/scratch/kocevski/999738/expmap_437356801_437616001_4FGL_J0159.5+1046_daily_bin764.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/999738/ltcube_437356801_437616001_4FGL_J0159.5+1046_daily_bin764.fits .....................! real 193.86 user 187.82 sys 5.39 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 170 point sources and 0 extended sources Setting source of interest to: 4FGL J0159.5+1046 @ 29.8858 10.7737 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/999738/ft1_filtered_4FGL_J0159.5+1046_daily_bin764.fits scfile=/scratch/kocevski/999738/ft2_4FGL_J0159.5+1046_daily_bin764.fits outfile=/scratch/kocevski/999738/cmap_437356801_437616001_4FGL_J0159.5+1046_daily_bin764.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=29.8858 yref=10.7737 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 1.29 user 0.37 sys 0.90 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/999738/ft1_filtered_4FGL_J0159.5+1046_daily_bin764.fits scfile=/scratch/kocevski/999738/ft2_4FGL_J0159.5+1046_daily_bin764.fits outfile=/scratch/kocevski/999738/cmap_HighResolution_437356801_437616001_4FGL_J0159.5+1046_daily_bin764.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=29.8858 yref=10.7737 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 1.26 user 0.40 sys 0.85 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/999738/ft1_filtered_4FGL_J0159.5+1046_daily_bin764.fits evtable="EVENTS" scfile=/scratch/kocevski/999738/ft2_4FGL_J0159.5+1046_daily_bin764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/999738/Model_4FGL_J0159.5+1046_daily_bin764.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/999738/ft1_filtered_4FGL_J0159.5+1046_daily_bin764.fits.....................! real 73.70 user 71.20 sys 2.28 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/999738/ft1_filtered_4FGL_J0159.5+1046_daily_bin764.fits', '/scratch/kocevski/999738/ft2_4FGL_J0159.5+1046_daily_bin764.fits', expMap='/scratch/kocevski/999738/expmap_437356801_437616001_4FGL_J0159.5+1046_daily_bin764.fits', expCube='/scratch/kocevski/999738/ltcube_437356801_437616001_4FGL_J0159.5+1046_daily_bin764.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/999738/Model_4FGL_J0159.5+1046_daily_bin764.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0159.5+1046' 4FGL J0159.5+1046 Spectrum: PowerLaw 219 Prefactor: 2.134e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 220 Index: 1.995e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 221 Scale: 2.167e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/999738/ft1_filtered_4FGL_J0159.5+1046_daily_bin764.fits Spacecraft file(s): /scratch/kocevski/999738/ft2_4FGL_J0159.5+1046_daily_bin764.fits Exposure map: /scratch/kocevski/999738/expmap_437356801_437616001_4FGL_J0159.5+1046_daily_bin764.fits Exposure cube: /scratch/kocevski/999738/ltcube_437356801_437616001_4FGL_J0159.5+1046_daily_bin764.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/999738/Model_4FGL_J0159.5+1046_daily_bin764.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) = 5818.96059275 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5818.94977451 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 19.919 1.0000 .10000E-03 10000. 2 'Prefactor ' .57398 1.0000 .10000E-03 10000. 3 'Prefactor ' 13.907 1.0000 .10000E-03 10000. 4 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 5 'norm ' .10082E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10033E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 5.8296 1.0000 .10000E-03 10000. 8 'norm ' 9.0334 1.0000 .10000E-03 10000. 9 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 10 'norm ' 1.4669 1.0000 .10000E-03 10000. 11 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 78.614 1.0000 .10000E-03 10000. 13 'Prefactor ' .61432E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 54.754 1.0000 .10000E-03 10000. 15 'Prefactor ' .10030E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 2.6934 1.0000 .10000E-03 10000. 17 'Prefactor ' .10066E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10022E-03 1.0000 .10000E-03 10000. 19 'norm ' .36284 1.0000 .10000E-03 10000. 20 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 30.623 1.0000 .10000E-03 10000. 22 'norm ' 7.0905 1.0000 .10000E-03 10000. 23 'Prefactor ' .10018E-03 1.0000 .10000E-03 10000. 24 'Normalizat' 1.1243 1.0000 .10000E-01 10.000 25 'Prefactor ' .90534 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5380E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 5818.950 FROM MIGRAD STATUS=CONVERGED 601 CALLS 2969 TOTAL EDM= .31E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 19.919 14.861 -.33962E-05 .43310E-05 2 Prefactor .16400 59.992 -.34365E-05 .20216E-04 3 Prefactor 13.904 16.659 -.62469E-05 -.84328E-05 4 Prefactor .10000E-03 1.8033 -.35037E-07** at limit ** 5 norm .10000E-03 15.546 .54184E-05** at limit ** 6 Prefactor .10000E-03 3.3546 -.68802E-07** at limit ** 7 Prefactor 5.8285 4.3694 -.59818E-06 -.30719E-03 8 norm 9.0312 6.0937 .18619E-05 -.32392E-04 9 Prefactor .10000E-03 1.4646 .18268E-07** at limit ** 10 norm 1.4668 .92457 -.38109E-07 .16385E-04 11 Prefactor .10000E-03 24.272 -.21554E-05** at limit ** 12 Prefactor 78.582 52.153 .28036E-05 .31486E-04 13 Prefactor .10001E-03 6.6684 .15968E-06** at limit ** 14 Prefactor 54.738 67.314 -.10611E-04 .13744E-04 15 Prefactor .10000E-03 9.0986 .67936E-09** at limit ** 16 Prefactor 2.6958 18.434 -.80969E-05 -.59358E-04 17 Prefactor .10000E-03 6.6455 .31298E-06** at limit ** 18 Prefactor .10000E-03 6.1473 .75180E-08** at limit ** 19 norm .36341 .54263 -.26088E-06 -.19766E-02 20 Prefactor .10000E-03 16.314 -.80050E-05** at limit ** 21 Prefactor 30.616 28.420 -.11721E-04 .41150E-04 22 norm 7.0916 12.688 -.27129E-05 -.44241E-04 23 Prefactor .10000E-03 19.310 .41520E-05** at limit ** 24 Normalizat 1.1246 .21670 .31153E-05 .57079E-04 25 Prefactor .90525 .12960 .97241E-06 .13483E-03 ERR DEF= .500 Final values: Prefactor = 19.9188 Prefactor = 0.163997 Prefactor = 13.9043 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 5.82855 norm = 9.03121 Prefactor = 0.0001 norm = 1.46679 Prefactor = 0.0001 Prefactor = 78.5824 Prefactor = 0.00010001 Prefactor = 54.7379 Prefactor = 0.0001 Prefactor = 2.69582 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.363415 Prefactor = 0.0001 Prefactor = 30.6157 norm = 7.09159 Prefactor = 0.0001 Normalizat = 1.12458 Prefactor = 0.905246 ********** ** 18 **HESSE ********** FCN= 5818.950 FROM HESSE STATUS=OK 435 CALLS 3404 TOTAL EDM= .86E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 19.919 14.865 .89742E-04 -1.4815 2 Prefactor .16400 60.880 .16709 -1.5627 3 Prefactor 13.904 16.682 .10740E-03 -1.4962 4 Prefactor .10000E-03 1.8095 .10003E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .10000E-03 15.731 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 3.3735 .13643E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 5.8285 4.3772 .12808E-03 -1.5225 8 norm 9.0312 6.0819 .13335E-03 -1.5107 9 Prefactor .10000E-03 1.4811 .90014E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.4668 .92166 .55749E-04 -1.5466 11 Prefactor .10000E-03 24.331 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 78.582 52.047 .45293E-04 -1.3933 13 Prefactor .10001E-03 27.271 .37552E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 54.738 67.186 .54208E-04 -1.4227 15 Prefactor .10000E-03 9.1910 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 2.6958 18.481 .24825E-03 -1.5380 17 Prefactor .10000E-03 6.6784 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 6.1644 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .36341 .51270 .65481E-03 -1.5587 20 Prefactor .10000E-03 16.303 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 30.616 28.300 .72404E-04 -1.4601 22 norm 7.0916 12.710 .15065E-03 -1.5175 23 Prefactor .10000E-03 19.334 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.1246 .24817 .30073E-03 -.88966 25 Prefactor .90525 .14816 .20066E-03 -.95958 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.61921e-10 Minuit parameter uncertainties: 1 14.8673 2 6.32407 3 16.688 4 4.39887e-06 5 7.67869e-05 6 1.4624e-05 7 4.37744 8 6.08231 9 6.79545e-07 10 0.921673 11 0.000171278 12 52.0776 13 0.00104525 14 67.2793 15 6.69229e-06 16 14.1229 17 6.24217e-05 18 3.62772e-06 19 0.512708 20 7.2084e-06 21 28.3126 22 12.7144 23 2.03112e-05 24 0.248427 25 0.148227 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5818.94973675 Extracting fit parameters... 4FGL J0159.5+1046 Spectrum: PowerLaw 219 Prefactor: 1.000e-04 1.462e-05 1.000e-04 1.000e+04 ( 1.000e-13) 220 Index: 1.995e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 221 Scale: 2.167e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 535 Prefactor: 9.052e-01 1.482e-01 0.000e+00 1.000e+01 ( 1.000e+00) 536 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 537 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 534 Normalization: 1.125e+00 2.484e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 29.886 10.774 Photon Flux Upper Limit: 6.51e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.88e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/999738/likelihoodResults_437356801_437616001_4FGL_J0159.5+1046_daily_bin764.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) = 5818.95114697 delta logL = -0.00141022264688 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5818.94973651 delta logL = 2.41087946051e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10106E-03 1.0000 .10000E-03 10000. 2 'Index ' 1.9681 1.0000 .0000 10.000 3 'Normalizat' 1.1246 1.0000 .10000E-01 10.000 4 'Prefactor ' .90525 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5380E+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= 5818.950 FROM MIGRAD STATUS=FAILED 87 CALLS 239 TOTAL EDM= .41E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10179E-03 39.451 .14025E-02** at limit ** 2 Index 1.9008 8.9602 .50000 .50530E-04 3 Normalizat 1.1246 .18690E-01 .30073E-03 -.16021E-03 4 Prefactor .90525 .11387E-01 .20066E-03 .14221E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 5818.950 FROM SIMPLEX STATUS=UNCHANGED 129 CALLS 368 TOTAL EDM= .96E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10179E-03 39.451 .31218E-03** at limit ** 2 Index 1.9008 8.9602 .51518E-03 .50530E-04 3 Normalizat 1.1246 .18690E-01 .21435E-05 -.16021E-03 4 Prefactor .90525 .11387E-01 .75436E-06 .14221E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 5818.950 FROM MIGRAD STATUS=CONVERGED 46 CALLS 414 TOTAL EDM= .28E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 49.670 .28049E-02** at limit ** 2 Index 1.5057 5.8363 .50000 -.41109E-07 3 Normalizat 1.1246 .18966E-01 .12029E-04 .14103E-02 4 Prefactor .90525 .11555E-01 .80265E-05 .19325E-02 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 1.50575 Normalizat = 1.12459 Prefactor = 0.905247 ********** ** 18 **HESSE ********** FCN= 5818.950 FROM HESSE STATUS=NOT POSDEF 29 CALLS 443 TOTAL EDM= .13E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 234.13 .56098E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.5057 5.0172 .50000 -.77379 3 Normalizat 1.1246 .43339E-01 .24059E-05 -.88966 4 Prefactor .90525 .26407E-01 .16053E-05 -.95958 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.30186e-09 Minuit parameter uncertainties: 1 0.000307332 2 651.619 3 0.0433404 4 0.0264071 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/999738': 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) = 5818.94973294 delta logL = 3.80719666282e-06 Extracting fit parameters... 4FGL J0159.5+1046 Spectrum: PowerLaw 219 Prefactor: 1.000e-04 3.073e-04 1.000e-04 1.000e+04 ( 1.000e-13) 220 Index: 1.506e+00 6.516e+02 0.000e+00 1.000e+01 (-1.000e+00) 221 Scale: 2.167e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 535 Prefactor: 9.052e-01 2.641e-02 0.000e+00 1.000e+01 ( 1.000e+00) 536 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 537 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 534 Normalization: 1.125e+00 4.334e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 29.886 10.774 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/999738/cmap_HighResolution_437356801_437616001_4FGL_J0159.5+1046_daily_bin764.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/999738 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.88e-03', job_status='DONE', photon_flux_upper_limit='6.51e-08', time_completed='2021-08-15 00:55:20.797116', job_id='999738', GAL2='0.91', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1629014120.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.81e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='764' AND source_name='4FGL J0159.5+1046' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Aug 15 00:55:20 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 999738: <4FGL_J0159.5+1046_daily_bin764> in cluster Done Job <4FGL_J0159.5+1046_daily_bin764> was submitted from host by user in cluster at Sun Aug 15 00:40:19 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Aug 15 00:40:21 2021 was used as the home directory. was used as the working directory. Started at Sun Aug 15 00:40:21 2021 Terminated at Sun Aug 15 00:55:21 2021 Results reported at Sun Aug 15 00:55:21 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0159.5+1046_daily_bin764 29.8858 10.7737 437356801 437616001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0159.5+1046 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 740.01 sec. Max Memory : 1257 MB Average Memory : 257.42 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 900 sec. Turnaround time : 902 sec. The output (if any) is above this job summary.