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 78 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 = 7464
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2118.0+0019_daily_bin1773
RA = 319.505, Dec = 0.3295
tmin = 698889601, tmax = 699148801
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='804487', job_status='RUN', time_executed='2023-02-27 10:32:12.071495', time_epoch_executed='1677522732.07' WHERE source_name='4FGL J2118.0+0019' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/804487

Creating custom pfile directory:
/scratch/kocevski/804487/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=698889601.0 && nMetStart<699148801.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=698889601.0 && nMetStart<699148801.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/804487/ft1_4FGL_J2118.0+0019_daily_bin1773.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=698889601.0 && nMetStart<699148801.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/804487/ft2_4FGL_J2118.0+0019_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/804487/ft1_4FGL_J2118.0+0019_daily_bin1773.fits outfile=/scratch/kocevski/804487/ft1_filteredMKT_4FGL_J2118.0+0019_daily_bin1773.fits ra=319.505 dec=0.3295 rad=12.0 tmin=698889601.0 tmax=699148801.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 2.96
user 2.76
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/804487/ft2_4FGL_J2118.0+0019_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/804487/ft2_4FGL_J2118.0+0019_daily_bin1773.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/804487/ft1_filteredMKT_4FGL_J2118.0+0019_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/804487/ft1_filtered_4FGL_J2118.0+0019_daily_bin1773.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 349

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/804487/ft1_filtered_4FGL_J2118.0+0019_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/804487/ft2_4FGL_J2118.0+0019_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/804487/ltcube_698889601_699148801_4FGL_J2118.0+0019_daily_bin1773.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/804487/ft2_4FGL_J2118.0+0019_daily_bin1773.fits
.....................!
real 15.01
user 14.64
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/804487/ft1_filtered_4FGL_J2118.0+0019_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/804487/ft2_4FGL_J2118.0+0019_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/804487/ltcube_698889601_699148801_4FGL_J2118.0+0019_daily_bin1773.fits outfile=/scratch/kocevski/804487/expmap_698889601_699148801_4FGL_J2118.0+0019_daily_bin1773.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/804487/ltcube_698889601_699148801_4FGL_J2118.0+0019_daily_bin1773.fits
.....................!
real 191.11
user 185.59
sys 5.09

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 176 point sources and 0 extended sources

Setting source of interest to:
4FGL J2118.0+0019 @ 319.505 0.3295

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/804487/ft1_filtered_4FGL_J2118.0+0019_daily_bin1773.fits scfile=/scratch/kocevski/804487/ft2_4FGL_J2118.0+0019_daily_bin1773.fits outfile=/scratch/kocevski/804487/cmap_698889601_699148801_4FGL_J2118.0+0019_daily_bin1773.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=319.505 yref=0.3295 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/804487/ft1_filtered_4FGL_J2118.0+0019_daily_bin1773.fits scfile=/scratch/kocevski/804487/ft2_4FGL_J2118.0+0019_daily_bin1773.fits outfile=/scratch/kocevski/804487/cmap_HighResolution_698889601_699148801_4FGL_J2118.0+0019_daily_bin1773.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=319.505 yref=0.3295 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/804487/ft1_filtered_4FGL_J2118.0+0019_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/804487/ft2_4FGL_J2118.0+0019_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/804487/Model_4FGL_J2118.0+0019_daily_bin1773.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/804487/ft1_filtered_4FGL_J2118.0+0019_daily_bin1773.fits.....................!
real 50.00
user 48.69
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/804487/ft1_filtered_4FGL_J2118.0+0019_daily_bin1773.fits', '/scratch/kocevski/804487/ft2_4FGL_J2118.0+0019_daily_bin1773.fits', expMap='/scratch/kocevski/804487/expmap_698889601_699148801_4FGL_J2118.0+0019_daily_bin1773.fits', expCube='/scratch/kocevski/804487/ltcube_698889601_699148801_4FGL_J2118.0+0019_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/804487/Model_4FGL_J2118.0+0019_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2118.0+0019'

4FGL J2118.0+0019
   Spectrum: PowerLaw
308    Prefactor:  7.605e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  2.572e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/804487/ft1_filtered_4FGL_J2118.0+0019_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/804487/ft2_4FGL_J2118.0+0019_daily_bin1773.fits
Exposure map: /scratch/kocevski/804487/expmap_698889601_699148801_4FGL_J2118.0+0019_daily_bin1773.fits
Exposure cube: /scratch/kocevski/804487/ltcube_698889601_699148801_4FGL_J2118.0+0019_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/804487/Model_4FGL_J2118.0+0019_daily_bin1773.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) = 4130.30515843

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4130.13434906

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.089       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8590       1.0000          .0000       .10000E+07
     3 'Prefactor '    15.638       1.0000          .0000       .10000E+07
     4 'Prefactor '    .38824E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22261E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    51.563       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12388E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.7371       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18619E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.0211       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14330E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .16793E-02   1.0000          .0000       .10000E+07
    13 'norm      '    10.610       1.0000          .0000       .10000E+07
    14 'norm      '    .38230       1.0000          .0000       .10000E+07
    15 'Prefactor '    .87985E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    12.796       1.0000          .0000       .10000E+07
    17 'Normalizat'    .49137       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0661       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4130.130     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1358 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.588        18.087       -.20602E-06   -.11729E-03
   2  Prefactor     5.7958        8.8642       -.93146E-07    .54518E-03
   3  Prefactor     15.938        16.418        .25442E-06    .20192E-01
   4  Prefactor     .53180E-07    16.915       -.78702E-06** at limit **
   5  Prefactor     .15432E-06    48.700        .20372E-06** at limit **
   6  Prefactor     52.361        49.745       -.91027E-06    .24405E-02
   7  Prefactor     .11102E-09    23.407        .57064E-06** at limit **
   8  Prefactor     .50526E-05    16131.        .21334E-04** at limit **
   9  Prefactor     .52736E-08    17.571       -.24029E-07** at limit **
  10  Prefactor     5.0888        5.7655       -.35863E-06    .12340E-03
  11  Prefactor     .36637E-08    28.425       -.84070E-06** at limit **
  12  Prefactor     .10336E-06    53.084       -.74114E-06** at limit **
  13  norm          10.705        6.6175        .49374E-07    .48492E-03
  14  norm          .46584E-05    12.514       -.19550E-07** at limit **
  15  Prefactor     .34139E-07    20.694        .86519E-06** at limit **
  16  Prefactor     13.523        24.201        .13959E-06   -.20674E-01
  17  Normalizat    .49188        .44204       -.20981E-04    .10898E-04
  18  Prefactor     1.0662        .18145        .46893E-05   -.62402E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 27.5879
  Prefactor  = 5.79576
  Prefactor  = 15.9377
  Prefactor  = 5.31797e-08
  Prefactor  = 1.54321e-07
  Prefactor  = 52.3608
  Prefactor  = 1.11022e-10
  Prefactor  = 5.05257e-06
  Prefactor  = 5.27356e-09
  Prefactor  = 5.08882
  Prefactor  = 3.66374e-09
  Prefactor  = 1.03362e-07
  norm       = 10.7047
  norm       = 4.65844e-06
  Prefactor  = 3.41394e-08
  Prefactor  = 13.523
  Normalizat = 0.491876
  Prefactor  = 1.06623
 **********
 **   18 **HESSE 
 **********

 FCN=   4130.130     FROM HESSE     STATUS=OK           286 CALLS     1644 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.588        18.162        .18871E-03   -1.5603    
   2  Prefactor     5.7958        8.9557        .41466E-03   -1.5660    
   3  Prefactor     15.938        26.544        .25301E-03   -1.5628    
   4  Prefactor     .53180E-07    17.905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15432E-06    50.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     52.361        49.744        .13927E-03   -1.5563    
   7  Prefactor     .11102E-09    23.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .50526E-05    301.41        .16535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .52736E-08    17.710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.0888        6.7901        .44852E-03   -1.5663    
  11  Prefactor     .36637E-08    29.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10336E-06    54.405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.705        6.7340        .30735E-03   -1.5643    
  14  norm          .46584E-05    86.512        .91567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .34139E-07    21.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.523        30.167        .27977E-03   -1.5634    
  17  Normalizat    .49188        .43743        .12116       -1.1279    
  18  Prefactor     1.0662        .17112        .39048E-01   -.90553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09742e-07
Minuit parameter uncertainties:
  1  18.1618
  2  8.95571
  3  26.5441
  4  0.00195176
  5  0.00558106
  6  49.7448
  7  0.000109605
  8  0.0780519
  9  0.000612287
  10  6.79015
  11  0.000651066
  12  0.00474319
  13  6.73402
  14  0.0401509
  15  0.00169558
  16  30.1668
  17  0.440538
  18  0.171211
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4130.13035608

Extracting fit parameters...

4FGL J2118.0+0019
   Spectrum: PowerLaw
308    Prefactor:  1.543e-07  5.581e-03  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  2.572e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  1.066e+00  1.712e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  4.919e-01  4.405e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 319.505 0.330
Photon Flux Upper Limit: 1.62e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.27e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/804487/likelihoodResults_698889601_699148801_4FGL_J2118.0+0019_daily_bin1773.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) = 4130.13036111
delta logL = -5.02647526446e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4130.13051594
delta logL = -0.000159853071636

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19170E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.9233       1.0000          .0000       10.000    
     3 'Normalizat'    .48293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0696       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4130.130     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      412 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71916E-01    3.3053        .88881E-02** at limit **
   2  Index         4.8114        3.9200        .50000        .56037E-05
   3  Normalizat    .48998        .90118E-02    .12139        .38127E-05
   4  Prefactor     1.0668        .38234E-02    .38879E-01   -.11703E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0719156
  Index      = 4.81135
  Normalizat = 0.489979
  Prefactor  = 1.06676
 **********
 **   18 **HESSE 
 **********

 FCN=   4130.130     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      447 TOTAL
                     EDM=   .83E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71916E-01    482.05        .20756E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.8114        7.2957        .50000       -.37738E-01
   3  Normalizat    .48998        .18302E-01    .53815E-03   -1.1288    
   4  Prefactor     1.0668        .77897E-02    .15802E-03   -.90536    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.34379e-12
Minuit parameter uncertainties:
  1  11.7767
  2  9.14719
  3  0.0183027
  4  0.00778974
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/804487': 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): 102
logL (Free Index) = 4130.1302796
delta logL = 7.64795222494e-05

Extracting fit parameters...

4FGL J2118.0+0019
   Spectrum: PowerLaw
308    Prefactor:  7.192e-02  1.178e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  4.811e+00  9.147e+00  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  1.067e+00  7.790e-03  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  4.900e-01  1.830e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 319.505 0.330

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/804487/cmap_HighResolution_698889601_699148801_4FGL_J2118.0+0019_daily_bin1773.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/804487

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-02', job_status='DONE', photon_flux_upper_limit='1.62e-07', time_completed='2023-02-27 10:40:09.693686', job_id='804487', GAL2='1.07', fit_tolerance='1e-08', EG2='0.49', EG='0.49', time_epoch_completed='1677523209.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='7.65e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1773' AND source_name='4FGL J2118.0+0019' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:40:09 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 804487: <4FGL_J2118.0+0019_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2118.0+0019_daily_bin1773> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Mon Feb 27 10:30:26 2023
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:30:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:30:27 2023
Terminated at Mon Feb 27 10:40:13 2023
Results reported at Mon Feb 27 10:40:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2118.0+0019_daily_bin1773 319.505 0.3295 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2118.0+0019 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   478.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   585 sec.
    Turnaround time :                            587 sec.

The output (if any) is above this job summary.

