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


Performing analysis on: 4FGL_J2114.8+2026_daily_bin1726
RA = 318.717, Dec = 20.4418
tmin = 686707201, tmax = 686966401
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='88204', job_status='RUN', time_executed='2022-10-09 00:39:29.715125', time_epoch_executed='1665301169.72' WHERE source_name='4FGL J2114.8+2026' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88204

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88204/ft1_4FGL_J2114.8+2026_daily_bin1726.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88204/ft2_4FGL_J2114.8+2026_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88204/ft1_4FGL_J2114.8+2026_daily_bin1726.fits outfile=/scratch/kocevski/88204/ft1_filteredMKT_4FGL_J2114.8+2026_daily_bin1726.fits ra=318.717 dec=20.4418 rad=12.0 tmin=686707201.0 tmax=686966401.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.12
user 2.84
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88204/ft2_4FGL_J2114.8+2026_daily_bin1726.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/88204/ft1_filteredMKT_4FGL_J2114.8+2026_daily_bin1726.fits evtable="EVENTS" outfile="/scratch/kocevski/88204/ft1_filtered_4FGL_J2114.8+2026_daily_bin1726.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.33
sys 0.17

Number of photons that the gtmktime cut: 825

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88204/ft1_filtered_4FGL_J2114.8+2026_daily_bin1726.fits" evtable="EVENTS" scfile=/scratch/kocevski/88204/ft2_4FGL_J2114.8+2026_daily_bin1726.fits sctable="SC_DATA" outfile=/scratch/kocevski/88204/ltcube_686707201_686966401_4FGL_J2114.8+2026_daily_bin1726.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/88204/ft2_4FGL_J2114.8+2026_daily_bin1726.fits
.....................!
real 13.06
user 12.62
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88204/ft1_filtered_4FGL_J2114.8+2026_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88204/ft2_4FGL_J2114.8+2026_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/88204/ltcube_686707201_686966401_4FGL_J2114.8+2026_daily_bin1726.fits outfile=/scratch/kocevski/88204/expmap_686707201_686966401_4FGL_J2114.8+2026_daily_bin1726.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/88204/ltcube_686707201_686966401_4FGL_J2114.8+2026_daily_bin1726.fits
.....................!
real 191.27
user 185.56
sys 5.33

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/88204/ft1_filtered_4FGL_J2114.8+2026_daily_bin1726.fits scfile=/scratch/kocevski/88204/ft2_4FGL_J2114.8+2026_daily_bin1726.fits outfile=/scratch/kocevski/88204/cmap_686707201_686966401_4FGL_J2114.8+2026_daily_bin1726.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88204/ft1_filtered_4FGL_J2114.8+2026_daily_bin1726.fits scfile=/scratch/kocevski/88204/ft2_4FGL_J2114.8+2026_daily_bin1726.fits outfile=/scratch/kocevski/88204/cmap_HighResolution_686707201_686966401_4FGL_J2114.8+2026_daily_bin1726.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88204/ft1_filtered_4FGL_J2114.8+2026_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88204/ft2_4FGL_J2114.8+2026_daily_bin1726.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88204/Model_4FGL_J2114.8+2026_daily_bin1726.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/88204/ft1_filtered_4FGL_J2114.8+2026_daily_bin1726.fits.....................!
real 140.57
user 138.96
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/88204/ft1_filtered_4FGL_J2114.8+2026_daily_bin1726.fits', '/scratch/kocevski/88204/ft2_4FGL_J2114.8+2026_daily_bin1726.fits', expMap='/scratch/kocevski/88204/expmap_686707201_686966401_4FGL_J2114.8+2026_daily_bin1726.fits', expCube='/scratch/kocevski/88204/ltcube_686707201_686966401_4FGL_J2114.8+2026_daily_bin1726.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/88204/Model_4FGL_J2114.8+2026_daily_bin1726.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/88204/ft1_filtered_4FGL_J2114.8+2026_daily_bin1726.fits
Spacecraft file(s): /scratch/kocevski/88204/ft2_4FGL_J2114.8+2026_daily_bin1726.fits
Exposure map: /scratch/kocevski/88204/expmap_686707201_686966401_4FGL_J2114.8+2026_daily_bin1726.fits
Exposure cube: /scratch/kocevski/88204/ltcube_686707201_686966401_4FGL_J2114.8+2026_daily_bin1726.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/88204/Model_4FGL_J2114.8+2026_daily_bin1726.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) = 8817.17355398

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5435       1.0000         .10000E-03   10000.    
     2 'norm      '    40.673       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17165E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.3559       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.4389       1.0000          .0000       .10000E+07
     6 'Prefactor '    60.870       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10768E-02   1.0000          .0000       .10000E+07
     8 'norm      '    6.9380       1.0000          .0000       .10000E+07
     9 'norm      '    .89463       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10356E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .52601E-03   1.0000          .0000       .10000E+07
    12 'norm      '    7.2416       1.0000          .0000       .10000E+07
    13 'Prefactor '    .48696       1.0000          .0000       .10000E+07
    14 'Prefactor '    50.065       1.0000          .0000       .10000E+07
    15 'norm      '    .74973E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    .89420       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .91939       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=   8817.156     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1216 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5441        3.2434        .10950E-08    .55819E-03
   2  norm          40.524        29.339        .29451E-08   -.14394    
   3  Prefactor     .55511E-10    7.7058       -.99087E-10** at limit **
   4  Prefactor     7.0710        169.95       -.16581E-07    .99564E-01
   5  Prefactor     5.4116        12.312        .27993E-09    .22993E-02
   6  Prefactor     61.066        10.439        .86883E-09   -.44698E-01
   7  Prefactor     .76050E-08    7.5760       -.30507E-10** at limit **
   8  norm          7.0319        6.2509        .52965E-09    .20406E-01
   9  norm          .89412        3.3580        .32560E-10    .75782E-02
  10  Prefactor      .0000        1.6864        .71984E-10** at limit **
  11  Prefactor     .20500E-06    67.736       -.54900E-09** at limit **
  12  norm          7.2664        3.6590       -.12308E-09   -.30363E-01
  13  Prefactor     .13156E-07    47.916        .58051E-09** at limit **
  14  Prefactor     52.474        82.502        .59819E-08   -.19342    
  15  norm           .0000        .71404       -.34398E-10** at limit **
  16  Normalizat    .89255        .30089       -.84932E-08   -.72119E-04
  17  Prefactor     .91932        .94288E-01    .26054E-08    .31771E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.54414
  norm       = 40.5244
  Prefactor  = 5.55112e-11
  Prefactor  = 7.071
  Prefactor  = 5.41155
  Prefactor  = 61.0658
  Prefactor  = 7.60503e-09
  norm       = 7.03188
  norm       = 0.894122
  Prefactor  = 0
  Prefactor  = 2.05003e-07
  norm       = 7.26643
  Prefactor  = 1.31561e-08
  Prefactor  = 52.4739
  norm       = 0
  Normalizat = 0.892549
  Prefactor  = 0.919318
 **********
 **   18 **HESSE 
 **********

 FCN=   8817.156     FROM HESSE     STATUS=OK           259 CALLS     1475 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5441        3.2430        .53681E-02   -1.5331    
   2  norm          40.524        30.824        .15682E-03   -1.5581    
   3  Prefactor     .55511E-10    7.6898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.0710        185.57        .43401E-03   -1.5655    
   5  Prefactor     5.4116        12.329        .43063E-03   -1.5661    
   6  Prefactor     61.066        37.297        .12818E-03   -1.5552    
   7  Prefactor     .76050E-08    7.5603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.0319        6.3519        .38065E-03   -1.5655    
   9  norm          .89412        3.4084        .46132E-03   -1.5689    
  10  Prefactor      .0000        1.6874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .20500E-06    67.792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.2664        3.6585        .37250E-03   -1.5654    
  13  Prefactor     .13156E-07    47.371        .80032E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     52.474        84.372        .14134E-03   -1.5563    
  15  norm           .0000        .71360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .89255        .26936        .10497       -.96722    
  17  Prefactor     .91932        .83118E-01    .33013E-01   -.95469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25504e-05
Minuit parameter uncertainties:
  1  3.24314
  2  30.8237
  3  4.5412e-05
  4  72.4499
  5  12.3291
  6  37.2973
  7  0.000479389
  8  6.35191
  9  3.40843
  10  8.67808e-06
  11  0.00745603
  12  3.65851
  13  0.00157737
  14  84.3737
  15  5.88793e-06
  16  0.269763
  17  0.0831293
Done.

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

Extracting fit parameters...

4FGL J2114.8+2026
   Spectrum: PowerLaw
420    Prefactor:  6.107e+01  3.730e+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:  9.193e-01  8.313e-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:  8.925e-01  2.698e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.73
Ra Dec: 318.717 20.442
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 7.08e-08 +/- 4.32e-08
Energy Flux (Fixed Index): 3.83e-05 +/- 2.34e-05

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) = 8817.07244863
delta logL = 0.083959067566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8817.05982166
delta logL = 0.0965860423403

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    80.646       1.0000          .0000       .10000E+07
     2 'Index     '    1.9180       1.0000          .0000       10.000    
     3 'Normalizat'    .90337       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91775       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=   8817.060     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      314 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     80.648        66.648        .44544E-05   -.75443E-03
   2  Index         1.9180        .44190        .61476E-02   -.31671E-04
   3  Normalizat    .90348        .28902        .46264E-03    .30373E-04
   4  Prefactor     .91771        .92260E-01    .14599E-03    .11055E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 80.6477
  Index      = 1.91797
  Normalizat = 0.903485
  Prefactor  = 0.917711
 **********
 **   18 **HESSE 
 **********

 FCN=   8817.060     FROM HESSE     STATUS=OK            25 CALLS      339 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     80.648        63.112        .89089E-06   -1.5528    
   2  Index         1.9180        .41845        .24591E-03   -.66417    
   3  Normalizat    .90348        .28901        .18506E-04   -.96338    
   4  Prefactor     .91771        .92294E-01    .29198E-04   -.95525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56246e-11
Minuit parameter uncertainties:
  1  63.1124
  2  0.419243
  3  0.28951
  4  0.09231
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88204': 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) = 8817.05982157
delta logL = 0.0965861238856

Extracting fit parameters...

4FGL J2114.8+2026
   Spectrum: PowerLaw
420    Prefactor:  8.065e+01  6.311e+01  0.000e+00  1.000e+06 ( 1.000e-14)
421        Index:  1.918e+00  4.192e-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:  9.177e-01  9.231e-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:  9.035e-01  2.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.91
Ra Dec: 318.717 20.442
Photon Index (Free Index): 1.92 +/- 0.42
Photon Flux (Free Index): 5.93e-08 +/- 4.66e-08
Energy Flux (Free Index): 5.07e-05 +/- 4.51e-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/88204/cmap_HighResolution_686707201_686966401_4FGL_J2114.8+2026_daily_bin1726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.08e-08', energy_flux2='5.07e-05', photon_flux_error='4.32e-08', dlogl='9.66e-02', energy_flux='3.83e-05', photon_flux2='5.93e-08', job_status='DONE', time_completed='2022-10-09 00:50:40.613221', photon_index_error2='0.42', photon_index2='1.92', ts='4.73', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='4.51e-05', EG='0.89', time_epoch_completed='1665301840.61', return_code='0', job_id='88204', GAL2='0.92', EG2='0.90', return_code2='0', energy_flux_error='2.34e-05', photon_flux_error2='4.66e-08', ts2='4.91', photon_index='2.11' WHERE bin_id='1726' AND source_name='4FGL J2114.8+2026' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:50:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 88204: <4FGL_J2114.8+2026_daily_bin1726> in cluster <slac> Done

Job <4FGL_J2114.8+2026_daily_bin1726> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Oct  9 00:35:39 2022
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:35:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:35:44 2022
Terminated at Sun Oct  9 00:50:41 2022
Results reported at Sun Oct  9 00:50:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2114.8+2026_daily_bin1726 318.717 20.4418 686707201 686966401 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 :                                   673.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            902 sec.

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

