/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 12 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 = 73046 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_monthly_bin19 RA = 250.119, Dec = 39.7626 tmin = 286243201, tmax = 288835201 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='979795', job_status='RUN', time_executed='2021-10-29 09:45:47.441436', time_epoch_executed='1635525947.44' WHERE source_name='4FGL J1640.4+3945' and cadence='monthly' and bin_id='19' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/979795 Creating custom pfile directory: /scratch/kocevski/979795/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=286243201.0 && nMetStart<288835201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=286243201.0 && nMetStart<288835201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/979795/ft1_4FGL_J1640.4+3945_monthly_bin19.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=286243201.0 && nMetStart<288835201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Merged file saved to: /scratch/kocevski/979795/ft2_4FGL_J1640.4+3945_monthly_bin19.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/979795/ft1_4FGL_J1640.4+3945_monthly_bin19.fits outfile=/scratch/kocevski/979795/ft1_filteredMKT_4FGL_J1640.4+3945_monthly_bin19.fits ra=250.119 dec=39.7626 rad=12.0 tmin=286243201.0 tmax=288835201.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 27.38 user 26.52 sys 0.79 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/979795/ft2_4FGL_J1640.4+3945_monthly_bin19.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/979795/ft2_4FGL_J1640.4+3945_monthly_bin19.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/979795/ft1_filteredMKT_4FGL_J1640.4+3945_monthly_bin19.fits evtable="EVENTS" outfile="/scratch/kocevski/979795/ft1_filtered_4FGL_J1640.4+3945_monthly_bin19.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.71 user 0.54 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/979795/ft1_filtered_4FGL_J1640.4+3945_monthly_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/979795/ft2_4FGL_J1640.4+3945_monthly_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/979795/ltcube_286243201_288835201_4FGL_J1640.4+3945_monthly_bin19.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/979795/ft2_4FGL_J1640.4+3945_monthly_bin19.fits .....................! real 114.60 user 114.06 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/979795/ft1_filtered_4FGL_J1640.4+3945_monthly_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/979795/ft2_4FGL_J1640.4+3945_monthly_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/979795/ltcube_286243201_288835201_4FGL_J1640.4+3945_monthly_bin19.fits outfile=/scratch/kocevski/979795/expmap_286243201_288835201_4FGL_J1640.4+3945_monthly_bin19.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/979795/ltcube_286243201_288835201_4FGL_J1640.4+3945_monthly_bin19.fits .....................! real 157.45 user 152.80 sys 4.35 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/979795/ft1_filtered_4FGL_J1640.4+3945_monthly_bin19.fits scfile=/scratch/kocevski/979795/ft2_4FGL_J1640.4+3945_monthly_bin19.fits outfile=/scratch/kocevski/979795/cmap_286243201_288835201_4FGL_J1640.4+3945_monthly_bin19.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.68 user 0.50 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/979795/ft1_filtered_4FGL_J1640.4+3945_monthly_bin19.fits scfile=/scratch/kocevski/979795/ft2_4FGL_J1640.4+3945_monthly_bin19.fits outfile=/scratch/kocevski/979795/cmap_HighResolution_286243201_288835201_4FGL_J1640.4+3945_monthly_bin19.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.68 user 0.52 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/979795/ft1_filtered_4FGL_J1640.4+3945_monthly_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/979795/ft2_4FGL_J1640.4+3945_monthly_bin19.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/979795/Model_4FGL_J1640.4+3945_monthly_bin19.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/979795/ft1_filtered_4FGL_J1640.4+3945_monthly_bin19.fits.....................! real 401.60 user 399.69 sys 1.15 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/979795/ft1_filtered_4FGL_J1640.4+3945_monthly_bin19.fits', '/scratch/kocevski/979795/ft2_4FGL_J1640.4+3945_monthly_bin19.fits', expMap='/scratch/kocevski/979795/expmap_286243201_288835201_4FGL_J1640.4+3945_monthly_bin19.fits', expCube='/scratch/kocevski/979795/ltcube_286243201_288835201_4FGL_J1640.4+3945_monthly_bin19.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/979795/Model_4FGL_J1640.4+3945_monthly_bin19.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/979795/ft1_filtered_4FGL_J1640.4+3945_monthly_bin19.fits Spacecraft file(s): /scratch/kocevski/979795/ft2_4FGL_J1640.4+3945_monthly_bin19.fits Exposure map: /scratch/kocevski/979795/expmap_286243201_288835201_4FGL_J1640.4+3945_monthly_bin19.fits Exposure cube: /scratch/kocevski/979795/ltcube_286243201_288835201_4FGL_J1640.4+3945_monthly_bin19.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/979795/Model_4FGL_J1640.4+3945_monthly_bin19.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) = 74538.3566612 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 74538.3494274 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14184E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 11.555 1.0000 .10000E-03 10000. 3 'Prefactor ' .49396 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.0363 1.0000 .10000E-03 10000. 5 'Prefactor ' .23715E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .83712 1.0000 .10000E-03 10000. 7 'norm ' .90331 1.0000 .10000E-03 10000. 8 'norm ' 1.2741 1.0000 .10000E-03 10000. 9 'Prefactor ' 8.9664 1.0000 .10000E-03 10000. 10 'Prefactor ' 13.370 1.0000 .10000E-03 10000. 11 'norm ' 12.284 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.5612 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.3622 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.9478 1.0000 .10000E-03 10000. 15 'Prefactor ' .94385 1.0000 .10000E-03 10000. 16 'norm ' 1.5335 1.0000 .10000E-03 10000. 17 'norm ' .57795 1.0000 .10000E-03 10000. 18 'Prefactor ' 1.3510 1.0000 .10000E-03 10000. 19 'norm ' .71710 1.0000 .10000E-03 10000. 20 'norm ' 6.1005 1.0000 .10000E-03 10000. 21 'norm ' 2.3102 1.0000 .10000E-03 10000. 22 'Prefactor ' 10.466 1.0000 .10000E-03 10000. 23 'norm ' .10143E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 34.097 1.0000 .10000E-03 10000. 25 'Normalizat' 1.2440 1.0000 .10000E-01 10.000 26 'Prefactor ' .83594 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= 74538.35 FROM MIGRAD STATUS=CONVERGED 651 CALLS 3253 TOTAL EDM= .50E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 1.0485 .63810E-07** at limit ** 2 Prefactor 11.563 9.5969 .16151E-06 .97588E-05 3 Prefactor .49393 .57239 .52180E-07 -.50656E-03 4 Prefactor 1.0368 1.0511 .47123E-07 -.50556E-03 5 Prefactor .10000E-03 1.7211 -.41534E-07** at limit ** 6 Prefactor .83747 .77213 .70593E-07 -.28756E-02 7 norm .90307 .70475E-01 .62295E-09 -.73925E-03 8 norm 1.2745 1.8310 .26781E-07 -.73782E-03 9 Prefactor 9.0189 5.1606 .10676E-06 -.13348E-02 10 Prefactor 13.369 1.6063 .19891E-07 -.39453E-02 11 norm 12.271 10.160 .26911E-06 .40593E-05 12 Prefactor 2.5612 .64555 -.74564E-08 -.95127E-03 13 Prefactor 1.3625 .55649 .45724E-08 -.15127E-02 14 Prefactor 2.9483 .96883 .16889E-07 -.87283E-03 15 Prefactor .94369 .63913 .71593E-09 -.11704E-02 16 norm 1.5334 .39603 .38118E-08 -.65736E-05 17 norm .57795 .21951 .19497E-08 -.13366E-02 18 Prefactor 1.3528 1.4137 .11167E-06 -.24133E-02 19 norm .71712 .22426 .16760E-08 -.12061E-02 20 norm 6.0987 2.7887 -.73322E-07 .73524E-04 21 norm 2.3100 .56157 .86813E-08 -.85227E-03 22 Prefactor 10.464 14.493 .57996E-05 .25388E-03 23 norm .10000E-03 .42614 -.26341E-06** at limit ** 24 Prefactor 34.017 22.096 -.19494E-06 .22218E-03 25 Normalizat 1.2439 .63253E-01 .31902E-07 .55096E-04 26 Prefactor .83603 .49159E-01 -.32563E-06 .35535E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 11.5632 Prefactor = 0.493927 Prefactor = 1.03682 Prefactor = 0.000100001 Prefactor = 0.837471 norm = 0.903072 norm = 1.27453 Prefactor = 9.01895 Prefactor = 13.3695 norm = 12.2705 Prefactor = 2.56115 Prefactor = 1.36251 Prefactor = 2.94834 Prefactor = 0.94369 norm = 1.53343 norm = 0.577946 Prefactor = 1.3528 norm = 0.717123 norm = 6.09868 norm = 2.31005 Prefactor = 10.4643 norm = 0.0001 Prefactor = 34.0167 Normalizat = 1.2439 Prefactor = 0.836027 ********** ** 18 **HESSE ********** FCN= 74538.35 FROM HESSE STATUS=OK 496 CALLS 3749 TOTAL EDM= .16E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 1.3339 .11206 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 11.563 9.5965 .11785E-03 -1.5028 3 Prefactor .49393 .52449 .21361E-02 -1.5567 4 Prefactor 1.0368 1.0355 .26165E-03 -1.5504 5 Prefactor .10000E-03 1.9971 .10172 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .83747 .83965 .24118E-03 -1.5525 7 norm .90307 .71799E-01 .17441E-04 -1.5518 8 norm 1.2745 1.8278 .39384E-03 -1.5482 9 Prefactor 9.0189 5.6994 .66926E-03 -1.5107 10 Prefactor 13.369 1.6635 .54772E-03 -1.4977 11 norm 12.271 10.129 .11429E-03 -1.5007 12 Prefactor 2.5612 .64019 .72041E-04 -1.5388 13 Prefactor 1.3625 .54260 .87539E-04 -1.5475 14 Prefactor 2.9483 .96251 .14464E-03 -1.5365 15 Prefactor .94369 .63357 .17025E-03 -1.5514 16 norm 1.5334 .39575 .84255E-04 -1.5460 17 norm .57795 .21290 .73909E-04 -1.5556 18 Prefactor 1.3528 1.6451 .36344E-03 -1.5475 19 norm .71712 .21755 .67739E-04 -1.5539 20 norm 6.0987 2.7677 .16255E-03 -1.5214 21 norm 2.3100 .55797 .95607E-04 -1.5404 22 Prefactor 10.464 14.559 .12385E-03 -1.5061 23 norm .10000E-03 1.5303 .32058E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 34.017 20.999 .68626E-04 -1.4541 25 Normalizat 1.2439 .77036E-01 .27084E-03 -.85257 26 Prefactor .83603 .58671E-01 .25899E-03 -.98414 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.57748e-08 Minuit parameter uncertainties: 1 3.26848e-05 2 9.59776 3 0.524499 4 1.03547 5 9.60014e-05 6 0.839665 7 0.0717994 8 1.82792 9 5.6997 10 1.66349 11 10.13 12 0.640191 13 0.542606 14 0.96251 15 0.633576 16 0.395755 17 0.212897 18 1.64513 19 0.217549 20 2.7678 21 0.557967 22 14.5639 23 4.56769e-05 24 21.0039 25 0.0770431 26 0.0586755 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 74538.3493661 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.561e+00 6.402e-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: 8.360e-01 5.868e-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.244e+00 7.704e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 65.01 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.01e-07 +/- 2.53e-08 Energy Flux (Fixed Index): 3.22e-05 +/- 8.06e-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) = 74538.3334337 delta logL = 0.0159323878033 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 74538.3193666 delta logL = 0.0299995178939 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.4565 1.0000 .10000E-03 10000. 2 'Index ' 2.4628 1.0000 .0000 10.000 3 'Normalizat' 1.2399 1.0000 .10000E-01 10.000 4 'Prefactor ' .83808 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= 74538.32 FROM MIGRAD STATUS=FAILED 95 CALLS 259 TOTAL EDM= .11E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.4563 .67319 .69611E-04 -.75779E-04 2 Index 2.4630 .18954 .56479E-02 .74617E-02 3 Normalizat 1.2399 .74035E-01 .27117E-03 .26832E-05 4 Prefactor .83809 .58067E-01 .25869E-03 .11953E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 74538.32 FROM SIMPLEX STATUS=UNCHANGED 72 CALLS 331 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.4563 .67319 .15945E-04 -1.5395 2 Index 2.4630 .18954 .14921E-03 -.53217 3 Normalizat 1.2399 .74035E-01 .72123E-04 -.85377 4 Prefactor .83809 .58067E-01 .66518E-04 -.98339 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 74538.32 FROM MIGRAD STATUS=CONVERGED 27 CALLS 358 TOTAL EDM= .14E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.4563 .61745 .27844E-05 -.78392E-04 2 Index 2.4630 .17361 .11296E-02 .28760E-03 3 Normalizat 1.2399 .73855E-01 .10847E-04 .33540E-05 4 Prefactor .83809 .58020E-01 .10348E-04 .10547E-04 ERR DEF= .500 Final values: Prefactor = 2.45633 Index = 2.46298 Normalizat = 1.23994 Prefactor = 0.838089 ********** ** 18 **HESSE ********** FCN= 74538.32 FROM HESSE STATUS=OK 25 CALLS 383 TOTAL EDM= .16E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.4563 .60893 .55689E-06 -1.5395 2 Index 2.4630 .17113 .22592E-03 -.53217 3 Normalizat 1.2399 .73877E-01 .21693E-05 -.85377 4 Prefactor .83809 .58069E-01 .20696E-05 -.98339 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.62602e-13 Minuit parameter uncertainties: 1 0.608927 2 0.171176 3 0.0738827 4 0.0580728 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/979795': 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) = 74538.3193658 delta logL = 0.0300003313459 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.456e+00 6.089e-01 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.463e+00 1.712e-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.381e-01 5.807e-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.240e+00 7.388e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 68.17 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.46 +/- 0.17 Photon Flux (Free Index): 1.05e-07 +/- 2.39e-08 Energy Flux (Free Index): 3.18e-05 +/- 5.68e-06 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/979795/cmap_HighResolution_286243201_288835201_4FGL_J1640.4+3945_monthly_bin19.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/979795 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='3.18e-05', photon_flux_error='2.53e-08', dlogl='3.00e-02', energy_flux='3.22e-05', photon_flux2='1.05e-07', job_status='DONE', time_completed='2021-10-29 11:07:12.964600', photon_index_error2='0.17', photon_index2='2.46', ts='65.01', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='5.68e-06', EG='1.24', time_epoch_completed='1635530832.96', return_code='0', job_id='979795', GAL2='0.84', EG2='1.24', return_code2='0', energy_flux_error='8.06e-06', photon_flux_error2='2.39e-08', ts2='68.17', photon_index='2.42' WHERE bin_id='19' AND source_name='4FGL J1640.4+3945' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Oct 29 11:07:13 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 979795: <4FGL_J1640.4+3945_monthly_bin19> in cluster Done Job <4FGL_J1640.4+3945_monthly_bin19> was submitted from host by user in cluster at Fri Oct 29 09:45:13 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 29 09:45:24 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 29 09:45:24 2021 Terminated at Fri Oct 29 11:07:14 2021 Results reported at Fri Oct 29 11:07:14 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_monthly_bin19 250.119 39.7626 286243201 288835201 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 : 4794.00 sec. Max Memory : 629 MB Average Memory : 401.46 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 4909 sec. Turnaround time : 4921 sec. The output (if any) is above this job summary.