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


Performing analysis on: 4FGL_J1159.5+2914_daily_bin1749
RA = 179.884, Dec = 29.2448
tmin = 692668801, tmax = 692928001
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='950494', job_status='RUN', time_executed='2022-12-17 00:42:28.730020', time_epoch_executed='1671266548.73' WHERE source_name='4FGL J1159.5+2914' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/950494

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/950494/ft1_4FGL_J1159.5+2914_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/950494/ft2_4FGL_J1159.5+2914_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/950494/ft1_4FGL_J1159.5+2914_daily_bin1749.fits outfile=/scratch/kocevski/950494/ft1_filteredMKT_4FGL_J1159.5+2914_daily_bin1749.fits ra=179.884 dec=29.2448 rad=12.0 tmin=692668801.0 tmax=692928001.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.68
user 3.47
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/950494/ft2_4FGL_J1159.5+2914_daily_bin1749.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/950494/ft1_filteredMKT_4FGL_J1159.5+2914_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/950494/ft1_filtered_4FGL_J1159.5+2914_daily_bin1749.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 835

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/950494/ft1_filtered_4FGL_J1159.5+2914_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/950494/ft2_4FGL_J1159.5+2914_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/950494/ltcube_692668801_692928001_4FGL_J1159.5+2914_daily_bin1749.fits outfile=/scratch/kocevski/950494/expmap_692668801_692928001_4FGL_J1159.5+2914_daily_bin1749.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/950494/ltcube_692668801_692928001_4FGL_J1159.5+2914_daily_bin1749.fits
.....................!
real 190.41
user 184.99
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
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/950494/ft1_filtered_4FGL_J1159.5+2914_daily_bin1749.fits scfile=/scratch/kocevski/950494/ft2_4FGL_J1159.5+2914_daily_bin1749.fits outfile=/scratch/kocevski/950494/cmap_692668801_692928001_4FGL_J1159.5+2914_daily_bin1749.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/950494/ft1_filtered_4FGL_J1159.5+2914_daily_bin1749.fits scfile=/scratch/kocevski/950494/ft2_4FGL_J1159.5+2914_daily_bin1749.fits outfile=/scratch/kocevski/950494/cmap_HighResolution_692668801_692928001_4FGL_J1159.5+2914_daily_bin1749.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/950494/ft1_filtered_4FGL_J1159.5+2914_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/950494/ft2_4FGL_J1159.5+2914_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/950494/Model_4FGL_J1159.5+2914_daily_bin1749.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/950494/ft1_filtered_4FGL_J1159.5+2914_daily_bin1749.fits.....................!
real 75.80
user 74.27
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/950494/ft1_filtered_4FGL_J1159.5+2914_daily_bin1749.fits', '/scratch/kocevski/950494/ft2_4FGL_J1159.5+2914_daily_bin1749.fits', expMap='/scratch/kocevski/950494/expmap_692668801_692928001_4FGL_J1159.5+2914_daily_bin1749.fits', expCube='/scratch/kocevski/950494/ltcube_692668801_692928001_4FGL_J1159.5+2914_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/950494/Model_4FGL_J1159.5+2914_daily_bin1749.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/950494/ft1_filtered_4FGL_J1159.5+2914_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/950494/ft2_4FGL_J1159.5+2914_daily_bin1749.fits
Exposure map: /scratch/kocevski/950494/expmap_692668801_692928001_4FGL_J1159.5+2914_daily_bin1749.fits
Exposure cube: /scratch/kocevski/950494/ltcube_692668801_692928001_4FGL_J1159.5+2914_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/950494/Model_4FGL_J1159.5+2914_daily_bin1749.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) = 8684.49769658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25418E-05   1.0000          .0000       .10000E+07
     2 'norm      '    7.5209       1.0000          .0000       .10000E+07
     3 'Prefactor '    .26903E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .78534E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .38877E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12555E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .30776E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .33626E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26686       1.0000          .0000       .10000E+07
    10 'norm      '    .66378       1.0000          .0000       .10000E+07
    11 'Prefactor '    .68078E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.8511       1.0000          .0000       .10000E+07
    13 'Prefactor '    .95389       1.0000          .0000       .10000E+07
    14 'Prefactor '    17.970       1.0000          .0000       .10000E+07
    15 'norm      '    39.009       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.7020       1.0000          .0000       .10000E+07
    17 'Prefactor '    .20622E-04   1.0000          .0000       .10000E+07
    18 'norm      '    7.4931       1.0000          .0000       .10000E+07
    19 'Prefactor '    .48326E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    2.5611       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.5138       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25580E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .68060E-01   1.0000          .0000       .10000E+07
    24 'norm      '    21.777       1.0000          .0000       .10000E+07
    25 'Prefactor '    .62724E-04   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1269       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .98038       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=   8684.385     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     1952 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .97635       -.34239E-07** at limit **
   2  norm          7.5208        1.0423        .56589E-08   -.18304E-02
   3  Prefactor     .37637E-07    9.8647       -.11257E-06** at limit **
   4  Prefactor     .11102E-09    2.3164       -.16845E-06** at limit **
   5  Prefactor     .42188E-08    21.216       -.10049E-06** at limit **
   6  Prefactor     .33307E-09    3.2972       -.76247E-07** at limit **
   7  norm          .33307E-09    3.2535        .63317E-07** at limit **
   8  Prefactor     .12945E-06    3.6846       -.68869E-07** at limit **
   9  Prefactor     .26016        1.1846        .94679E-07   -.79103E-02
  10  norm          .66988        .83252        .60392E-07    .19169E-02
  11  Prefactor     .84710E-07    7.5821       -.26900E-06** at limit **
  12  Prefactor     3.8779        5.6217       -.14082E-07   -.37150E-03
  13  Prefactor     .95359        1.2943        .62031E-07    .85786E-03
  14  Prefactor     16.712        28.532        .10017E-06    .39565E-02
  15  norm          39.008        3.2344        .48490E-08    .92020E-04
  16  Prefactor     3.6427        4.0881       -.11863E-06   -.13237E-02
  17  Prefactor     .34417E-08    3.4653        .74515E-07** at limit **
  18  norm          7.4852        3.3906        .44163E-07    .19257E-03
  19  Prefactor     .66225E-07    3.2648        .12770E-06** at limit **
  20  Prefactor     2.5618        1.8433       -.74647E-07   -.16723E-02
  21  Prefactor     3.5124        1.7687       -.12325E-07   -.54858E-03
  22  Prefactor     .12290E-06    2.6386       -.90551E-07** at limit **
  23  norm          .68032E-01    .17857        .78198E-07** at limit **
  24  norm          21.834        5.9597       -.35433E-07   -.23927E-02
  25  Prefactor     .14316E-06    2.7552       -.19254E-07** at limit **
  26  Normalizat    1.1274        .20199       -.41846E-06    .89699E-05
  27  Prefactor     .98042        .22576        .26798E-08    .11317E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 7.5208
  Prefactor  = 3.76366e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 4.21885e-09
  Prefactor  = 3.33067e-10
  norm       = 3.33067e-10
  Prefactor  = 1.29452e-07
  Prefactor  = 0.260164
  norm       = 0.669877
  Prefactor  = 8.471e-08
  Prefactor  = 3.87795
  Prefactor  = 0.953591
  Prefactor  = 16.7122
  norm       = 39.008
  Prefactor  = 3.64268
  Prefactor  = 3.44169e-09
  norm       = 7.48519
  Prefactor  = 6.62248e-08
  Prefactor  = 2.56182
  Prefactor  = 3.51244
  Prefactor  = 1.22902e-07
  norm       = 0.0680323
  norm       = 21.8344
  Prefactor  = 1.43163e-07
  Normalizat = 1.12737
  Prefactor  = 0.980421
 **********
 **   18 **HESSE 
 **********

 FCN=   8684.385     FROM HESSE     STATUS=OK           552 CALLS     2504 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .97784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.5208        10.249        .36545E-03   -1.5653    
   3  Prefactor     .37637E-07    10.200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    2.2944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .42188E-08    21.262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33307E-09    5.9516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .33307E-09    3.2670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12945E-06    5.1028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .26016        2.4957        .79860E-02   -1.5698    
  10  norm          .66988        .84402        .63699E-03   -1.5692    
  11  Prefactor     .84710E-07    8.3307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.8779        5.6358        .51400E-03   -1.5669    
  13  Prefactor     .95359        1.3007        .42125E-03   -1.5688    
  14  Prefactor     16.712        28.681        .23600E-03   -1.5626    
  15  norm          39.008        3.2299        .16013E-03   -1.5583    
  16  Prefactor     3.6427        4.1138        .52463E-03   -1.5670    
  17  Prefactor     .34417E-08    3.4495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.4852        3.3887        .36614E-03   -1.5653    
  19  Prefactor     .66225E-07    3.9182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.5618        1.8361        .63765E-03   -1.5676    
  21  Prefactor     3.5124        1.7667        .53907E-03   -1.5670    
  22  Prefactor     .12290E-06    6.4566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .68032E-01    .15860        .13836E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          21.834        5.9885        .21435E-03   -1.5615    
  25  Prefactor     .14316E-06    4.2980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1274        .17252        .63455E-01   -.88878    
  27  Prefactor     .98042        .18938        .76312E-01   -.93385    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39516e-07
Minuit parameter uncertainties:
  1  2.15592e-07
  2  10.2492
  3  0.00123891
  4  2.8123e-05
  5  0.000598948
  6  9.13809e-05
  7  6.53048e-05
  8  0.00162558
  9  1.61157
  10  0.844018
  11  0.0016803
  12  5.6358
  13  1.30069
  14  28.6817
  15  3.22994
  16  4.11382
  17  0.000218595
  18  3.38867
  19  0.00101896
  20  1.83614
  21  1.76668
  22  0.00178159
  23  0.158603
  24  5.98855
  25  0.00156881
  26  0.172611
  27  0.189507
Done.

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

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  3.901e+01  3.230e+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:  9.804e-01  1.895e-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.127e+00  1.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 609.83
Ra Dec: 179.884 29.245
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 1.06e-06 +/- 8.77e-08
Energy Flux (Fixed Index): 4.74e-04 +/- 3.93e-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) = 8684.34827624
delta logL = 0.0364585950119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8684.34462235
delta logL = 0.0401124864675

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    38.773       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1268       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1162       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98907       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=   8684.345     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      207 TOTAL
                     EDM=   .40E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          38.772        3.4728        .16061E-03    .38618E-02
   2  alpha         2.1268        .86494E-01    .64617E-01    .13940E-04
   3  Normalizat    1.1163        .16884        .63690E-01    .16200E-04
   4  Prefactor     .98901        .18893        .76015E-01    .16283E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 38.7722
  alpha      = 2.1268
  Normalizat = 1.11625
  Prefactor  = 0.989012
 **********
 **   18 **HESSE 
 **********

 FCN=   8684.345     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .53E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          38.772        3.3153        .45462E-05   -1.5583    
   2  alpha         2.1268        .83227E-01    .28498E-03   -.14984    
   3  Normalizat    1.1163        .20301        .28172E-03   -.89232    
   4  Prefactor     .98901        .22628        .33636E-03   -.93097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2921e-12
Minuit parameter uncertainties:
  1  3.31533
  2  0.0832424
  3  0.203149
  4  0.226496
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/950494': 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) = 8684.34462222
delta logL = 0.040112619381

Extracting fit parameters...

4FGL J1159.5+2914
   Spectrum: LogParabola
302         norm:  3.877e+01  3.315e+00  0.000e+00  1.000e+06 ( 1.000e-11)
303        alpha:  2.127e+00  8.324e-02  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:  9.890e-01  2.265e-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.116e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 604.06
Ra Dec: 179.884 29.245
Photon Index (Free Index): 2.13 +/- 0.08
Photon Flux (Free Index): 1.07e-06 +/- 9.87e-08
Energy Flux (Free Index): 4.63e-04 +/- 5.42e-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/950494/cmap_HighResolution_692668801_692928001_4FGL_J1159.5+2914_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-06', energy_flux2='4.63e-04', photon_flux_error='8.77e-08', dlogl='4.01e-02', energy_flux='4.74e-04', photon_flux2='1.07e-06', job_status='DONE', time_completed='2022-12-17 00:54:49.356393', photon_index_error2='0.08', photon_index2='2.13', ts='609.83', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.42e-05', EG='1.13', time_epoch_completed='1671267289.36', return_code='0', job_id='950494', GAL2='0.99', EG2='1.12', return_code2='0', energy_flux_error='3.93e-05', photon_flux_error2='9.87e-08', ts2='604.06', photon_index='2.10' WHERE bin_id='1749' AND source_name='4FGL J1159.5+2914' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:54:49 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 950494: <4FGL_J1159.5+2914_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1159.5+2914_daily_bin1749> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Dec 17 00:40:15 2022
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:40:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:40:16 2022
Terminated at Sat Dec 17 00:54:50 2022
Results reported at Sat Dec 17 00:54:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1159.5+2914_daily_bin1749 179.884 29.2448 692668801 692928001 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 :                                   741.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            875 sec.

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

