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


Performing analysis on: 4FGL_J1154.0+6018_monthly_bin169
RA = 178.519, Dec = 60.3107
tmin = 675043201, tmax = 677635201
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='166054', job_status='RUN', time_executed='2022-06-23 02:12:52.629370', time_epoch_executed='1655975572.63' WHERE source_name='4FGL J1154.0+6018' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/166054

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/166054/ft1_4FGL_J1154.0+6018_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/166054/ft2_4FGL_J1154.0+6018_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/166054/ft1_4FGL_J1154.0+6018_monthly_bin169.fits outfile=/scratch/kocevski/166054/ft1_filteredMKT_4FGL_J1154.0+6018_monthly_bin169.fits ra=178.519 dec=60.3107 rad=12.0 tmin=675043201.0 tmax=677635201.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 27.99
user 27.20
sys 0.70

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/166054/ft2_4FGL_J1154.0+6018_monthly_bin169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/166054/ft2_4FGL_J1154.0+6018_monthly_bin169.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/166054/ft1_filteredMKT_4FGL_J1154.0+6018_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/166054/ft1_filtered_4FGL_J1154.0+6018_monthly_bin169.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.83
user 0.67
sys 0.16

Number of photons that the gtmktime cut: 8670

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/166054/ft1_filtered_4FGL_J1154.0+6018_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/166054/ft2_4FGL_J1154.0+6018_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/166054/ltcube_675043201_677635201_4FGL_J1154.0+6018_monthly_bin169.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/166054/ft2_4FGL_J1154.0+6018_monthly_bin169.fits
.....................!
real 127.30
user 126.60
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/166054/ft1_filtered_4FGL_J1154.0+6018_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/166054/ft2_4FGL_J1154.0+6018_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/166054/ltcube_675043201_677635201_4FGL_J1154.0+6018_monthly_bin169.fits outfile=/scratch/kocevski/166054/expmap_675043201_677635201_4FGL_J1154.0+6018_monthly_bin169.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/166054/ltcube_675043201_677635201_4FGL_J1154.0+6018_monthly_bin169.fits
.....................!
real 192.28
user 186.82
sys 5.02

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 234 point sources and 0 extended sources

Setting source of interest to:
4FGL J1154.0+6018 @ 178.519 60.3107

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/166054/ft1_filtered_4FGL_J1154.0+6018_monthly_bin169.fits scfile=/scratch/kocevski/166054/ft2_4FGL_J1154.0+6018_monthly_bin169.fits outfile=/scratch/kocevski/166054/cmap_675043201_677635201_4FGL_J1154.0+6018_monthly_bin169.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=178.519 yref=60.3107 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.79
user 0.62
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/166054/ft1_filtered_4FGL_J1154.0+6018_monthly_bin169.fits scfile=/scratch/kocevski/166054/ft2_4FGL_J1154.0+6018_monthly_bin169.fits outfile=/scratch/kocevski/166054/cmap_HighResolution_675043201_677635201_4FGL_J1154.0+6018_monthly_bin169.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=178.519 yref=60.3107 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.79
user 0.61
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/166054/ft1_filtered_4FGL_J1154.0+6018_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/166054/ft2_4FGL_J1154.0+6018_monthly_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/166054/Model_4FGL_J1154.0+6018_monthly_bin169.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/166054/ft1_filtered_4FGL_J1154.0+6018_monthly_bin169.fits.....................!
real 688.88
user 685.99
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/166054/ft1_filtered_4FGL_J1154.0+6018_monthly_bin169.fits', '/scratch/kocevski/166054/ft2_4FGL_J1154.0+6018_monthly_bin169.fits', expMap='/scratch/kocevski/166054/expmap_675043201_677635201_4FGL_J1154.0+6018_monthly_bin169.fits', expCube='/scratch/kocevski/166054/ltcube_675043201_677635201_4FGL_J1154.0+6018_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/166054/Model_4FGL_J1154.0+6018_monthly_bin169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1154.0+6018'

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  1.841e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
409        alpha:  2.754e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
410         beta:  2.407e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
411           Eb:  6.636e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/166054/ft1_filtered_4FGL_J1154.0+6018_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/166054/ft2_4FGL_J1154.0+6018_monthly_bin169.fits
Exposure map: /scratch/kocevski/166054/expmap_675043201_677635201_4FGL_J1154.0+6018_monthly_bin169.fits
Exposure cube: /scratch/kocevski/166054/ltcube_675043201_677635201_4FGL_J1154.0+6018_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/166054/Model_4FGL_J1154.0+6018_monthly_bin169.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) = 93396.1271666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8679       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.4894       1.0000         .10000E-03   10000.    
     3 'norm      '    2.8629       1.0000         .10000E-03   10000.    
     4 'norm      '    5.3750       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .40852E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.444       1.0000         .10000E-03   10000.    
     8 'norm      '    3.0403       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.1739       1.0000         .10000E-03   10000.    
    10 'Prefactor '    56.491       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.7393       1.0000         .10000E-03   10000.    
    12 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.9791       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.054       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .30349E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1272       1.0000         .10000E-03   10000.    
    17 'norm      '    .90733       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .68858       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.609       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.1890       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.1893       1.0000         .10000E-03   10000.    
    23 'norm      '    1.2095       1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.8389       1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.2945       1.0000         .10000E-03   10000.    
    26 'norm      '    .82105       1.0000         .10000E-03   10000.    
    27 'norm      '    .94656       1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.0528       1.0000         .10000E-03   10000.    
    29 'norm      '    4.6118       1.0000         .10000E-03   10000.    
    30 'norm      '    1.9112       1.0000         .10000E-03   10000.    
    31 'Prefactor '    1.8079       1.0000         .10000E-03   10000.    
    32 'Prefactor '    1.2695       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.0195       1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.0226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   93396.07     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     4426 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8681        2.8671        .68446E-06    .61799E-02
   2  Prefactor     4.4894        1.7667       -.51557E-06    .12363E-02
   3  norm          2.8629        .58698        .93151E-07    .12703E-03
   4  norm          5.3750        .58171        .31501E-07    .22267E-03
   5  Prefactor     .10054E-03    432.40       -.17861E-04** at limit **
   6  norm          .10000E-03    9.1470        .20397E-05** at limit **
   7  Prefactor     20.456        1.8643       -.49808E-07    .73302E-02
   8  norm          3.0403        .56973        .64362E-07    .20050E-03
   9  Prefactor     7.1724        1.3758        .77680E-07    .24843E-03
  10  Prefactor     56.498        2.1766       -.12844E-06    .19514E-01
  11  Prefactor     4.7390        3.0877       -.90746E-06   -.16549E-03
  12  norm          .10000E-03    7.6646        .48120E-06** at limit **
  13  Prefactor     2.9791        1.3047       -.15782E-06   -.97050E-04
  14  Prefactor     11.054        1.7519        .33449E-06   -.98582E-03
  15  Prefactor     .10001E-03    16.067       -.39805E-06** at limit **
  16  Prefactor     2.1272        .70804       -.62412E-07   -.16593E-03
  17  norm          .90732        1.2235       -.44704E-07   -.53121E-04
  18  Prefactor     .68848        .55390       -.91512E-07   -.19057E-03
  19  norm          .10000E-03    .19136        .14596E-06** at limit **
  20  Prefactor     13.609        1.0021       -.14936E-08   -.64289E-05
  21  Prefactor     3.1890        1.4814       -.14689E-07   -.12257E-03
  22  Prefactor     5.1895        2.2163       -.11592E-06    .99950E-03
  23  norm          1.2095        .46156        .38583E-07    .26483E-03
  24  Prefactor     9.8394        3.0488        .50273E-07    .26218E-02
  25  Prefactor     6.2946        1.0323       -.25441E-08    .14994E-03
  26  norm          .82080        .64078        .13123E-06    .16821E-03
  27  norm          .94678        1.1582       -.77506E-07   -.53491E-04
  28  Prefactor     1.0527        .86057       -.33562E-07   -.36053E-04
  29  norm          4.6118        .62060        .76544E-07    .44423E-03
  30  norm          1.9112        .44653       -.31217E-07   -.33763E-03
  31  Prefactor     1.8078        1.0458       -.17750E-07    .45885E-04
  32  Prefactor     1.2694        1.4965       -.71556E-06   -.31619E-03
  33  Prefactor     .10000E-03    2.6712       -.19161E-06** at limit **
  34  Normalizat    1.0195        .49639E-01    .14668E-05    .19302E-04
  35  Prefactor     1.0226        .61695E-01   -.19649E-05   -.34826E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.86809
  Prefactor  = 4.48938
  norm       = 2.86286
  norm       = 5.37497
  Prefactor  = 0.00010054
  norm       = 0.0001
  Prefactor  = 20.4561
  norm       = 3.04027
  Prefactor  = 7.17242
  Prefactor  = 56.4976
  Prefactor  = 4.73901
  norm       = 0.0001
  Prefactor  = 2.97908
  Prefactor  = 11.0537
  Prefactor  = 0.00010001
  Prefactor  = 2.12716
  norm       = 0.907322
  Prefactor  = 0.688478
  norm       = 0.0001
  Prefactor  = 13.6091
  Prefactor  = 3.18902
  Prefactor  = 5.18954
  norm       = 1.20947
  Prefactor  = 9.83939
  Prefactor  = 6.29464
  norm       = 0.820804
  norm       = 0.946782
  Prefactor  = 1.05273
  norm       = 4.61182
  norm       = 1.9112
  Prefactor  = 1.80781
  Prefactor  = 1.26939
  Prefactor  = 0.0001
  Normalizat = 1.01953
  Prefactor  = 1.02263
 **********
 **   18 **HESSE 
 **********

 FCN=   93396.07     FROM HESSE     STATUS=OK           890 CALLS     5316 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8681        3.6198        .41446E-02   -1.5223    
   2  Prefactor     4.4894        5.2571        .47507E-02   -1.5284    
   3  norm          2.8629        .73656        .60064E-02   -1.5370    
   4  norm          5.3750        .58301        .43335E-02   -1.5244    
   5  Prefactor     .10054E-03    6.3371        .28645       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .98307E-01    .56229E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.456        22.535        .22146E-02   -1.4803    
   8  norm          3.0403        .58241        .58175E-02   -1.5359    
   9  Prefactor     7.1724        1.6454        .37441E-02   -1.5172    
  10  Prefactor     56.498        14.672        .13343E-02   -1.4203    
  11  Prefactor     4.7390        4.6400        .46207E-02   -1.5273    
  12  norm          .10000E-03    7.3704        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.9791        1.3222        .58806E-02   -1.5363    
  14  Prefactor     11.054        4.5513        .30126E-02   -1.5043    
  15  Prefactor     .10001E-03    .73164        .10692       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.1272        .70959        .70679E-02   -1.5416    
  17  norm          .90732        1.2553        .12834E-02   -1.5517    
  18  Prefactor     .68848        .59349        .12018E-01   -1.5542    
  19  norm          .10000E-03    .12000        .42633E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.609        6.0896        .27145E-02   -1.4970    
  21  Prefactor     3.1890        1.5796        .56727E-02   -1.5351    
  22  Prefactor     5.1895        4.2765        .44117E-02   -1.5252    
  23  norm          1.2095        .47028        .10289E-01   -1.5488    
  24  Prefactor     9.8394        4.2185        .31938E-02   -1.5081    
  25  Prefactor     6.2946        7.6487        .39998E-02   -1.5206    
  26  norm          .82080        .69935        .49585E-01   -1.5527    
  27  norm          .94678        1.1881        .12975E-01   -1.5513    
  28  Prefactor     1.0527        .87179        .12032E-01   -1.5503    
  29  norm          4.6118        .62646        .46856E-02   -1.5278    
  30  norm          1.9112        .44780        .75175E-02   -1.5431    
  31  Prefactor     1.8078        5.9100        .77693E-02   -1.5439    
  32  Prefactor     1.2694        1.5238        .98748E-02   -1.5483    
  33  Prefactor     .10000E-03    2.6646        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    1.0195        .43035E-01    .43420E-01   -.92379    
  35  Prefactor     1.0226        .52358E-01    .64826E-01   -.91979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79264e-05
Minuit parameter uncertainties:
  1  3.61995
  2  5.25759
  3  0.736563
  4  0.58301
  5  0.00370127
  6  7.19196e-06
  7  22.5446
  8  0.582415
  9  1.64539
  10  14.6726
  11  4.64038
  12  6.20485e-05
  13  1.32219
  14  4.55142
  15  0.000174405
  16  0.709589
  17  1.25535
  18  0.593493
  19  4.2457e-07
  20  6.08988
  21  1.57958
  22  4.27678
  23  0.470285
  24  4.21866
  25  7.64986
  26  0.699353
  27  1.18818
  28  0.871797
  29  0.626459
  30  0.447798
  31  5.9119
  32  1.52389
  33  1.51091e-06
  34  0.0430364
  35  0.0523602
Done.

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

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  1.000e-04  4.246e-07  1.000e-04  1.000e+04 ( 1.000e-12)
409        alpha:  2.754e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
410         beta:  2.407e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
411           Eb:  6.636e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
746    Prefactor:  1.023e+00  5.236e-02  0.000e+00  1.000e+01 ( 1.000e+00)
747        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
748        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  1.020e+00  4.304e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 178.519 60.311
Photon Flux Upper Limit: 5.65e-09 ph cm-2 s-1
Energy Flux Upper Limit: 1.46e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/166054/likelihoodResults_675043201_677635201_4FGL_J1154.0+6018_monthly_bin169.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) = 93396.0685456
delta logL = -2.35358602367e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 93396.0683336
delta logL = 0.000188495425391

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4855       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   93396.07     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      258 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.5351        .47142E-01** at limit **
   2  alpha         1.4874        3.8509        .46561       -.13708E-05
   3  Normalizat    1.0195        .43108E-02    .43420E-01    .25162E-03
   4  Prefactor     1.0226        .54955E-02    .64826E-01   -.76964E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.4874
  Normalizat = 1.01953
  Prefactor  = 1.02263
 **********
 **   18 **HESSE 
 **********

 FCN=   93396.07     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      297 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4516        .60960E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4874        2.9446        .18625       -.41702    
   3  Normalizat    1.0195        .33862E-02    .22639E-03   -.92379    
   4  Prefactor     1.0226        .43129E-02    .28673E-03   -.91979    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.38225e-09
Minuit parameter uncertainties:
  1  1.32989e-05
  2  171.501
  3  0.00338618
  4  0.00431293
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/166054': 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) = 93396.0683336
delta logL = 0.000188500969671

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  1.000e-04  1.330e-05  1.000e-04  1.000e+04 ( 1.000e-12)
409        alpha:  1.487e+00  1.715e+02  0.000e+00  5.000e+00 ( 1.000e+00)
410         beta:  2.407e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
411           Eb:  6.636e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
746    Prefactor:  1.023e+00  4.313e-03  0.000e+00  1.000e+01 ( 1.000e+00)
747        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
748        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  1.020e+00  3.386e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 178.519 60.311

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/166054/cmap_HighResolution_675043201_677635201_4FGL_J1154.0+6018_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.46e-06', job_status='DONE', photon_flux_upper_limit='5.65e-09', time_completed='2022-06-23 06:00:32.344385', job_id='166054', GAL2='1.02', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1655989232.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.89e-04', ts2='-0.00', photon_index_error='0.00', photon_index='2.75' WHERE bin_id='169' AND source_name='4FGL J1154.0+6018' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 06:00:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 166054: <4FGL_J1154.0+6018_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1154.0+6018_monthly_bin169> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun 23 01:35:32 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:11:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:11:09 2022
Terminated at Thu Jun 23 06:00:33 2022
Results reported at Thu Jun 23 06:00:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1154.0+6018_monthly_bin169 178.519 60.3107 675043201 677635201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1154.0+6018 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   13616.00 sec.
    Max Memory :                                 1089 MB
    Average Memory :                             461.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   13764 sec.
    Turnaround time :                            15901 sec.

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

