/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 28 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 = 7271 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0158.5-3932_daily_bin327 RA = 29.646, Dec = -39.5358 tmin = 324086401, tmax = 324345601 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='967671', job_status='RUN', time_executed='2021-08-14 23:11:21.149595', time_epoch_executed='1629007881.15' WHERE source_name='4FGL J0158.5-3932' and cadence='daily' and bin_id='327' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/967671 Creating custom pfile directory: /scratch/kocevski/967671/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=324086401.0 && nMetStart<324345601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=324086401.0 && nMetStart<324345601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/967671/ft1_4FGL_J0158.5-3932_daily_bin327.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=324086401.0 && nMetStart<324345601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/967671/ft2_4FGL_J0158.5-3932_daily_bin327.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/967671/ft1_4FGL_J0158.5-3932_daily_bin327.fits outfile=/scratch/kocevski/967671/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin327.fits ra=29.646 dec=-39.5358 rad=12.0 tmin=324086401.0 tmax=324345601.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.65 user 3.33 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/967671/ft2_4FGL_J0158.5-3932_daily_bin327.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/967671/ft2_4FGL_J0158.5-3932_daily_bin327.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/967671/ft1_filteredMKT_4FGL_J0158.5-3932_daily_bin327.fits evtable="EVENTS" outfile="/scratch/kocevski/967671/ft1_filtered_4FGL_J0158.5-3932_daily_bin327.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.46 user 0.29 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/967671/ft1_filtered_4FGL_J0158.5-3932_daily_bin327.fits" evtable="EVENTS" scfile=/scratch/kocevski/967671/ft2_4FGL_J0158.5-3932_daily_bin327.fits sctable="SC_DATA" outfile=/scratch/kocevski/967671/ltcube_324086401_324345601_4FGL_J0158.5-3932_daily_bin327.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/967671/ft2_4FGL_J0158.5-3932_daily_bin327.fits .....................! real 12.30 user 11.82 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/967671/ft1_filtered_4FGL_J0158.5-3932_daily_bin327.fits evtable="EVENTS" scfile=/scratch/kocevski/967671/ft2_4FGL_J0158.5-3932_daily_bin327.fits sctable="SC_DATA" expcube=/scratch/kocevski/967671/ltcube_324086401_324345601_4FGL_J0158.5-3932_daily_bin327.fits outfile=/scratch/kocevski/967671/expmap_324086401_324345601_4FGL_J0158.5-3932_daily_bin327.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/967671/ltcube_324086401_324345601_4FGL_J0158.5-3932_daily_bin327.fits .....................! real 158.91 user 152.73 sys 4.29 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/967671/ft1_filtered_4FGL_J0158.5-3932_daily_bin327.fits scfile=/scratch/kocevski/967671/ft2_4FGL_J0158.5-3932_daily_bin327.fits outfile=/scratch/kocevski/967671/cmap_324086401_324345601_4FGL_J0158.5-3932_daily_bin327.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.49 user 0.33 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/967671/ft1_filtered_4FGL_J0158.5-3932_daily_bin327.fits scfile=/scratch/kocevski/967671/ft2_4FGL_J0158.5-3932_daily_bin327.fits outfile=/scratch/kocevski/967671/cmap_HighResolution_324086401_324345601_4FGL_J0158.5-3932_daily_bin327.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.50 user 0.33 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/967671/ft1_filtered_4FGL_J0158.5-3932_daily_bin327.fits evtable="EVENTS" scfile=/scratch/kocevski/967671/ft2_4FGL_J0158.5-3932_daily_bin327.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/967671/Model_4FGL_J0158.5-3932_daily_bin327.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/967671/ft1_filtered_4FGL_J0158.5-3932_daily_bin327.fits.....................! real 67.35 user 65.44 sys 1.09 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/967671/ft1_filtered_4FGL_J0158.5-3932_daily_bin327.fits', '/scratch/kocevski/967671/ft2_4FGL_J0158.5-3932_daily_bin327.fits', expMap='/scratch/kocevski/967671/expmap_324086401_324345601_4FGL_J0158.5-3932_daily_bin327.fits', expCube='/scratch/kocevski/967671/ltcube_324086401_324345601_4FGL_J0158.5-3932_daily_bin327.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/967671/Model_4FGL_J0158.5-3932_daily_bin327.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/967671/ft1_filtered_4FGL_J0158.5-3932_daily_bin327.fits Spacecraft file(s): /scratch/kocevski/967671/ft2_4FGL_J0158.5-3932_daily_bin327.fits Exposure map: /scratch/kocevski/967671/expmap_324086401_324345601_4FGL_J0158.5-3932_daily_bin327.fits Exposure cube: /scratch/kocevski/967671/ltcube_324086401_324345601_4FGL_J0158.5-3932_daily_bin327.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/967671/Model_4FGL_J0158.5-3932_daily_bin327.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) = 4017.46961895 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4017.45586432 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.349 1.0000 .10000E-03 10000. 2 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 9.2301 1.0000 .10000E-03 10000. 4 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.5716 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' .18310E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 61.182 1.0000 .10000E-03 10000. 10 'norm ' 1.8532 1.0000 .10000E-03 10000. 11 'Prefactor ' .11764E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10033E-03 1.0000 .10000E-03 10000. 14 'norm ' 2.8571 1.0000 .10000E-03 10000. 15 'Prefactor ' 26.363 1.0000 .10000E-03 10000. 16 'Prefactor ' 21.278 1.0000 .10000E-03 10000. 17 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 3.7706 1.0000 .10000E-03 10000. 19 'norm ' 1.2734 1.0000 .10000E-03 10000. 20 'Prefactor ' .13323E-03 1.0000 .10000E-03 10000. 21 'Normalizat' 1.1454 1.0000 .10000E-01 10.000 22 'Prefactor ' .53627 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= 4017.456 FROM MIGRAD STATUS=CONVERGED 496 CALLS 2422 TOTAL EDM= .19E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 6.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.350 23.230 .23998E-06 .19796E-05 2 Prefactor .10000E-03 2.7456 -.74435E-07** at limit ** 3 Prefactor 9.2325 16.333 .16856E-06 .13758E-04 4 Prefactor .10000E-03 13.265 .72617E-06** at limit ** 5 Prefactor 1.5712 4.4925 .25237E-05 .89563E-04 6 Prefactor .10000E-03 6.0734 -.17024E-06** at limit ** 7 norm .10001E-03 4.5450 -.11847E-05** at limit ** 8 Prefactor .10000E-03 3.8376 .26508E-07** at limit ** 9 Prefactor 61.189 36.840 .39729E-06 .33836E-03 10 norm 1.8531 1.3323 .13468E-07 .10494E-03 11 Prefactor .10000E-03 68.906 -.16379E-05** at limit ** 12 Prefactor .10000E-03 12.440 -.37375E-06** at limit ** 13 Prefactor .10000E-03 28.861 .28716E-06** at limit ** 14 norm 2.8573 2.3237 -.10100E-07 -.63332E-04 15 Prefactor 26.366 15.551 .26223E-06 .92680E-04 16 Prefactor 21.279 23.796 -.23160E-06 -.31015E-04 17 Prefactor .10000E-03 16.419 -.53221E-06** at limit ** 18 Prefactor 3.7706 3.7630 -.17880E-08 -.10017E-04 19 norm 1.2733 1.0968 .16987E-07 .81704E-04 20 Prefactor .10000E-03 1222.3 .68052E-04** at limit ** 21 Normalizat 1.1454 .18476 -.10038E-05 .15217E-03 22 Prefactor .53633 .19609 .92666E-06 .65933E-04 ERR DEF= .500 Final values: Prefactor = 10.3496 Prefactor = 0.0001 Prefactor = 9.23252 Prefactor = 0.0001 Prefactor = 1.57119 Prefactor = 0.0001 norm = 0.000100013 Prefactor = 0.0001 Prefactor = 61.1886 norm = 1.85307 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 2.85729 Prefactor = 26.366 Prefactor = 21.2787 Prefactor = 0.0001 Prefactor = 3.77063 norm = 1.2733 Prefactor = 0.000100004 Normalizat = 1.14535 Prefactor = 0.536332 ********** ** 18 **HESSE ********** FCN= 4017.456 FROM HESSE STATUS=OK 344 CALLS 2766 TOTAL EDM= .11E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.350 23.247 .12455E-03 -1.5064 2 Prefactor .10000E-03 2.8384 .20497E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 9.2325 16.338 .13192E-03 -1.5100 4 Prefactor .10000E-03 13.288 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 1.5712 4.5086 .10653E-02 -1.5457 6 Prefactor .10000E-03 6.1472 .15235E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .10001E-03 13.759 .23021E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 3.8416 .12126E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 61.189 33.616 .51298E-04 -1.4142 10 norm 1.8531 1.3356 .60249E-04 -1.5436 11 Prefactor .10000E-03 71.548 .36285E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 12.466 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 28.906 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 2.8573 2.3210 .83369E-04 -1.5370 15 Prefactor 26.366 15.506 .78021E-04 -1.4681 16 Prefactor 21.279 23.786 .86831E-04 -1.4785 17 Prefactor .10000E-03 16.423 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 3.7706 3.7665 .11975E-03 -1.5320 19 norm 1.2733 1.0861 .59167E-04 -1.5482 20 Prefactor .10000E-03 1220.6 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Normalizat 1.1454 .21272 .19123E-03 -.88309 22 Prefactor .53633 .22446 .29631E-03 -1.1034 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.09486e-09 Minuit parameter uncertainties: 1 23.2674 2 3.17431e-06 3 16.346 4 1.00734e-05 5 4.50959 6 6.93561e-06 7 0.000834383 8 4.28043e-07 9 33.6269 10 1.33558 11 5.94279e-05 12 3.88983e-06 13 3.44436e-06 14 2.32108 15 15.5085 16 23.7965 17 8.91959e-06 18 3.76671 19 1.08613 20 0.00446902 21 0.212877 22 0.224834 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4017.45586097 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 1.000e-04 4.280e-07 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: 5.363e-01 2.248e-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: 1.145e+00 2.129e-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.47e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.38e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/967671/likelihoodResults_324086401_324345601_4FGL_J0158.5-3932_daily_bin327.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) = 4017.45708188 delta logL = -0.00122090875129 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 4017.45586102 delta logL = -5.08257471665e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10096E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.0764 1.0000 .0000 10.000 3 'Normalizat' 1.1454 1.0000 .10000E-01 10.000 4 'Prefactor ' .53628 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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 4017.456 FROM MIGRAD STATUS=FAILED 87 CALLS 238 TOTAL EDM= .64E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10343E-03 7.8127 .12226E-01** at limit ** 2 Index 1.8629 9.0378 .50000 .15856E-04 3 Normalizat 1.1454 .59295E-02 .19123E-03 -.93932E-05 4 Prefactor .53633 .65154E-02 .29631E-03 -.35068E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 4017.456 FROM SIMPLEX STATUS=UNCHANGED 105 CALLS 343 TOTAL EDM= .73E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10343E-03 7.8127 .31526E-03** at limit ** 2 Index 1.8629 9.0378 .49874E-02 .15856E-04 3 Normalizat 1.1454 .59295E-02 .72925E-05 -.93932E-05 4 Prefactor .53633 .65154E-02 .55229E-05 -.35068E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 4017.456 FROM MIGRAD STATUS=CONVERGED 72 CALLS 415 TOTAL EDM= .88E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 1050.5 .25587E-03** at limit ** 2 Index 1.6465 6.9820 .50000 -.16232E-06 3 Normalizat 1.1454 .17740 .76492E-05 .15591E-03 4 Prefactor .53633 .19453 .23705E-05 .82969E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 1.64649 Normalizat = 1.14535 Prefactor = 0.536332 ********** ** 18 **HESSE ********** FCN= 4017.456 FROM HESSE STATUS=OK 29 CALLS 444 TOTAL EDM= .70E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 4.6417 .51174E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.6465 8.1862 .50000 -.73516 3 Normalizat 1.1454 .20127 .15298E-05 -.88309 4 Prefactor .53633 .22034 .47410E-06 -1.1034 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.99171e-11 Minuit parameter uncertainties: 1 7.42079e-06 2 157.984 3 0.201406 4 0.220688 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/967671': 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) = 4017.45585921 delta logL = 1.75756440512e-06 Extracting fit parameters... 4FGL J0158.5-3932 Spectrum: PowerLaw 278 Prefactor: 1.000e-04 7.421e-06 1.000e-04 1.000e+04 ( 1.000e-13) 279 Index: 1.646e+00 1.580e+02 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: 5.363e-01 2.207e-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: 1.145e+00 2.014e-01 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/967671/cmap_HighResolution_324086401_324345601_4FGL_J0158.5-3932_daily_bin327.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/967671 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-03', job_status='DONE', photon_flux_upper_limit='4.47e-08', time_completed='2021-08-14 23:19:30.149429', job_id='967671', GAL2='0.54', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1629008370.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.54', dlogl='1.76e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='327' AND source_name='4FGL J0158.5-3932' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 14 23:19:30 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 967671: <4FGL_J0158.5-3932_daily_bin327> in cluster Done Job <4FGL_J0158.5-3932_daily_bin327> was submitted from host by user in cluster at Sat Aug 14 23:10:26 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Aug 14 23:10:46 2021 was used as the home directory. was used as the working directory. Started at Sat Aug 14 23:10:46 2021 Terminated at Sat Aug 14 23:19:30 2021 Results reported at Sat Aug 14 23:19:30 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0158.5-3932_daily_bin327 29.646 -39.5358 324086401 324345601 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 : 481.00 sec. Max Memory : 1094 MB Average Memory : 315.47 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 525 sec. Turnaround time : 544 sec. The output (if any) is above this job summary.