aklog: Couldn't determine realm of user:aklog: No credentials cache found while getting realm /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 101 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 = 7470 number of fields = 31 RA_SUN column already exists. File will not be modified.DDone. Performing analysis on: 4FGL_J0158.5-3932_daily_bin1680 RA = 29.646, Dec = -39.5358 tmin = 674784001, tmax = 675043201 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='580506', job_status='RUN', time_executed='2022-05-24 00:14:56.474308', time_epoch_executed='1653376496.47' WHERE source_name='4FGL J0158.5-3932' and cadence='daily' and bin_id='1680' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/580506 Creating custom pfile directory: /scratch/kocevski/580506/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=674784001.0 && nMetStart<675043201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=674784001.0 && nMetStart<675043201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/580506/ft1_4FGL_J0158.5-3932_daily_bin1680.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=674784001.0 && nMetStart<675043201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/580506/ft2_4FGL_J0158.5-3932_daily_bin1680.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/580506/ft1_4FGL_J0158.5-3932_daily_bin1680.fits outfile=/scratch/kocevski/580506/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin1680.fits ra=29.646 dec=-39.5358 rad=12.0 tmin=674784001.0 tmax=675043201.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.40 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/580506/ft2_4FGL_J0158.5-3932_daily_bin1680.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/580506/ft2_4FGL_J0158.5-3932_daily_bin1680.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/580506/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin1680.fits evtable="EVENTS" outfile="/scratch/kocevski/580506/ft1_filtered_4FGL_J0158.5-3932_daily_bin1680.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.54 user 0.33 sys 0.17 Number of photons that the gtmktime cut: 539 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/580506/ft1_filtered_4FGL_J0158.5-3932_daily_bin1680.fits" evtable="EVENTS" scfile=/scratch/kocevski/580506/ft2_4FGL_J0158.5-3932_daily_bin1680.fits sctable="SC_DATA" outfile=/scratch/kocevski/580506/ltcube_674784001_675043201_4FGL_J0158.5-3932_daily_bin1680.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/580506/ft2_4FGL_J0158.5-3932_daily_bin1680.fits .....................! real 15.62 user 15.20 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/580506/ft1_filtered_4FGL_J0158.5-3932_daily_bin1680.fits evtable="EVENTS" scfile=/scratch/kocevski/580506/ft2_4FGL_J0158.5-3932_daily_bin1680.fits sctable="SC_DATA" expcube=/scratch/kocevski/580506/ltcube_674784001_675043201_4FGL_J0158.5-3932_daily_bin1680.fits outfile=/scratch/kocevski/580506/expmap_674784001_675043201_4FGL_J0158.5-3932_daily_bin1680.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/580506/ltcube_674784001_675043201_4FGL_J0158.5-3932_daily_bin1680.fits .....................! real 192.01 user 186.27 sys 5.15 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 174 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 J0158.5-3932 @ 29.646 -39.5358 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/580506/ft1_filtered_4FGL_J0158.5-3932_daily_bin1680.fits scfile=/scratch/kocevski/580506/ft2_4FGL_J0158.5-3932_daily_bin1680.fits outfile=/scratch/kocevski/580506/cmap_674784001_675043201_4FGL_J0158.5-3932_daily_bin1680.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.646 yref=-39.5358 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.38 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/580506/ft1_filtered_4FGL_J0158.5-3932_daily_bin1680.fits scfile=/scratch/kocevski/580506/ft2_4FGL_J0158.5-3932_daily_bin1680.fits outfile=/scratch/kocevski/580506/cmap_HighResolution_674784001_675043201_4FGL_J0158.5-3932_daily_bin1680.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.646 yref=-39.5358 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.39 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/580506/ft1_filtered_4FGL_J0158.5-3932_daily_bin1680.fits evtable="EVENTS" scfile=/scratch/kocevski/580506/ft2_4FGL_J0158.5-3932_daily_bin1680.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/580506/Model_4FGL_J0158.5-3932_daily_bin1680.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/580506/ft1_filtered_4FGL_J0158.5-3932_daily_bin1680.fits.....................! real 113.45 user 111.08 sys 1.39 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/580506/ft1_filtered_4FGL_J0158.5-3932_daily_bin1680.fits', '/scratch/kocevski/580506/ft2_4FGL_J0158.5-3932_daily_bin1680.fits', expMap='/scratch/kocevski/580506/expmap_674784001_675043201_4FGL_J0158.5-3932_daily_bin1680.fits', expCube='/scratch/kocevski/580506/ltcube_674784001_675043201_4FGL_J0158.5-3932_daily_bin1680.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/580506/Model_4FGL_J0158.5-3932_daily_bin1680.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0158.5-3932' 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 4.060e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 279 Index: 2.091e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 280 Scale: 1.384e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/580506/ft1_filtered_4FGL_J0158.5-3932_daily_bin1680.fits Spacecraft file(s): /scratch/kocevski/580506/ft2_4FGL_J0158.5-3932_daily_bin1680.fits Exposure map: /scratch/kocevski/580506/expmap_674784001_675043201_4FGL_J0158.5-3932_daily_bin1680.fits Exposure cube: /scratch/kocevski/580506/ltcube_674784001_675043201_4FGL_J0158.5-3932_daily_bin1680.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/580506/Model_4FGL_J0158.5-3932_daily_bin1680.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) = 5888.24860336 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5888.07546613 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10056E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10021E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 32.896 1.0000 .10000E-03 10000. 4 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10046E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 7 'norm ' .10104E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 12.227 1.0000 .10000E-03 10000. 10 'norm ' 4.2840 1.0000 .10000E-03 10000. 11 'Prefactor ' 10.971 1.0000 .10000E-03 10000. 12 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10253E-03 1.0000 .10000E-03 10000. 14 'norm ' 4.1845 1.0000 .10000E-03 10000. 15 'Prefactor ' 15.427 1.0000 .10000E-03 10000. 16 'Prefactor ' 16.512 1.0000 .10000E-03 10000. 17 'Prefactor ' 17.404 1.0000 .10000E-03 10000. 18 'Prefactor ' 4.4963 1.0000 .10000E-03 10000. 19 'norm ' .10000E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .21610E-01 1.0000 .10000E-03 10000. 21 'Normalizat' .95152 1.0000 .10000E-01 10.000 22 'Prefactor ' .70705 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5510E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 5888.075 FROM MIGRAD STATUS=CONVERGED 464 CALLS 2409 TOTAL EDM= .25E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 12.879 .24526E-06** at limit ** 2 Prefactor .10000E-03 1.2490 .16262E-06** at limit ** 3 Prefactor 32.898 19.881 .36637E-06 -.86036E-05 4 Prefactor .10000E-03 4.7299 .62104E-07** at limit ** 5 Prefactor .10000E-03 1.9979 .29339E-06** at limit ** 6 Prefactor .10000E-03 3.0876 .13865E-06** at limit ** 7 norm .10000E-03 1.0437 .31788E-07** at limit ** 8 Prefactor .10000E-03 4.0178 .12096E-06** at limit ** 9 Prefactor 12.231 16.426 .48513E-06 -.93081E-05 10 norm 4.2841 1.6011 .37088E-07 -.47895E-04 11 Prefactor 10.971 9.0603 .16671E-06 -.10930E-04 12 Prefactor .10000E-03 4.3892 .23700E-07** at limit ** 13 Prefactor .10000E-03 47.651 .41129E-06** at limit ** 14 norm 4.1850 2.5859 -.83764E-07 .34571E-04 15 Prefactor 15.430 10.466 .25506E-06 -.31368E-04 16 Prefactor 16.507 15.487 -.96895E-06 .97268E-05 17 Prefactor 17.378 45.880 -.38189E-05 -.94382E-05 18 Prefactor 4.4962 3.4344 .38254E-07 .19489E-05 19 norm .10000E-03 .31538 .50645E-07** at limit ** 20 Prefactor .10004E-03 8055.3 -.13555E-03** at limit ** 21 Normalizat .95139 .13593 -.12433E-05 -.82503E-04 22 Prefactor .70706 .15283 -.10341E-05 -.89038E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 32.8977 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 12.2305 norm = 4.28407 Prefactor = 10.9714 Prefactor = 0.0001 Prefactor = 0.0001 norm = 4.18499 Prefactor = 15.4295 Prefactor = 16.5072 Prefactor = 17.3783 Prefactor = 4.49619 norm = 0.0001 Prefactor = 0.000100037 Normalizat = 0.951388 Prefactor = 0.707059 ********** ** 18 **HESSE ********** FCN= 5888.075 FROM HESSE STATUS=OK 346 CALLS 2755 TOTAL EDM= .50E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 13.085 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 1.2783 .83810E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 32.898 19.897 .69864E-04 -1.4560 4 Prefactor .10000E-03 4.7328 .16300E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 2.0887 .21215E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 3.1498 .13169E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .10000E-03 1.0446 .76493E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 4.0317 .15025E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 12.231 16.433 .11456E-03 -1.5008 10 norm 4.2841 1.6008 .57566E-04 -1.5294 11 Prefactor 10.971 9.0631 .12096E-03 -1.5045 12 Prefactor .10000E-03 4.3916 .15702E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 48.018 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 4.1850 2.5819 .89754E-04 -1.5299 15 Prefactor 15.430 10.431 .10197E-03 -1.4922 16 Prefactor 16.507 15.471 .98565E-04 -1.4895 17 Prefactor 17.378 45.729 .96005E-04 -1.4874 18 Prefactor 4.4962 3.4352 .12091E-03 -1.5284 19 norm .10000E-03 .46945 .83761E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10004E-03 8008.6 .36522E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Normalizat .95139 .15923 .19515E-03 -.94677 22 Prefactor .70706 .17878 .25485E-03 -1.0325 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.02536e-11 Minuit parameter uncertainties: 1 2.83867e-05 2 5.96589e-06 3 19.9013 4 3.30896e-06 5 1.39429e-05 6 7.66938e-06 7 8.02803e-07 8 8.52837e-06 9 16.4389 10 1.60079 11 9.06425 12 5.81149e-06 13 9.96893e-05 14 2.58195 15 10.4319 16 15.4752 17 45.8209 18 3.43531 19 3.10263e-06 20 0.0343806 21 0.159304 22 0.17893 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5888.07546238 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 1.000e-04 8.528e-06 1.000e-04 1.000e+04 ( 1.000e-13) 279 Index: 2.091e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 280 Scale: 1.384e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 548 Prefactor: 7.071e-01 1.789e-01 0.000e+00 1.000e+01 ( 1.000e+00) 549 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 550 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 544 Normalization: 9.514e-01 1.593e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 29.646 -39.536 Photon Flux Upper Limit: 4.01e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.03e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/580506/likelihoodResults_674784001_675043201_4FGL_J0158.5-3932_daily_bin1680.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) = 5888.07664341 delta logL = -0.00118102262149 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5888.07546237 delta logL = 1.31603883347e-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.0856 1.0000 .0000 10.000 3 'Normalizat' .95139 1.0000 .10000E-01 10.000 4 'Prefactor ' .70706 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5510E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 5888.075 FROM MIGRAD STATUS=CONVERGED 50 CALLS 204 TOTAL EDM= .33E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 141.39 .90712E-02** at limit ** 2 Index 2.0805 5.7633 .50000 .99775E-05 3 Normalizat .95139 .13265 .45555E-01 .39382E-05 4 Prefactor .70706 .15194 .42495E-01 .20587E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.08051 Normalizat = 0.951388 Prefactor = 0.70706 ********** ** 18 **HESSE ********** FCN= 5888.075 FROM HESSE STATUS=NOT POSDEF 33 CALLS 237 TOTAL EDM= .15E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 568.60 .15042E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.0805 6.3477 .50000 -.62352 3 Normalizat .95139 .51431E-01 .19515E-03 -.94677 4 Prefactor .70706 .58959E-01 .25485E-03 -1.0325 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.51484e-08 Minuit parameter uncertainties: 1 2.81022e-05 2 48.6596 3 0.0514333 4 0.0589637 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/580506': 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) = 5888.07546236 delta logL = 2.59396983893e-08 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 1.000e-04 2.810e-05 1.000e-04 1.000e+04 ( 1.000e-13) 279 Index: 2.081e+00 4.866e+01 0.000e+00 1.000e+01 (-1.000e+00) 280 Scale: 1.384e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 548 Prefactor: 7.071e-01 5.896e-02 0.000e+00 1.000e+01 ( 1.000e+00) 549 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 550 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 544 Normalization: 9.514e-01 5.143e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 29.646 -39.536 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/580506/cmap_HighResolution_674784001_675043201_4FGL_J0158.5-3932_daily_bin1680.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/580506 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.03e-03', job_status='DONE', photon_flux_upper_limit='4.01e-08', time_completed='2022-05-24 00:26:29.640370', job_id='580506', GAL2='0.71', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1653377189.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.59e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1680' AND source_name='4FGL J0158.5-3932' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue May 24 00:26:29 PDT 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 580414: <4FGL_J0158.5-3932_daily_bin1680> in cluster Done Job <4FGL_J0158.5-3932_daily_bin1680> was submitted from host by user in cluster at Tue May 24 00:05:13 2022 Job was executed on host(s) , in queue , as user in cluster at Tue May 24 00:11:02 2022 was used as the home directory. was used as the working directory. Started at Tue May 24 00:11:02 2022 Terminated at Tue May 24 00:23:46 2022 Results reported at Tue May 24 00:23:46 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0158.5-3932_daily_bin1680 29.646 -39.5358 674784001 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0158.5-3932 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 694.37 sec. Max Memory : 1294 MB Average Memory : 403.48 MB Total Requested Memory : - Delta Memory : - Max Swap : 3407 MB Max Processes : 6 Max Threads : 21 Run time : 764 sec. Turnaround time : 1113 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 580506: <4FGL_J0158.5-3932_daily_bin1680> in cluster Done Job <4FGL_J0158.5-3932_daily_bin1680> was submitted from host by user in cluster at Tue May 24 00:05:19 2022 Job was executed on host(s) , in queue , as user in cluster at Tue May 24 00:12:55 2022 was used as the home directory. was used as the working directory. Started at Tue May 24 00:12:55 2022 Terminated at Tue May 24 00:26:30 2022 Results reported at Tue May 24 00:26:30 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0158.5-3932_daily_bin1680 29.646 -39.5358 674784001 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0158.5-3932 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 694.01 sec. Max Memory : 1162 MB Average Memory : 325.31 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 814 sec. Turnaround time : 1271 sec. The output (if any) is above this job summary.