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 30 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 = 17407 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_weekly_bin762 RA = 264.56, Dec = 40.0099 tmin = 699840001, tmax = 700444801 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='6433', job_status='RUN', time_executed='2023-03-14 03:46:06.320470', time_epoch_executed='1678790766.32' WHERE source_name='4FGL J1738.2+4000' and cadence='weekly' and bin_id='762' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/6433 Creating custom pfile directory: /scratch/kocevski/6433/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=699840001.0 && nMetStart<700444801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=699840001.0 && nMetStart<700444801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/6433/ft1_4FGL_J1738.2+4000_weekly_bin762.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=699840001.0 && nMetStart<700444801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /scratch/kocevski/6433/ft2_4FGL_J1738.2+4000_weekly_bin762.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/6433/ft1_4FGL_J1738.2+4000_weekly_bin762.fits outfile=/scratch/kocevski/6433/ft1_filteredMKT_4FGL_J1738.2+4000_weekly_bin762.fits ra=264.56 dec=40.0099 rad=12.0 tmin=699840001.0 tmax=700444801.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 8.06 user 7.72 sys 0.30 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/6433/ft2_4FGL_J1738.2+4000_weekly_bin762.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/6433/ft2_4FGL_J1738.2+4000_weekly_bin762.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/6433/ft1_filteredMKT_4FGL_J1738.2+4000_weekly_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/6433/ft1_filtered_4FGL_J1738.2+4000_weekly_bin762.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.16 Number of photons that the gtmktime cut: 2031 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/6433/ft1_filtered_4FGL_J1738.2+4000_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/6433/ft2_4FGL_J1738.2+4000_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/6433/ltcube_699840001_700444801_4FGL_J1738.2+4000_weekly_bin762.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/6433/ft2_4FGL_J1738.2+4000_weekly_bin762.fits .....................! real 27.21 user 26.76 sys 0.38 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/6433/ft1_filtered_4FGL_J1738.2+4000_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/6433/ft2_4FGL_J1738.2+4000_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/6433/ltcube_699840001_700444801_4FGL_J1738.2+4000_weekly_bin762.fits outfile=/scratch/kocevski/6433/expmap_699840001_700444801_4FGL_J1738.2+4000_weekly_bin762.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/6433/ltcube_699840001_700444801_4FGL_J1738.2+4000_weekly_bin762.fits .....................! real 190.59 user 185.61 sys 4.62 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/6433/ft1_filtered_4FGL_J1738.2+4000_weekly_bin762.fits scfile=/scratch/kocevski/6433/ft2_4FGL_J1738.2+4000_weekly_bin762.fits outfile=/scratch/kocevski/6433/cmap_699840001_700444801_4FGL_J1738.2+4000_weekly_bin762.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.59 user 0.42 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/6433/ft1_filtered_4FGL_J1738.2+4000_weekly_bin762.fits scfile=/scratch/kocevski/6433/ft2_4FGL_J1738.2+4000_weekly_bin762.fits outfile=/scratch/kocevski/6433/cmap_HighResolution_699840001_700444801_4FGL_J1738.2+4000_weekly_bin762.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.59 user 0.43 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/6433/ft1_filtered_4FGL_J1738.2+4000_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/6433/ft2_4FGL_J1738.2+4000_weekly_bin762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/6433/Model_4FGL_J1738.2+4000_weekly_bin762.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/6433/ft1_filtered_4FGL_J1738.2+4000_weekly_bin762.fits.....................! real 161.23 user 159.70 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/6433/ft1_filtered_4FGL_J1738.2+4000_weekly_bin762.fits', '/scratch/kocevski/6433/ft2_4FGL_J1738.2+4000_weekly_bin762.fits', expMap='/scratch/kocevski/6433/expmap_699840001_700444801_4FGL_J1738.2+4000_weekly_bin762.fits', expCube='/scratch/kocevski/6433/ltcube_699840001_700444801_4FGL_J1738.2+4000_weekly_bin762.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/6433/Model_4FGL_J1738.2+4000_weekly_bin762.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/6433/ft1_filtered_4FGL_J1738.2+4000_weekly_bin762.fits Spacecraft file(s): /scratch/kocevski/6433/ft2_4FGL_J1738.2+4000_weekly_bin762.fits Exposure map: /scratch/kocevski/6433/expmap_699840001_700444801_4FGL_J1738.2+4000_weekly_bin762.fits Exposure cube: /scratch/kocevski/6433/ltcube_699840001_700444801_4FGL_J1738.2+4000_weekly_bin762.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/6433/Model_4FGL_J1738.2+4000_weekly_bin762.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) = 22038.8176636 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22038.8077977 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .70943E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' .34590E-05 1.0000 .0000 .10000E+07 3 'Prefactor ' .69792E-05 1.0000 .0000 .10000E+07 4 'Prefactor ' .23065E-06 1.0000 .0000 .10000E+07 5 'norm ' 2.4777 1.0000 .0000 .10000E+07 6 'norm ' .12046E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .93189 1.0000 .0000 .10000E+07 8 'norm ' .96645E-07 1.0000 .0000 .10000E+07 9 'norm ' 4.6839 1.0000 .0000 .10000E+07 10 'norm ' 3.7697 1.0000 .0000 .10000E+07 11 'Prefactor ' .17149E-01 1.0000 .0000 .10000E+07 12 'norm ' 19.466 1.0000 .0000 .10000E+07 13 'Prefactor ' 13.226 1.0000 .0000 .10000E+07 14 'Prefactor ' 36.453 1.0000 .0000 .10000E+07 15 'norm ' 4.1822 1.0000 .0000 .10000E+07 16 'Prefactor ' 17.851 1.0000 .0000 .10000E+07 17 'Prefactor ' .90192E-04 1.0000 .0000 .10000E+07 18 'Prefactor ' 6.1824 1.0000 .0000 .10000E+07 19 'Prefactor ' .87996E-06 1.0000 .0000 .10000E+07 20 'Prefactor ' 37.070 1.0000 .0000 .10000E+07 21 'norm ' .28699E-07 1.0000 .0000 .10000E+07 22 'norm ' .13415 1.0000 .0000 .10000E+07 23 'norm ' .26645E-08 1.0000 .0000 .10000E+07 24 'Prefactor ' 9.2352 1.0000 .0000 .10000E+07 25 'Prefactor ' .31514 1.0000 .0000 .10000E+07 26 'Normalizat' 1.0688 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.0174 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= 22038.80 FROM MIGRAD STATUS=CONVERGED 169 CALLS 2497 TOTAL EDM= .15E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .76050E-08 10.774 .72080E-07** at limit ** 2 Prefactor .0000 1.6052 -.52068E-07** at limit ** 3 Prefactor .0000 .70638 -.47784E-07** at limit ** 4 Prefactor .0000 .55336 -.52526E-07** at limit ** 5 norm 2.4780 .86539 .18588E-07 .10158E-01 6 norm .0000 .25539 .18035E-07** at limit ** 7 Prefactor .93154 5.0592 .33373E-07 -.19182E-01 8 norm .55511E-10 .63147 .87058E-07** at limit ** 9 norm 4.6585 5.3123 -.10337E-07 -.21899E-02 10 norm 3.7712 1.2997 -.76543E-09 .10625E-02 11 Prefactor .47518E-01 13.086 .19925E-06** at limit ** 12 norm 19.475 4.7114 .18755E-07 -.92410E-03 13 Prefactor 13.155 15.438 -.10484E-06 .76067E-01 14 Prefactor 36.528 14.290 .58348E-07 -.11126 15 norm 4.1533 3.2412 -.44861E-07 -.14424E-02 16 Prefactor 17.668 21.068 -.10514E-06 -.15829 17 Prefactor .55511E-10 3.3667 -.12708E-07** at limit ** 18 Prefactor 6.2003 5.1120 .22306E-07 -.42897E-03 19 Prefactor .35305E-07 13.303 .24745E-06** at limit ** 20 Prefactor 37.069 17.958 .72180E-07 -.71398E-01 21 norm .0000 .30985 .88872E-08** at limit ** 22 norm .48850E-08 15.719 -.15894E-06** at limit ** 23 norm .0000 1.9852 -.39120E-07** at limit ** 24 Prefactor 9.2410 3.5595 .86378E-07 .10018E-01 25 Prefactor .32859 2.3921 .46530E-07 .98740E-03 26 Normalizat 1.0689 .15362 .18966E-06 .22396E-03 27 Prefactor 1.0174 .92342E-01 .64528E-07 .35363E-03 ERR DEF= .500 Final values: norm = 7.60503e-09 Prefactor = 0 Prefactor = 0 Prefactor = 0 norm = 2.47797 norm = 0 Prefactor = 0.931542 norm = 5.55112e-11 norm = 4.65846 norm = 3.77117 Prefactor = 0.0475176 norm = 19.4752 Prefactor = 13.1546 Prefactor = 36.5281 norm = 4.15331 Prefactor = 17.6682 Prefactor = 5.55112e-11 Prefactor = 6.20033 Prefactor = 3.53051e-08 Prefactor = 37.0691 norm = 0 norm = 4.88498e-09 norm = 0 Prefactor = 9.24097 Prefactor = 0.32859 Normalizat = 1.06894 Prefactor = 1.01738 ********** ** 18 **HESSE ********** FCN= 22038.80 FROM HESSE STATUS=OK 576 CALLS 3073 TOTAL EDM= .27E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .76050E-08 10.778 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 .33933 .25830E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .29177 .24332E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 .55236 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 2.4780 .86880 .64926E-03 -1.5676 6 norm .0000 .13488 .20860E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .93154 5.4397 .43580E-03 -1.5689 8 norm .55511E-10 .14544 .29127E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 4.6585 5.3548 .46475E-03 -1.5665 10 norm 3.7712 1.3059 .51973E-03 -1.5669 11 Prefactor .47518E-01 .64269 .65300E-02 -1.5704 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 19.475 5.2981 .22673E-03 -1.5620 13 Prefactor 13.155 53.397 .27517E-03 -1.5635 14 Prefactor 36.528 55.336 .16565E-03 -1.5587 15 norm 4.1533 3.2742 .49257E-03 -1.5667 16 Prefactor 17.668 26.378 .23678E-03 -1.5624 17 Prefactor .55511E-10 3.3898 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 6.2003 5.1255 .40351E-03 -1.5658 19 Prefactor .35305E-07 13.297 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 37.069 41.894 .16426E-03 -1.5586 21 norm .0000 .30858 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .48850E-08 28.426 .13090E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .0000 1.9785 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 9.2410 3.5648 .32955E-03 -1.5647 25 Prefactor .32859 2.2848 .10006E-02 -1.5696 26 Normalizat 1.0689 .13051 .72046E-01 -.90756 27 Prefactor 1.0174 .76897E-01 .42412E-01 -.92152 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.67206e-05 Minuit parameter uncertainties: 1 0.000573614 2 1.97951e-06 3 4.21028e-06 4 6.00051e-06 5 0.868795 6 1.07003e-06 7 4.50216 8 5.21351e-06 9 5.35476 10 1.30593 11 0.34951 12 5.29812 13 53.0071 14 55.3365 15 3.27424 16 26.3779 17 2.63197e-05 18 5.12552 19 0.00137014 20 41.8946 21 8.50127e-07 22 0.000743202 23 9.34696e-06 24 3.56483 25 1.73292 26 0.130549 27 0.0769049 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22038.8048215 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 1.315e+01 5.301e+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: 1.017e+00 7.690e-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.069e+00 1.305e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.09 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 6.89e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.36e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/6433/likelihoodResults_699840001_700444801_4FGL_J1738.2+4000_weekly_bin762.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) = 22038.7325166 delta logL = 0.0723049051012 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 22038.0148596 delta logL = 0.789961825078 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .41461E-06 1.0000 .0000 .10000E+07 2 'Index ' 10.0000 1.0000 .0000 10.000 3 'Normalizat' 1.0364 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0328 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 22038.85 FROM MIGRAD STATUS=CONVERGED 79 CALLS 455 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 4.1085 .42118E-03** at limit ** 2 Index .67732 .79231 -.16365E-05 .0000 3 Normalizat 1.0750 1.2453 -.42209E-05 -.15041E-03 4 Prefactor 1.0166 1.2058 .10639E-05 -.20108E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.67732 Normalizat = 1.07505 Prefactor = 1.01656 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 22038.85 FROM HESSE STATUS=FAILED 9 CALLS 464 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 4.1085 .42118E-03 -1779.7 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4541 1.5563 -.16365E-05 -34899. 3 Normalizat 1.0750 1.2453 -.42209E-05 -146.75 4 Prefactor 1.0166 1.2058 .10639E-05 -71.335 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.3639e-11 Minuit parameter uncertainties: 1 1.76578e-05 2 0.806066 3 1.28187 4 1.24028 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/6433': 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) = 22038.8473557 delta logL = -0.042534207696 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 0.000e+00 1.766e-05 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 6.773e-01 8.061e-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: 1.017e+00 1.240e+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.075e+00 1.282e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.09 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/6433/cmap_HighResolution_699840001_700444801_4FGL_J1738.2+4000_weekly_bin762.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/6433 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2023-03-14 04:18:01.139876', job_id='6433', GAL2='1.02', fit_tolerance='1e-08', EG2='1.08', EG='1.07', time_epoch_completed='1678792681.14', return_code2='101', ts='0.09', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-4.25e-02', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='762' AND source_name='4FGL J1738.2+4000' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Mar 14 04:18:01 PDT 2023 ------------------------------------------------------------ Sender: LSF System Subject: Job 6433: <4FGL_J1738.2+4000_weekly_bin762> in cluster Done Job <4FGL_J1738.2+4000_weekly_bin762> was submitted from host by user in cluster at Tue Mar 14 03:45:23 2023 Job was executed on host(s) , in queue , as user in cluster at Tue Mar 14 03:45:25 2023 was used as the home directory. was used as the working directory. Started at Tue Mar 14 03:45:25 2023 Terminated at Tue Mar 14 04:18:01 2023 Results reported at Tue Mar 14 04:18:01 2023 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.2+4000_weekly_bin762 264.56 40.0099 699840001 700444801 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 : 1913.67 sec. Max Memory : 644 MB Average Memory : 357.64 MB Total Requested Memory : - Delta Memory : - Max Swap : 2934 MB Max Processes : 6 Max Threads : 21 Run time : 1956 sec. Turnaround time : 1958 sec. The output (if any) is above this job summary.