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


Performing analysis on: 4FGL_J1159.5+2914_daily_bin1746
RA = 179.884, Dec = 29.2448
tmin = 691891201, tmax = 692150401
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='722691', job_status='RUN', time_executed='2022-12-08 00:48:15.897391', time_epoch_executed='1670489295.9' WHERE source_name='4FGL J1159.5+2914' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/722691

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/722691/ft1_4FGL_J1159.5+2914_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/722691/ft2_4FGL_J1159.5+2914_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/722691/ft1_4FGL_J1159.5+2914_daily_bin1746.fits outfile=/scratch/kocevski/722691/ft1_filteredMKT_4FGL_J1159.5+2914_daily_bin1746.fits ra=179.884 dec=29.2448 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.71
user 4.46
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/722691/ft2_4FGL_J1159.5+2914_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/722691/ft2_4FGL_J1159.5+2914_daily_bin1746.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/722691/ft1_filteredMKT_4FGL_J1159.5+2914_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/722691/ft1_filtered_4FGL_J1159.5+2914_daily_bin1746.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.15

Number of photons that the gtmktime cut: 692

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/722691/ft1_filtered_4FGL_J1159.5+2914_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/722691/ft2_4FGL_J1159.5+2914_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/722691/ltcube_691891201_692150401_4FGL_J1159.5+2914_daily_bin1746.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/722691/ft2_4FGL_J1159.5+2914_daily_bin1746.fits
.....................!
real 11.93
user 11.59
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/722691/ft1_filtered_4FGL_J1159.5+2914_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/722691/ft2_4FGL_J1159.5+2914_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/722691/ltcube_691891201_692150401_4FGL_J1159.5+2914_daily_bin1746.fits outfile=/scratch/kocevski/722691/expmap_691891201_692150401_4FGL_J1159.5+2914_daily_bin1746.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/722691/ltcube_691891201_692150401_4FGL_J1159.5+2914_daily_bin1746.fits
.....................!
real 192.57
user 187.35
sys 4.75

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 196 point sources and 0 extended sources

Setting source of interest to:
4FGL J1159.5+2914 @ 179.884 29.2448

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/722691/ft1_filtered_4FGL_J1159.5+2914_daily_bin1746.fits scfile=/scratch/kocevski/722691/ft2_4FGL_J1159.5+2914_daily_bin1746.fits outfile=/scratch/kocevski/722691/cmap_691891201_692150401_4FGL_J1159.5+2914_daily_bin1746.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=179.884 yref=29.2448 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/722691/ft1_filtered_4FGL_J1159.5+2914_daily_bin1746.fits scfile=/scratch/kocevski/722691/ft2_4FGL_J1159.5+2914_daily_bin1746.fits outfile=/scratch/kocevski/722691/cmap_HighResolution_691891201_692150401_4FGL_J1159.5+2914_daily_bin1746.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=179.884 yref=29.2448 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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/722691/ft1_filtered_4FGL_J1159.5+2914_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/722691/ft2_4FGL_J1159.5+2914_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/722691/Model_4FGL_J1159.5+2914_daily_bin1746.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/722691/ft1_filtered_4FGL_J1159.5+2914_daily_bin1746.fits.....................!
real 66.85
user 65.51
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/722691/ft1_filtered_4FGL_J1159.5+2914_daily_bin1746.fits', '/scratch/kocevski/722691/ft2_4FGL_J1159.5+2914_daily_bin1746.fits', expMap='/scratch/kocevski/722691/expmap_691891201_692150401_4FGL_J1159.5+2914_daily_bin1746.fits', expCube='/scratch/kocevski/722691/ltcube_691891201_692150401_4FGL_J1159.5+2914_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/722691/Model_4FGL_J1159.5+2914_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1159.5+2914'

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  6.117e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/722691/ft1_filtered_4FGL_J1159.5+2914_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/722691/ft2_4FGL_J1159.5+2914_daily_bin1746.fits
Exposure map: /scratch/kocevski/722691/expmap_691891201_692150401_4FGL_J1159.5+2914_daily_bin1746.fits
Exposure cube: /scratch/kocevski/722691/ltcube_691891201_692150401_4FGL_J1159.5+2914_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/722691/Model_4FGL_J1159.5+2914_daily_bin1746.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) = 7465.26215045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0929       1.0000          .0000       .10000E+07
     2 'norm      '    31.456       1.0000          .0000       .10000E+07
     3 'Prefactor '    .87528E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0660       1.0000          .0000       .10000E+07
     5 'Prefactor '    .30871E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .56223E-03   1.0000          .0000       .10000E+07
     7 'norm      '    2.7784       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15810E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.3595       1.0000          .0000       .10000E+07
    10 'norm      '    1.6279       1.0000          .0000       .10000E+07
    11 'Prefactor '    17.490       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4479       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16709E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .22279E-02   1.0000          .0000       .10000E+07
    15 'norm      '    22.081       1.0000          .0000       .10000E+07
    16 'Prefactor '    .20503E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.5228       1.0000          .0000       .10000E+07
    18 'norm      '    5.3399       1.0000          .0000       .10000E+07
    19 'Prefactor '    .96916       1.0000          .0000       .10000E+07
    20 'Prefactor '    .11047E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.6513       1.0000          .0000       .10000E+07
    22 'Prefactor '    .27443E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .24114       1.0000          .0000       .10000E+07
    24 'norm      '    6.0557       1.0000          .0000       .10000E+07
    25 'Prefactor '    .34599E-03   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1822       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .72007       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7465.258     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     2373 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0848        2.6079        .59400E-06    .28355E-01
   2  norm          31.456        1.0325       -.93060E-08    .23294E-02
   3  Prefactor     .89595E-07    3.5427       -.76313E-06** at limit **
   4  Prefactor     3.0595        2.2745       -.70520E-07   -.26988E-03
   5  Prefactor     .22315E-07    21.632        .22029E-05** at limit **
   6  Prefactor     .57732E-08    2.4982        .10480E-05** at limit **
   7  norm          2.7914        2.7499       -.13826E-06   -.15740E-02
   8  Prefactor     .76605E-08    1.0552        .95557E-07** at limit **
   9  Prefactor     1.3686        3.7026        .56520E-06   -.20897E-02
  10  norm          1.6267        1.1438        .79864E-07    .73194E-02
  11  Prefactor     17.472        3.0158        .45461E-06   -.18280    
  12  Prefactor     4.4395        4.0418        .13559E-05    .16446E-01
  13  Prefactor     .11102E-09    1.1572       -.13856E-07** at limit **
  14  Prefactor     .14211E-07    12.968       -.64174E-06** at limit **
  15  norm          22.082        2.6628        .66442E-07   -.15589E-02
  16  Prefactor     .27178E-06    1.1655       -.69326E-06** at limit **
  17  Prefactor     1.5213        1.9789        .28386E-06    .57296E-02
  18  norm          5.3382        2.8614        .10540E-06    .14872E-02
  19  Prefactor     .97182        .47634       -.11150E-07    .13956E-02
  20  Prefactor      .0000        .74992       -.10012E-06** at limit **
  21  Prefactor     4.6535        2.8271        .13908E-06    .20794E-02
  22  Prefactor     .27756E-09    5.4082        .56788E-06** at limit **
  23  norm          .24126        .20234       -.26133E-07** at limit **
  24  norm          6.0359        3.9448        .24414E-07   -.12979E-02
  25  Prefactor     .30920E-07    2.1889       -.71325E-06** at limit **
  26  Normalizat    1.1823        .20050       -.29385E-05    .39478E-04
  27  Prefactor     .72007        .21495        .22232E-05    .15774E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.08477
  norm       = 31.4565
  Prefactor  = 8.9595e-08
  Prefactor  = 3.05955
  Prefactor  = 2.23155e-08
  Prefactor  = 5.77316e-09
  norm       = 2.79138
  Prefactor  = 7.66054e-09
  Prefactor  = 1.36859
  norm       = 1.6267
  Prefactor  = 17.4723
  Prefactor  = 4.43954
  Prefactor  = 1.11022e-10
  Prefactor  = 1.42109e-08
  norm       = 22.082
  Prefactor  = 2.71783e-07
  Prefactor  = 1.52131
  norm       = 5.33822
  Prefactor  = 0.971822
  Prefactor  = 0
  Prefactor  = 4.65345
  Prefactor  = 2.77556e-10
  norm       = 0.241264
  norm       = 6.03595
  Prefactor  = 3.09197e-08
  Normalizat = 1.18226
  Prefactor  = 0.720069
 **********
 **   18 **HESSE 
 **********

 FCN=   7465.258     FROM HESSE     STATUS=OK           550 CALLS     2923 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0848        4.5960        .33213E-03   -1.5648    
   2  norm          31.456        17.224        .17832E-03   -1.5596    
   3  Prefactor     .89595E-07    4.0294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0595        2.2968        .57907E-03   -1.5673    
   5  Prefactor     .22315E-07    21.645        .16405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .57732E-08    3.0446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.7914        2.7710        .61024E-03   -1.5675    
   8  Prefactor     .76605E-08    2.8579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.3686        3.7419        .93651E-03   -1.5685    
  10  norm          1.6267        1.1605        .82867E-03   -1.5682    
  11  Prefactor     17.472        21.640        .23921E-03   -1.5624    
  12  Prefactor     4.4395        4.7154        .47722E-03   -1.5666    
  13  Prefactor     .11102E-09    1.1518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .14211E-07    12.997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          22.082        2.6937        .21287E-03   -1.5614    
  16  Prefactor     .27178E-06    5.4480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.5213        2.0002        .86530E-03   -1.5683    
  18  norm          5.3382        2.8638        .43467E-03   -1.5662    
  19  Prefactor     .97182        5.1005        .42670E-03   -1.5688    
  20  Prefactor      .0000        .75152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.6535        2.8355        .46641E-03   -1.5665    
  22  Prefactor     .27756E-09    5.7013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .24126        .21449        .76874E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          6.0359        3.9550        .40777E-03   -1.5659    
  25  Prefactor     .30920E-07    2.7491        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1823        .17448        .57184E-01   -.87153    
  27  Prefactor     .72007        .18554        .78184E-01   -1.0275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.81499e-07
Minuit parameter uncertainties:
  1  4.59605
  2  17.224
  3  0.00120158
  4  2.29678
  5  0.00139049
  6  0.000264886
  7  2.77101
  8  0.000295606
  9  3.74192
  10  1.16047
  11  21.6401
  12  4.71545
  13  2.21019e-05
  14  0.000859526
  15  2.69367
  16  0.00243363
  17  2.00023
  18  2.86383
  19  4.45277
  20  2.06316e-06
  21  2.83553
  22  8.28075e-05
  23  0.214486
  24  3.955
  25  0.000582922
  26  0.174561
  27  0.185702
Done.

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

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  2.208e+01  2.694e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.103e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  7.201e-01  1.857e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.182e+00  1.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 251.80
Ra Dec: 179.884 29.245
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 6.00e-07 +/- 7.31e-08
Energy Flux (Fixed Index): 2.69e-04 +/- 3.28e-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) = 7463.49009431
delta logL = 1.76745441436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7463.33174441
delta logL = 1.92580431421

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.689       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3534       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0902       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79063       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7463.332     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      222 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.690        3.0864        .21992E-03   -.18637E-03
   2  alpha         2.3533        .15100        .86893E-01    .26608E-04
   3  Normalizat    1.0903        .17019        .58943E-01   -.68386E-05
   4  Prefactor     .79049        .18469        .74938E-01    .16845E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 20.6904
  alpha      = 2.35332
  Normalizat = 1.09032
  Prefactor  = 0.790491
 **********
 **   18 **HESSE 
 **********

 FCN=   7463.332     FROM HESSE     STATUS=OK            31 CALLS      253 TOTAL
                     EDM=   .48E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.690        2.6543        .43189E-05   -1.5617    
   2  alpha         2.3533        .13142        .38214E-03   -.58705E-01
   3  Normalizat    1.0903        .20202        .26067E-03   -.90063    
   4  Prefactor     .79049        .21785        .33168E-03   -1.0008    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.80323e-13
Minuit parameter uncertainties:
  1  2.65429
  2  0.131483
  3  0.202162
  4  0.218089
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/722691': 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) = 7463.33174378
delta logL = 1.92580494941

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  2.069e+01  2.654e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.353e+00  1.315e-01  0.000e+00  5.000e+00 ( 1.000e+00)
304         beta:  6.240e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  7.905e-01  2.181e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.090e+00  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 253.18
Ra Dec: 179.884 29.245
Photon Index (Free Index): 2.35 +/- 0.13
Photon Flux (Free Index): 6.92e-07 +/- 9.20e-08
Energy Flux (Free Index): 2.23e-04 +/- 3.14e-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/722691/cmap_HighResolution_691891201_692150401_4FGL_J1159.5+2914_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.00e-07', energy_flux2='2.23e-04', photon_flux_error='7.31e-08', dlogl='1.93e+00', energy_flux='2.69e-04', photon_flux2='6.92e-07', job_status='DONE', time_completed='2022-12-08 01:00:11.519690', photon_index_error2='0.13', photon_index2='2.35', ts='251.80', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='3.14e-05', EG='1.18', time_epoch_completed='1670490011.52', return_code='0', job_id='722691', GAL2='0.79', EG2='1.09', return_code2='0', energy_flux_error='3.28e-05', photon_flux_error2='9.20e-08', ts2='253.18', photon_index='2.10' WHERE bin_id='1746' AND source_name='4FGL J1159.5+2914' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:00:11 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 722691: <4FGL_J1159.5+2914_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1159.5+2914_daily_bin1746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec  8 00:45:19 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:45:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:45:20 2022
Terminated at Thu Dec  8 01:00:12 2022
Results reported at Thu Dec  8 01:00:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1159.5+2914_daily_bin1746 179.884 29.2448 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1159.5+2914 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   718.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            893 sec.

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

