/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 237 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 make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. 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 = 7719 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin1751 RA = 250.119, Dec = 39.7626 tmin = 693187201, tmax = 693446401 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='81666', job_status='RUN', time_executed='2022-12-23 00:59:33.522929', time_epoch_executed='1671785973.52' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='1751' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/81666 Creating custom pfile directory: /scratch/kocevski/81666/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=693187201.0 && nMetStart<693446401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=693187201.0 && nMetStart<693446401.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/81666/ft1_4FGL_J1640.4+3945_daily_bin1751.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=693187201.0 && nMetStart<693446401.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Merged file saved to: /scratch/kocevski/81666/ft2_4FGL_J1640.4+3945_daily_bin1751.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/81666/ft1_4FGL_J1640.4+3945_daily_bin1751.fits outfile=/scratch/kocevski/81666/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1751.fits ra=250.119 dec=39.7626 rad=12.0 tmin=693187201.0 tmax=693446401.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.62 user 3.41 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/81666/ft2_4FGL_J1640.4+3945_daily_bin1751.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/81666/ft2_4FGL_J1640.4+3945_daily_bin1751.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/81666/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/81666/ft1_filtered_4FGL_J1640.4+3945_daily_bin1751.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.50 user 0.32 sys 0.18 Number of photons that the gtmktime cut: 599 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/81666/ft1_filtered_4FGL_J1640.4+3945_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/81666/ft2_4FGL_J1640.4+3945_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/81666/ltcube_693187201_693446401_4FGL_J1640.4+3945_daily_bin1751.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/81666/ft2_4FGL_J1640.4+3945_daily_bin1751.fits .....................! real 11.89 user 11.57 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/81666/ft1_filtered_4FGL_J1640.4+3945_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/81666/ft2_4FGL_J1640.4+3945_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/81666/ltcube_693187201_693446401_4FGL_J1640.4+3945_daily_bin1751.fits outfile=/scratch/kocevski/81666/expmap_693187201_693446401_4FGL_J1640.4+3945_daily_bin1751.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/81666/ltcube_693187201_693446401_4FGL_J1640.4+3945_daily_bin1751.fits .....................! real 190.24 user 185.21 sys 4.70 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 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/81666/ft1_filtered_4FGL_J1640.4+3945_daily_bin1751.fits scfile=/scratch/kocevski/81666/ft2_4FGL_J1640.4+3945_daily_bin1751.fits outfile=/scratch/kocevski/81666/cmap_693187201_693446401_4FGL_J1640.4+3945_daily_bin1751.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=250.119 yref=39.7626 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.54 user 0.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/81666/ft1_filtered_4FGL_J1640.4+3945_daily_bin1751.fits scfile=/scratch/kocevski/81666/ft2_4FGL_J1640.4+3945_daily_bin1751.fits outfile=/scratch/kocevski/81666/cmap_HighResolution_693187201_693446401_4FGL_J1640.4+3945_daily_bin1751.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=250.119 yref=39.7626 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.54 user 0.37 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/81666/ft1_filtered_4FGL_J1640.4+3945_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/81666/ft2_4FGL_J1640.4+3945_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/81666/Model_4FGL_J1640.4+3945_daily_bin1751.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/81666/ft1_filtered_4FGL_J1640.4+3945_daily_bin1751.fits.....................! real 51.01 user 49.79 sys 1.13 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/81666/ft1_filtered_4FGL_J1640.4+3945_daily_bin1751.fits', '/scratch/kocevski/81666/ft2_4FGL_J1640.4+3945_daily_bin1751.fits', expMap='/scratch/kocevski/81666/expmap_693187201_693446401_4FGL_J1640.4+3945_daily_bin1751.fits', expCube='/scratch/kocevski/81666/ltcube_693187201_693446401_4FGL_J1640.4+3945_daily_bin1751.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/81666/Model_4FGL_J1640.4+3945_daily_bin1751.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/81666/ft1_filtered_4FGL_J1640.4+3945_daily_bin1751.fits Spacecraft file(s): /scratch/kocevski/81666/ft2_4FGL_J1640.4+3945_daily_bin1751.fits Exposure map: /scratch/kocevski/81666/expmap_693187201_693446401_4FGL_J1640.4+3945_daily_bin1751.fits Exposure cube: /scratch/kocevski/81666/ltcube_693187201_693446401_4FGL_J1640.4+3945_daily_bin1751.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/81666/Model_4FGL_J1640.4+3945_daily_bin1751.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) = 6372.87673366 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6371.95370618 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .21953E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .24229 1.0000 .0000 .10000E+07 3 'Prefactor ' 2.2063 1.0000 .0000 .10000E+07 4 'Prefactor ' .16537E-06 1.0000 .0000 .10000E+07 5 'Prefactor ' .76837E-04 1.0000 .0000 .10000E+07 6 'Prefactor ' .20746 1.0000 .0000 .10000E+07 7 'norm ' .62676 1.0000 .0000 .10000E+07 8 'norm ' .19324E-04 1.0000 .0000 .10000E+07 9 'Prefactor ' .35810E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' 6.8343 1.0000 .0000 .10000E+07 11 'norm ' 2.0884 1.0000 .0000 .10000E+07 12 'Prefactor ' 1.0914 1.0000 .0000 .10000E+07 13 'Prefactor ' 3.2820 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.7789 1.0000 .0000 .10000E+07 15 'Prefactor ' .41617E-06 1.0000 .0000 .10000E+07 16 'norm ' 1.8221 1.0000 .0000 .10000E+07 17 'norm ' .24591E-07 1.0000 .0000 .10000E+07 18 'Prefactor ' .49238E-06 1.0000 .0000 .10000E+07 19 'norm ' .22558E-01 1.0000 .0000 .10000E+07 20 'norm ' 3.4778 1.0000 .0000 .10000E+07 21 'norm ' 4.5948 1.0000 .0000 .10000E+07 22 'norm ' 9.0107 1.0000 .0000 .10000E+07 23 'Prefactor ' .73247 1.0000 .0000 .10000E+07 24 'Normalizat' .87489 1.0000 .10000E-01 10.000 25 'Prefactor ' .94431 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6371.946 FROM MIGRAD STATUS=CONVERGED 682 CALLS 2230 TOTAL EDM= .47E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 8.8187 .42118E-03** at limit ** 2 Prefactor .40634E-07 52.612 .11067E-02** at limit ** 3 Prefactor 2.2033 2.8595 .69230E-03 .79193E-02 4 Prefactor .0000 2.2287 .42118E-03** at limit ** 5 Prefactor .16653E-09 7.3674 .42118E-03** at limit ** 6 Prefactor .21023 1.8931 .35386E-02** at limit ** 7 norm .62624 .18102 .36701E-03 .31424E-01 8 norm .0000 6.5915 .42118E-03** at limit ** 9 Prefactor .27756E-09 7.7280 .42118E-03** at limit ** 10 Prefactor 6.8318 4.4581 .38355E-03 .42209E-02 11 norm .13255E-03 37.721 .13513E-01** at limit ** 12 Prefactor 1.1043 2.4963 .11438E-02 .23818E-01 13 Prefactor 3.2880 2.5010 .55867E-03 .21873E-01 14 Prefactor 3.7776 2.8213 .51907E-03 .24917E-02 15 Prefactor .0000 1.1002 .42118E-03** at limit ** 16 norm 1.8207 1.4666 .77322E-03 .28092E-02 17 norm .0000 .34386 .42118E-03** at limit ** 18 Prefactor .0000 1.4679 .42118E-03** at limit ** 19 norm .23443E-01 .31536 .16874E-02** at limit ** 20 norm 3.4452 7.4513 .54198E-03 .34200E-02 21 norm 4.5942 1.8195 .46934E-03 .28043E-01 22 norm 9.0304 5.3120 .33365E-03 .20661E-02 23 Prefactor .66613E-09 108.92 .58110E-03** at limit ** 24 Normalizat .87526 .19038 .44580E-01 .22055E-03 25 Prefactor .94471 .15279 .45567E-01 .35418E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Prefactor = 4.06342e-08 Prefactor = 2.20328 Prefactor = 0 Prefactor = 1.66533e-10 Prefactor = 0.210231 norm = 0.626236 norm = 0 Prefactor = 2.77556e-10 Prefactor = 6.83177 norm = 0.000132549 Prefactor = 1.10434 Prefactor = 3.28795 Prefactor = 3.77761 Prefactor = 0 norm = 1.82073 norm = 0 Prefactor = 0 norm = 0.0234425 norm = 3.44517 norm = 4.5942 norm = 9.03042 Prefactor = 6.66134e-10 Normalizat = 0.87526 Prefactor = 0.944705 ********** ** 18 **HESSE ********** FCN= 6371.946 FROM HESSE STATUS=OK 441 CALLS 2671 TOTAL EDM= .40E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 8.8199 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .40634E-07 52.696 .22134E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 2.2033 2.8454 .14723E-04 -1.5678 4 Prefactor .0000 2.2308 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .16653E-09 7.3694 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .21023 4.2470 .20763E-03 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .62624 .17791 .16260E-05 -1.5692 8 norm .0000 6.5923 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .27756E-09 7.7314 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 6.8318 4.4616 .12907E-04 -1.5656 11 norm .13255E-03 33.873 .14612E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.1043 2.2733 .94046E-05 -1.5687 13 Prefactor 3.2880 2.3687 .57280E-05 -1.5672 14 Prefactor 3.7776 2.8178 .11104E-04 -1.5669 15 Prefactor .0000 1.1025 .81752E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 1.8207 1.4727 .83414E-05 -1.5681 17 norm .0000 .34760 .45683E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .0000 1.4690 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .23443E-01 1.3650 .87314E-04 -1.5711 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 3.4452 7.4236 .21679E-04 -1.5671 21 norm 4.5942 1.8193 .32602E-04 -1.5665 22 norm 9.0304 5.3008 .13346E-04 -1.5648 23 Prefactor .66613E-09 109.04 .11622E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .87526 .22501 .27339E-03 -.97335 25 Prefactor .94471 .18206 .21971E-03 -.94596 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.02113e-08 Minuit parameter uncertainties: 1 4.08049e-05 2 0.00292659 3 2.84537 4 1.23594e-05 5 6.55053e-05 6 1.88982 7 0.17791 8 1.14354e-05 9 9.14353e-05 10 4.4616 11 0.134014 12 2.27327 13 2.36875 14 2.81777 15 8.03431e-06 16 1.47268 17 2.60252e-06 18 1.5115e-06 19 0.357766 20 7.42365 21 1.8193 22 5.30078 23 0.000528696 24 0.225251 25 0.182182 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6371.94569818 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.104e+00 2.273e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.447e-01 1.822e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 8.753e-01 2.253e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.82 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 1.48e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.15e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/81666/likelihoodResults_693187201_693446401_4FGL_J1640.4+3945_daily_bin1751.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) = 6371.86175717 delta logL = 0.0839410102844 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6371.86065944 delta logL = 0.0850387360479 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .72089 1.0000 .0000 .10000E+07 2 'Index ' 2.7694 1.0000 .0000 10.000 3 'Normalizat' .86156 1.0000 .10000E-01 10.000 4 'Prefactor ' .95231 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6371.861 FROM MIGRAD STATUS=CONVERGED 47 CALLS 242 TOTAL EDM= .57E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .72089 12.830 .59029E-03 .45414E-02 2 Index 2.7694 2.5231 .15699 .14576E-04 3 Normalizat .86156 .40278E-01 .44408E-01 .44827E-04 4 Prefactor .95230 .33203E-01 .45668E-01 -.10050E-04 ERR DEF= .500 Final values: Prefactor = 0.720887 Index = 2.76944 Normalizat = 0.861564 Prefactor = 0.952301 ********** ** 18 **HESSE ********** FCN= 6371.861 FROM HESSE STATUS=OK 33 CALLS 275 TOTAL EDM= .95E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .72089 1.7254 .67574E-05 -1.5691 2 Index 2.7694 1.1603 .56478E-02 -.46242 3 Normalizat .86156 .22081 .27516E-03 -.97824 4 Prefactor .95230 .18178 .21890E-03 -.94337 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.53712e-11 Minuit parameter uncertainties: 1 1.72538 2 1.17374 3 0.221046 4 0.181893 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/81666': 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) = 6371.86065944 delta logL = 0.0850387402907 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 7.209e-01 1.725e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.769e+00 1.174e+00 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.523e-01 1.819e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 8.616e-01 2.210e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.07 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.77 +/- 1.17 Photon Flux (Free Index): 5.69e-08 +/- 6.16e-08 Energy Flux (Free Index): 1.30e-05 +/- 1.55e-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/81666/cmap_HighResolution_693187201_693446401_4FGL_J1640.4+3945_daily_bin1751.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/81666 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', comment='SUCCESS', energy_flux2='1.30e-05', dlogl='8.50e-02', photon_flux2='5.69e-08', job_status='DONE', time_completed='2022-12-23 01:11:04.766486', photon_index_error2='1.17', photon_index2='2.77', ts='0.82', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.48e-07', energy_flux_error2='1.55e-05', EG='0.88', time_epoch_completed='1671786664.77', return_code='0', job_id='81666', GAL2='0.95', EG2='0.86', return_code2='0', photon_flux_error2='6.16e-08', ts2='1.07', photon_index='2.42' WHERE bin_id='1751' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Fri Dec 23 01:11:04 PST 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 81666: <4FGL_J1640.4+3945_daily_bin1751> in cluster Done Job <4FGL_J1640.4+3945_daily_bin1751> was submitted from host by user in cluster at Fri Dec 23 00:55:26 2022 Job was executed on host(s) , in queue , as user in cluster at Fri Dec 23 00:55:28 2022 was used as the home directory. was used as the working directory. Started at Fri Dec 23 00:55:28 2022 Terminated at Fri Dec 23 01:11:05 2022 Results reported at Fri Dec 23 01:11:05 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin1751 250.119 39.7626 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.4+3945 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 693.58 sec. Max Memory : 1094 MB Average Memory : 253.93 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 937 sec. Turnaround time : 939 sec. The output (if any) is above this job summary.