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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2114.8+2831_monthly_bin170
RA = 318.716, Dec = 28.5222
tmin = 677635201, tmax = 680227201
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='119307', job_status='RUN', time_executed='2022-07-23 02:54:19.171001', time_epoch_executed='1658570059.17' WHERE source_name='4FGL J2114.8+2831' and cadence='monthly' and bin_id='170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/119307

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/119307/ft1_4FGL_J2114.8+2831_monthly_bin170.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/119307/ft2_4FGL_J2114.8+2831_monthly_bin170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/119307/ft1_4FGL_J2114.8+2831_monthly_bin170.fits outfile=/scratch/kocevski/119307/ft1_filteredMKT_4FGL_J2114.8+2831_monthly_bin170.fits ra=318.716 dec=28.5222 rad=12.0 tmin=677635201.0 tmax=680227201.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 32.28
user 31.25
sys 0.89

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/119307/ft2_4FGL_J2114.8+2831_monthly_bin170.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/119307/ft2_4FGL_J2114.8+2831_monthly_bin170.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/119307/ft1_filteredMKT_4FGL_J2114.8+2831_monthly_bin170.fits evtable="EVENTS" outfile="/scratch/kocevski/119307/ft1_filtered_4FGL_J2114.8+2831_monthly_bin170.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.85
user 0.67
sys 0.17

Number of photons that the gtmktime cut: 17798

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/119307/ft1_filtered_4FGL_J2114.8+2831_monthly_bin170.fits" evtable="EVENTS" scfile=/scratch/kocevski/119307/ft2_4FGL_J2114.8+2831_monthly_bin170.fits sctable="SC_DATA" outfile=/scratch/kocevski/119307/ltcube_677635201_680227201_4FGL_J2114.8+2831_monthly_bin170.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/119307/ft2_4FGL_J2114.8+2831_monthly_bin170.fits
.....................!
real 113.71
user 113.12
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/119307/ft1_filtered_4FGL_J2114.8+2831_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/119307/ft2_4FGL_J2114.8+2831_monthly_bin170.fits sctable="SC_DATA" expcube=/scratch/kocevski/119307/ltcube_677635201_680227201_4FGL_J2114.8+2831_monthly_bin170.fits outfile=/scratch/kocevski/119307/expmap_677635201_680227201_4FGL_J2114.8+2831_monthly_bin170.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/119307/ltcube_677635201_680227201_4FGL_J2114.8+2831_monthly_bin170.fits
.....................!
real 193.88
user 188.89
sys 4.37

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_archive_v18/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Added 205 point sources and 3 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+2831 @ 318.716 28.5222

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/119307/ft1_filtered_4FGL_J2114.8+2831_monthly_bin170.fits scfile=/scratch/kocevski/119307/ft2_4FGL_J2114.8+2831_monthly_bin170.fits outfile=/scratch/kocevski/119307/cmap_677635201_680227201_4FGL_J2114.8+2831_monthly_bin170.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.716 yref=28.5222 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.81
user 0.64
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/119307/ft1_filtered_4FGL_J2114.8+2831_monthly_bin170.fits scfile=/scratch/kocevski/119307/ft2_4FGL_J2114.8+2831_monthly_bin170.fits outfile=/scratch/kocevski/119307/cmap_HighResolution_677635201_680227201_4FGL_J2114.8+2831_monthly_bin170.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.716 yref=28.5222 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.82
user 0.65
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/119307/ft1_filtered_4FGL_J2114.8+2831_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/119307/ft2_4FGL_J2114.8+2831_monthly_bin170.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/119307/Model_4FGL_J2114.8+2831_monthly_bin170.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 Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source gamma Cygni
Working on...
/scratch/kocevski/119307/ft1_filtered_4FGL_J2114.8+2831_monthly_bin170.fits.....................!
real 3368.00
user 3360.83
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/119307/ft1_filtered_4FGL_J2114.8+2831_monthly_bin170.fits', '/scratch/kocevski/119307/ft2_4FGL_J2114.8+2831_monthly_bin170.fits', expMap='/scratch/kocevski/119307/expmap_677635201_680227201_4FGL_J2114.8+2831_monthly_bin170.fits', expCube='/scratch/kocevski/119307/ltcube_677635201_680227201_4FGL_J2114.8+2831_monthly_bin170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/119307/Model_4FGL_J2114.8+2831_monthly_bin170.xml', optimizer='MINUIT')

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

4FGL J2114.8+2831
   Spectrum: PowerLaw
465    Prefactor:  1.040e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
466        Index:  2.712e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
467        Scale:  7.137e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/119307/ft1_filtered_4FGL_J2114.8+2831_monthly_bin170.fits
Spacecraft file(s): /scratch/kocevski/119307/ft2_4FGL_J2114.8+2831_monthly_bin170.fits
Exposure map: /scratch/kocevski/119307/expmap_677635201_680227201_4FGL_J2114.8+2831_monthly_bin170.fits
Exposure cube: /scratch/kocevski/119307/ltcube_677635201_680227201_4FGL_J2114.8+2831_monthly_bin170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/119307/Model_4FGL_J2114.8+2831_monthly_bin170.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) = 175770.976754

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0291       1.0000         .10000E-03   10000.    
     2 'norm      '    .68620       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5752       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.4959       1.0000         .10000E-03   10000.    
     5 'norm      '    15.601       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.3729       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.994       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.285       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.2862       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .96638       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.1985       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.682       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .58798       1.0000         .10000E-03   10000.    
    17 'norm      '    .16484       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1172       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94516       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   175770.2     FROM MIGRAD    STATUS=CONVERGED    406 CALLS     1763 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0253        5.8959        .34861E-06   -.49691E-05
   2  norm          .68891        .54389       -.21877E-08   -.21013E-02
   3  norm          1.5754        1.0914       -.62793E-07   -.30351E-04
   4  Prefactor     3.4960        .99468        .51085E-10   -.49638E-05
   5  norm          15.604        6.0362       -.21422E-06   -.76611E-05
   6  Prefactor     7.3726        4.4018       -.92183E-06   -.62505E-04
   7  Prefactor     12.993        15.512       -.16085E-05   -.74836E-05
   8  Prefactor     10.284        7.6137       -.20887E-06   -.21385E-04
   9  Prefactor     8.2866        7.2562        .41035E-06    .46429E-04
  10  Prefactor     .10000E-03    .18841        .19176E-08** at limit **
  11  norm          .96642        .73283        .17280E-07   -.13191E-02
  12  norm          .10000E-03    .50913E-01   -.82932E-09** at limit **
  13  norm          .10000E-03    .18299       -.50062E-07** at limit **
  14  norm          1.1987        1.8604        .13302E-06   -.54498E-03
  15  Prefactor     11.684        12.429        .16916E-05    .18323E-04
  16  Prefactor     .58796        .66017       -.39511E-07    .15184E-03
  17  norm          .16484        .11384        .37405E-08   -.45541E-02
  18  Normalizat    1.1173        .66374E-01    .37298E-06    .27525E-04
  19  Prefactor     .94514        .14368E-01   -.18355E-07    .55832E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.02529
  norm       = 0.688905
  norm       = 1.57545
  Prefactor  = 3.49602
  norm       = 15.6038
  Prefactor  = 7.37257
  Prefactor  = 12.9931
  Prefactor  = 10.284
  Prefactor  = 8.28656
  Prefactor  = 0.0001
  norm       = 0.966425
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 1.19873
  Prefactor  = 11.6839
  Prefactor  = 0.587961
  norm       = 0.164843
  Normalizat = 1.11726
  Prefactor  = 0.945145
 **********
 **   18 **HESSE 
 **********

 FCN=   175770.2     FROM HESSE     STATUS=OK           298 CALLS     2061 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0253        5.8638        .15131E-03   -1.5178    
   2  norm          .68891        .89807        .29999E-02   -1.5542    
   3  norm          1.5754        1.0930        .33856E-04   -1.5457    
   4  Prefactor     3.4960        .99525        .21624E-04   -1.5334    
   5  norm          15.604        6.0369        .10140E-03   -1.4918    
   6  Prefactor     7.3726        4.4032        .14771E-03   -1.5165    
   7  Prefactor     12.993        15.483        .11112E-03   -1.4987    
   8  Prefactor     10.284        7.6075        .12494E-03   -1.5066    
   9  Prefactor     8.2866        7.2641        .13927E-03   -1.5132    
  10  Prefactor     .10000E-03    1.4501        .33040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .96642        .86405        .30454E-02   -1.5511    
  12  norm          .10000E-03    .11439        .18407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .20429        .59719E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.1987        2.0144        .41493E-03   -1.5489    
  15  Prefactor     11.684        12.425        .11721E-03   -1.5024    
  16  Prefactor     .58796        .65041        .35264E-03   -1.5555    
  17  norm          .16484        .14738        .13077E-02   -1.5627    
  18  Normalizat    1.1173        .68423E-01    .54950E-03   -.89199    
  19  Prefactor     .94514        .15387E-01    .13250E-03   -.94581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63645e-06
Minuit parameter uncertainties:
  1  5.86423
  2  0.898091
  3  1.09303
  4  0.995256
  5  6.03715
  6  4.4034
  7  15.4874
  8  7.60826
  9  7.26491
  10  1.28793e-05
  11  0.86406
  12  2.64375e-07
  13  3.01495e-05
  14  2.01447
  15  12.4275
  16  0.650417
  17  0.147381
  18  0.0684283
  19  0.0153869
Done.

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

Extracting fit parameters...

4FGL J2114.8+2831
   Spectrum: PowerLaw
465    Prefactor:  1.000e-04  1.288e-05  1.000e-04  1.000e+04 ( 1.000e-12)
466        Index:  2.712e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
467        Scale:  7.137e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
736    Prefactor:  9.451e-01  1.539e-02  0.000e+00  1.000e+01 ( 1.000e+00)
737        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
738        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
735   Normalization:  1.117e+00  6.843e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 318.716 28.522
Photon Flux Upper Limit: 2.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/119307/likelihoodResults_677635201_680227201_4FGL_J2114.8+2831_monthly_bin170.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) = 175770.245688
delta logL = -0.00319869129453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 175770.24249
delta logL = -5.63741195947e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10554E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6596       1.0000          .0000       10.000    
     3 'Normalizat'    1.1174       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94511       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   175770.2     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      263 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .99995E-02    .90712E-01** at limit **
   2  Index         2.4158        5.4531        .50000        .98953E-07
   3  Normalizat    1.1173        .48450E-03    .12383        .21480E-03
   4  Prefactor     .94514        .10897E-03    .29985E-01   -.17743E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.41584
  Normalizat = 1.11726
  Prefactor  = 0.945145
 **********
 **   18 **HESSE 
 **********

 FCN=   175770.2     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      306 TOTAL
                     EDM=   .95E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .21040E-01    .62142E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4158        5.3073        .50000       -.54315    
   3  Normalizat    1.1173        .57950E-03    .54950E-03   -.89199    
   4  Prefactor     .94514        .13092E-03    .13250E-03   -.94581    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.51175e-12
Minuit parameter uncertainties:
  1  1.30516e-05
  2  9.38933
  3  0.000579501
  4  0.000130916
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/119307': 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) = 175770.242479
delta logL = 1.1039461242e-05

Extracting fit parameters...

4FGL J2114.8+2831
   Spectrum: PowerLaw
465    Prefactor:  1.000e-04  1.305e-05  1.000e-04  1.000e+04 ( 1.000e-12)
466        Index:  2.416e+00  9.389e+00  0.000e+00  1.000e+01 (-1.000e+00)
467        Scale:  7.137e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
736    Prefactor:  9.451e-01  1.309e-04  0.000e+00  1.000e+01 ( 1.000e+00)
737        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
738        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
735   Normalization:  1.117e+00  5.795e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 318.716 28.522

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/119307/cmap_HighResolution_677635201_680227201_4FGL_J2114.8+2831_monthly_bin170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.76e-03', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2022-07-23 06:27:20.618483', job_id='119307', GAL2='0.95', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1658582840.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.10e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='170' AND source_name='4FGL J2114.8+2831' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Jul 23 06:27:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 119307: <4FGL_J2114.8+2831_monthly_bin170> in cluster <slac> Done

Job <4FGL_J2114.8+2831_monthly_bin170> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jul 23 02:50:31 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 02:50:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 02:50:32 2022
Terminated at Sat Jul 23 06:27:22 2022
Results reported at Sat Jul 23 06:27:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2114.8+2831_monthly_bin170 318.716 28.5222 677635201 680227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2114.8+2831 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   12737.00 sec.
    Max Memory :                                 652 MB
    Average Memory :                             591.98 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   13009 sec.
    Turnaround time :                            13011 sec.

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

