/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 54 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 = 7411 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin233 RA = 250.119, Dec = 39.7626 tmin = 299721601, tmax = 299980801 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='831587', job_status='RUN', time_executed='2021-09-15 06:22:02.784083', time_epoch_executed='1631712122.78' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='233' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/831587 Creating custom pfile directory: /scratch/kocevski/831587/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=299721601.0 && nMetStart<299980801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=299721601.0 && nMetStart<299980801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/831587/ft1_4FGL_J1640.4+3945_daily_bin233.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=299721601.0 && nMetStart<299980801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/831587/ft2_4FGL_J1640.4+3945_daily_bin233.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/831587/ft1_4FGL_J1640.4+3945_daily_bin233.fits outfile=/scratch/kocevski/831587/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin233.fits ra=250.119 dec=39.7626 rad=12.0 tmin=299721601.0 tmax=299980801.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 7.17 user 3.17 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/831587/ft2_4FGL_J1640.4+3945_daily_bin233.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/831587/ft2_4FGL_J1640.4+3945_daily_bin233.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/831587/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin233.fits evtable="EVENTS" outfile="/scratch/kocevski/831587/ft1_filtered_4FGL_J1640.4+3945_daily_bin233.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.15 user 0.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/831587/ft1_filtered_4FGL_J1640.4+3945_daily_bin233.fits" evtable="EVENTS" scfile=/scratch/kocevski/831587/ft2_4FGL_J1640.4+3945_daily_bin233.fits sctable="SC_DATA" outfile=/scratch/kocevski/831587/ltcube_299721601_299980801_4FGL_J1640.4+3945_daily_bin233.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/831587/ft2_4FGL_J1640.4+3945_daily_bin233.fits .....................! real 13.68 user 13.29 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/831587/ft1_filtered_4FGL_J1640.4+3945_daily_bin233.fits evtable="EVENTS" scfile=/scratch/kocevski/831587/ft2_4FGL_J1640.4+3945_daily_bin233.fits sctable="SC_DATA" expcube=/scratch/kocevski/831587/ltcube_299721601_299980801_4FGL_J1640.4+3945_daily_bin233.fits outfile=/scratch/kocevski/831587/expmap_299721601_299980801_4FGL_J1640.4+3945_daily_bin233.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/831587/ltcube_299721601_299980801_4FGL_J1640.4+3945_daily_bin233.fits .....................! real 194.09 user 188.39 sys 5.07 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/831587/ft1_filtered_4FGL_J1640.4+3945_daily_bin233.fits scfile=/scratch/kocevski/831587/ft2_4FGL_J1640.4+3945_daily_bin233.fits outfile=/scratch/kocevski/831587/cmap_299721601_299980801_4FGL_J1640.4+3945_daily_bin233.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.55 user 0.37 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/831587/ft1_filtered_4FGL_J1640.4+3945_daily_bin233.fits scfile=/scratch/kocevski/831587/ft2_4FGL_J1640.4+3945_daily_bin233.fits outfile=/scratch/kocevski/831587/cmap_HighResolution_299721601_299980801_4FGL_J1640.4+3945_daily_bin233.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.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/831587/ft1_filtered_4FGL_J1640.4+3945_daily_bin233.fits evtable="EVENTS" scfile=/scratch/kocevski/831587/ft2_4FGL_J1640.4+3945_daily_bin233.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831587/Model_4FGL_J1640.4+3945_daily_bin233.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/831587/ft1_filtered_4FGL_J1640.4+3945_daily_bin233.fits.....................! real 55.22 user 53.83 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/831587/ft1_filtered_4FGL_J1640.4+3945_daily_bin233.fits', '/scratch/kocevski/831587/ft2_4FGL_J1640.4+3945_daily_bin233.fits', expMap='/scratch/kocevski/831587/expmap_299721601_299980801_4FGL_J1640.4+3945_daily_bin233.fits', expCube='/scratch/kocevski/831587/ltcube_299721601_299980801_4FGL_J1640.4+3945_daily_bin233.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/831587/Model_4FGL_J1640.4+3945_daily_bin233.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/831587/ft1_filtered_4FGL_J1640.4+3945_daily_bin233.fits Spacecraft file(s): /scratch/kocevski/831587/ft2_4FGL_J1640.4+3945_daily_bin233.fits Exposure map: /scratch/kocevski/831587/expmap_299721601_299980801_4FGL_J1640.4+3945_daily_bin233.fits Exposure cube: /scratch/kocevski/831587/ltcube_299721601_299980801_4FGL_J1640.4+3945_daily_bin233.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/831587/Model_4FGL_J1640.4+3945_daily_bin233.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) = 7307.87251665 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7307.86581479 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.8547 1.0000 .10000E-03 10000. 2 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 2.4871 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 19.705 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' .57031 1.0000 .10000E-03 10000. 8 'norm ' .10002E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 19.202 1.0000 .10000E-03 10000. 10 'Prefactor ' 42.562 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.8320 1.0000 .10000E-03 10000. 13 'Prefactor ' 2.9210 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.1876 1.0000 .10000E-03 10000. 15 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 16 'norm ' 2.6085 1.0000 .10000E-03 10000. 17 'norm ' 1.3068 1.0000 .10000E-03 10000. 18 'Prefactor ' 1.1404 1.0000 .10000E-03 10000. 19 'norm ' .10336 1.0000 .10000E-03 10000. 20 'norm ' 13.165 1.0000 .10000E-03 10000. 21 'norm ' 4.2422 1.0000 .10000E-03 10000. 22 'Prefactor ' 38.244 1.0000 .10000E-03 10000. 23 'norm ' .10179E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 81.445 1.0000 .10000E-03 10000. 25 'Normalizat' .61374 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0063 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= 7307.866 FROM MIGRAD STATUS=CONVERGED 602 CALLS 3165 TOTAL EDM= .25E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.8548 16.904 .18457E-06 -.10944E-05 2 Prefactor .10000E-03 27.952 .57683E-07** at limit ** 3 Prefactor 2.4881 3.1431 .12963E-05 -.56754E-03 4 Prefactor .10000E-03 2.6628 .33281E-06** at limit ** 5 Prefactor 19.711 20.102 -.45142E-06 -.37691E-04 6 Prefactor .10000E-03 .83560 .30019E-09** at limit ** 7 norm .57009 .20183 .57479E-08 -.13576E-02 8 norm .10000E-03 15.931 -.56857E-07** at limit ** 9 Prefactor 19.212 24.380 -.84567E-06 .16339E-04 10 Prefactor 42.563 7.1920 .60860E-07 -.80034E-04 11 norm .10000E-03 12.048 .50291E-07** at limit ** 12 Prefactor 2.8334 2.1188 .53028E-07 .16013E-03 13 Prefactor 2.9208 2.0933 .43130E-07 .24083E-03 14 Prefactor 1.1876 1.2565 -.12076E-07 -.31071E-04 15 Prefactor .10000E-03 .91837 -.44163E-07** at limit ** 16 norm 2.6084 1.4405 -.40316E-07 .11341E-03 17 norm 1.3067 .82156 -.86719E-07 -.61547E-03 18 Prefactor 1.1414 8.0736 .24080E-05 .19214E-04 19 norm .10323 .30505 -.22548E-06 -.16649E-02 20 norm 13.165 7.3702 -.33248E-07 .12950E-04 21 norm 4.2423 1.8074 -.38280E-07 -.14343E-03 22 Prefactor 38.234 42.544 .15370E-05 .19495E-04 23 norm .10000E-03 1.7247 -.24355E-06** at limit ** 24 Prefactor 81.440 58.554 .61780E-06 .12079E-04 25 Normalizat .61345 .19052 -.22727E-05 -.56264E-04 26 Prefactor 1.0066 .14550 .88473E-06 -.10128E-04 ERR DEF= .500 Final values: Prefactor = 6.8548 Prefactor = 0.0001 Prefactor = 2.4881 Prefactor = 0.0001 Prefactor = 19.7113 Prefactor = 0.0001 norm = 0.570088 norm = 0.0001 Prefactor = 19.2119 Prefactor = 42.5628 norm = 0.0001 Prefactor = 2.83335 Prefactor = 2.92076 Prefactor = 1.18755 Prefactor = 0.0001 norm = 2.60841 norm = 1.30675 Prefactor = 1.14137 norm = 0.103229 norm = 13.1646 norm = 4.24226 Prefactor = 38.2337 norm = 0.0001 Prefactor = 81.4403 Normalizat = 0.613449 Prefactor = 1.00656 ********** ** 18 **HESSE ********** FCN= 7307.866 FROM HESSE STATUS=OK 464 CALLS 3629 TOTAL EDM= .47E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.8548 16.897 .15324E-03 -1.5184 2 Prefactor .10000E-03 27.962 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 2.4881 3.1560 .80879E-03 -1.5392 4 Prefactor .10000E-03 2.6869 .13642E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 19.711 20.116 .90229E-04 -1.4820 6 Prefactor .10000E-03 .84117 .76282E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .57009 .20337 .18293E-04 -1.5557 8 norm .10000E-03 16.250 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 19.212 24.458 .91402E-04 -1.4831 10 Prefactor 42.563 7.1848 .61448E-04 -1.4402 11 norm .10000E-03 12.053 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 2.8334 2.2662 .64868E-04 -1.5371 13 Prefactor 2.9208 2.2353 .63856E-04 -1.5366 14 Prefactor 1.1876 1.2687 .95716E-04 -1.5490 15 Prefactor .10000E-03 .93163 .79945E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.6084 1.4409 .36723E-03 -1.5385 17 norm 1.3067 .80714 .57236E-04 -1.5479 18 Prefactor 1.1414 8.0069 .43348E-03 -1.5494 19 norm .10323 .29885 .78371E-04 -1.5644 20 norm 13.165 7.3627 .11040E-03 -1.4982 21 norm 4.2423 1.7981 .70916E-04 -1.5296 22 Prefactor 38.234 42.467 .64811E-04 -1.4471 23 norm .10000E-03 1.7386 .10979E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 81.440 58.525 .44505E-04 -1.3901 25 Normalizat .61345 .21258 .32911E-03 -1.0742 26 Prefactor 1.0066 .16670 .21905E-03 -.92511 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.69734e-10 Minuit parameter uncertainties: 1 16.9087 2 1.36037e-05 3 3.15617 4 2.51126e-05 5 20.1234 6 5.21941e-07 7 0.203368 8 5.11613e-06 9 24.4703 10 7.18493 11 1.03304e-06 12 2.2663 13 2.23537 14 1.26872 15 1.90252e-06 16 1.44094 17 0.807145 18 6.04698 19 0.298856 20 7.36318 21 1.79808 22 42.5008 23 1.64129e-05 24 58.5666 25 0.212863 26 0.166787 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7307.86581237 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.833e+00 2.266e+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: 1.007e+00 1.668e-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: 6.134e-01 2.129e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 6.48 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.12e-07 +/- 8.94e-08 Energy Flux (Fixed Index): 3.57e-05 +/- 2.85e-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) = 7307.79676789 delta logL = 0.0690444722786 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7307.78685173 delta logL = 0.0789606318285 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.4087 1.0000 .10000E-03 10000. 2 'Index ' 2.2579 1.0000 .0000 10.000 3 'Normalizat' .62571 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0002 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7307.787 FROM MIGRAD STATUS=CONVERGED 83 CALLS 269 TOTAL EDM= .25E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.4087 2.1762 .72993E-04 -.26711E-03 2 Index 2.2577 .41868 .47445E-02 -.54254E-04 3 Normalizat .62573 .19791 .32630E-03 .50101E-04 4 Prefactor 1.0002 .16402 .21971E-03 .89052E-04 ERR DEF= .500 Final values: Prefactor = 3.40873 Index = 2.25769 Normalizat = 0.625734 Prefactor = 1.00019 ********** ** 18 **HESSE ********** FCN= 7307.787 FROM HESSE STATUS=OK 25 CALLS 294 TOTAL EDM= .43E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.4087 2.0871 .29197E-05 -1.5339 2 Index 2.2577 .40119 .18978E-03 -.58052 3 Normalizat .62573 .19787 .13052E-04 -1.0690 4 Prefactor 1.0002 .16407 .43942E-04 -.92723 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.31921e-11 Minuit parameter uncertainties: 1 2.08712 2 0.40181 3 0.19809 4 0.164151 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/831587': 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) = 7307.78685161 delta logL = 0.0789607590323 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.409e+00 2.087e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.258e+00 4.018e-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: 1.000e+00 1.642e-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: 6.257e-01 1.981e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 7.16 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.26 +/- 0.40 Photon Flux (Free Index): 9.92e-08 +/- 5.92e-08 Energy Flux (Free Index): 4.02e-05 +/- 2.33e-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/831587/cmap_HighResolution_299721601_299980801_4FGL_J1640.4+3945_daily_bin233.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/831587 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.12e-07', energy_flux2='4.02e-05', photon_flux_error='8.94e-08', dlogl='7.90e-02', energy_flux='3.57e-05', photon_flux2='9.92e-08', job_status='DONE', time_completed='2021-09-15 06:35:38.647013', photon_index_error2='0.40', photon_index2='2.26', ts='6.48', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='2.33e-05', EG='0.61', time_epoch_completed='1631712938.65', return_code='0', job_id='831587', GAL2='1.00', EG2='0.63', return_code2='0', energy_flux_error='2.85e-05', photon_flux_error2='5.92e-08', ts2='7.16', photon_index='2.42' WHERE bin_id='233' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:35:38 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 831587: <4FGL_J1640.4+3945_daily_bin233> in cluster Done Job <4FGL_J1640.4+3945_daily_bin233> was submitted from host by user in cluster at Wed Sep 15 06:20:22 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:21:00 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:21:00 2021 Terminated at Wed Sep 15 06:35:39 2021 Results reported at Wed Sep 15 06:35:39 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin233 250.119 39.7626 299721601 299980801 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 : 810.00 sec. Max Memory : 618 MB Average Memory : 279.96 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 878 sec. Turnaround time : 917 sec. The output (if any) is above this job summary.