aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 0 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 = 7841
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1154.0+6018_weekly_bin502
RA = 178.519, Dec = 60.3107
tmin = 542592001, tmax = 543196801
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='44716', job_status='RUN', time_executed='2021-07-18 14:01:56.618008', time_epoch_executed='1626642116.62' WHERE source_name='4FGL J1154.0+6018' and cadence='weekly' and bin_id='502'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/44716

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/44716/ft1_4FGL_J1154.0+6018_weekly_bin502.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/44716/ft2_4FGL_J1154.0+6018_weekly_bin502.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/44716/ft1_4FGL_J1154.0+6018_weekly_bin502.fits outfile=/scratch/kocevski/44716/ft1_filteredMKT_4FGL_J1154.0+6018_weekly_bin502.fits ra=178.519 dec=60.3107 rad=12.0 tmin=542592001.0 tmax=543196801.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 6.95
user 6.62
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/44716/ft1_filtered_4FGL_J1154.0+6018_weekly_bin502.fits" evtable="EVENTS" scfile=/scratch/kocevski/44716/ft2_4FGL_J1154.0+6018_weekly_bin502.fits sctable="SC_DATA" outfile=/scratch/kocevski/44716/ltcube_542592001_543196801_4FGL_J1154.0+6018_weekly_bin502.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/44716/ft2_4FGL_J1154.0+6018_weekly_bin502.fits
.....................!
real 14.80
user 14.39
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/44716/ft1_filtered_4FGL_J1154.0+6018_weekly_bin502.fits evtable="EVENTS" scfile=/scratch/kocevski/44716/ft2_4FGL_J1154.0+6018_weekly_bin502.fits sctable="SC_DATA" expcube=/scratch/kocevski/44716/ltcube_542592001_543196801_4FGL_J1154.0+6018_weekly_bin502.fits outfile=/scratch/kocevski/44716/expmap_542592001_543196801_4FGL_J1154.0+6018_weekly_bin502.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/44716/ltcube_542592001_543196801_4FGL_J1154.0+6018_weekly_bin502.fits
.....................!
real 193.37
user 187.09
sys 4.69

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/44716/ft1_filtered_4FGL_J1154.0+6018_weekly_bin502.fits scfile=/scratch/kocevski/44716/ft2_4FGL_J1154.0+6018_weekly_bin502.fits outfile=/scratch/kocevski/44716/cmap_542592001_543196801_4FGL_J1154.0+6018_weekly_bin502.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/44716/ft1_filtered_4FGL_J1154.0+6018_weekly_bin502.fits scfile=/scratch/kocevski/44716/ft2_4FGL_J1154.0+6018_weekly_bin502.fits outfile=/scratch/kocevski/44716/cmap_HighResolution_542592001_543196801_4FGL_J1154.0+6018_weekly_bin502.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/44716/ft1_filtered_4FGL_J1154.0+6018_weekly_bin502.fits', '/scratch/kocevski/44716/ft2_4FGL_J1154.0+6018_weekly_bin502.fits', expMap='/scratch/kocevski/44716/expmap_542592001_543196801_4FGL_J1154.0+6018_weekly_bin502.fits', expCube='/scratch/kocevski/44716/ltcube_542592001_543196801_4FGL_J1154.0+6018_weekly_bin502.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/44716/Model_4FGL_J1154.0+6018_weekly_bin502.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/44716/ft1_filtered_4FGL_J1154.0+6018_weekly_bin502.fits
Spacecraft file(s): /scratch/kocevski/44716/ft2_4FGL_J1154.0+6018_weekly_bin502.fits
Exposure map: /scratch/kocevski/44716/expmap_542592001_543196801_4FGL_J1154.0+6018_weekly_bin502.fits
Exposure cube: /scratch/kocevski/44716/ltcube_542592001_543196801_4FGL_J1154.0+6018_weekly_bin502.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/44716/Model_4FGL_J1154.0+6018_weekly_bin502.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) = 1923.26103208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.5548       1.0000         .10000E-03   10000.    
     4 'norm      '    2.2622       1.0000         .10000E-03   10000.    
     5 'Prefactor '    248.31       1.0000         .10000E-03   10000.    
     6 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    80.045       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.0282       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.9536       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.0423       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    50.981       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    7.0587       1.0000         .10000E-03   10000.    
    30 'norm      '    1.4735       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    30.134       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .25460       1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.4058       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1923.156     FROM MIGRAD    STATUS=CONVERGED    970 CALLS     6061 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    21.389       -.28916E-06** at limit **
   2  Prefactor     .10000E-03    90.703       -.29263E-05** at limit **
   3  norm          3.5550        2.7153        .10971E-06    .10858E-03
   4  norm          2.2622        1.7950        .61819E-07    .67454E-05
   5  Prefactor     248.79        317.95        .40879E-04    .21117E-04
   6  norm          .10000E-03    1.7457        .53760E-06** at limit **
   7  Prefactor     .10000E-03    94.162       -.56365E-06** at limit **
   8  norm          .10000E-03    1.7925       -.25997E-06** at limit **
   9  Prefactor     .10000E-03    3.4326        .26962E-06** at limit **
  10  Prefactor     80.061        79.443        .13734E-05    .21700E-06
  11  Prefactor     .10000E-03    23.888       -.25841E-05** at limit **
  12  norm          .10000E-03    41.861        .11879E-05** at limit **
  13  Prefactor     .10000E-03    3.8939       -.21734E-06** at limit **
  14  Prefactor     .10000E-03    13.423       -.75597E-08** at limit **
  15  Prefactor     .10000E-03    20.380        .75948E-06** at limit **
  16  Prefactor     4.0280        5.5307       -.11444E-06   -.68924E-04
  17  norm          .10000E-03    21.209       -.84077E-06** at limit **
  18  Prefactor     .10000E-03    2.5243       -.65782E-07** at limit **
  19  norm          .10000E-03    7.3129       -.22219E-05** at limit **
  20  Prefactor     .10000E-03    20.285        .88542E-06** at limit **
  21  Prefactor     2.8600        135.11        .55461E-04   -.18554E-04
  22  Prefactor     .10000E-03    38.643        .16410E-05** at limit **
  23  norm          2.0437        5.9396       -.39534E-06   -.11123E-03
  24  Prefactor     .10000E-03    50.779       -.41789E-05** at limit **
  25  Prefactor     51.346        486.30       -.87591E-04   -.18293E-04
  26  norm          .10000E-03    4.2824       -.20913E-07** at limit **
  27  norm          .10000E-03    15.194       -.83810E-06** at limit **
  28  Prefactor     .10000E-03    11.786        .54696E-06** at limit **
  29  norm          7.0578        6.5358        .63603E-07   -.92688E-04
  30  norm          1.4741        7.2639        .11712E-05   -.23493E-04
  31  Prefactor     .10000E-03    114.58        .69231E-05** at limit **
  32  Prefactor     30.136        32.826        .57908E-06   -.44303E-04
  33  Prefactor     .10000E-03    226.32       -.65677E-05** at limit **
  34  Normalizat    .25441        .33383        .51041E-05   -.10654E-03
  35  Prefactor     1.4059        .38243       -.78225E-05    .12094E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.55503
  norm       = 2.26221
  Prefactor  = 248.794
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 80.0614
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.02797
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.85998
  Prefactor  = 0.0001
  norm       = 2.04369
  Prefactor  = 0.0001
  Prefactor  = 51.3456
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.0578
  norm       = 1.47405
  Prefactor  = 0.0001
  Prefactor  = 30.1365
  Prefactor  = 0.0001
  Normalizat = 0.254407
  Prefactor  = 1.40595
 **********
 **   18 **HESSE 
 **********

 FCN=   1923.156     FROM HESSE     STATUS=OK           756 CALLS     6817 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    21.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    91.998        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.5550        2.6730        .58835E-04   -1.5331    
   4  norm          2.2622        1.7974        .50653E-04   -1.5407    
   5  Prefactor     248.79        318.04        .12853E-03   -1.2540    
   6  norm          .10000E-03    1.7766        .56495E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    94.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.8122        .57278E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.4583        .79329E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     80.061        79.127        .44890E-04   -1.3916    
  11  Prefactor     .10000E-03    23.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    41.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.8991        .84515E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.426        .15696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.0280        5.5264        .11760E-03   -1.5307    
  17  norm          .10000E-03    21.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.5280        .68041E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.3924        .11597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.8600        137.58        .23630E-03   -1.5370    
  22  Prefactor     .10000E-03    38.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.0437        5.8151        .15963E-03   -1.5422    
  24  Prefactor     .10000E-03    50.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     51.346        489.50        .28084E-03   -1.4274    
  26  norm          .10000E-03    4.2829        .88641E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    15.320        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    11.805        .14700E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          7.0578        6.5290        .10146E-03   -1.5177    
  30  norm          1.4741        7.1670        .22060E-03   -1.5465    
  31  Prefactor     .10000E-03    114.69        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     30.136        32.555        .72987E-04   -1.4609    
  33  Prefactor     .10000E-03    226.33        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .25441        .33016        .37713E-03   -1.2567    
  35  Prefactor     1.4059        .39133        .21280E-03   -.80209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35777e-09
Minuit parameter uncertainties:
  1  3.86426e-05
  2  0.000580996
  3  2.67311
  4  1.79746
  5  320.293
  6  3.45376e-05
  7  4.89309e-05
  8  1.48397e-05
  9  2.45555e-05
  10  79.2309
  11  4.05366e-05
  12  3.05557e-05
  13  6.68686e-06
  14  2.96775e-06
  15  1.71334e-05
  16  5.52705
  17  2.05351e-05
  18  4.39293e-06
  19  0.00012996
  20  2.29591e-05
  21  39.7695
  22  0.000254218
  23  5.81675
  24  0.000168542
  25  320.575
  26  1.85542e-06
  27  6.50671e-05
  28  1.44346e-05
  29  6.52965
  30  6.50169
  31  0.000355972
  32  32.5739
  33  0.000227827
  34  0.332727
  35  0.392162
Done.

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

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  1.000e-04  1.300e-04  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.406e+00  3.922e-01  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:  2.544e-01  3.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 178.519 60.311
Photon Flux Upper Limit: 1.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/44716/likelihoodResults_542592001_543196801_4FGL_J1154.0+6018_weekly_bin502.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) = 1923.15622048
delta logL = -0.000638143343167

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1923.15558237
delta logL = -2.99296516459e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10119E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7707       1.0000          .0000       5.0000    
     3 'Normalizat'    .25437       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4060       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=   1923.156     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      197 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.9583        .90712E-02** at limit **
   2  alpha         2.7884        3.6810        .41461       -.12244E-04
   3  Normalizat    .25442        .27404        .85176E-01    .11771E-04
   4  Prefactor     1.4059        .35031        .48142E-01   -.20091E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.78841
  Normalizat = 0.254416
  Prefactor  = 1.40594
 **********
 **   18 **HESSE 
 **********

 FCN=   1923.156     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.5586        .11734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7884        3.6114        .16584        .11562    
   3  Normalizat    .25442        .28420        .37715E-03   -1.2567    
   4  Prefactor     1.4059        .36424        .21280E-03   -.80209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56295e-10
Minuit parameter uncertainties:
  1  3.10939e-05
  2  2.48438
  3  0.285829
  4  0.364911
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/44716': 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) = 1923.15558217
delta logL = 1.64476887221e-07

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  1.000e-04  3.109e-05  1.000e-04  1.000e+04 ( 1.000e-12)
409        alpha:  2.788e+00  2.484e+00  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.406e+00  3.649e-01  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:  2.544e-01  2.858e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/44716/cmap_HighResolution_542592001_543196801_4FGL_J1154.0+6018_weekly_bin502.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.90e-05', job_status='DONE', photon_flux_upper_limit='1.51e-07', time_completed='2021-07-18 14:12:42.354673', job_id='44716', GAL2='1.41', fit_tolerance='1e-08', EG2='0.25', EG='0.25', time_epoch_completed='1626642762.35', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.41', dlogl='1.64e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.75' WHERE bin_id='502' AND source_name='4FGL J1154.0+6018' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul 18 14:12:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 44716: <4FGL_J1154.0+6018_weekly_bin502> in cluster <slac> Done

Job <4FGL_J1154.0+6018_weekly_bin502> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Jul 18 14:01:03 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 18 14:01:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 18 14:01:44 2021
Terminated at Sun Jul 18 14:12:43 2021
Results reported at Sun Jul 18 14:12:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1154.0+6018_weekly_bin502 178.519 60.3107 542592001 543196801 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 :                                   641.60 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             321.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   658 sec.
    Turnaround time :                            700 sec.

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

