/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 43 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 = 71453 number of fields = 22 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_monthly_bin10 RA = 250.119, Dec = 39.7626 tmin = 262915201, tmax = 265507201 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='979782', job_status='RUN', time_executed='2021-10-29 09:46:18.346184', time_epoch_executed='1635525978.35' WHERE source_name='4FGL J1640.4+3945' and cadence='monthly' and bin_id='10' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/979782 Creating custom pfile directory: /scratch/kocevski/979782/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=262915201.0 && nMetStart<265507201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=262915201.0 && nMetStart<265507201.0' /Data/Flight/Level1/LPA Retrieving 449 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/979782/ft1_4FGL_J1640.4+3945_monthly_bin10.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=262915201.0 && nMetStart<265507201.0' /Data/Flight/Level1/LPA Retrieving 449 files... Done. Merging files... Merged file saved to: /scratch/kocevski/979782/ft2_4FGL_J1640.4+3945_monthly_bin10.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/979782/ft1_4FGL_J1640.4+3945_monthly_bin10.fits outfile=/scratch/kocevski/979782/ft1_filteredMKT_4FGL_J1640.4+3945_monthly_bin10.fits ra=250.119 dec=39.7626 rad=12.0 tmin=262915201.0 tmax=265507201.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 13.13 user 12.70 sys 0.35 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/979782/ft2_4FGL_J1640.4+3945_monthly_bin10.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/979782/ft2_4FGL_J1640.4+3945_monthly_bin10.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/979782/ft1_filteredMKT_4FGL_J1640.4+3945_monthly_bin10.fits evtable="EVENTS" outfile="/scratch/kocevski/979782/ft1_filtered_4FGL_J1640.4+3945_monthly_bin10.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.83 user 0.63 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/979782/ft1_filtered_4FGL_J1640.4+3945_monthly_bin10.fits" evtable="EVENTS" scfile=/scratch/kocevski/979782/ft2_4FGL_J1640.4+3945_monthly_bin10.fits sctable="SC_DATA" outfile=/scratch/kocevski/979782/ltcube_262915201_265507201_4FGL_J1640.4+3945_monthly_bin10.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/979782/ft2_4FGL_J1640.4+3945_monthly_bin10.fits .....................! real 129.59 user 128.69 sys 0.37 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/979782/ft1_filtered_4FGL_J1640.4+3945_monthly_bin10.fits evtable="EVENTS" scfile=/scratch/kocevski/979782/ft2_4FGL_J1640.4+3945_monthly_bin10.fits sctable="SC_DATA" expcube=/scratch/kocevski/979782/ltcube_262915201_265507201_4FGL_J1640.4+3945_monthly_bin10.fits outfile=/scratch/kocevski/979782/expmap_262915201_265507201_4FGL_J1640.4+3945_monthly_bin10.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/979782/ltcube_262915201_265507201_4FGL_J1640.4+3945_monthly_bin10.fits .....................! real 192.10 user 185.91 sys 5.67 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/979782/ft1_filtered_4FGL_J1640.4+3945_monthly_bin10.fits scfile=/scratch/kocevski/979782/ft2_4FGL_J1640.4+3945_monthly_bin10.fits outfile=/scratch/kocevski/979782/cmap_262915201_265507201_4FGL_J1640.4+3945_monthly_bin10.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.78 user 0.59 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/979782/ft1_filtered_4FGL_J1640.4+3945_monthly_bin10.fits scfile=/scratch/kocevski/979782/ft2_4FGL_J1640.4+3945_monthly_bin10.fits outfile=/scratch/kocevski/979782/cmap_HighResolution_262915201_265507201_4FGL_J1640.4+3945_monthly_bin10.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.77 user 0.60 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/979782/ft1_filtered_4FGL_J1640.4+3945_monthly_bin10.fits evtable="EVENTS" scfile=/scratch/kocevski/979782/ft2_4FGL_J1640.4+3945_monthly_bin10.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/979782/Model_4FGL_J1640.4+3945_monthly_bin10.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/979782/ft1_filtered_4FGL_J1640.4+3945_monthly_bin10.fits.....................! real 561.54 user 558.53 sys 1.67 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/979782/ft1_filtered_4FGL_J1640.4+3945_monthly_bin10.fits', '/scratch/kocevski/979782/ft2_4FGL_J1640.4+3945_monthly_bin10.fits', expMap='/scratch/kocevski/979782/expmap_262915201_265507201_4FGL_J1640.4+3945_monthly_bin10.fits', expCube='/scratch/kocevski/979782/ltcube_262915201_265507201_4FGL_J1640.4+3945_monthly_bin10.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/979782/Model_4FGL_J1640.4+3945_monthly_bin10.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/979782/ft1_filtered_4FGL_J1640.4+3945_monthly_bin10.fits Spacecraft file(s): /scratch/kocevski/979782/ft2_4FGL_J1640.4+3945_monthly_bin10.fits Exposure map: /scratch/kocevski/979782/expmap_262915201_265507201_4FGL_J1640.4+3945_monthly_bin10.fits Exposure cube: /scratch/kocevski/979782/ltcube_262915201_265507201_4FGL_J1640.4+3945_monthly_bin10.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/979782/Model_4FGL_J1640.4+3945_monthly_bin10.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 91570.0141971 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 91569.840753 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 2.8162 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.3902 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.5223 1.0000 .10000E-03 10000. 5 'Prefactor ' 15.026 1.0000 .10000E-03 10000. 6 'Prefactor ' .10031E-03 1.0000 .10000E-03 10000. 7 'norm ' .66047 1.0000 .10000E-03 10000. 8 'norm ' 2.7683 1.0000 .10000E-03 10000. 9 'Prefactor ' 3.9655 1.0000 .10000E-03 10000. 10 'Prefactor ' .44488 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .71961 1.0000 .10000E-03 10000. 13 'Prefactor ' 6.5130 1.0000 .10000E-03 10000. 14 'Prefactor ' 4.0958 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'norm ' 6.5081 1.0000 .10000E-03 10000. 17 'norm ' .32501 1.0000 .10000E-03 10000. 18 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 19 'norm ' .22630 1.0000 .10000E-03 10000. 20 'norm ' 9.5689 1.0000 .10000E-03 10000. 21 'norm ' 3.8398 1.0000 .10000E-03 10000. 22 'Prefactor ' 30.597 1.0000 .10000E-03 10000. 23 'norm ' 43.209 1.0000 .10000E-03 10000. 24 'Prefactor ' 27.098 1.0000 .10000E-03 10000. 25 'Normalizat' 1.0696 1.0000 .10000E-01 10.000 26 'Prefactor ' .91302 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= 91569.84 FROM MIGRAD STATUS=CONVERGED 647 CALLS 2813 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 1.0833 -.49115E-08** at limit ** 2 Prefactor 2.8156 7.0766 .11149E-06 -.52011E-04 3 Prefactor 1.3902 .74214 .87328E-07 -.24377E-03 4 Prefactor 1.5221 1.7672 .69218E-06 -.71337E-04 5 Prefactor 15.028 7.5106 -.66278E-06 .21853E-04 6 Prefactor .10000E-03 .13512 -.11993E-07** at limit ** 7 norm .66047 .59476E-01 .65950E-08 .13470E-01 8 norm 2.7683 2.1661 .24808E-07 -.45910E-04 9 Prefactor 3.9659 5.2515 .21129E-06 .36860E-04 10 Prefactor .44514 .83702 .10086E-05 -.58351E-03 11 norm .10000E-03 4.2377 .84486E-08** at limit ** 12 Prefactor .71958 .57558 -.10928E-06 -.34509E-02 13 Prefactor 6.5130 .72193 .57278E-07 .59384E-02 14 Prefactor 4.0959 .95463 -.23003E-07 -.34948E-03 15 Prefactor .10000E-03 .12573 -.38094E-07** at limit ** 16 norm 6.5081 .65734 .80643E-08 .16219E-02 17 norm .32513 .21867 .33786E-07 -.10990E-02 18 Prefactor .10000E-03 .38572 -.78253E-07** at limit ** 19 norm .22627 .16511 -.19188E-07 -.37876E-02 20 norm 9.5691 2.4992 .26145E-07 .20227E-03 21 norm 3.8398 .57620 .16447E-07 .51909E-03 22 Prefactor 30.586 12.075 -.69533E-07 .49519E-03 23 norm 43.210 3.0676 -.26012E-08 .57658E-03 24 Prefactor 27.079 19.637 .25547E-06 -.33345E-03 25 Normalizat 1.0696 .58070E-01 -.12329E-06 .52440E-03 26 Prefactor .91301 .44714E-01 -.12338E-07 .46858E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 2.81563 Prefactor = 1.39019 Prefactor = 1.52211 Prefactor = 15.0284 Prefactor = 0.0001 norm = 0.660469 norm = 2.76834 Prefactor = 3.96591 Prefactor = 0.445136 norm = 0.0001 Prefactor = 0.719577 Prefactor = 6.51298 Prefactor = 4.09586 Prefactor = 0.0001 norm = 6.50808 norm = 0.325132 Prefactor = 0.0001 norm = 0.22627 norm = 9.56914 norm = 3.83983 Prefactor = 30.5863 norm = 43.2104 Prefactor = 27.0786 Normalizat = 1.06959 Prefactor = 0.913012 ********** ** 18 **HESSE ********** FCN= 91569.84 FROM HESSE STATUS=OK 478 CALLS 3291 TOTAL EDM= .83E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 1.0869 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.8156 7.0502 .24237E-03 -1.5372 3 Prefactor 1.3902 .73413 .18246E-03 -1.5472 4 Prefactor 1.5221 1.7111 .33984E-03 -1.5461 5 Prefactor 15.028 7.3899 .10333E-03 -1.4932 6 Prefactor .10000E-03 .76276 .21016E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .66047 .59379E-01 .18748E-04 -1.5545 8 norm 2.7683 2.1643 .24461E-03 -1.5375 9 Prefactor 3.9659 5.2609 .20255E-03 -1.5310 10 Prefactor .44514 .82368 .35776E-03 -1.5575 11 norm .10000E-03 4.2544 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .71958 .52875 .13035E-03 -1.5538 13 Prefactor 6.5130 .67784 .54451E-04 -1.5198 14 Prefactor 4.0959 .94056 .13376E-03 -1.5303 15 Prefactor .10000E-03 .49874 .20178E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 6.5081 .65692 .74524E-04 -1.5198 17 norm .32513 .18719 .10563E-02 -1.5594 18 Prefactor .10000E-03 1.8253 .34474E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .22627 .13755 .99125E-03 -1.5613 20 norm 9.5691 2.4954 .12955E-03 -1.5089 21 norm 3.8398 .57119 .84702E-04 -1.5316 22 Prefactor 30.586 12.067 .72435E-04 -1.4601 23 norm 43.210 3.0657 .60988E-04 -1.4392 24 Prefactor 27.079 19.593 .76959E-04 -1.4667 25 Normalizat 1.0696 .68327E-01 .29057E-03 -.90734 26 Prefactor .91301 .53481E-01 .25355E-03 -.95688 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.27343e-08 Minuit parameter uncertainties: 1 4.17638e-07 2 7.0523 3 0.734137 4 1.71111 5 7.39038 6 6.19712e-07 7 0.0593788 8 2.16436 9 5.26153 10 0.823699 11 5.25987e-07 12 0.528753 13 0.677842 14 0.940565 15 1.20872e-06 16 0.656925 17 0.18719 18 2.42431e-06 19 0.13755 20 2.49541 21 0.571186 22 12.068 23 3.0657 24 19.5978 25 0.0683325 26 0.0534838 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 91569.8407514 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 7.196e-01 5.288e-01 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: 9.130e-01 5.348e-02 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.070e+00 6.833e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 4.13 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 2.84e-08 +/- 2.09e-08 Energy Flux (Fixed Index): 9.06e-06 +/- 6.66e-06 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) = 91569.808152 delta logL = 0.0325994301675 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 91569.7967813 delta logL = 0.0439701042487 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .78395 1.0000 .10000E-03 10000. 2 'Index ' 2.3056 1.0000 .0000 10.000 3 'Normalizat' 1.0727 1.0000 .10000E-01 10.000 4 'Prefactor ' .91146 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 91569.80 FROM MIGRAD STATUS=FAILED 93 CALLS 257 TOTAL EDM= .23E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .78398 .47033 .13945E-03 .64619E-03 2 Index 2.3056 .40196 .11109E-01 .15980E-02 3 Normalizat 1.0727 .65794E-01 .29024E-03 .70193E-05 4 Prefactor .91145 .52969E-01 .25376E-03 .71683E-06 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 91569.80 FROM SIMPLEX STATUS=UNCHANGED 73 CALLS 330 TOTAL EDM= .12E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .78398 .47033 .10653E-04 -1.5531 2 Index 2.3056 .40196 .37398E-03 -.56912 3 Normalizat 1.0727 .65794E-01 .79978E-04 -.90633 4 Prefactor .91145 .52969E-01 .70072E-04 -.95742 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 91569.80 FROM MIGRAD STATUS=CONVERGED 29 CALLS 359 TOTAL EDM= .33E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .78398 .45232 .27890E-04 -.65219E-05 2 Index 2.3056 .38635 .22218E-02 .62450E-04 3 Normalizat 1.0727 .65795E-01 .58048E-04 .70193E-05 4 Prefactor .91145 .52995E-01 .10150E-04 .71683E-06 ERR DEF= .500 Final values: Prefactor = 0.783976 Index = 2.30555 Normalizat = 1.07271 Prefactor = 0.911449 ********** ** 18 **HESSE ********** FCN= 91569.80 FROM HESSE STATUS=OK 25 CALLS 384 TOTAL EDM= .40E-13 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .78398 .44953 .11156E-05 -1.5531 2 Index 2.3056 .38375 .44436E-03 -.56912 3 Normalizat 1.0727 .65784E-01 .58048E-04 -.90633 4 Prefactor .91145 .52990E-01 .10150E-04 -.95742 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.04315e-14 Minuit parameter uncertainties: 1 0.449536 2 0.38428 3 0.0657894 4 0.052993 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/979782': 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) = 91569.7967813 delta logL = 0.0439701483847 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 7.840e-01 4.495e-01 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.306e+00 3.843e-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: 9.114e-01 5.299e-02 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.073e+00 6.579e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.56 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.31 +/- 0.38 Photon Flux (Free Index): 2.49e-08 +/- 1.83e-08 Energy Flux (Free Index): 9.35e-06 +/- 5.08e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/979782/cmap_HighResolution_262915201_265507201_4FGL_J1640.4+3945_monthly_bin10.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/979782 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.84e-08', energy_flux2='9.35e-06', photon_flux_error='2.09e-08', dlogl='4.40e-02', energy_flux='9.06e-06', photon_flux2='2.49e-08', job_status='DONE', time_completed='2021-10-29 11:29:55.090842', photon_index_error2='0.38', photon_index2='2.31', ts='4.13', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='5.08e-06', EG='1.07', time_epoch_completed='1635532195.09', return_code='0', job_id='979782', GAL2='0.91', EG2='1.07', return_code2='0', energy_flux_error='6.66e-06', photon_flux_error2='1.83e-08', ts2='4.56', photon_index='2.42' WHERE bin_id='10' AND source_name='4FGL J1640.4+3945' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Oct 29 11:29:55 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 979782: <4FGL_J1640.4+3945_monthly_bin10> in cluster Done Job <4FGL_J1640.4+3945_monthly_bin10> was submitted from host by user in cluster at Fri Oct 29 09:45:12 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 29 09:45:20 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 29 09:45:20 2021 Terminated at Fri Oct 29 11:29:56 2021 Results reported at Fri Oct 29 11:29:56 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_monthly_bin10 250.119 39.7626 262915201 265507201 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 : 6159.00 sec. Max Memory : 632 MB Average Memory : 434.46 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 6275 sec. Turnaround time : 6284 sec. The output (if any) is above this job summary.