/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 236 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 = 7733 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0158.5-3932_daily_bin688 RA = 29.646, Dec = -39.5358 tmin = 417657601, tmax = 417916801 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='969494', job_status='RUN', time_executed='2021-08-14 23:21:04.100338', time_epoch_executed='1629008464.1' WHERE source_name='4FGL J0158.5-3932' and cadence='daily' and bin_id='688' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/969494 Creating custom pfile directory: /scratch/kocevski/969494/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=417657601.0 && nMetStart<417916801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=417657601.0 && nMetStart<417916801.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/969494/ft1_4FGL_J0158.5-3932_daily_bin688.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=417657601.0 && nMetStart<417916801.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Merged file saved to: /scratch/kocevski/969494/ft2_4FGL_J0158.5-3932_daily_bin688.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/969494/ft1_4FGL_J0158.5-3932_daily_bin688.fits outfile=/scratch/kocevski/969494/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin688.fits ra=29.646 dec=-39.5358 rad=12.0 tmin=417657601.0 tmax=417916801.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.25 user 4.68 sys 1.52 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/969494/ft2_4FGL_J0158.5-3932_daily_bin688.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/969494/ft2_4FGL_J0158.5-3932_daily_bin688.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/969494/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin688.fits evtable="EVENTS" outfile="/scratch/kocevski/969494/ft1_filtered_4FGL_J0158.5-3932_daily_bin688.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.76 user 0.31 sys 1.42 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/969494/ft1_filtered_4FGL_J0158.5-3932_daily_bin688.fits" evtable="EVENTS" scfile=/scratch/kocevski/969494/ft2_4FGL_J0158.5-3932_daily_bin688.fits sctable="SC_DATA" outfile=/scratch/kocevski/969494/ltcube_417657601_417916801_4FGL_J0158.5-3932_daily_bin688.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/969494/ft2_4FGL_J0158.5-3932_daily_bin688.fits .....................! real 13.83 user 12.13 sys 1.66 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/969494/ft1_filtered_4FGL_J0158.5-3932_daily_bin688.fits evtable="EVENTS" scfile=/scratch/kocevski/969494/ft2_4FGL_J0158.5-3932_daily_bin688.fits sctable="SC_DATA" expcube=/scratch/kocevski/969494/ltcube_417657601_417916801_4FGL_J0158.5-3932_daily_bin688.fits outfile=/scratch/kocevski/969494/expmap_417657601_417916801_4FGL_J0158.5-3932_daily_bin688.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/969494/ltcube_417657601_417916801_4FGL_J0158.5-3932_daily_bin688.fits .....................! real 157.97 user 152.03 sys 5.59 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/969494/ft1_filtered_4FGL_J0158.5-3932_daily_bin688.fits scfile=/scratch/kocevski/969494/ft2_4FGL_J0158.5-3932_daily_bin688.fits outfile=/scratch/kocevski/969494/cmap_417657601_417916801_4FGL_J0158.5-3932_daily_bin688.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 1.63 user 0.34 sys 1.27 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/969494/ft1_filtered_4FGL_J0158.5-3932_daily_bin688.fits scfile=/scratch/kocevski/969494/ft2_4FGL_J0158.5-3932_daily_bin688.fits outfile=/scratch/kocevski/969494/cmap_HighResolution_417657601_417916801_4FGL_J0158.5-3932_daily_bin688.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 1.78 user 0.34 sys 1.42 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/969494/ft1_filtered_4FGL_J0158.5-3932_daily_bin688.fits evtable="EVENTS" scfile=/scratch/kocevski/969494/ft2_4FGL_J0158.5-3932_daily_bin688.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/969494/Model_4FGL_J0158.5-3932_daily_bin688.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/969494/ft1_filtered_4FGL_J0158.5-3932_daily_bin688.fits......................! real 33.48 user 30.53 sys 2.64 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/969494/ft1_filtered_4FGL_J0158.5-3932_daily_bin688.fits', '/scratch/kocevski/969494/ft2_4FGL_J0158.5-3932_daily_bin688.fits', expMap='/scratch/kocevski/969494/expmap_417657601_417916801_4FGL_J0158.5-3932_daily_bin688.fits', expCube='/scratch/kocevski/969494/ltcube_417657601_417916801_4FGL_J0158.5-3932_daily_bin688.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/969494/Model_4FGL_J0158.5-3932_daily_bin688.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/969494/ft1_filtered_4FGL_J0158.5-3932_daily_bin688.fits Spacecraft file(s): /scratch/kocevski/969494/ft2_4FGL_J0158.5-3932_daily_bin688.fits Exposure map: /scratch/kocevski/969494/expmap_417657601_417916801_4FGL_J0158.5-3932_daily_bin688.fits Exposure cube: /scratch/kocevski/969494/ltcube_417657601_417916801_4FGL_J0158.5-3932_daily_bin688.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/969494/Model_4FGL_J0158.5-3932_daily_bin688.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) = 1492.50909234 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 1492.47367036 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14611E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 70.468 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.3408 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' 2.8103 1.0000 .10000E-03 10000. 8 'Prefactor ' 12.981 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'norm ' .10001E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 22.756 1.0000 .10000E-03 10000. 12 'Prefactor ' .57311E-01 1.0000 .10000E-03 10000. 13 'Prefactor ' .10022E-03 1.0000 .10000E-03 10000. 14 'norm ' .10001E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 27.610 1.0000 .10000E-03 10000. 16 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .10078E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'norm ' 4.0321 1.0000 .10000E-03 10000. 20 'Prefactor ' .10222E-03 1.0000 .10000E-03 10000. 21 'Normalizat' .72958 1.0000 .10000E-01 10.000 22 'Prefactor ' .71682 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 1492.474 FROM MIGRAD STATUS=CONVERGED 849 CALLS 2740 TOTAL EDM= .11E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 124.29 .18142E-02** at limit ** 2 Prefactor .10000E-03 3.9198 .74522E-03** at limit ** 3 Prefactor .10000E-03 36.289 .18142E-02** at limit ** 4 Prefactor 70.443 61.937 .47820E-04 .54680E-04 5 Prefactor 1.3475 15.590 .26749E-03 -.22101E-05 6 Prefactor .10000E-03 6.9319 .99218E-03** at limit ** 7 norm 2.8102 5.3798 .12079E-03 .25647E-05 8 Prefactor 12.973 31.535 .11118E-03 .25948E-04 9 Prefactor .10000E-03 15.193 .14709E-02** at limit ** 10 norm .10000E-03 1.1721 .40693E-03** at limit ** 11 Prefactor 22.758 23.541 .83968E-04 .56154E-04 12 Prefactor .10000E-03 663.66 .57079E-02** at limit ** 13 Prefactor .10000E-03 45.356 .18142E-02** at limit ** 14 norm .10000E-03 1.1565 .40551E-03** at limit ** 15 Prefactor 27.612 25.921 .76243E-04 .14426E-04 16 Prefactor .10000E-03 15.935 .15057E-02** at limit ** 17 Prefactor .10000E-03 30.723 .18142E-02** at limit ** 18 Prefactor .10000E-03 2.5054 .59722E-03** at limit ** 19 norm 4.0320 2.6920 .46107E-04 -.23424E-05 20 Prefactor .10000E-03 113.11 .18142E-02** at limit ** 21 Normalizat .72933 .32334 .20944E-03 .95593E-04 22 Prefactor .71702 .33859 .23204E-03 .18532E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 70.4432 Prefactor = 1.3475 Prefactor = 0.0001 norm = 2.81015 Prefactor = 12.9733 Prefactor = 0.0001 norm = 0.0001 Prefactor = 22.758 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 27.6118 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 4.03201 Prefactor = 0.0001 Normalizat = 0.729333 Prefactor = 0.717016 ********** ** 18 **HESSE ********** FCN= 1492.474 FROM HESSE STATUS=OK 322 CALLS 3062 TOTAL EDM= .11E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 124.32 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 3.9200 .14904E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 36.291 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 70.443 61.912 .95640E-05 -1.4027 5 Prefactor 1.3475 15.562 .10699E-04 -1.5476 6 Prefactor .10000E-03 6.9321 .19844E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 2.8102 5.3798 .48317E-05 -1.5373 8 Prefactor 12.973 31.532 .44471E-05 -1.4987 9 Prefactor .10000E-03 15.193 .29418E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .10000E-03 1.1721 .81387E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 22.758 23.100 .33587E-05 -1.4753 12 Prefactor .10000E-03 666.05 .22832E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 45.356 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .10000E-03 1.1565 .81102E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 27.612 25.921 .30497E-05 -1.4657 16 Prefactor .10000E-03 15.935 .30114E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 30.723 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 2.5054 .11944E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 4.0320 2.6921 .18443E-05 -1.5306 20 Prefactor .10000E-03 113.11 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Normalizat .72933 .32362 .41888E-04 -1.0275 22 Prefactor .71702 .33894 .92817E-05 -1.0286 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.12816e-10 Minuit parameter uncertainties: 1 0.000318746 2 5.81838e-06 3 4.41442e-05 4 61.9685 5 9.16117 6 1.77741e-06 7 5.3807 8 31.5727 9 1.61456e-07 10 9.9201e-08 11 23.1086 12 2.24371e-05 13 2.9338e-05 14 1.95214e-07 15 25.9319 16 4.30029e-07 17 1.17759e-05 18 3.99788e-07 19 2.69218 20 0.00023288 21 0.324469 22 0.339918 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 1492.47362608 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 1.297e+01 3.157e+01 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.170e-01 3.399e-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: 7.293e-01 3.245e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.20 Ra Dec: 29.646 -39.536 Photon Flux Upper Limit: 1.88e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.42e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/969494/likelihoodResults_417657601_417916801_4FGL_J0158.5-3932_daily_bin688.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): 0 logL (Free Index) = 1491.94476057 delta logL = 0.52886550811 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 1491.93397464 delta logL = 0.539651441858 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.6348 1.0000 .10000E-03 10000. 2 'Index ' 3.2159 1.0000 .0000 10.000 3 'Normalizat' .64974 1.0000 .10000E-01 10.000 4 'Prefactor ' .76750 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 1491.934 FROM MIGRAD STATUS=CONVERGED 78 CALLS 271 TOTAL EDM= .17E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.6356 26.720 .77277E-04 .40880E-03 2 Index 3.2155 2.1172 .31785E-02 .84677E-04 3 Normalizat .65069 .31534 .21994E-03 .20253E-03 4 Prefactor .76676 .34304 .22458E-03 .18879E-03 ERR DEF= .500 Final values: Prefactor = 4.63562 Index = 3.2155 Normalizat = 0.650693 Prefactor = 0.766764 ********** ** 18 **HESSE ********** FCN= 1491.934 FROM HESSE STATUS=OK 25 CALLS 296 TOTAL EDM= .17E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.6356 13.219 .30911E-05 -1.5277 2 Index 3.2155 1.2868 .12714E-03 -.36495 3 Normalizat .65069 .31468 .43988E-04 -1.0587 4 Prefactor .76676 .34051 .44917E-04 -1.0097 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.70999e-10 Minuit parameter uncertainties: 1 13.2277 2 1.30371 3 0.315556 4 0.341447 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/969494': 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) = 1491.93396946 delta logL = 0.539656614396 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 4.636e+00 1.323e+01 1.000e-04 1.000e+04 ( 1.000e-13) 279 Index: 3.216e+00 1.304e+00 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.668e-01 3.414e-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: 6.507e-01 3.156e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.34 Ra Dec: 29.646 -39.536 Photon Index (Free Index): 3.22 +/- 1.30 Photon Flux (Free Index): 9.79e-08 +/- 1.00e-07 Energy Flux (Free Index): 1.78e-05 +/- 1.88e-05 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/969494/cmap_HighResolution_417657601_417916801_4FGL_J0158.5-3932_daily_bin688.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/969494 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.42e-02', comment='SUCCESS', energy_flux2='1.78e-05', dlogl='5.40e-01', photon_flux2='9.79e-08', job_status='DONE', time_completed='2021-08-14 23:27:22.878036', photon_index_error2='1.30', photon_index2='3.22', ts='0.20', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='1.88e-07', energy_flux_error2='1.88e-05', EG='0.73', time_epoch_completed='1629008842.88', return_code='0', job_id='969494', GAL2='0.77', EG2='0.65', return_code2='0', photon_flux_error2='1.00e-07', ts2='1.34', photon_index='2.09' WHERE bin_id='688' AND source_name='4FGL J0158.5-3932' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 14 23:27:22 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 969494: <4FGL_J0158.5-3932_daily_bin688> in cluster Done Job <4FGL_J0158.5-3932_daily_bin688> was submitted from host by user in cluster at Sat Aug 14 23:15:28 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Aug 14 23:16:32 2021 was used as the home directory. was used as the working directory. Started at Sat Aug 14 23:16:32 2021 Terminated at Sat Aug 14 23:27:23 2021 Results reported at Sat Aug 14 23:27:23 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0158.5-3932_daily_bin688 29.646 -39.5358 417657601 417916801 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 : 395.08 sec. Max Memory : 1255 MB Average Memory : 227.86 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 651 sec. Turnaround time : 715 sec. The output (if any) is above this job summary.