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: Dan/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 199 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 = 17375 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_weekly_bin740 RA = 264.56, Dec = 40.0099 tmin = 686534401, tmax = 687139201 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='823182', job_status='RUN', time_executed='2022-10-11 11:21:13.821959', time_epoch_executed='1665512473.82' WHERE source_name='4FGL J1738.2+4000' and cadence='weekly' and bin_id='740' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/823182 Creating custom pfile directory: /scratch/kocevski/823182/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=686534401.0 && nMetStart<687139201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=686534401.0 && nMetStart<687139201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/823182/ft1_4FGL_J1738.2+4000_weekly_bin740.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=686534401.0 && nMetStart<687139201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/823182/ft2_4FGL_J1738.2+4000_weekly_bin740.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/823182/ft1_4FGL_J1738.2+4000_weekly_bin740.fits outfile=/scratch/kocevski/823182/ft1_filteredMKT_4FGL_J1738.2+4000_weekly_bin740.fits ra=264.56 dec=40.0099 rad=12.0 tmin=686534401.0 tmax=687139201.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.25 user 6.87 sys 0.30 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/823182/ft2_4FGL_J1738.2+4000_weekly_bin740.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/823182/ft2_4FGL_J1738.2+4000_weekly_bin740.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/823182/ft1_filteredMKT_4FGL_J1738.2+4000_weekly_bin740.fits evtable="EVENTS" outfile="/scratch/kocevski/823182/ft1_filtered_4FGL_J1738.2+4000_weekly_bin740.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.56 user 0.38 sys 0.17 Number of photons that the gtmktime cut: 2797 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/823182/ft1_filtered_4FGL_J1738.2+4000_weekly_bin740.fits" evtable="EVENTS" scfile=/scratch/kocevski/823182/ft2_4FGL_J1738.2+4000_weekly_bin740.fits sctable="SC_DATA" outfile=/scratch/kocevski/823182/ltcube_686534401_687139201_4FGL_J1738.2+4000_weekly_bin740.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/823182/ft2_4FGL_J1738.2+4000_weekly_bin740.fits .....................! real 26.94 user 26.45 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/823182/ft1_filtered_4FGL_J1738.2+4000_weekly_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/823182/ft2_4FGL_J1738.2+4000_weekly_bin740.fits sctable="SC_DATA" expcube=/scratch/kocevski/823182/ltcube_686534401_687139201_4FGL_J1738.2+4000_weekly_bin740.fits outfile=/scratch/kocevski/823182/expmap_686534401_687139201_4FGL_J1738.2+4000_weekly_bin740.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/823182/ltcube_686534401_687139201_4FGL_J1738.2+4000_weekly_bin740.fits .....................! real 192.06 user 186.00 sys 4.89 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/823182/ft1_filtered_4FGL_J1738.2+4000_weekly_bin740.fits scfile=/scratch/kocevski/823182/ft2_4FGL_J1738.2+4000_weekly_bin740.fits outfile=/scratch/kocevski/823182/cmap_686534401_687139201_4FGL_J1738.2+4000_weekly_bin740.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.41 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/823182/ft1_filtered_4FGL_J1738.2+4000_weekly_bin740.fits scfile=/scratch/kocevski/823182/ft2_4FGL_J1738.2+4000_weekly_bin740.fits outfile=/scratch/kocevski/823182/cmap_HighResolution_686534401_687139201_4FGL_J1738.2+4000_weekly_bin740.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.61 user 0.42 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/823182/ft1_filtered_4FGL_J1738.2+4000_weekly_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/823182/ft2_4FGL_J1738.2+4000_weekly_bin740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/823182/Model_4FGL_J1738.2+4000_weekly_bin740.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/823182/ft1_filtered_4FGL_J1738.2+4000_weekly_bin740.fits.....................! real 210.60 user 207.96 sys 1.34 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/823182/ft1_filtered_4FGL_J1738.2+4000_weekly_bin740.fits', '/scratch/kocevski/823182/ft2_4FGL_J1738.2+4000_weekly_bin740.fits', expMap='/scratch/kocevski/823182/expmap_686534401_687139201_4FGL_J1738.2+4000_weekly_bin740.fits', expCube='/scratch/kocevski/823182/ltcube_686534401_687139201_4FGL_J1738.2+4000_weekly_bin740.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/823182/Model_4FGL_J1738.2+4000_weekly_bin740.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/823182/ft1_filtered_4FGL_J1738.2+4000_weekly_bin740.fits Spacecraft file(s): /scratch/kocevski/823182/ft2_4FGL_J1738.2+4000_weekly_bin740.fits Exposure map: /scratch/kocevski/823182/expmap_686534401_687139201_4FGL_J1738.2+4000_weekly_bin740.fits Exposure cube: /scratch/kocevski/823182/ltcube_686534401_687139201_4FGL_J1738.2+4000_weekly_bin740.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/823182/Model_4FGL_J1738.2+4000_weekly_bin740.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) = 29563.7183914 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 29563.7104155 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .25104 1.0000 .0000 .10000E+07 2 'Prefactor ' 1.1820 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.8685 1.0000 .0000 .10000E+07 4 'Prefactor ' 1.4771 1.0000 .0000 .10000E+07 5 'norm ' 3.3210 1.0000 .0000 .10000E+07 6 'norm ' .34028E-07 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.5505 1.0000 .0000 .10000E+07 8 'norm ' .28866E-08 1.0000 .0000 .10000E+07 9 'norm ' 11.265 1.0000 .0000 .10000E+07 10 'norm ' 3.5668 1.0000 .0000 .10000E+07 11 'Prefactor ' 1.6659 1.0000 .0000 .10000E+07 12 'norm ' 5.1750 1.0000 .0000 .10000E+07 13 'Prefactor ' .57238E-02 1.0000 .0000 .10000E+07 14 'Prefactor ' .13934E-01 1.0000 .0000 .10000E+07 15 'norm ' .38858E-07 1.0000 .0000 .10000E+07 16 'Prefactor ' 33.298 1.0000 .0000 .10000E+07 17 'Prefactor ' 4.1567 1.0000 .0000 .10000E+07 18 'Prefactor ' 7.6954 1.0000 .0000 .10000E+07 19 'Prefactor ' .21140E-02 1.0000 .0000 .10000E+07 20 'Prefactor ' .77875E-03 1.0000 .0000 .10000E+07 21 'norm ' 1.1398 1.0000 .0000 .10000E+07 22 'norm ' .20048E-02 1.0000 .0000 .10000E+07 23 'norm ' 9.0475 1.0000 .0000 .10000E+07 24 'Prefactor ' .15543E-08 1.0000 .0000 .10000E+07 25 'Prefactor ' 3.1803 1.0000 .0000 .10000E+07 26 'Normalizat' 1.0710 1.0000 .10000E-01 10.000 27 'Prefactor ' .99736 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= 29563.71 FROM MIGRAD STATUS=CONVERGED 150 CALLS 2378 TOTAL EDM= .43E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .81601E-07 2.9052 -.48830E-05** at limit ** 2 Prefactor 1.1836 .73685 .26874E-06 -.72016E-03 3 Prefactor 1.8687 .72716 -.94061E-07 .37004E-02 4 Prefactor 1.4798 1.3140 -.15780E-06 -.60042E-02 5 norm 3.3214 .82558 -.20317E-06 .22562E-01 6 norm .0000 .11941 .18592E-07** at limit ** 7 Prefactor 1.5526 2.6592 -.16338E-06 -.10668E-02 8 norm .0000 .77244E-01 -.19336E-06** at limit ** 9 norm 11.222 4.2145 -.14464E-06 .12983E-02 10 norm 3.5671 .95906 .24032E-06 -.18526E-01 11 Prefactor 1.6661 1.0581 -.11026E-06 -.39585E-02 12 norm 5.1810 2.7703 .68440E-07 .40212E-02 13 Prefactor .83267E-09 9.6030 -.80484E-05** at limit ** 14 Prefactor .55511E-10 20.835 -.34800E-05** at limit ** 15 norm .55511E-10 1.0871 .97992E-07** at limit ** 16 Prefactor 33.320 1.0362 .70811E-07 -.74630E-02 17 Prefactor 4.2631 6.9476 .67087E-06 -.55708E-03 18 Prefactor 7.7025 4.9012 -.28415E-06 -.98227E-03 19 Prefactor .16653E-09 6.0194 -.15310E-05** at limit ** 20 Prefactor .49960E-09 7.3475 .35628E-05** at limit ** 21 norm 1.1392 .73495 .27276E-06 -.11515E-01 22 norm .16653E-09 13.045 .11394E-04** at limit ** 23 norm 9.0578 4.1050 -.23175E-06 .27556E-03 24 Prefactor .55511E-10 .98751 -.77262E-06** at limit ** 25 Prefactor 3.1794 2.5629 .17543E-06 .20525E-02 26 Normalizat 1.0709 .12774 -.26942E-05 -.26204E-03 27 Prefactor .99737 .78871E-01 -.53107E-05 -.92158E-03 ERR DEF= .500 Final values: norm = 8.16014e-08 Prefactor = 1.18363 Prefactor = 1.86872 Prefactor = 1.47978 norm = 3.32144 norm = 0 Prefactor = 1.55257 norm = 0 norm = 11.2218 norm = 3.56708 Prefactor = 1.66613 norm = 5.18102 Prefactor = 8.32667e-10 Prefactor = 5.55112e-11 norm = 5.55112e-11 Prefactor = 33.3203 Prefactor = 4.26306 Prefactor = 7.70247 Prefactor = 1.66533e-10 Prefactor = 4.996e-10 norm = 1.13916 norm = 1.66533e-10 norm = 9.05784 Prefactor = 5.55112e-11 Prefactor = 3.1794 Normalizat = 1.07087 Prefactor = 0.997368 ********** ** 18 **HESSE ********** FCN= 29563.71 FROM HESSE STATUS=OK 556 CALLS 2934 TOTAL EDM= .57E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .81601E-07 7.8987 .16861E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 1.1836 .74993 .10505E-02 -1.5686 3 Prefactor 1.8687 .73012 .76173E-03 -1.5681 4 Prefactor 1.4798 1.3436 .88317E-03 -1.5684 5 norm 3.3214 .82825 .55522E-03 -1.5672 6 norm .0000 .11640 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.5526 2.6765 .85506E-03 -1.5683 8 norm .0000 .75180E-01 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 11.222 4.2191 .29824E-03 -1.5641 10 norm 3.5671 .97077 .53488E-03 -1.5670 11 Prefactor 1.6661 1.0616 .81674E-04 -1.5682 12 norm 5.1810 2.7759 .44167E-03 -1.5662 13 Prefactor .83267E-09 9.9963 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .55511E-10 20.851 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .55511E-10 1.0769 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 33.320 26.333 .17332E-03 -1.5593 17 Prefactor 4.2631 6.9796 .49413E-03 -1.5667 18 Prefactor 7.7025 4.9071 .36125E-03 -1.5652 19 Prefactor .16653E-09 6.0291 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .49960E-09 7.3593 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 1.1392 .75465 .10889E-02 -1.5687 22 norm .16653E-09 13.078 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 9.0578 4.1046 .33297E-03 -1.5648 24 Prefactor .55511E-10 .98640 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor 3.1794 2.5707 .56800E-03 -1.5672 26 Normalizat 1.0709 .10664 .69901E-01 -.90693 27 Prefactor .99737 .65208E-01 .46234E-01 -.92817 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.72726e-06 Minuit parameter uncertainties: 1 0.00160565 2 0.749932 3 0.730115 4 1.34363 5 0.828251 6 3.06554e-07 7 2.6765 8 5.40947e-07 9 4.2191 10 0.970772 11 1.06161 12 2.77585 13 0.000184333 14 8.06324e-05 15 1.15674e-05 16 26.3329 17 6.97966 18 4.90712 19 6.08936e-05 20 0.000122401 21 0.754651 22 9.68857e-05 23 4.10456 24 1.57712e-05 25 2.57073 26 0.106658 27 0.0652128 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 29563.7072895 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 8.327e-10 1.843e-04 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.974e-01 6.521e-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.071e+00 1.067e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 2.75e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.14e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/823182/likelihoodResults_686534401_687139201_4FGL_J1738.2+4000_weekly_bin740.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): 102 logL (Free Index) = 29563.7552373 delta logL = -0.0479477512272 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 29563.7072915 delta logL = -1.9983308448e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34165E-05 1.0000 .0000 .10000E+07 2 'Index ' .34190 1.0000 .0000 10.000 3 'Normalizat' 1.0708 1.0000 .10000E-01 10.000 4 'Prefactor ' .99743 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= 29563.71 FROM MIGRAD STATUS=CONVERGED 39 CALLS 213 TOTAL EDM= .73E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 9.9589 -.71866E-07** at limit ** 2 Index 2.5239 6.2573 .60183E-05 .0000 3 Normalizat 1.0709 .12013 -.28092E-05 -.48813E-04 4 Prefactor .99737 .76990E-01 .11207E-05 -.39689E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.52391 Normalizat = 1.07087 Prefactor = 0.997369 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 29563.71 FROM HESSE STATUS=FAILED 11 CALLS 224 TOTAL EDM= .73E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 9.9228 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .71844 1.9767 .60183E-05 -.51809 3 Normalizat 1.0709 1.1798 -.28092E-05 -.90693 4 Prefactor .99737 1.3366 .11207E-05 -.92817 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 7.34189e-13 Minuit parameter uncertainties: 1 3.86052e-06 2 1.62492 3 1.21077 4 1.38542 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/823182': 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): 101 logL (Free Index) = 29563.7072895 delta logL = 1.60071067512e-10 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 0.000e+00 3.861e-06 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.524e+00 1.625e+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.974e-01 1.385e+00 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.071e+00 1.211e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 264.560 40.010 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/823182/cmap_HighResolution_686534401_687139201_4FGL_J1738.2+4000_weekly_bin740.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/823182 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.14e-03', job_status='DONE', photon_flux_upper_limit='2.75e-08', time_completed='2022-10-11 12:00:13.711685', job_id='823182', GAL2='1.00', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1665514813.71', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.60e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='740' AND source_name='4FGL J1738.2+4000' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 11 12:00:13 PDT 2022 1738.2+4000_weekly_bin740> was submitted from host by user in cluster at Tue Oct 11 00:08:08 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Oct 11 00:16:20 2022 was used as the home directory. was used as the working directory. Started at Tue Oct 11 00:16:20 2022 Terminated at Tue Oct 11 00:58:07 2022 Results reported at Tue Oct 11 00:58:07 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_weekly_bin740 264.56 40.0099 686534401 687139201 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 : 2348.00 sec. Max Memory : 621 MB Average Memory : 338.98 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2506 sec. Turnaround time : 2999 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 823182: <4FGL_J1738.2+4000_weekly_bin740> in cluster Done Job <4FGL_J1738.2+4000_weekly_bin740> was submitted from host by user in cluster at Tue Oct 11 00:07:50 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Oct 11 00:09:28 2022 was used as the home directory. was used as the working directory. Started at Tue Oct 11 00:09:28 2022 Terminated at Tue Oct 11 12:00:14 2022 Results reported at Tue Oct 11 12:00:14 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_weekly_bin740 264.56 40.0099 686534401 687139201 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 : 2343.00 sec. Max Memory : 1259 MB Average Memory : 66.66 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 42646 sec. Turnaround time : 42744 sec. The output (if any) is above this job summary.