/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 41 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 = 7434 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin189 RA = 250.119, Dec = 39.7626 tmin = 288316801, tmax = 288576001 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='830316', job_status='RUN', time_executed='2021-09-15 06:18:06.477768', time_epoch_executed='1631711886.48' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='189' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/830316 Creating custom pfile directory: /scratch/kocevski/830316/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=288316801.0 && nMetStart<288576001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=288316801.0 && nMetStart<288576001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/830316/ft1_4FGL_J1640.4+3945_daily_bin189.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=288316801.0 && nMetStart<288576001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/830316/ft2_4FGL_J1640.4+3945_daily_bin189.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/830316/ft1_4FGL_J1640.4+3945_daily_bin189.fits outfile=/scratch/kocevski/830316/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin189.fits ra=250.119 dec=39.7626 rad=12.0 tmin=288316801.0 tmax=288576001.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.59 user 3.36 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/830316/ft2_4FGL_J1640.4+3945_daily_bin189.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/830316/ft2_4FGL_J1640.4+3945_daily_bin189.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/830316/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin189.fits evtable="EVENTS" outfile="/scratch/kocevski/830316/ft1_filtered_4FGL_J1640.4+3945_daily_bin189.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.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/830316/ft1_filtered_4FGL_J1640.4+3945_daily_bin189.fits" evtable="EVENTS" scfile=/scratch/kocevski/830316/ft2_4FGL_J1640.4+3945_daily_bin189.fits sctable="SC_DATA" outfile=/scratch/kocevski/830316/ltcube_288316801_288576001_4FGL_J1640.4+3945_daily_bin189.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/830316/ft2_4FGL_J1640.4+3945_daily_bin189.fits .....................! real 13.43 user 13.07 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/830316/ft1_filtered_4FGL_J1640.4+3945_daily_bin189.fits evtable="EVENTS" scfile=/scratch/kocevski/830316/ft2_4FGL_J1640.4+3945_daily_bin189.fits sctable="SC_DATA" expcube=/scratch/kocevski/830316/ltcube_288316801_288576001_4FGL_J1640.4+3945_daily_bin189.fits outfile=/scratch/kocevski/830316/expmap_288316801_288576001_4FGL_J1640.4+3945_daily_bin189.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/830316/ltcube_288316801_288576001_4FGL_J1640.4+3945_daily_bin189.fits .....................! real 192.88 user 187.84 sys 4.62 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/830316/ft1_filtered_4FGL_J1640.4+3945_daily_bin189.fits scfile=/scratch/kocevski/830316/ft2_4FGL_J1640.4+3945_daily_bin189.fits outfile=/scratch/kocevski/830316/cmap_288316801_288576001_4FGL_J1640.4+3945_daily_bin189.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.57 user 0.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/830316/ft1_filtered_4FGL_J1640.4+3945_daily_bin189.fits scfile=/scratch/kocevski/830316/ft2_4FGL_J1640.4+3945_daily_bin189.fits outfile=/scratch/kocevski/830316/cmap_HighResolution_288316801_288576001_4FGL_J1640.4+3945_daily_bin189.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.39 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/830316/ft1_filtered_4FGL_J1640.4+3945_daily_bin189.fits evtable="EVENTS" scfile=/scratch/kocevski/830316/ft2_4FGL_J1640.4+3945_daily_bin189.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/830316/Model_4FGL_J1640.4+3945_daily_bin189.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/830316/ft1_filtered_4FGL_J1640.4+3945_daily_bin189.fits.....................! real 59.18 user 57.73 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/830316/ft1_filtered_4FGL_J1640.4+3945_daily_bin189.fits', '/scratch/kocevski/830316/ft2_4FGL_J1640.4+3945_daily_bin189.fits', expMap='/scratch/kocevski/830316/expmap_288316801_288576001_4FGL_J1640.4+3945_daily_bin189.fits', expCube='/scratch/kocevski/830316/ltcube_288316801_288576001_4FGL_J1640.4+3945_daily_bin189.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/830316/Model_4FGL_J1640.4+3945_daily_bin189.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/830316/ft1_filtered_4FGL_J1640.4+3945_daily_bin189.fits Spacecraft file(s): /scratch/kocevski/830316/ft2_4FGL_J1640.4+3945_daily_bin189.fits Exposure map: /scratch/kocevski/830316/expmap_288316801_288576001_4FGL_J1640.4+3945_daily_bin189.fits Exposure cube: /scratch/kocevski/830316/ltcube_288316801_288576001_4FGL_J1640.4+3945_daily_bin189.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/830316/Model_4FGL_J1640.4+3945_daily_bin189.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) = 7477.45279681 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7477.45223095 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 25.258 1.0000 .10000E-03 10000. 2 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 2.7386 1.0000 .10000E-03 10000. 4 'Prefactor ' .19137E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10227E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .15989E-03 1.0000 .10000E-03 10000. 7 'norm ' 1.4010 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 20.005 1.0000 .10000E-03 10000. 10 'Prefactor ' 6.3760 1.0000 .10000E-03 10000. 11 'norm ' 6.3629 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.3643 1.0000 .10000E-03 10000. 13 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10342E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 2.9703 1.0000 .10000E-03 10000. 16 'norm ' 2.6610 1.0000 .10000E-03 10000. 17 'norm ' .18042 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'norm ' 1.4187 1.0000 .10000E-03 10000. 20 'norm ' .49526 1.0000 .10000E-03 10000. 21 'norm ' 3.2737 1.0000 .10000E-03 10000. 22 'Prefactor ' 56.992 1.0000 .10000E-03 10000. 23 'norm ' .10347E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 35.842 1.0000 .10000E-03 10000. 25 'Normalizat' 1.1178 1.0000 .10000E-01 10.000 26 'Prefactor ' .86320 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= 7477.452 FROM MIGRAD STATUS=CONVERGED 651 CALLS 3152 TOTAL EDM= .99E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 25.260 30.710 .12102E-06 .79292E-07 2 Prefactor .10000E-03 44.535 .13386E-06** at limit ** 3 Prefactor 2.7390 3.3549 .20167E-06 -.31150E-04 4 Prefactor .10000E-03 8.6483 .17749E-06** at limit ** 5 Prefactor .10000E-03 33.470 .16052E-06** at limit ** 6 Prefactor .10000E-03 1.8556 .12651E-06** at limit ** 7 norm 1.4010 .26767 -.51729E-08 -.35908E-03 8 norm .10000E-03 7.3575 .52458E-08** at limit ** 9 Prefactor 20.008 22.820 .11503E-06 -.69776E-05 10 Prefactor 6.3754 4.1218 -.59715E-07 -.15535E-03 11 norm 6.3606 68.686 -.45874E-07 -.66677E-05 12 Prefactor 2.3642 1.5236 .35826E-07 -.82394E-04 13 Prefactor .10000E-03 .57099 -.27490E-07** at limit ** 14 Prefactor .10000E-03 1.2996 -.23931E-07** at limit ** 15 Prefactor 2.9702 2.4690 -.17654E-08 -.76201E-04 16 norm 2.6611 1.5361 .52659E-08 -.13869E-04 17 norm .18054 .42913 .40671E-06 .75283E-03 18 Prefactor .10000E-03 2.7056 -.12156E-07** at limit ** 19 norm 1.4187 .78629 .70403E-08 -.23313E-03 20 norm .50136 5.6625 .63846E-06 -.18964E-03 21 norm 3.2738 1.8848 .36808E-07 -.15379E-03 22 Prefactor 56.970 56.537 .32055E-06 -.34839E-04 23 norm .10000E-03 7.2529 -.27809E-05** at limit ** 24 Prefactor 35.810 49.052 .37495E-06 -.45029E-04 25 Normalizat 1.1178 .19952 -.10290E-05 -.44430E-04 26 Prefactor .86312 .15215 .69167E-06 -.10496E-03 ERR DEF= .500 Final values: Prefactor = 25.2598 Prefactor = 0.0001 Prefactor = 2.73903 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100001 norm = 1.40096 norm = 0.0001 Prefactor = 20.0076 Prefactor = 6.37543 norm = 6.36061 Prefactor = 2.36423 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 2.97022 norm = 2.66107 norm = 0.180535 Prefactor = 0.0001 norm = 1.4187 norm = 0.501362 norm = 3.27384 Prefactor = 56.9701 norm = 0.0001 Prefactor = 35.8102 Normalizat = 1.11779 Prefactor = 0.863122 ********** ** 18 **HESSE ********** FCN= 7477.452 FROM HESSE STATUS=OK 472 CALLS 3624 TOTAL EDM= .47E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 25.260 30.771 .79706E-04 -1.4702 2 Prefactor .10000E-03 44.557 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 2.7390 3.3427 .16728E-03 -1.5377 4 Prefactor .10000E-03 8.9984 .36285E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 33.799 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 14.238 .21859E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 1.4010 .27079 .16275E-04 -1.5471 8 norm .10000E-03 7.3702 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 20.008 23.086 .89549E-04 -1.4813 10 Prefactor 6.3754 4.1205 .13441E-03 -1.5203 11 norm 6.3606 67.367 .15912E-03 -1.5204 12 Prefactor 2.3642 1.4295 .70341E-04 -1.5400 13 Prefactor .10000E-03 .80540 .11439E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 2.4626 .18977E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 2.9702 2.4622 .11685E-03 -1.5363 16 norm 2.6611 1.5288 .78549E-04 -1.5382 17 norm .18054 .41086 .90155E-03 -1.5623 18 Prefactor .10000E-03 2.7279 .13881E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 1.4187 .77470 .54525E-04 -1.5470 20 norm .50136 17.355 .37979E-02 -1.5566 21 norm 3.2738 1.8783 .85525E-04 -1.5346 22 Prefactor 56.970 56.415 .53139E-04 -1.4197 23 norm .10000E-03 7.0060 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 35.810 48.768 .66940E-04 -1.4510 25 Normalizat 1.1178 .23045 .28113E-03 -.89183 26 Prefactor .86312 .17826 .25322E-03 -.97442 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.73392e-08 Minuit parameter uncertainties: 1 30.7904 2 4.84577e-05 3 3.34292 4 2.38261e-06 5 1.28861e-05 6 0.00017017 7 0.270794 8 2.0571e-06 9 23.0962 10 4.12069 11 41.4597 12 1.4295 13 2.58158e-07 14 1.88209e-05 15 2.46233 16 1.52883 17 0.410868 18 3.25797e-06 19 0.77471 20 5.90088 21 1.87833 22 56.4679 23 3.4437e-05 24 48.8222 25 0.230663 26 0.17838 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7477.45222155 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.364e+00 1.430e+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: 8.631e-01 1.784e-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.118e+00 2.307e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 10.36 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 9.34e-08 +/- 5.64e-08 Energy Flux (Fixed Index): 2.98e-05 +/- 1.80e-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) = 7477.38909741 delta logL = 0.063124132771 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7477.385822 delta logL = 0.0663995503983 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.9981 1.0000 .10000E-03 10000. 2 'Index ' 2.6147 1.0000 .0000 10.000 3 'Normalizat' 1.0982 1.0000 .10000E-01 10.000 4 'Prefactor ' .87273 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= 7477.386 FROM MIGRAD STATUS=CONVERGED 56 CALLS 244 TOTAL EDM= .12E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.9965 15.273 .73254E-02 .39566E-03 2 Index 2.6153 2.8224 .10133 .20371E-03 3 Normalizat 1.0985 .81102E-01 .63970E-01 .14792E-04 4 Prefactor .87247 .52778E-01 .44656E-01 .14790E-04 ERR DEF= .500 Final values: Prefactor = 1.99645 Index = 2.61526 Normalizat = 1.09854 Prefactor = 0.872468 ********** ** 18 **HESSE ********** FCN= 7477.386 FROM HESSE STATUS=OK 33 CALLS 277 TOTAL EDM= .12E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.9965 1.6797 .59171E-04 -1.5425 2 Index 2.6153 .58103 .52513E-02 -.49718 3 Normalizat 1.0985 .22638 .28296E-03 -.89799 4 Prefactor .87247 .17753 .25191E-03 -.97110 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.16977e-08 Minuit parameter uncertainties: 1 1.67972 2 0.582734 3 0.226584 4 0.17765 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/830316': 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) = 7477.38581946 delta logL = 0.0664020863169 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.996e+00 1.680e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.615e+00 5.827e-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: 8.725e-01 1.776e-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.099e+00 2.266e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 10.77 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.62 +/- 0.58 Photon Flux (Free Index): 1.15e-07 +/- 8.15e-08 Energy Flux (Free Index): 2.98e-05 +/- 1.52e-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/830316/cmap_HighResolution_288316801_288576001_4FGL_J1640.4+3945_daily_bin189.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/830316 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.34e-08', energy_flux2='2.98e-05', photon_flux_error='5.64e-08', dlogl='6.64e-02', energy_flux='2.98e-05', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-09-15 06:31:35.180064', photon_index_error2='0.58', photon_index2='2.62', ts='10.36', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.52e-05', EG='1.12', time_epoch_completed='1631712695.18', return_code='0', job_id='830316', GAL2='0.87', EG2='1.10', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='8.15e-08', ts2='10.77', photon_index='2.42' WHERE bin_id='189' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:31:35 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 830316: <4FGL_J1640.4+3945_daily_bin189> in cluster Done Job <4FGL_J1640.4+3945_daily_bin189> was submitted from host by user in cluster at Wed Sep 15 06:15:19 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:17:16 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:17:16 2021 Terminated at Wed Sep 15 06:31:35 2021 Results reported at Wed Sep 15 06:31:35 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin189 250.119 39.7626 288316801 288576001 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 : 806.00 sec. Max Memory : 1049 MB Average Memory : 323.60 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 861 sec. Turnaround time : 976 sec. The output (if any) is above this job summary.