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 237 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 = 74164 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_monthly_bin171 RA = 264.56, Dec = 40.0099 tmin = 680227201, tmax = 682819201 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='300244', job_status='RUN', time_executed='2022-09-17 03:10:12.125315', time_epoch_executed='1663409412.13' WHERE source_name='4FGL J1738.2+4000' and cadence='monthly' and bin_id='171' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/300244 Creating custom pfile directory: /scratch/kocevski/300244/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=680227201.0 && nMetStart<682819201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=680227201.0 && nMetStart<682819201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/300244/ft1_4FGL_J1738.2+4000_monthly_bin171.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=680227201.0 && nMetStart<682819201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Merged file saved to: /scratch/kocevski/300244/ft2_4FGL_J1738.2+4000_monthly_bin171.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/300244/ft1_4FGL_J1738.2+4000_monthly_bin171.fits outfile=/scratch/kocevski/300244/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin171.fits ra=264.56 dec=40.0099 rad=12.0 tmin=680227201.0 tmax=682819201.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 29.57 user 28.54 sys 0.69 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/300244/ft2_4FGL_J1738.2+4000_monthly_bin171.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/300244/ft2_4FGL_J1738.2+4000_monthly_bin171.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/300244/ft1_filteredMKT_4FGL_J1738.2+4000_monthly_bin171.fits evtable="EVENTS" outfile="/scratch/kocevski/300244/ft1_filtered_4FGL_J1738.2+4000_monthly_bin171.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.93 user 0.70 sys 0.17 Number of photons that the gtmktime cut: 11713 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/300244/ft1_filtered_4FGL_J1738.2+4000_monthly_bin171.fits" evtable="EVENTS" scfile=/scratch/kocevski/300244/ft2_4FGL_J1738.2+4000_monthly_bin171.fits sctable="SC_DATA" outfile=/scratch/kocevski/300244/ltcube_680227201_682819201_4FGL_J1738.2+4000_monthly_bin171.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/300244/ft2_4FGL_J1738.2+4000_monthly_bin171.fits .....................! real 163.02 user 159.74 sys 0.48 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/300244/ft1_filtered_4FGL_J1738.2+4000_monthly_bin171.fits evtable="EVENTS" scfile=/scratch/kocevski/300244/ft2_4FGL_J1738.2+4000_monthly_bin171.fits sctable="SC_DATA" expcube=/scratch/kocevski/300244/ltcube_680227201_682819201_4FGL_J1738.2+4000_monthly_bin171.fits outfile=/scratch/kocevski/300244/expmap_680227201_682819201_4FGL_J1738.2+4000_monthly_bin171.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/300244/ltcube_680227201_682819201_4FGL_J1738.2+4000_monthly_bin171.fits .....................! real 197.06 user 188.89 sys 5.18 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/300244/ft1_filtered_4FGL_J1738.2+4000_monthly_bin171.fits scfile=/scratch/kocevski/300244/ft2_4FGL_J1738.2+4000_monthly_bin171.fits outfile=/scratch/kocevski/300244/cmap_680227201_682819201_4FGL_J1738.2+4000_monthly_bin171.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.84 user 0.64 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/300244/ft1_filtered_4FGL_J1738.2+4000_monthly_bin171.fits scfile=/scratch/kocevski/300244/ft2_4FGL_J1738.2+4000_monthly_bin171.fits outfile=/scratch/kocevski/300244/cmap_HighResolution_680227201_682819201_4FGL_J1738.2+4000_monthly_bin171.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.84 user 0.64 sys 0.18 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/300244/ft1_filtered_4FGL_J1738.2+4000_monthly_bin171.fits evtable="EVENTS" scfile=/scratch/kocevski/300244/ft2_4FGL_J1738.2+4000_monthly_bin171.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/300244/Model_4FGL_J1738.2+4000_monthly_bin171.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/300244/ft1_filtered_4FGL_J1738.2+4000_monthly_bin171.fits.....................! real 864.04 user 852.01 sys 1.56 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/300244/ft1_filtered_4FGL_J1738.2+4000_monthly_bin171.fits', '/scratch/kocevski/300244/ft2_4FGL_J1738.2+4000_monthly_bin171.fits', expMap='/scratch/kocevski/300244/expmap_680227201_682819201_4FGL_J1738.2+4000_monthly_bin171.fits', expCube='/scratch/kocevski/300244/ltcube_680227201_682819201_4FGL_J1738.2+4000_monthly_bin171.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/300244/Model_4FGL_J1738.2+4000_monthly_bin171.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/300244/ft1_filtered_4FGL_J1738.2+4000_monthly_bin171.fits Spacecraft file(s): /scratch/kocevski/300244/ft2_4FGL_J1738.2+4000_monthly_bin171.fits Exposure map: /scratch/kocevski/300244/expmap_680227201_682819201_4FGL_J1738.2+4000_monthly_bin171.fits Exposure cube: /scratch/kocevski/300244/ltcube_680227201_682819201_4FGL_J1738.2+4000_monthly_bin171.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/300244/Model_4FGL_J1738.2+4000_monthly_bin171.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) = 124448.654302 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 124445.574951 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .53077E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.5004 1.0000 .0000 .10000E+07 3 'Prefactor ' 10.167 1.0000 .0000 .10000E+07 4 'Prefactor ' .54257 1.0000 .0000 .10000E+07 5 'norm ' 2.9028 1.0000 .0000 .10000E+07 6 'norm ' .22175 1.0000 .0000 .10000E+07 7 'Prefactor ' .31530E-06 1.0000 .0000 .10000E+07 8 'norm ' .23099 1.0000 .0000 .10000E+07 9 'norm ' 4.9387 1.0000 .0000 .10000E+07 10 'norm ' 2.7912 1.0000 .0000 .10000E+07 11 'Prefactor ' .52950 1.0000 .0000 .10000E+07 12 'norm ' 4.8455 1.0000 .0000 .10000E+07 13 'Prefactor ' 16.548 1.0000 .0000 .10000E+07 14 'Prefactor ' 9.1902 1.0000 .0000 .10000E+07 15 'norm ' 2.5331 1.0000 .0000 .10000E+07 16 'Prefactor ' 9.9412 1.0000 .0000 .10000E+07 17 'Prefactor ' 3.5131 1.0000 .0000 .10000E+07 18 'Prefactor ' 3.5731 1.0000 .0000 .10000E+07 19 'Prefactor ' 5.9679 1.0000 .0000 .10000E+07 20 'Prefactor ' .37517E-02 1.0000 .0000 .10000E+07 21 'norm ' .19129 1.0000 .0000 .10000E+07 22 'norm ' 19.274 1.0000 .0000 .10000E+07 23 'norm ' 2.4693 1.0000 .0000 .10000E+07 24 'Prefactor ' 2.7943 1.0000 .0000 .10000E+07 25 'Prefactor ' 1.7785 1.0000 .0000 .10000E+07 26 'Normalizat' 1.0632 1.0000 .10000E-01 10.000 27 'Prefactor ' .99502 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= 124445.6 FROM MIGRAD STATUS=CONVERGED 126 CALLS 1395 TOTAL EDM= .31E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .0000 2.8456 -.32130E-06** at limit ** 2 Prefactor 2.5003 .54937 -.55070E-07 -.22950E-02 3 Prefactor 10.167 .66884 -.65087E-08 -.11278E-02 4 Prefactor .54239 .49162 -.66288E-08 .29447E-02 5 norm 2.9028 .42443 -.23058E-07 -.23506E-02 6 norm .22174 .16208 .93725E-08** at limit ** 7 Prefactor .0000 .60924 -.48534E-07** at limit ** 8 norm .23082 .14116 .28924E-08** at limit ** 9 norm 4.9419 1.6916 -.72696E-09 .12402E-02 10 norm 2.7907 .45685 .12423E-08 -.26370E-02 11 Prefactor .52974 .35056 .81294E-08 -.21414E-02 12 norm 4.8564 1.2886 -.38928E-07 -.11430E-02 13 Prefactor 16.156 4.6798 -.11955E-06 -.18979E-01 14 Prefactor 9.3972 18.540 .74634E-06 -.34617E-02 15 norm 2.5325 1.1173 .26592E-08 -.54716E-03 16 Prefactor 10.025 7.7999 -.23717E-06 -.65204E-03 17 Prefactor 3.5004 2.8977 -.87421E-07 .78139E-03 18 Prefactor 3.5744 1.8214 -.16404E-07 .97872E-03 19 Prefactor 5.8803 7.6543 -.93700E-07 .25033E-04 20 Prefactor .66613E-09 11.145 .20740E-07** at limit ** 21 norm .19112 .21045 -.13145E-07** at limit ** 22 norm 19.580 12.376 .87747E-07 .86852E-03 23 norm 2.4701 1.6436 -.51872E-07 .19061E-03 24 Prefactor 2.7926 1.1856 -.12369E-07 .35842E-03 25 Prefactor 1.7785 .95478 -.69156E-09 .10017E-03 26 Normalizat 1.0633 .65189E-01 .82457E-06 .18512E-03 27 Prefactor .99493 .39915E-01 -.22303E-07 .42335E-03 ERR DEF= .500 Final values: norm = 0 Prefactor = 2.50026 Prefactor = 10.1674 Prefactor = 0.542392 norm = 2.90285 norm = 0.221741 Prefactor = 0 norm = 0.230824 norm = 4.9419 norm = 2.79067 Prefactor = 0.529743 norm = 4.85642 Prefactor = 16.1564 Prefactor = 9.39718 norm = 2.53246 Prefactor = 10.0253 Prefactor = 3.50036 Prefactor = 3.57436 Prefactor = 5.88028 Prefactor = 6.66134e-10 norm = 0.191124 norm = 19.5798 norm = 2.47006 Prefactor = 2.79264 Prefactor = 1.77854 Normalizat = 1.06334 Prefactor = 0.994933 ********** ** 18 **HESSE ********** FCN= 124445.6 FROM HESSE STATUS=OK 566 CALLS 1961 TOTAL EDM= .39E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .0000 2.8641 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.5003 .55123 .64603E-03 -1.5676 3 Prefactor 10.167 .66971 .31400E-03 -1.5644 4 Prefactor .54239 .49825 .74538E-03 -1.5693 5 norm 2.9028 .42454 .59613E-03 -1.5674 6 norm .22174 .14979 .27828E-02 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .0000 .60581 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .23082 .14317 .23928E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 4.9419 1.6981 .45233E-03 -1.5664 10 norm 2.7907 .45880 .60874E-03 -1.5675 11 Prefactor .52974 .35750 .75796E-03 -1.5693 12 norm 4.8564 1.3678 .45675E-03 -1.5664 13 Prefactor 16.156 16.121 .24594E-03 -1.5628 14 Prefactor 9.3972 19.376 .33036E-03 -1.5647 15 norm 2.5325 1.1200 .64146E-03 -1.5676 16 Prefactor 10.025 7.8146 .31757E-03 -1.5645 17 Prefactor 3.5004 2.9334 .53913E-03 -1.5671 18 Prefactor 3.5744 1.8248 .53440E-03 -1.5670 19 Prefactor 5.8803 7.6994 .41080E-03 -1.5659 20 Prefactor .66613E-09 11.188 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .19112 .20445 .44897E-02 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 19.580 12.425 .22786E-03 -1.5619 23 norm 2.4701 1.6544 .65046E-03 -1.5677 24 Prefactor 2.7926 1.1908 .60838E-03 -1.5675 25 Prefactor 1.7785 .95347 .78457E-03 -1.5681 26 Normalizat 1.0633 .54823E-01 .72698E-01 -.90938 27 Prefactor .99493 .32842E-01 .46205E-01 -.92899 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.89603e-07 Minuit parameter uncertainties: 1 1.7589e-05 2 0.551232 3 0.669714 4 0.49825 5 0.424539 6 0.149792 7 2.52766e-07 8 0.143174 9 1.69808 10 0.458802 11 0.357498 12 1.36777 13 16.1208 14 19.3764 15 1.12005 16 7.8146 17 2.93342 18 1.82477 19 7.69944 20 0.000169997 21 0.204451 22 12.4246 23 1.65442 24 1.19079 25 0.95347 26 0.0548258 27 0.0328425 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 124445.573907 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 1.616e+01 1.612e+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: 9.949e-01 3.284e-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.063e+00 5.483e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.38 Ra Dec: 264.560 40.010 Photon Index (Fixed Index): 2.52 +/- 0.00 Photon Flux (Fixed Index): 1.01e-08 +/- 1.01e-08 Energy Flux (Fixed Index): 2.89e-06 +/- 2.88e-06 TS (Fixed Index): 1.38 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 2.77e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.15e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/300244/likelihoodResults_680227201_682819201_4FGL_J1738.2+4000_monthly_bin171.txt 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) = 124445.38299 delta logL = 0.190916888023 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 124445.381564 delta logL = 0.192342979703 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.3926 1.0000 .0000 .10000E+07 2 'Index ' 3.1492 1.0000 .0000 10.000 3 'Normalizat' 1.0545 1.0000 .10000E-01 10.000 4 'Prefactor ' .99873 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= 124445.4 FROM MIGRAD STATUS=FAILED 92 CALLS 426 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.3926 185.21 .79347E-04 -.73381E-02 2 Index 3.1495 6.5631 .10383E-01 .36479E-02 3 Normalizat 1.0545 .50216E-01 .32290E-03 .11943E-04 4 Prefactor .99874 .29899E-01 .20789E-03 .96245E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 124445.4 FROM SIMPLEX STATUS=UNCHANGED 84 CALLS 510 TOTAL EDM= .13E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.3926 185.21 .31558E-04 -.73381E-02 2 Index 3.1495 6.5631 .11354E-02 .36479E-02 3 Normalizat 1.0545 .50216E-01 .74824E-04 .11943E-04 4 Prefactor .99874 .29899E-01 .47310E-04 .96245E-05 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 124445.4 FROM MIGRAD STATUS=CONVERGED 29 CALLS 539 TOTAL EDM= .18E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.3933 19.218 .31739E-05 -.29458E-02 2 Index 3.1494 1.4065 .20765E-02 -.10967E-03 3 Normalizat 1.0545 .64390E-01 .64580E-04 .87316E-04 4 Prefactor .99874 .39803E-01 .83158E-05 .31498E-03 ERR DEF= .500 Final values: Prefactor = 6.39326 Index = 3.14942 Normalizat = 1.05451 Prefactor = 0.998739 ********** ** 18 **HESSE ********** FCN= 124445.4 FROM HESSE STATUS=OK 23 CALLS 562 TOTAL EDM= .15E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.3933 14.134 .63478E-06 -1.5657 2 Index 3.1494 1.0410 .83062E-04 -.37913 3 Normalizat 1.0545 .63921E-01 .12916E-04 -.91226 4 Prefactor .99874 .39547E-01 .16632E-05 -.92772 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.49327e-10 Minuit parameter uncertainties: 1 14.1345 2 1.04991 3 0.0639257 4 0.0395483 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/300244': 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) = 124445.381564 delta logL = 0.192343222996 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 6.393e+00 1.413e+01 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 3.149e+00 1.050e+00 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: 9.987e-01 3.955e-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.055e+00 6.393e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.85 Ra Dec: 264.560 40.010 Photon Index (Free Index): 3.15 +/- 1.05 Photon Flux (Free Index): 1.59e-08 +/- 1.36e-08 Energy Flux (Free Index): 2.97e-06 +/- 2.39e-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/300244/cmap_HighResolution_680227201_682819201_4FGL_J1738.2+4000_monthly_bin171.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/300244 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-03', comment='SUCCESS', photon_flux='1.01e-08', energy_flux2='2.97e-06', photon_flux_error='1.01e-08', dlogl='1.92e-01', energy_flux='2.89e-06', photon_flux2='1.59e-08', job_status='DONE', time_completed='2022-09-17 05:21:35.385324', photon_index_error2='1.05', photon_index2='3.15', ts='1.38', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='2.77e-08', energy_flux_error2='2.39e-06', EG='1.06', time_epoch_completed='1663417295.39', return_code='0', job_id='300244', GAL2='1.00', EG2='1.05', return_code2='0', energy_flux_error='2.88e-06', photon_flux_error2='1.36e-08', ts2='1.85', photon_index='2.52' WHERE bin_id='171' AND source_name='4FGL J1738.2+4000' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sat Sep 17 05:21:35 PDT 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 300244: <4FGL_J1738.2+4000_monthly_bin171> in cluster Done Job <4FGL_J1738.2+4000_monthly_bin171> was submitted from host by user in cluster at Sat Sep 17 02:55:30 2022 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 17 03:06:04 2022 was used as the home directory. was used as the working directory. Started at Sat Sep 17 03:06:04 2022 Terminated at Sat Sep 17 05:21:36 2022 Results reported at Sat Sep 17 05:21:36 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_monthly_bin171 264.56 40.0099 680227201 682819201 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 : 7753.00 sec. Max Memory : 633 MB Average Memory : 471.60 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 8132 sec. Turnaround time : 8766 sec. The output (if any) is above this job summary.