/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 28 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 = 7396 number of fields = 22 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin14 RA = 250.119, Dec = 39.7626 tmin = 242956801, tmax = 243216001 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='827504', job_status='RUN', time_executed='2021-09-15 06:07:52.014886', time_epoch_executed='1631711272.01' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='14' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/827504 Creating custom pfile directory: /scratch/kocevski/827504/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=242956801.0 && nMetStart<243216001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=242956801.0 && nMetStart<243216001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/827504/ft1_4FGL_J1640.4+3945_daily_bin14.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=242956801.0 && nMetStart<243216001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/827504/ft2_4FGL_J1640.4+3945_daily_bin14.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/827504/ft1_4FGL_J1640.4+3945_daily_bin14.fits outfile=/scratch/kocevski/827504/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin14.fits ra=250.119 dec=39.7626 rad=12.0 tmin=242956801.0 tmax=243216001.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 1.42 user 1.25 sys 0.16 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/827504/ft2_4FGL_J1640.4+3945_daily_bin14.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/827504/ft2_4FGL_J1640.4+3945_daily_bin14.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/827504/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin14.fits evtable="EVENTS" outfile="/scratch/kocevski/827504/ft1_filtered_4FGL_J1640.4+3945_daily_bin14.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.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/827504/ft1_filtered_4FGL_J1640.4+3945_daily_bin14.fits" evtable="EVENTS" scfile=/scratch/kocevski/827504/ft2_4FGL_J1640.4+3945_daily_bin14.fits sctable="SC_DATA" outfile=/scratch/kocevski/827504/ltcube_242956801_243216001_4FGL_J1640.4+3945_daily_bin14.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/827504/ft2_4FGL_J1640.4+3945_daily_bin14.fits .....................! real 14.24 user 13.88 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/827504/ft1_filtered_4FGL_J1640.4+3945_daily_bin14.fits evtable="EVENTS" scfile=/scratch/kocevski/827504/ft2_4FGL_J1640.4+3945_daily_bin14.fits sctable="SC_DATA" expcube=/scratch/kocevski/827504/ltcube_242956801_243216001_4FGL_J1640.4+3945_daily_bin14.fits outfile=/scratch/kocevski/827504/expmap_242956801_243216001_4FGL_J1640.4+3945_daily_bin14.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/827504/ltcube_242956801_243216001_4FGL_J1640.4+3945_daily_bin14.fits .....................! real 191.12 user 185.95 sys 4.78 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/827504/ft1_filtered_4FGL_J1640.4+3945_daily_bin14.fits scfile=/scratch/kocevski/827504/ft2_4FGL_J1640.4+3945_daily_bin14.fits outfile=/scratch/kocevski/827504/cmap_242956801_243216001_4FGL_J1640.4+3945_daily_bin14.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.56 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/827504/ft1_filtered_4FGL_J1640.4+3945_daily_bin14.fits scfile=/scratch/kocevski/827504/ft2_4FGL_J1640.4+3945_daily_bin14.fits outfile=/scratch/kocevski/827504/cmap_HighResolution_242956801_243216001_4FGL_J1640.4+3945_daily_bin14.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.54 user 0.38 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/827504/ft1_filtered_4FGL_J1640.4+3945_daily_bin14.fits evtable="EVENTS" scfile=/scratch/kocevski/827504/ft2_4FGL_J1640.4+3945_daily_bin14.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/827504/Model_4FGL_J1640.4+3945_daily_bin14.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/827504/ft1_filtered_4FGL_J1640.4+3945_daily_bin14.fits....................! real 56.05 user 54.63 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/827504/ft1_filtered_4FGL_J1640.4+3945_daily_bin14.fits', '/scratch/kocevski/827504/ft2_4FGL_J1640.4+3945_daily_bin14.fits', expMap='/scratch/kocevski/827504/expmap_242956801_243216001_4FGL_J1640.4+3945_daily_bin14.fits', expCube='/scratch/kocevski/827504/ltcube_242956801_243216001_4FGL_J1640.4+3945_daily_bin14.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/827504/Model_4FGL_J1640.4+3945_daily_bin14.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/827504/ft1_filtered_4FGL_J1640.4+3945_daily_bin14.fits Spacecraft file(s): /scratch/kocevski/827504/ft2_4FGL_J1640.4+3945_daily_bin14.fits Exposure map: /scratch/kocevski/827504/expmap_242956801_243216001_4FGL_J1640.4+3945_daily_bin14.fits Exposure cube: /scratch/kocevski/827504/ltcube_242956801_243216001_4FGL_J1640.4+3945_daily_bin14.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/827504/Model_4FGL_J1640.4+3945_daily_bin14.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) = 7122.86078521 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7122.85446193 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.6249 1.0000 .10000E-03 10000. 2 'Prefactor ' 20.424 1.0000 .10000E-03 10000. 3 'Prefactor ' .41538 1.0000 .10000E-03 10000. 4 'Prefactor ' .11390E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .39542E-01 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.0561 1.0000 .10000E-03 10000. 7 'norm ' .76406 1.0000 .10000E-03 10000. 8 'norm ' .10028E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10046E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 4.7802 1.0000 .10000E-03 10000. 11 'norm ' .10035E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 3.5908 1.0000 .10000E-03 10000. 13 'Prefactor ' .53715 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.1788 1.0000 .10000E-03 10000. 15 'Prefactor ' 2.3601 1.0000 .10000E-03 10000. 16 'norm ' 7.3470 1.0000 .10000E-03 10000. 17 'norm ' .10019E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 19 'norm ' .10004E-03 1.0000 .10000E-03 10000. 20 'norm ' .10031E-03 1.0000 .10000E-03 10000. 21 'norm ' 2.1491 1.0000 .10000E-03 10000. 22 'Prefactor ' .10530E-03 1.0000 .10000E-03 10000. 23 'norm ' 4.1688 1.0000 .10000E-03 10000. 24 'Prefactor ' .10246E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.0766 1.0000 .10000E-01 10.000 26 'Prefactor ' .85631 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= 7122.854 FROM MIGRAD STATUS=CONVERGED 653 CALLS 3173 TOTAL EDM= .18E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.6265 40.884 .45785E-06 -.48682E-04 2 Prefactor 20.413 73.251 -.27560E-05 -.30206E-04 3 Prefactor .40750 1.9225 .26460E-06 -.40810E-03 4 Prefactor .10000E-03 9.1336 .44810E-07** at limit ** 5 Prefactor .10001E-03 20.074 .63773E-07** at limit ** 6 Prefactor 3.0553 3.4801 .11734E-06 -.28051E-03 7 norm .76409 .18861 -.14647E-07 -.17186E-02 8 norm .10000E-03 10.922 -.25041E-06** at limit ** 9 Prefactor .10000E-03 11.092 -.11911E-07** at limit ** 10 Prefactor 4.7762 5.1144 .14405E-06 -.24998E-03 11 norm .10000E-03 15.109 .16061E-05** at limit ** 12 Prefactor 3.5929 1.9312 -.37778E-06 -.79907E-03 13 Prefactor .53539 1.6411 .10423E-05 -.40829E-03 14 Prefactor 2.1789 2.0336 -.93225E-08 .17523E-04 15 Prefactor 2.3609 2.6417 -.24578E-08 -.30755E-03 16 norm 7.3474 2.2293 -.62117E-07 -.20338E-03 17 norm .10000E-03 .30666 .90495E-08** at limit ** 18 Prefactor .10000E-03 3.6793 .12814E-07** at limit ** 19 norm .10000E-03 .23467 .37891E-08** at limit ** 20 norm .10000E-03 2.6615 .67118E-09** at limit ** 21 norm 2.1493 1.5429 .27180E-07 -.12532E-03 22 Prefactor .10000E-03 16.389 -.16730E-05** at limit ** 23 norm 4.1726 5.3319 .10021E-06 -.16536E-03 24 Prefactor .10000E-03 24.943 .25439E-06** at limit ** 25 Normalizat 1.0766 .18674 -.14425E-06 -.10597E-03 26 Prefactor .85618 .14550 -.17277E-06 -.58928E-04 ERR DEF= .500 Final values: Prefactor = 1.62654 Prefactor = 20.4126 Prefactor = 0.407498 Prefactor = 0.0001 Prefactor = 0.000100007 Prefactor = 3.05532 norm = 0.764094 norm = 0.0001 Prefactor = 0.0001 Prefactor = 4.77617 norm = 0.0001 Prefactor = 3.59287 Prefactor = 0.535389 Prefactor = 2.17891 Prefactor = 2.36093 norm = 7.34737 norm = 0.0001 Prefactor = 0.0001 norm = 0.0001 norm = 0.0001 norm = 2.14935 Prefactor = 0.0001 norm = 4.17255 Prefactor = 0.0001 Normalizat = 1.07664 Prefactor = 0.856176 ********** ** 18 **HESSE ********** FCN= 7122.854 FROM HESSE STATUS=OK 468 CALLS 3641 TOTAL EDM= .36E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.6265 42.184 .33189E-03 -1.5453 2 Prefactor 20.413 73.986 .88626E-04 -1.4804 3 Prefactor .40750 3.6646 .22318E-02 -1.5580 4 Prefactor .10000E-03 9.3547 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10001E-03 158.75 .69678E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 3.0553 3.4734 .15781E-03 -1.5358 7 norm .76409 .18950 .16663E-04 -1.5533 8 norm .10000E-03 11.052 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 11.133 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 4.7762 5.0770 .18302E-03 -1.5271 11 norm .10000E-03 15.384 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 3.5929 1.9173 .56720E-04 -1.5329 13 Prefactor .53539 1.6553 .12869E-03 -1.5562 14 Prefactor 2.1789 2.0360 .11208E-03 -1.5413 15 Prefactor 2.3609 2.6218 .13777E-03 -1.5401 16 norm 7.3474 2.2275 .66508E-04 -1.5166 17 norm .10000E-03 .38645 .90387E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 3.7277 .15798E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .10000E-03 .59637 .79577E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 2.6697 .13444E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 2.1493 1.5377 .85625E-04 -1.5415 22 Prefactor .10000E-03 16.657 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 4.1726 5.3600 .19740E-03 -1.5299 24 Prefactor .10000E-03 24.961 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0766 .21946 .26442E-03 -.90505 26 Prefactor .85618 .17301 .24044E-03 -.97690 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.60762e-10 Minuit parameter uncertainties: 1 16.5793 2 74.3211 3 2.44392 4 2.71572e-05 5 0.00211396 6 3.4736 7 0.189499 8 1.75823e-05 9 4.22562e-07 10 5.07744 11 0.000142136 12 1.91735 13 1.65542 14 2.03609 15 2.62195 16 2.22756 17 1.35456e-07 18 7.63093e-07 19 2.54005e-07 20 2.91346e-07 21 1.53774 22 0.000151564 23 5.36062 24 3.48621e-05 25 0.219646 26 0.173123 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7122.85433141 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.593e+00 1.917e+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.562e-01 1.731e-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.077e+00 2.196e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 14.80 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.42e-07 +/- 7.57e-08 Energy Flux (Fixed Index): 4.52e-05 +/- 2.41e-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) = 7122.85335098 delta logL = 0.000980430316304 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7122.8517063 delta logL = 0.00262510951779 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.4778 1.0000 .10000E-03 10000. 2 'Index ' 2.4478 1.0000 .0000 10.000 3 'Normalizat' 1.0739 1.0000 .10000E-01 10.000 4 'Prefactor ' .85768 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= 7122.852 FROM MIGRAD STATUS=CONVERGED 51 CALLS 200 TOTAL EDM= .64E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.4781 17.393 .54208E-02 .25202E-03 2 Index 2.4477 2.3137 .95273E-01 .17795E-03 3 Normalizat 1.0740 .93084E-01 .59845E-01 .94535E-05 4 Prefactor .85763 .61005E-01 .44463E-01 .17069E-04 ERR DEF= .500 Final values: Prefactor = 3.47811 Index = 2.44773 Normalizat = 1.07401 Prefactor = 0.857634 ********** ** 18 **HESSE ********** FCN= 7122.852 FROM HESSE STATUS=OK 33 CALLS 233 TOTAL EDM= .85E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.4781 2.1930 .55518E-04 -1.5335 2 Index 2.4477 .39292 .37584E-02 -.53571 3 Normalizat 1.0740 .21154 .26467E-03 -.90591 4 Prefactor .85763 .17149 .24025E-03 -.97638 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.5477e-12 Minuit parameter uncertainties: 1 2.19307 2 0.393467 3 0.211703 4 0.171593 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/827504': 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) = 7122.85170622 delta logL = 0.00262519167882 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.478e+00 2.193e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.448e+00 3.935e-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.576e-01 1.716e-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.074e+00 2.117e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 15.51 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.45 +/- 0.39 Photon Flux (Free Index): 1.45e-07 +/- 6.39e-08 Energy Flux (Free Index): 4.46e-05 +/- 1.94e-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/827504/cmap_HighResolution_242956801_243216001_4FGL_J1640.4+3945_daily_bin14.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/827504 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.42e-07', energy_flux2='4.46e-05', photon_flux_error='7.57e-08', dlogl='2.63e-03', energy_flux='4.52e-05', photon_flux2='1.45e-07', job_status='DONE', time_completed='2021-09-15 06:20:44.954019', photon_index_error2='0.39', photon_index2='2.45', ts='14.80', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.94e-05', EG='1.08', time_epoch_completed='1631712044.95', return_code='0', job_id='827504', GAL2='0.86', EG2='1.07', return_code2='0', energy_flux_error='2.41e-05', photon_flux_error2='6.39e-08', ts2='15.51', photon_index='2.42' WHERE bin_id='14' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:20:44 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 827504: <4FGL_J1640.4+3945_daily_bin14> in cluster Done Job <4FGL_J1640.4+3945_daily_bin14> was submitted from host by user in cluster at Wed Sep 15 06:05:23 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:07:14 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:07:14 2021 Terminated at Wed Sep 15 06:20:45 2021 Results reported at Wed Sep 15 06:20:45 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin14 250.119 39.7626 242956801 243216001 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 : 771.12 sec. Max Memory : 1257 MB Average Memory : 355.24 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 811 sec. Turnaround time : 922 sec. The output (if any) is above this job summary.