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


Performing analysis on: 4FGL_J2114.8+2026_daily_bin1764
RA = 318.717, Dec = 20.4418
tmin = 696556801, 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='464620', job_status='RUN', time_executed='2023-01-31 01:55:42.223890', time_epoch_executed='1675158942.22' WHERE source_name='4FGL J2114.8+2026' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/464620

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=696556801.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>=696556801.0 && nMetStart<696816001.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/464620/ft1_4FGL_J2114.8+2026_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/464620/ft2_4FGL_J2114.8+2026_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/464620/ft1_4FGL_J2114.8+2026_daily_bin1764.fits outfile=/scratch/kocevski/464620/ft1_filteredMKT_4FGL_J2114.8+2026_daily_bin1764.fits ra=318.717 dec=20.4418 rad=12.0 tmin=696556801.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 3.76
user 3.50
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/464620/ft2_4FGL_J2114.8+2026_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/464620/ft2_4FGL_J2114.8+2026_daily_bin1764.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/464620/ft1_filteredMKT_4FGL_J2114.8+2026_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/464620/ft1_filtered_4FGL_J2114.8+2026_daily_bin1764.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.51
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 964

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/464620/ft1_filtered_4FGL_J2114.8+2026_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/464620/ft2_4FGL_J2114.8+2026_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/464620/ltcube_696556801_696816001_4FGL_J2114.8+2026_daily_bin1764.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/464620/ft2_4FGL_J2114.8+2026_daily_bin1764.fits
.....................!
real 14.25
user 13.82
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/464620/ft1_filtered_4FGL_J2114.8+2026_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/464620/ft2_4FGL_J2114.8+2026_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/464620/ltcube_696556801_696816001_4FGL_J2114.8+2026_daily_bin1764.fits outfile=/scratch/kocevski/464620/expmap_696556801_696816001_4FGL_J2114.8+2026_daily_bin1764.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/464620/ltcube_696556801_696816001_4FGL_J2114.8+2026_daily_bin1764.fits
.....................!
real 192.31
user 186.56
sys 5.36

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
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 201 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2114.8+2026 @ 318.717 20.4418

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/464620/ft1_filtered_4FGL_J2114.8+2026_daily_bin1764.fits scfile=/scratch/kocevski/464620/ft2_4FGL_J2114.8+2026_daily_bin1764.fits outfile=/scratch/kocevski/464620/cmap_696556801_696816001_4FGL_J2114.8+2026_daily_bin1764.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=318.717 yref=20.4418 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/464620/ft1_filtered_4FGL_J2114.8+2026_daily_bin1764.fits scfile=/scratch/kocevski/464620/ft2_4FGL_J2114.8+2026_daily_bin1764.fits outfile=/scratch/kocevski/464620/cmap_HighResolution_696556801_696816001_4FGL_J2114.8+2026_daily_bin1764.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=318.717 yref=20.4418 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/464620/ft1_filtered_4FGL_J2114.8+2026_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/464620/ft2_4FGL_J2114.8+2026_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/464620/Model_4FGL_J2114.8+2026_daily_bin1764.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/464620/ft1_filtered_4FGL_J2114.8+2026_daily_bin1764.fits.....................!
real 150.97
user 148.83
sys 1.80

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/464620/ft1_filtered_4FGL_J2114.8+2026_daily_bin1764.fits', '/scratch/kocevski/464620/ft2_4FGL_J2114.8+2026_daily_bin1764.fits', expMap='/scratch/kocevski/464620/expmap_696556801_696816001_4FGL_J2114.8+2026_daily_bin1764.fits', expCube='/scratch/kocevski/464620/ltcube_696556801_696816001_4FGL_J2114.8+2026_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/464620/Model_4FGL_J2114.8+2026_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2114.8+2026'

4FGL J2114.8+2026
   Spectrum: PowerLaw
420    Prefactor:  1.772e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
421        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
422        Scale:  2.990e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/464620/ft1_filtered_4FGL_J2114.8+2026_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/464620/ft2_4FGL_J2114.8+2026_daily_bin1764.fits
Exposure map: /scratch/kocevski/464620/expmap_696556801_696816001_4FGL_J2114.8+2026_daily_bin1764.fits
Exposure cube: /scratch/kocevski/464620/ltcube_696556801_696816001_4FGL_J2114.8+2026_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/464620/Model_4FGL_J2114.8+2026_daily_bin1764.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) = 9884.4972051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2435       1.0000         .10000E-03   10000.    
     2 'norm      '    45.489       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.021       1.0000          .0000       .10000E+07
     4 'Prefactor '    104.96       1.0000          .0000       .10000E+07
     5 'Prefactor '    18.293       1.0000          .0000       .10000E+07
     6 'Prefactor '    48.078       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.0814       1.0000          .0000       .10000E+07
     8 'norm      '    .46103       1.0000          .0000       .10000E+07
     9 'norm      '    1.2101       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48955E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11327       1.0000          .0000       .10000E+07
    12 'norm      '    .14766E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .47750       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.868       1.0000          .0000       .10000E+07
    15 'norm      '    .12224E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4539       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .81837       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9884.438     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1243 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2258        3.5329        .19232E-05   -.99007E-05
   2  norm          45.756        10.869       -.80265E-06    .67682E-01
   3  Prefactor     10.241        15.475       -.15279E-06    .41607E-03
   4  Prefactor     104.25        80.336        .15270E-05    .15250E-01
   5  Prefactor     18.355        13.814       -.39869E-07   -.79190E-03
   6  Prefactor     47.899        29.515       -.14563E-05   -.59125E-01
   7  Prefactor     3.0880        5.6493       -.87144E-08   -.22551E-03
   8  norm          .49872        15.175       -.15401E-06    .68187E-05
   9  norm          1.2468        5.2169        .11740E-05    .17611E-03
  10  Prefactor      .0000        1.6479       -.20386E-06** at limit **
  11  Prefactor      .0000        37.540        .15033E-05** at limit **
  12  norm           .0000        .63086        .27484E-07** at limit **
  13  Prefactor     .44051        61.187        .66529E-05   -.11836E-01
  14  Prefactor     12.435        40.896       -.32743E-05   -.72213E-02
  15  norm           .0000        .45419        .44762E-07** at limit **
  16  Normalizat    1.4545        .27207        .98917E-05    .40370E-05
  17  Prefactor     .81848        .89744E-01   -.30685E-05    .69481E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.22581
  norm       = 45.7564
  Prefactor  = 10.2409
  Prefactor  = 104.25
  Prefactor  = 18.3552
  Prefactor  = 47.8992
  Prefactor  = 3.08798
  norm       = 0.498716
  norm       = 1.24681
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0.440509
  Prefactor  = 12.4351
  norm       = 0
  Normalizat = 1.45446
  Prefactor  = 0.818478
 **********
 **   18 **HESSE 
 **********

 FCN=   9884.438     FROM HESSE     STATUS=OK           271 CALLS     1514 TOTAL
                     EDM=   .54E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2258        3.5292        .48900E-02   -1.5297    
   2  norm          45.756        42.756        .14828E-03   -1.5573    
   3  Prefactor     10.241        15.425        .30154E-03   -1.5644    
   4  Prefactor     104.25        81.713        .97614E-04   -1.5504    
   5  Prefactor     18.355        13.801        .23389E-03   -1.5622    
   6  Prefactor     47.899        34.851        .14423E-03   -1.5570    
   7  Prefactor     3.0880        6.0693        .57754E-03   -1.5673    
   8  norm          .49872        3.5269        .82731E-02   -1.5694    
   9  norm          1.2468        5.3114        .10282E-02   -1.5686    
  10  Prefactor      .0000        1.6483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        37.589        .13586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .62972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44051        16.893        .11971E-01   -1.5695    
  14  Prefactor     12.435        41.402        .30365E-03   -1.5637    
  15  norm           .0000        .45192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4545        .23536        .84637E-01   -.79066    
  17  Prefactor     .81848        .76143E-01    .43956E-01   -.99051    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.44329e-06
Minuit parameter uncertainties:
  1  3.52934
  2  42.7565
  3  15.4251
  4  81.7136
  5  13.801
  6  34.8509
  7  6.06928
  8  2.65249
  9  5.14678
  10  3.95938e-07
  11  7.57167e-06
  12  8.70309e-08
  13  5.45586
  14  41.4029
  15  7.47481e-08
  16  0.235535
  17  0.076153
Done.

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

Extracting fit parameters...

4FGL J2114.8+2026
   Spectrum: PowerLaw
420    Prefactor:  4.790e+01  3.485e+01  0.000e+00  1.000e+06 ( 1.000e-14)
421        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
422        Scale:  2.990e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  8.185e-01  7.615e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  1.454e+00  2.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.40
Ra Dec: 318.717 20.442
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 5.55e-08 +/- 4.04e-08
Energy Flux (Fixed Index): 3.01e-05 +/- 2.19e-05

TS (Fixed Index): 3.40
Ra Dec: 318.717 20.442
Photon Flux Upper Limit: 1.40e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/464620/likelihoodResults_696556801_696816001_4FGL_J2114.8+2026_daily_bin1764.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) = 9884.43753242
delta logL = 0.000187582196304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9884.43717728
delta logL = 0.000542730154848

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9884.437     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      272 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.368        68.358        .58719E-05    .48868E-03
   2  Index         2.1261        .71542        .64385E-02    .69997E-04
   3  Normalizat    1.4530        .26552        .37484E-03    .29116E-05
   4  Prefactor     .81879        .88122E-01    .16126E-03   -.98700E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.3682
  Index      = 2.12608
  Normalizat = 1.45303
  Prefactor  = 0.818786
 **********
 **   18 **HESSE 
 **********

 FCN=   9884.437     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .83E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.368        56.895        .11744E-05   -1.5572    
   2  Index         2.1261        .59580        .25754E-03   -.61234    
   3  Normalizat    1.4530        .26399        .14994E-04   -.79107    
   4  Prefactor     .81879        .87873E-01    .64503E-05   -.99040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.26779e-12
Minuit parameter uncertainties:
  1  56.8954
  2  0.597925
  3  0.264244
  4  0.0878881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/464620': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9884.43716047
delta logL = 0.000559531656108

Extracting fit parameters...

4FGL J2114.8+2026
   Spectrum: PowerLaw
420    Prefactor:  4.637e+01  5.690e+01  0.000e+00  1.000e+06 ( 1.000e-14)
421        Index:  2.126e+00  5.979e-01  0.000e+00  1.000e+01 (-1.000e+00)
422        Scale:  2.990e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  8.188e-01  8.789e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  1.453e+00  2.642e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.40
Ra Dec: 318.717 20.442
Photon Index (Free Index): 2.13 +/- 0.60
Photon Flux (Free Index): 5.65e-08 +/- 4.86e-08
Energy Flux (Free Index): 2.93e-05 +/- 3.00e-05

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/464620/cmap_HighResolution_696556801_696816001_4FGL_J2114.8+2026_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', photon_flux='5.55e-08', energy_flux2='2.93e-05', photon_flux_error='4.04e-08', dlogl='5.60e-04', energy_flux='3.01e-05', photon_flux2='5.65e-08', job_status='DONE', time_completed='2023-01-31 02:08:57.484565', photon_index_error2='0.60', photon_index2='2.13', ts='3.40', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.40e-07', energy_flux_error2='3.00e-05', EG='1.45', time_epoch_completed='1675159737.48', return_code='0', job_id='464620', GAL2='0.82', EG2='1.45', return_code2='0', energy_flux_error='2.19e-05', photon_flux_error2='4.86e-08', ts2='3.40', photon_index='2.11' WHERE bin_id='1764' AND source_name='4FGL J2114.8+2026' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 02:08:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 464620: <4FGL_J2114.8+2026_daily_bin1764> in cluster <slac> Done

Job <4FGL_J2114.8+2026_daily_bin1764> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jan 31 01:55:13 2023
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:55:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:55:30 2023
Terminated at Tue Jan 31 02:08:58 2023
Results reported at Tue Jan 31 02:08:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2114.8+2026_daily_bin1764 318.717 20.4418 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2114.8+2026 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   795.57 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             397.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            825 sec.

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

