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 67 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+2831_daily_bin1726
RA = 318.716, Dec = 28.5222
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='88205', job_status='RUN', time_executed='2022-10-09 00:36:59.092335', time_epoch_executed='1665301019.09' WHERE source_name='4FGL J2114.8+2831' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88205

Creating custom pfile directory:
/scratch/kocevski/88205/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/88205/ft1_4FGL_J2114.8+2831_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/88205/ft2_4FGL_J2114.8+2831_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88205/ft1_4FGL_J2114.8+2831_daily_bin1726.fits outfile=/scratch/kocevski/88205/ft1_filteredMKT_4FGL_J2114.8+2831_daily_bin1726.fits ra=318.716 dec=28.5222 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 2.53
user 2.33
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88205/ft2_4FGL_J2114.8+2831_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/88205/ft1_filteredMKT_4FGL_J2114.8+2831_daily_bin1726.fits evtable="EVENTS" outfile="/scratch/kocevski/88205/ft1_filtered_4FGL_J2114.8+2831_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.44
user 0.27
sys 0.16

Number of photons that the gtmktime cut: 1497

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88205/ft1_filtered_4FGL_J2114.8+2831_daily_bin1726.fits" evtable="EVENTS" scfile=/scratch/kocevski/88205/ft2_4FGL_J2114.8+2831_daily_bin1726.fits sctable="SC_DATA" outfile=/scratch/kocevski/88205/ltcube_686707201_686966401_4FGL_J2114.8+2831_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/88205/ft2_4FGL_J2114.8+2831_daily_bin1726.fits
.....................!
real 12.56
user 12.22
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88205/ft1_filtered_4FGL_J2114.8+2831_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88205/ft2_4FGL_J2114.8+2831_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/88205/ltcube_686707201_686966401_4FGL_J2114.8+2831_daily_bin1726.fits outfile=/scratch/kocevski/88205/expmap_686707201_686966401_4FGL_J2114.8+2831_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/88205/ltcube_686707201_686966401_4FGL_J2114.8+2831_daily_bin1726.fits
.....................!
real 154.32
user 149.34
sys 4.41

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.
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/88205/ft1_filtered_4FGL_J2114.8+2831_daily_bin1726.fits scfile=/scratch/kocevski/88205/ft2_4FGL_J2114.8+2831_daily_bin1726.fits outfile=/scratch/kocevski/88205/cmap_686707201_686966401_4FGL_J2114.8+2831_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.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.47
user 0.30
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88205/ft1_filtered_4FGL_J2114.8+2831_daily_bin1726.fits scfile=/scratch/kocevski/88205/ft2_4FGL_J2114.8+2831_daily_bin1726.fits outfile=/scratch/kocevski/88205/cmap_HighResolution_686707201_686966401_4FGL_J2114.8+2831_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.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.47
user 0.32
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8058       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.0970       1.0000         .10000E-03   10000.    
     3 'norm      '    39.710       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47062E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18558E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .44459E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    52.121       1.0000          .0000       .10000E+07
     8 'Prefactor '    .43212E-04   1.0000          .0000       .10000E+07
     9 'norm      '    4.8012       1.0000          .0000       .10000E+07
    10 'norm      '    1.6050       1.0000          .0000       .10000E+07
    11 'norm      '    .49609       1.0000          .0000       .10000E+07
    12 'norm      '    .41570E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .54036E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.7330       1.0000          .0000       .10000E+07
    15 'norm      '    .14821E-07   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0597       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96065       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14971.46     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1235 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8090        3.8302       -.52342E-07   -.30659E-02
   2  Prefactor     3.0997        3.0481        .29797E-06    .18016E-03
   3  norm          39.926        4.2957        .10736E-07   -.27583    
   4  Prefactor     .27756E-09    6.1474        .19007E-06** at limit **
   5  Prefactor     .12356E-05    106.05       -.74117E-06** at limit **
   6  Prefactor     .55511E-10    17.764        .12714E-06** at limit **
   7  Prefactor     53.009        7.0776        .29142E-07   -.34075E-01
   8  Prefactor      .0000        4.0697        .54275E-07** at limit **
   9  norm          4.8036        5.6638       -.18848E-07   -.92827E-03
  10  norm          1.6050        1.2633       -.10131E-07   -.19685E-02
  11  norm          .49263        5.2030        .14962E-06    .13662E-02
  12  norm          .15543E-08    9.7905       -.46829E-06** at limit **
  13  Prefactor     .19773E-05    54.117       -.47085E-06** at limit **
  14  Prefactor     7.7111        9.5034        .40793E-07    .16150E-02
  15  norm           .0000        .75029        .10656E-07** at limit **
  16  Normalizat    1.0590        .25635       -.35008E-05   -.73770E-04
  17  Prefactor     .96068        .52328E-01    .57528E-06   -.21927E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.80903
  Prefactor  = 3.0997
  norm       = 39.9259
  Prefactor  = 2.77556e-10
  Prefactor  = 1.23562e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 53.0095
  Prefactor  = 0
  norm       = 4.80358
  norm       = 1.60505
  norm       = 0.49263
  norm       = 1.55431e-09
  Prefactor  = 1.97731e-06
  Prefactor  = 7.71108
  norm       = 0
  Normalizat = 1.05901
  Prefactor  = 0.960678
 **********
 **   18 **HESSE 
 **********

 FCN=   14971.46     FROM HESSE     STATUS=OK           257 CALLS     1492 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8090        3.8163        .41658E-03   -1.5660    
   2  Prefactor     3.0997        3.0594        .57610E-02   -1.5356    
   3  norm          39.926        30.513        .15871E-03   -1.5582    
   4  Prefactor     .27756E-09    6.1278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12356E-05    106.78        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    17.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     53.009        35.943        .13852E-03   -1.5562    
   8  Prefactor      .0000        4.0824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8036        5.7125        .45890E-03   -1.5664    
  10  norm          1.6050        1.2637        .83619E-03   -1.5683    
  11  norm          .49263        5.2526        .79104E-03   -1.5694    
  12  norm          .15543E-08    9.8079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .19773E-05    57.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.7111        9.4856        .36036E-03   -1.5652    
  15  norm           .0000        .74212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0590        .24872        .14238       -.91079    
  17  Prefactor     .96068        .49771E-01    .29906E-01   -.94052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00478e-06
Minuit parameter uncertainties:
  1  3.81634
  2  3.05956
  3  30.5134
  4  8.00177e-05
  5  0.0229734
  6  5.99196e-05
  7  35.9431
  8  1.83661e-05
  9  5.71248
  10  1.26372
  11  3.21721
  12  0.000248829
  13  0.0212716
  14  9.48566
  15  1.43692e-06
  16  0.248993
  17  0.0497734
Done.

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

Extracting fit parameters...

4FGL J2114.8+2831
   Spectrum: PowerLaw
465    Prefactor:  0.000e+00  1.837e-05  0.000e+00  1.000e+06 ( 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.607e-01  4.977e-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.059e+00  2.490e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/88205/likelihoodResults_686707201_686966401_4FGL_J2114.8+2831_daily_bin1726.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) = 14971.4587221
delta logL = -0.00205820278825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14971.456665
delta logL = -1.12082670967e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33765E-05   1.0000          .0000       .10000E+07
     2 'Index     '    3.0336       1.0000          .0000       10.000    
     3 'Normalizat'    1.0593       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96066       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=   14971.46     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      276 TOTAL
                     EDM=   .27E-16    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .17943E-04    .42118E-02** at limit **
   2  Index         3.4070        5.9762        .50000       -.36380E-10
   3  Normalizat    1.0590        .29291E-04    .14238        .26683E-03
   4  Prefactor     .96068        .58882E-05    .29906E-01    .45554E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.40699
  Normalizat = 1.05901
  Prefactor  = 0.960677
 **********
 **   18 **HESSE 
 **********

 FCN=   14971.46     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      307 TOTAL
                     EDM=   .51E-15    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .11792E-01    .25039E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4070        5.0928        .51000       -.32425    
   3  Normalizat    1.0590        .25808E-03    .63255E-03   -.91079    
   4  Prefactor     .96068        .52173E-04    .13215E-03   -.94052    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.10641e-16
Minuit parameter uncertainties:
  1  1.34145e-06
  2  7903.38
  3  0.000258084
  4  5.21734e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88205': 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) = 14971.4566639
delta logL = -6.0026650317e-11

Extracting fit parameters...

4FGL J2114.8+2831
   Spectrum: PowerLaw
465    Prefactor:  5.551e-11  1.341e-06  0.000e+00  1.000e+06 ( 1.000e-12)
466        Index:  3.407e+00  7.903e+03  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.607e-01  5.217e-05  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.059e+00  2.581e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/88205/cmap_HighResolution_686707201_686966401_4FGL_J2114.8+2831_daily_bin1726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.26e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2022-10-09 00:51:36.282884', job_id='88205', GAL2='0.96', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1665301896.28', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-6.00e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1726' AND source_name='4FGL J2114.8+2831' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:51:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 88205: <4FGL_J2114.8+2831_daily_bin1726> in cluster <slac> Done

Job <4FGL_J2114.8+2831_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) <bullet0168>, 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:51:37 2022
Results reported at Sun Oct  9 00:51:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2114.8+2831_daily_bin1726 318.716 28.5222 686707201 686966401 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 :                                   878.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             382.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            958 sec.

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

