/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 126 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 = 7482 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin350 RA = 250.119, Dec = 39.7626 tmin = 330048001, tmax = 330307201 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='831755', job_status='RUN', time_executed='2021-09-15 06:26:01.455858', time_epoch_executed='1631712361.46' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='350' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/831755 Creating custom pfile directory: /scratch/kocevski/831755/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=330048001.0 && nMetStart<330307201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=330048001.0 && nMetStart<330307201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/831755/ft1_4FGL_J1640.4+3945_daily_bin350.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=330048001.0 && nMetStart<330307201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/831755/ft2_4FGL_J1640.4+3945_daily_bin350.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/831755/ft1_4FGL_J1640.4+3945_daily_bin350.fits outfile=/scratch/kocevski/831755/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin350.fits ra=250.119 dec=39.7626 rad=12.0 tmin=330048001.0 tmax=330307201.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.58 user 3.34 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/831755/ft2_4FGL_J1640.4+3945_daily_bin350.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/831755/ft2_4FGL_J1640.4+3945_daily_bin350.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/831755/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin350.fits evtable="EVENTS" outfile="/scratch/kocevski/831755/ft1_filtered_4FGL_J1640.4+3945_daily_bin350.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.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/831755/ft1_filtered_4FGL_J1640.4+3945_daily_bin350.fits" evtable="EVENTS" scfile=/scratch/kocevski/831755/ft2_4FGL_J1640.4+3945_daily_bin350.fits sctable="SC_DATA" outfile=/scratch/kocevski/831755/ltcube_330048001_330307201_4FGL_J1640.4+3945_daily_bin350.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/831755/ft2_4FGL_J1640.4+3945_daily_bin350.fits .....................! real 14.73 user 14.33 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/831755/ft1_filtered_4FGL_J1640.4+3945_daily_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/831755/ft2_4FGL_J1640.4+3945_daily_bin350.fits sctable="SC_DATA" expcube=/scratch/kocevski/831755/ltcube_330048001_330307201_4FGL_J1640.4+3945_daily_bin350.fits outfile=/scratch/kocevski/831755/expmap_330048001_330307201_4FGL_J1640.4+3945_daily_bin350.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/831755/ltcube_330048001_330307201_4FGL_J1640.4+3945_daily_bin350.fits .....................! real 193.04 user 187.29 sys 4.87 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/831755/ft1_filtered_4FGL_J1640.4+3945_daily_bin350.fits scfile=/scratch/kocevski/831755/ft2_4FGL_J1640.4+3945_daily_bin350.fits outfile=/scratch/kocevski/831755/cmap_330048001_330307201_4FGL_J1640.4+3945_daily_bin350.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/831755/ft1_filtered_4FGL_J1640.4+3945_daily_bin350.fits scfile=/scratch/kocevski/831755/ft2_4FGL_J1640.4+3945_daily_bin350.fits outfile=/scratch/kocevski/831755/cmap_HighResolution_330048001_330307201_4FGL_J1640.4+3945_daily_bin350.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.55 user 0.38 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/831755/ft1_filtered_4FGL_J1640.4+3945_daily_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/831755/ft2_4FGL_J1640.4+3945_daily_bin350.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831755/Model_4FGL_J1640.4+3945_daily_bin350.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/831755/ft1_filtered_4FGL_J1640.4+3945_daily_bin350.fits.....................! real 58.78 user 57.20 sys 1.32 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/831755/ft1_filtered_4FGL_J1640.4+3945_daily_bin350.fits', '/scratch/kocevski/831755/ft2_4FGL_J1640.4+3945_daily_bin350.fits', expMap='/scratch/kocevski/831755/expmap_330048001_330307201_4FGL_J1640.4+3945_daily_bin350.fits', expCube='/scratch/kocevski/831755/ltcube_330048001_330307201_4FGL_J1640.4+3945_daily_bin350.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/831755/Model_4FGL_J1640.4+3945_daily_bin350.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 1.000e-04 1.000e+04 ( 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/831755/ft1_filtered_4FGL_J1640.4+3945_daily_bin350.fits Spacecraft file(s): /scratch/kocevski/831755/ft2_4FGL_J1640.4+3945_daily_bin350.fits Exposure map: /scratch/kocevski/831755/expmap_330048001_330307201_4FGL_J1640.4+3945_daily_bin350.fits Exposure cube: /scratch/kocevski/831755/ltcube_330048001_330307201_4FGL_J1640.4+3945_daily_bin350.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/831755/Model_4FGL_J1640.4+3945_daily_bin350.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) = 7332.22397196 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7332.19307276 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.4094 1.0000 .10000E-03 10000. 2 'Prefactor ' 45.205 1.0000 .10000E-03 10000. 3 'Prefactor ' .94952 1.0000 .10000E-03 10000. 4 'Prefactor ' 6.2974 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 5.5294 1.0000 .10000E-03 10000. 7 'norm ' 2.0502 1.0000 .10000E-03 10000. 8 'norm ' .10006E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 18.780 1.0000 .10000E-03 10000. 10 'Prefactor ' 2.2814 1.0000 .10000E-03 10000. 11 'norm ' 42.793 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.4149 1.0000 .10000E-03 10000. 13 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 12.002 1.0000 .10000E-03 10000. 15 'Prefactor ' .10140E-03 1.0000 .10000E-03 10000. 16 'norm ' 2.3588 1.0000 .10000E-03 10000. 17 'norm ' .10368E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10065E-03 1.0000 .10000E-03 10000. 19 'norm ' .10006E-03 1.0000 .10000E-03 10000. 20 'norm ' .10086E-03 1.0000 .10000E-03 10000. 21 'norm ' 3.4616 1.0000 .10000E-03 10000. 22 'Prefactor ' 14.570 1.0000 .10000E-03 10000. 23 'norm ' .18992E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 41.441 1.0000 .10000E-03 10000. 25 'Normalizat' 1.1244 1.0000 .10000E-01 10.000 26 'Prefactor ' .65884 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. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7332.193 FROM MIGRAD STATUS=CONVERGED 632 CALLS 3228 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.4063 17.352 .74162E-06 .40637E-04 2 Prefactor 45.159 69.485 -.79933E-06 -.10138E-03 3 Prefactor .94948 1.7379 .45132E-06 .12709E-02 4 Prefactor 6.2967 4.3259 -.82027E-07 -.11063E-03 5 Prefactor .10000E-03 8.1764 -.25159E-06** at limit ** 6 Prefactor 5.5283 3.4474 .84925E-07 .38549E-04 7 norm 2.0506 .28294 -.18111E-07 -.20132E-02 8 norm .10000E-03 4.5827 .41597E-07** at limit ** 9 Prefactor 18.739 23.701 .56750E-06 .27751E-04 10 Prefactor 2.2799 4.1101 .83436E-06 .20298E-03 11 norm 42.798 37.277 .57092E-07 -.16193E-04 12 Prefactor 2.4146 1.3605 .49500E-07 -.18496E-03 13 Prefactor .10000E-03 .65614 -.26410E-07** at limit ** 14 Prefactor 11.996 4.2600 .49355E-07 .23140E-04 15 Prefactor .10001E-03 1.3258 .38807E-06** at limit ** 16 norm 2.3591 1.5276 .59459E-07 -.11152E-03 17 norm .10000E-03 .43926 -.33673E-07** at limit ** 18 Prefactor .10000E-03 4.7926 -.15459E-06** at limit ** 19 norm .10000E-03 .21549 .21609E-08** at limit ** 20 norm .10000E-03 7.1976 .93720E-06** at limit ** 21 norm 3.4609 1.8082 .52646E-07 -.45171E-03 22 Prefactor 14.588 26.197 -.19604E-05 -.32616E-03 23 norm .10001E-03 4.8522 .49080E-05** at limit ** 24 Prefactor 41.496 47.741 -.49665E-05 -.48866E-03 25 Normalizat 1.1249 .18538 .28503E-06 -.78631E-03 26 Prefactor .65847 .14108 -.16303E-05 -.80944E-03 ERR DEF= .500 Final values: Prefactor = 5.40634 Prefactor = 45.1585 Prefactor = 0.949475 Prefactor = 6.29674 Prefactor = 0.0001 Prefactor = 5.52832 norm = 2.05056 norm = 0.0001 Prefactor = 18.7392 Prefactor = 2.27991 norm = 42.7985 Prefactor = 2.41457 Prefactor = 0.0001 Prefactor = 11.9959 Prefactor = 0.000100005 norm = 2.35915 norm = 0.0001 Prefactor = 0.0001 norm = 0.0001 norm = 0.0001 norm = 3.46093 Prefactor = 14.5882 norm = 0.000100014 Prefactor = 41.4956 Normalizat = 1.12488 Prefactor = 0.658471 ********** ** 18 **HESSE ********** FCN= 7332.193 FROM HESSE STATUS=OK 460 CALLS 3688 TOTAL EDM= .57E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.4063 17.349 .17278E-03 -1.5243 2 Prefactor 45.159 69.291 .59632E-04 -1.4363 3 Prefactor .94948 1.3626 .15172E-02 -1.5513 4 Prefactor 6.2967 4.3272 .14299E-03 -1.5206 5 Prefactor .10000E-03 8.1866 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 5.5283 3.4495 .11923E-03 -1.5238 7 norm 2.0506 .28655 .14569E-04 -1.5422 8 norm .10000E-03 4.5831 .17902E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 18.739 23.916 .92423E-04 -1.4842 10 Prefactor 2.2799 4.0977 .21907E-03 -1.5406 11 norm 42.798 37.098 .61282E-04 -1.4399 12 Prefactor 2.4146 1.2627 .63742E-04 -1.5397 13 Prefactor .10000E-03 .95180 .12282E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 11.996 4.1346 .96796E-04 -1.5015 15 Prefactor .10001E-03 8.3937 .18442E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.3591 1.5169 .82040E-04 -1.5401 17 norm .10000E-03 2.2674 .10492E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 4.9276 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .10000E-03 .21561 .18142E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 7.3867 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.4609 1.8086 .79305E-04 -1.5336 22 Prefactor 14.588 26.442 .10493E-03 -1.4944 23 norm .10001E-03 5.8715 .26311E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 41.496 49.719 .62270E-04 -1.4419 25 Normalizat 1.1249 .22155 .26322E-03 -.88957 26 Prefactor .65847 .16911 .26757E-03 -1.0518 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.69625e-09 Minuit parameter uncertainties: 1 17.3655 2 69.4147 3 1.36264 4 4.32737 5 2.37317e-05 6 3.44961 7 0.286547 8 6.48667e-06 9 23.9282 10 4.0982 11 37.1181 12 1.26276 13 3.28065e-06 14 4.13468 15 0.000414116 16 1.5169 17 1.75181e-05 18 1.51834e-05 19 5.25526e-08 20 5.15602e-05 21 1.8086 22 26.4637 23 0.000577353 24 49.7684 25 0.22173 26 0.169245 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7332.19305783 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.415e+00 1.263e+00 1.000e-04 1.000e+04 ( 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: 6.585e-01 1.692e-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: 1.125e+00 2.217e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 15.48 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 9.54e-08 +/- 4.98e-08 Energy Flux (Fixed Index): 3.04e-05 +/- 1.59e-05 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) = 7330.75325349 delta logL = 1.43980434746 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7330.62923845 delta logL = 1.56381938398 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.8066 1.0000 .10000E-03 10000. 2 'Index ' 1.7635 1.0000 .0000 10.000 3 'Normalizat' 1.1627 1.0000 .10000E-01 10.000 4 'Prefactor ' .63882 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= 7330.629 FROM MIGRAD STATUS=CONVERGED 53 CALLS 219 TOTAL EDM= .65E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.8063 62.675 .51721E-02 .85776E-04 2 Index 1.7635 5.7543 .17603 .92701E-05 3 Normalizat 1.1628 .21695 .58779E-01 .73963E-05 4 Prefactor .63882 .13077 .61356E-01 .24007E-04 ERR DEF= .500 Final values: Prefactor = 3.80628 Index = 1.76347 Normalizat = 1.16279 Prefactor = 0.638824 ********** ** 18 **HESSE ********** FCN= 7330.629 FROM HESSE STATUS=OK 33 CALLS 252 TOTAL EDM= .38E-13 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.8063 2.1115 .89612E-04 -1.5318 2 Index 1.7635 .35926 .66573E-02 -.70404 3 Normalizat 1.1628 .20857 .25995E-03 -.87761 4 Prefactor .63882 .16619 .27143E-03 -1.0598 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.81166e-14 Minuit parameter uncertainties: 1 2.11153 2 0.359794 3 0.208721 4 0.166317 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/831755': 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) = 7330.62923827 delta logL = 1.56381956189 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.806e+00 2.112e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 1.763e+00 3.598e-01 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: 6.388e-01 1.663e-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: 1.163e+00 2.087e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 18.89 Ra Dec: 250.119 39.763 Photon Index (Free Index): 1.76 +/- 0.36 Photon Flux (Free Index): 4.98e-08 +/- 3.85e-08 Energy Flux (Free Index): 6.67e-05 +/- 5.28e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/831755/cmap_HighResolution_330048001_330307201_4FGL_J1640.4+3945_daily_bin350.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/831755 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.54e-08', energy_flux2='6.67e-05', photon_flux_error='4.98e-08', dlogl='1.56e+00', energy_flux='3.04e-05', photon_flux2='4.98e-08', job_status='DONE', time_completed='2021-09-15 06:39:49.398381', photon_index_error2='0.36', photon_index2='1.76', ts='15.48', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='5.28e-05', EG='1.12', time_epoch_completed='1631713189.4', return_code='0', job_id='831755', GAL2='0.64', EG2='1.16', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='3.85e-08', ts2='18.89', photon_index='2.42' WHERE bin_id='350' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:39:49 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 831755: <4FGL_J1640.4+3945_daily_bin350> in cluster Done Job <4FGL_J1640.4+3945_daily_bin350> was submitted from host by user in cluster at Wed Sep 15 06:20:35 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:23:46 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:23:46 2021 Terminated at Wed Sep 15 06:39:50 2021 Results reported at Wed Sep 15 06:39:50 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin350 250.119 39.7626 330048001 330307201 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 : 824.31 sec. Max Memory : 971 MB Average Memory : 280.67 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 964 sec. Turnaround time : 1155 sec. The output (if any) is above this job summary.