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 204 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 = 17448 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_weekly_bin756 RA = 264.56, Dec = 40.0099 tmin = 696211201, tmax = 696816001 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='489222', job_status='RUN', time_executed='2023-01-31 03:34:32.066854', time_epoch_executed='1675164872.07' WHERE source_name='4FGL J1738.2+4000' and cadence='weekly' and bin_id='756' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/489222 Creating custom pfile directory: /scratch/kocevski/489222/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=696211201.0 && nMetStart<696816001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=696211201.0 && nMetStart<696816001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/489222/ft1_4FGL_J1738.2+4000_weekly_bin756.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=696211201.0 && nMetStart<696816001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/489222/ft2_4FGL_J1738.2+4000_weekly_bin756.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/489222/ft1_4FGL_J1738.2+4000_weekly_bin756.fits outfile=/scratch/kocevski/489222/ft1_filteredMKT_4FGL_J1738.2+4000_weekly_bin756.fits ra=264.56 dec=40.0099 rad=12.0 tmin=696211201.0 tmax=696816001.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.85 user 7.46 sys 0.35 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/489222/ft2_4FGL_J1738.2+4000_weekly_bin756.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/489222/ft2_4FGL_J1738.2+4000_weekly_bin756.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/489222/ft1_filteredMKT_4FGL_J1738.2+4000_weekly_bin756.fits evtable="EVENTS" outfile="/scratch/kocevski/489222/ft1_filtered_4FGL_J1738.2+4000_weekly_bin756.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.58 user 0.39 sys 0.17 Number of photons that the gtmktime cut: 1902 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/489222/ft1_filtered_4FGL_J1738.2+4000_weekly_bin756.fits" evtable="EVENTS" scfile=/scratch/kocevski/489222/ft2_4FGL_J1738.2+4000_weekly_bin756.fits sctable="SC_DATA" outfile=/scratch/kocevski/489222/ltcube_696211201_696816001_4FGL_J1738.2+4000_weekly_bin756.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/489222/ft2_4FGL_J1738.2+4000_weekly_bin756.fits .....................! real 33.97 user 33.31 sys 0.46 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/489222/ft1_filtered_4FGL_J1738.2+4000_weekly_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/489222/ft2_4FGL_J1738.2+4000_weekly_bin756.fits sctable="SC_DATA" expcube=/scratch/kocevski/489222/ltcube_696211201_696816001_4FGL_J1738.2+4000_weekly_bin756.fits outfile=/scratch/kocevski/489222/expmap_696211201_696816001_4FGL_J1738.2+4000_weekly_bin756.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/489222/ltcube_696211201_696816001_4FGL_J1738.2+4000_weekly_bin756.fits .....................! real 192.34 user 186.57 sys 5.27 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/489222/ft1_filtered_4FGL_J1738.2+4000_weekly_bin756.fits scfile=/scratch/kocevski/489222/ft2_4FGL_J1738.2+4000_weekly_bin756.fits outfile=/scratch/kocevski/489222/cmap_696211201_696816001_4FGL_J1738.2+4000_weekly_bin756.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.60 user 0.43 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/489222/ft1_filtered_4FGL_J1738.2+4000_weekly_bin756.fits scfile=/scratch/kocevski/489222/ft2_4FGL_J1738.2+4000_weekly_bin756.fits outfile=/scratch/kocevski/489222/cmap_HighResolution_696211201_696816001_4FGL_J1738.2+4000_weekly_bin756.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.44 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/489222/ft1_filtered_4FGL_J1738.2+4000_weekly_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/489222/ft2_4FGL_J1738.2+4000_weekly_bin756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/489222/Model_4FGL_J1738.2+4000_weekly_bin756.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/489222/ft1_filtered_4FGL_J1738.2+4000_weekly_bin756.fits.....................! real 152.38 user 149.99 sys 1.82 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/489222/ft1_filtered_4FGL_J1738.2+4000_weekly_bin756.fits', '/scratch/kocevski/489222/ft2_4FGL_J1738.2+4000_weekly_bin756.fits', expMap='/scratch/kocevski/489222/expmap_696211201_696816001_4FGL_J1738.2+4000_weekly_bin756.fits', expCube='/scratch/kocevski/489222/ltcube_696211201_696816001_4FGL_J1738.2+4000_weekly_bin756.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/489222/Model_4FGL_J1738.2+4000_weekly_bin756.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/489222/ft1_filtered_4FGL_J1738.2+4000_weekly_bin756.fits Spacecraft file(s): /scratch/kocevski/489222/ft2_4FGL_J1738.2+4000_weekly_bin756.fits Exposure map: /scratch/kocevski/489222/expmap_696211201_696816001_4FGL_J1738.2+4000_weekly_bin756.fits Exposure cube: /scratch/kocevski/489222/ltcube_696211201_696816001_4FGL_J1738.2+4000_weekly_bin756.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/489222/Model_4FGL_J1738.2+4000_weekly_bin756.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) = 20022.9173016 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20022.9174909 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .38763E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .10542E-06 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.3855 1.0000 .0000 .10000E+07 4 'Prefactor ' .23981E-07 1.0000 .0000 .10000E+07 5 'norm ' 3.4153 1.0000 .0000 .10000E+07 6 'norm ' .26090E-08 1.0000 .0000 .10000E+07 7 'Prefactor ' .44106E-05 1.0000 .0000 .10000E+07 8 'norm ' .38416 1.0000 .0000 .10000E+07 9 'norm ' 3.3171 1.0000 .0000 .10000E+07 10 'norm ' 9.0658 1.0000 .0000 .10000E+07 11 'Prefactor ' 1.3099 1.0000 .0000 .10000E+07 12 'norm ' 4.2447 1.0000 .0000 .10000E+07 13 'Prefactor ' .87974E-06 1.0000 .0000 .10000E+07 14 'Prefactor ' 71.789 1.0000 .0000 .10000E+07 15 'norm ' .11539E-04 1.0000 .0000 .10000E+07 16 'Prefactor ' 11.984 1.0000 .0000 .10000E+07 17 'Prefactor ' .10222E-02 1.0000 .0000 .10000E+07 18 'Prefactor ' 3.3896 1.0000 .0000 .10000E+07 19 'Prefactor ' .70290E-03 1.0000 .0000 .10000E+07 20 'Prefactor ' .19760E-01 1.0000 .0000 .10000E+07 21 'norm ' 1.1585 1.0000 .0000 .10000E+07 22 'norm ' 4.3152 1.0000 .0000 .10000E+07 23 'norm ' .88263E-08 1.0000 .0000 .10000E+07 24 'Prefactor ' .18755E-03 1.0000 .0000 .10000E+07 25 'Prefactor ' 3.9976 1.0000 .0000 .10000E+07 26 'Normalizat' 1.1938 1.0000 .10000E-01 10.000 27 'Prefactor ' .85787 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= 20022.92 FROM MIGRAD STATUS=CONVERGED 155 CALLS 2402 TOTAL EDM= .11E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .16098E-08 11.492 -.42803E-06** at limit ** 2 Prefactor .0000 .88763 .12002E-06** at limit ** 3 Prefactor 1.3857 .59772 -.28162E-08 -.13062E-02 4 Prefactor .0000 .54533 -.28833E-07** at limit ** 5 norm 3.4153 1.0233 -.36513E-08 .87910E-03 6 norm .0000 .17215 -.23377E-07** at limit ** 7 Prefactor .0000 3.2161 .16558E-06** at limit ** 8 norm .38405 .43616 -.45522E-07 .57175E-03 9 norm 3.3279 3.5827 -.89882E-07 .59708E-03 10 norm 9.0659 1.4431 .11286E-07 .12229E-03 11 Prefactor 1.3101 1.2260 .95616E-07 -.20820E-02 12 norm 4.2413 3.0390 -.12707E-06 .18126E-02 13 Prefactor .12768E-08 15.123 -.86027E-06** at limit ** 14 Prefactor 71.769 1.3034 -.58353E-08 .93675E-01 15 norm .0000 1.9813 .32204E-06** at limit ** 16 Prefactor 11.982 1.0010 .94465E-09 -.35088E-03 17 Prefactor .55511E-10 4.9294 -.14664E-06** at limit ** 18 Prefactor 3.3880 3.7993 .43258E-07 -.83489E-04 19 Prefactor .55511E-10 6.5975 -.40348E-06** at limit ** 20 Prefactor .0000 22.265 .28185E-09** at limit ** 21 norm 1.1584 .75068 .78862E-07 -.46293E-02 22 norm 4.3282 1.7369 .44686E-07 -.10753E-01 23 norm .0000 .93640 -.19385E-06** at limit ** 24 Prefactor .0000 3.1277 .32710E-06** at limit ** 25 Prefactor 3.9979 2.6039 -.70656E-07 .84283E-03 26 Normalizat 1.1938 .14736 .29195E-05 -.61301E-05 27 Prefactor .85784 .90832E-01 -.20404E-05 .14112E-04 ERR DEF= .500 Final values: norm = 1.60982e-09 Prefactor = 0 Prefactor = 1.38568 Prefactor = 0 norm = 3.41525 norm = 0 Prefactor = 0 norm = 0.384046 norm = 3.32785 norm = 9.06589 Prefactor = 1.31014 norm = 4.24133 Prefactor = 1.27676e-09 Prefactor = 71.7692 norm = 0 Prefactor = 11.9818 Prefactor = 5.55112e-11 Prefactor = 3.38799 Prefactor = 5.55112e-11 Prefactor = 0 norm = 1.15843 norm = 4.32824 norm = 0 Prefactor = 0 Prefactor = 3.99792 Normalizat = 1.19385 Prefactor = 0.857839 ********** ** 18 **HESSE ********** FCN= 20022.92 FROM HESSE STATUS=OK 548 CALLS 2950 TOTAL EDM= .59E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .16098E-08 11.524 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 .33168 .24236E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.3857 .66733 .92364E-03 -1.5684 4 Prefactor .0000 .54373 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 3.4153 1.0259 .54714E-04 -1.5671 6 norm .0000 .17089 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .0000 3.1989 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .38405 .44934 .91345E-03 -1.5696 9 norm 3.3279 3.5974 .55556E-03 -1.5671 10 norm 9.0659 1.4458 .33263E-03 -1.5648 11 Prefactor 1.3101 1.2284 .96314E-03 -1.5685 12 norm 4.2413 3.0455 .48883E-03 -1.5667 13 Prefactor .12768E-08 15.187 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 71.769 64.661 .11803E-03 -1.5539 15 norm .0000 1.9653 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 11.982 19.576 .28913E-03 -1.5639 17 Prefactor .55511E-10 4.9331 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 3.3880 3.8034 .54930E-03 -1.5671 19 Prefactor .55511E-10 6.6073 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .0000 22.051 .17053E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 1.1584 .74862 .10711E-02 -1.5686 22 norm 4.3282 23.802 .48470E-03 -1.5666 23 norm .0000 .93939 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .0000 3.0629 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor 3.9979 2.6044 .50417E-03 -1.5668 26 Normalizat 1.1938 .12292 .64489E-01 -.86793 27 Prefactor .85784 .75305E-01 .44466E-01 -.97630 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.94185e-07 Minuit parameter uncertainties: 1 0.000271592 2 1.19532e-06 3 0.667329 4 3.82344e-07 5 1.02592 6 2.43735e-07 7 1.67959e-05 8 0.449338 9 3.59745 10 1.44578 11 1.22839 12 3.0455 13 0.000280103 14 64.6615 15 4.85592e-06 16 19.5758 17 2.90927e-05 18 3.80342 19 2.80598e-05 20 7.45627e-06 21 0.748617 22 20.3001 23 4.55435e-06 24 2.70907e-06 25 2.60437 26 0.122954 27 0.0753144 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20022.9166831 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 1.277e-09 2.801e-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: 8.578e-01 7.531e-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.194e+00 1.230e-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: 3.65e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.84e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/489222/likelihoodResults_696211201_696816001_4FGL_J1738.2+4000_weekly_bin756.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) = 20022.9482895 delta logL = -0.0316063879036 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 20022.9166832 delta logL = -9.99280018732e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .30507E-05 1.0000 .0000 .10000E+07 2 'Index ' 1.8002 1.0000 .0000 10.000 3 'Normalizat' 1.1938 1.0000 .10000E-01 10.000 4 'Prefactor ' .85785 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= 20021.97 FROM MIGRAD STATUS=FAILED 303 CALLS 462 TOTAL EDM= .16E-01 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .31380E-05 .86009E-04 .74901E-06** at limit ** 2 Index 9.2990 8.3635 .15292E-01 .67589E-04 3 Normalizat 1.1400 .63997E-01 .29099E-03 .78137E-05 4 Prefactor .88031 .39932E-01 .20508E-03 .12861E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 20021.97 FROM SIMPLEX STATUS=UNCHANGED 83 CALLS 545 TOTAL EDM= .17E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .31380E-05 .86009E-04 .10216E-06** at limit ** 2 Index 9.2990 8.3635 .86223E-02 .67589E-04 3 Normalizat 1.1400 .63997E-01 .15221E-03 .78137E-05 4 Prefactor .88031 .39932E-01 .13674E-03 .12861E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 20021.97 FROM MIGRAD STATUS=FAILED 38 CALLS 583 TOTAL EDM= .88E-02 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .31380E-05 .96453E-04 .0000 ** at limit ** 2 Index 9.2990 8.5617 .0000 .12490E-04 3 Normalizat 1.1400 .88999E-01 .0000 .78137E-05 4 Prefactor .88031 .55168E-01 .0000 .12196E-04 ERR DEF= .500 Final values: Prefactor = 3.13799e-06 Index = 9.29903 Normalizat = 1.14002 Prefactor = 0.880313 ********** ** 18 **HESSE ********** FCN= 20021.97 FROM HESSE STATUS=NOT POSDEF 23 CALLS 606 TOTAL EDM= .18E-01 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .31380E-05 .96623E-04 .37451E-06 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 9.2990 8.5641 .24467E-04 1.0349 3 Normalizat 1.1400 .89586E-01 .23279E-05 -.88477 4 Prefactor .88031 .55464E-01 .16406E-05 -.96832 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 0.0176117 Minuit parameter uncertainties: 1 3.48252e-05 2 4.17779 3 0.0895984 4 0.055468 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/489222': 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): 1 logL (Free Index) = 20021.9659431 delta logL = 0.950740040364 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 3.138e-06 3.483e-05 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 9.299e+00 4.178e+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: 8.803e-01 5.547e-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.140e+00 8.960e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.08 Ra Dec: 264.560 40.010 Photon Index (Free Index): 9.30 +/- 4.18 Photon Flux (Free Index): 3.92e-08 +/- 2.83e-08 Energy Flux (Free Index): 4.43e-06 +/- 3.31e-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/489222/cmap_HighResolution_696211201_696816001_4FGL_J1738.2+4000_weekly_bin756.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/489222 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', comment='SUCCESS', energy_flux2='4.43e-06', dlogl='9.51e-01', photon_flux2='3.92e-08', job_status='DONE', time_completed='2023-01-31 04:05:39.568093', photon_index_error2='4.18', photon_index2='9.30', ts='-0.00', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='3.65e-08', energy_flux_error2='3.31e-06', EG='1.19', time_epoch_completed='1675166739.57', return_code='0', job_id='489222', GAL2='0.88', EG2='1.14', return_code2='1', photon_flux_error2='2.83e-08', ts2='2.08', photon_index='2.52' WHERE bin_id='756' AND source_name='4FGL J1738.2+4000' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jan 31 04:05:39 PST 2023 ------------------------------------------------------------ Sender: LSF System Subject: Job 489222: <4FGL_J1738.2+4000_weekly_bin756> in cluster Done Job <4FGL_J1738.2+4000_weekly_bin756> was submitted from host by user in cluster at Tue Jan 31 03:30:26 2023 Job was executed on host(s) , in queue , as user in cluster at Tue Jan 31 03:30:57 2023 was used as the home directory. was used as the working directory. Started at Tue Jan 31 03:30:57 2023 Terminated at Tue Jan 31 04:05:40 2023 Results reported at Tue Jan 31 04:05:40 2023 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_weekly_bin756 264.56 40.0099 696211201 696816001 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 : 1862.00 sec. Max Memory : 621 MB Average Memory : 306.66 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2082 sec. Turnaround time : 2114 sec. The output (if any) is above this job summary.