aklog: Couldn't determine realm of user:aklog: No credentials cache found while getting realm /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 197 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 make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. 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 = 17505 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_weekly_bin758 RA = 264.56, Dec = 40.0099 tmin = 697420801, tmax = 698025601 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='101549', job_status='RUN', time_executed='2023-02-14 02:08:56.692614', time_epoch_executed='1676369336.69' WHERE source_name='4FGL J1738.2+4000' and cadence='weekly' and bin_id='758' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/101549 Creating custom pfile directory: /scratch/kocevski/101549/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=697420801.0 && nMetStart<698025601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=697420801.0 && nMetStart<698025601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/101549/ft1_4FGL_J1738.2+4000_weekly_bin758.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=697420801.0 && nMetStart<698025601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/101549/ft2_4FGL_J1738.2+4000_weekly_bin758.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/101549/ft1_4FGL_J1738.2+4000_weekly_bin758.fits outfile=/scratch/kocevski/101549/ft1_filteredMKT_4FGL_J1738.2+4000_weekly_bin758.fits ra=264.56 dec=40.0099 rad=12.0 tmin=697420801.0 tmax=698025601.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.91 user 7.59 sys 0.29 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/101549/ft2_4FGL_J1738.2+4000_weekly_bin758.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/101549/ft2_4FGL_J1738.2+4000_weekly_bin758.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/101549/ft1_filteredMKT_4FGL_J1738.2+4000_weekly_bin758.fits evtable="EVENTS" outfile="/scratch/kocevski/101549/ft1_filtered_4FGL_J1738.2+4000_weekly_bin758.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.55 user 0.37 sys 0.16 Number of photons that the gtmktime cut: 1700 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/101549/ft1_filtered_4FGL_J1738.2+4000_weekly_bin758.fits" evtable="EVENTS" scfile=/scratch/kocevski/101549/ft2_4FGL_J1738.2+4000_weekly_bin758.fits sctable="SC_DATA" outfile=/scratch/kocevski/101549/ltcube_697420801_698025601_4FGL_J1738.2+4000_weekly_bin758.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/101549/ft2_4FGL_J1738.2+4000_weekly_bin758.fits .....................! real 27.23 user 26.84 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/101549/ft1_filtered_4FGL_J1738.2+4000_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/101549/ft2_4FGL_J1738.2+4000_weekly_bin758.fits sctable="SC_DATA" expcube=/scratch/kocevski/101549/ltcube_697420801_698025601_4FGL_J1738.2+4000_weekly_bin758.fits outfile=/scratch/kocevski/101549/expmap_697420801_698025601_4FGL_J1738.2+4000_weekly_bin758.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/101549/ltcube_697420801_698025601_4FGL_J1738.2+4000_weekly_bin758.fits .....................! real 191.27 user 185.38 sys 5.56 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 210 point sources and 0 extended sources Setting source of interest to: 4FGL J1738.2+4000 @ 264.56 40.0099 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/101549/ft1_filtered_4FGL_J1738.2+4000_weekly_bin758.fits scfile=/scratch/kocevski/101549/ft2_4FGL_J1738.2+4000_weekly_bin758.fits outfile=/scratch/kocevski/101549/cmap_697420801_698025601_4FGL_J1738.2+4000_weekly_bin758.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=264.56 yref=40.0099 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.58 user 0.40 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/101549/ft1_filtered_4FGL_J1738.2+4000_weekly_bin758.fits scfile=/scratch/kocevski/101549/ft2_4FGL_J1738.2+4000_weekly_bin758.fits outfile=/scratch/kocevski/101549/cmap_HighResolution_697420801_698025601_4FGL_J1738.2+4000_weekly_bin758.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=264.56 yref=40.0099 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.60 user 0.43 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/101549/ft1_filtered_4FGL_J1738.2+4000_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/101549/ft2_4FGL_J1738.2+4000_weekly_bin758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/101549/Model_4FGL_J1738.2+4000_weekly_bin758.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/101549/ft1_filtered_4FGL_J1738.2+4000_weekly_bin758.fits....................! real 130.49 user 129.06 sys 1.19 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/101549/ft1_filtered_4FGL_J1738.2+4000_weekly_bin758.fits', '/scratch/kocevski/101549/ft2_4FGL_J1738.2+4000_weekly_bin758.fits', expMap='/scratch/kocevski/101549/expmap_697420801_698025601_4FGL_J1738.2+4000_weekly_bin758.fits', expCube='/scratch/kocevski/101549/ltcube_697420801_698025601_4FGL_J1738.2+4000_weekly_bin758.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/101549/Model_4FGL_J1738.2+4000_weekly_bin758.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1738.2+4000' 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 6.394e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.517e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/101549/ft1_filtered_4FGL_J1738.2+4000_weekly_bin758.fits Spacecraft file(s): /scratch/kocevski/101549/ft2_4FGL_J1738.2+4000_weekly_bin758.fits Exposure map: /scratch/kocevski/101549/expmap_697420801_698025601_4FGL_J1738.2+4000_weekly_bin758.fits Exposure cube: /scratch/kocevski/101549/ltcube_697420801_698025601_4FGL_J1738.2+4000_weekly_bin758.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/101549/Model_4FGL_J1738.2+4000_weekly_bin758.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) = 17845.4389574 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17845.4265971 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .85816E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' .22204E-08 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.4671 1.0000 .0000 .10000E+07 4 'Prefactor ' 1.8363 1.0000 .0000 .10000E+07 5 'norm ' 4.0062 1.0000 .0000 .10000E+07 6 'norm ' .43743E-07 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.5890 1.0000 .0000 .10000E+07 8 'norm ' .17163E-05 1.0000 .0000 .10000E+07 9 'norm ' 6.3383 1.0000 .0000 .10000E+07 10 'norm ' 12.455 1.0000 .0000 .10000E+07 11 'Prefactor ' .35515 1.0000 .0000 .10000E+07 12 'norm ' 10.337 1.0000 .0000 .10000E+07 13 'Prefactor ' 77.483 1.0000 .0000 .10000E+07 14 'Prefactor ' .97621E-03 1.0000 .0000 .10000E+07 15 'norm ' 5.8258 1.0000 .0000 .10000E+07 16 'Prefactor ' 15.661 1.0000 .0000 .10000E+07 17 'Prefactor ' 12.752 1.0000 .0000 .10000E+07 18 'Prefactor ' 4.3313 1.0000 .0000 .10000E+07 19 'Prefactor ' .25405E-01 1.0000 .0000 .10000E+07 20 'Prefactor ' 9.9006 1.0000 .0000 .10000E+07 21 'norm ' .59563E-07 1.0000 .0000 .10000E+07 22 'norm ' .58811E-03 1.0000 .0000 .10000E+07 23 'norm ' 3.6639 1.0000 .0000 .10000E+07 24 'Prefactor ' 4.6658 1.0000 .0000 .10000E+07 25 'Prefactor ' .79459 1.0000 .0000 .10000E+07 26 'Normalizat' 1.0581 1.0000 .10000E-01 10.000 27 'Prefactor ' .85266 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 17845.43 FROM MIGRAD STATUS=CONVERGED 155 CALLS 2397 TOTAL EDM= .35E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .14988E-08 8.6679 .17923E-06** at limit ** 2 Prefactor .0000 .22880 -.10732E-06** at limit ** 3 Prefactor 1.4670 .63420 .85985E-07 .23061E-03 4 Prefactor 1.8358 1.5302 -.12148E-06 .23262E-02 5 norm 4.0061 1.2007 .59618E-07 -.77472E-03 6 norm .0000 1.1384 -.20261E-06** at limit ** 7 Prefactor 1.5960 4.3143 .13279E-06 -.41483E-03 8 norm .0000 .73713 .24555E-06** at limit ** 9 norm 6.3450 4.3120 -.13733E-07 -.36851E-02 10 norm 12.455 1.7990 .20927E-07 -.72935E-03 11 Prefactor .35414 1.3181 -.16060E-06 -.10570E-01 12 norm 10.329 3.9204 .47335E-07 -.81479E-02 13 Prefactor 77.548 3.9379 .84945E-07 -.14222 14 Prefactor .22204E-09 21.565 .11390E-05** at limit ** 15 norm 5.8229 2.9230 .63537E-07 .16590E-01 16 Prefactor 15.623 1.4896 .53054E-07 .43585E-01 17 Prefactor 12.663 8.7665 -.18476E-06 .12096E-03 18 Prefactor 4.3229 5.2552 -.19370E-06 .77169E-03 19 Prefactor .63249E-06 2.5902 .16526E-06** at limit ** 20 Prefactor 10.703 30.745 .17084E-05 .51465E-02 21 norm .0000 .45712 .16476E-06** at limit ** 22 norm .66613E-09 8.2041 -.10863E-06** at limit ** 23 norm 3.6603 3.2319 .40775E-07 .35677E-03 24 Prefactor 4.6693 2.9625 -.58695E-07 .43102E-05 25 Prefactor .79701 1.8322 .32102E-06 -.61384E-02 26 Normalizat 1.0583 .16406 -.16451E-04 -.54503E-04 27 Prefactor .85250 .97851E-01 .27183E-05 -.10393E-03 ERR DEF= .500 Final values: norm = 1.4988e-09 Prefactor = 0 Prefactor = 1.46699 Prefactor = 1.8358 norm = 4.00606 norm = 0 Prefactor = 1.59604 norm = 0 norm = 6.34503 norm = 12.4548 Prefactor = 0.354143 norm = 10.3291 Prefactor = 77.5483 Prefactor = 2.22045e-10 norm = 5.82294 Prefactor = 15.6229 Prefactor = 12.6629 Prefactor = 4.32287 Prefactor = 6.32494e-07 Prefactor = 10.7025 norm = 0 norm = 6.66134e-10 norm = 3.6603 Prefactor = 4.66934 Prefactor = 0.797005 Normalizat = 1.05829 Prefactor = 0.852497 ********** ** 18 **HESSE ********** FCN= 17845.43 FROM HESSE STATUS=OK 572 CALLS 2969 TOTAL EDM= .43E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .14988E-08 8.7592 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 .22658 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.4670 .63817 .88726E-03 -1.5684 4 Prefactor 1.8358 1.5354 .76964E-03 -1.5681 5 norm 4.0061 1.2028 .50362E-03 -1.5668 6 norm .0000 .25458 .20898E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.5960 4.4535 .84156E-03 -1.5683 8 norm .0000 .15832 .28122E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 6.3450 4.3306 .39846E-03 -1.5658 10 norm 12.455 1.8007 .28358E-03 -1.5637 11 Prefactor .35414 1.3431 .46243E-02 -1.5696 12 norm 10.329 4.3904 .31139E-03 -1.5644 13 Prefactor 77.548 49.622 .11361E-03 -1.5532 14 Prefactor .22204E-09 21.565 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 5.8229 3.5820 .41585E-03 -1.5660 16 Prefactor 15.623 17.322 .25282E-03 -1.5629 17 Prefactor 12.663 8.7864 .28025E-03 -1.5637 18 Prefactor 4.3229 5.2759 .48378E-03 -1.5666 19 Prefactor .63249E-06 7.8437 .16704E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 10.703 32.304 .31822E-03 -1.5643 21 norm .0000 .45320 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .66613E-09 8.2412 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 3.6603 3.2337 .52746E-03 -1.5670 24 Prefactor 4.6693 2.9632 .46567E-03 -1.5665 25 Prefactor .79701 1.9178 .53339E-03 -1.5690 26 Normalizat 1.0583 .13645 .68051E-01 -.91103 27 Prefactor .85250 .80416E-01 .44399E-01 -.97821 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.33042e-06 Minuit parameter uncertainties: 1 0.000228441 2 1.30637e-07 3 0.638174 4 1.53537 5 1.20277 6 2.09033e-06 7 4.45355 8 2.84461e-07 9 4.33059 10 1.80068 11 1.34311 12 4.39043 13 49.6227 14 0.000132286 15 3.58196 16 17.3216 17 8.7864 18 5.27591 19 0.00445469 20 32.304 21 1.06289e-06 22 0.000146895 23 3.2337 24 2.96322 25 1.91781 26 0.136496 27 0.080427 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17845.426004 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 7.755e+01 4.962e+01 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.517e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 8.525e-01 8.043e-02 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 1.058e+00 1.365e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 4.24 Ra Dec: 264.560 40.010 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 4.87e-08 +/- 3.11e-08 Energy Flux (Fixed Index): 1.39e-05 +/- 8.88e-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) = 17845.0873062 delta logL = 0.338697831474 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 17845.0737536 delta logL = 0.352250445711 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 37.920 1.0000 .0000 .10000E+07 2 'Index ' 2.9947 1.0000 .0000 10.000 3 'Normalizat' 1.0340 1.0000 .10000E-01 10.000 4 'Prefactor ' .86265 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+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= 17845.07 FROM MIGRAD STATUS=FAILED 94 CALLS 315 TOTAL EDM= .30E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 37.920 99.569 .64963E-05 -.34300E-03 2 Index 2.9950 1.2719 .56592E-02 .19160E-02 3 Normalizat 1.0338 .16108 .30409E-03 .39031E-04 4 Prefactor .86272 .97880E-01 .20471E-03 -.53535E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 17845.07 FROM SIMPLEX STATUS=UNCHANGED 80 CALLS 395 TOTAL EDM= .19E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 37.920 99.569 .38125E-04 -1.5585 2 Index 2.9950 1.2719 .70030E-03 -.41261 3 Normalizat 1.0338 .16108 .29750E-03 -.91905 4 Prefactor .86272 .97880E-01 .17665E-03 -.97456 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 17845.07 FROM MIGRAD STATUS=CONVERGED 37 CALLS 432 TOTAL EDM= .35E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 37.920 50.963 .25985E-06 -.10770E-03 2 Index 2.9950 .65662 .11318E-02 .71516E-05 3 Normalizat 1.0338 .15695 .12163E-04 -.74773E-06 4 Prefactor .86272 .96002E-01 .81885E-05 -.11107E-05 ERR DEF= .500 Final values: Prefactor = 37.9204 Index = 2.99497 Normalizat = 1.03385 Prefactor = 0.862718 ********** ** 18 **HESSE ********** FCN= 17845.07 FROM HESSE STATUS=OK 23 CALLS 455 TOTAL EDM= .19E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 37.920 47.272 .37157E-06 -1.5585 2 Index 2.9950 .60912 .45274E-04 -.41261 3 Normalizat 1.0338 .15677 .24327E-05 -.91905 4 Prefactor .86272 .95891E-01 .16377E-05 -.97456 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.91328e-12 Minuit parameter uncertainties: 1 47.2728 2 0.610931 3 0.156836 4 0.0959092 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/101549': 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) = 17845.0737522 delta logL = 0.352251759388 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 3.792e+01 4.727e+01 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.995e+00 6.109e-01 0.000e+00 1.000e+01 (-1.000e+00) 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 8.627e-01 9.591e-02 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 1.034e+00 1.568e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.03 Ra Dec: 264.560 40.010 Photon Index (Free Index): 2.99 +/- 0.61 Photon Flux (Free Index): 6.66e-08 +/- 3.79e-08 Energy Flux (Free Index): 1.33e-05 +/- 7.05e-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/101549/cmap_HighResolution_697420801_698025601_4FGL_J1738.2+4000_weekly_bin758.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/101549 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.87e-08', energy_flux2='1.33e-05', photon_flux_error='3.11e-08', dlogl='3.52e-01', energy_flux='1.39e-05', photon_flux2='6.66e-08', job_status='DONE', time_completed='2023-02-14 02:32:44.682306', photon_index_error2='0.61', photon_index2='2.99', ts='4.24', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='7.05e-06', EG='1.06', time_epoch_completed='1676370764.68', return_code='0', job_id='101549', GAL2='0.86', EG2='1.03', return_code2='0', energy_flux_error='8.88e-06', photon_flux_error2='3.79e-08', ts2='5.03', photon_index='2.52' WHERE bin_id='758' AND source_name='4FGL J1738.2+4000' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Feb 14 02:32:44 PST 2023 ------------------------------------------------------------ Sender: LSF System Subject: Job 101549: <4FGL_J1738.2+4000_weekly_bin758> in cluster Done Job <4FGL_J1738.2+4000_weekly_bin758> was submitted from host by user in cluster at Tue Feb 14 02:05:24 2023 Job was executed on host(s) , in queue , as user in cluster at Tue Feb 14 02:05:25 2023 was used as the home directory. was used as the working directory. Started at Tue Feb 14 02:05:25 2023 Terminated at Tue Feb 14 02:32:45 2023 Results reported at Tue Feb 14 02:32:45 2023 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_weekly_bin758 264.56 40.0099 697420801 698025601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1738.2+4000 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1426.00 sec. Max Memory : 621 MB Average Memory : 299.43 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 1640 sec. Turnaround time : 1641 sec. The output (if any) is above this job summary.