/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 3 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 = 7589
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1154.0+6018_daily_bin437
RA = 178.519, Dec = 60.3107
tmin = 352598401, tmax = 352857601
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='168626', job_status='RUN', time_executed='2021-09-04 16:01:47.489978', time_epoch_executed='1630796507.49' WHERE source_name='4FGL J1154.0+6018' and cadence='daily' and bin_id='437'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/168626

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/168626/ft1_4FGL_J1154.0+6018_daily_bin437.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/168626/ft2_4FGL_J1154.0+6018_daily_bin437.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/168626/ft1_4FGL_J1154.0+6018_daily_bin437.fits outfile=/scratch/kocevski/168626/ft1_filteredMKT_4FGL_J1154.0+6018_daily_bin437.fits ra=178.519 dec=60.3107 rad=12.0 tmin=352598401.0 tmax=352857601.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.12
user 3.88
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/168626/ft1_filtered_4FGL_J1154.0+6018_daily_bin437.fits" evtable="EVENTS" scfile=/scratch/kocevski/168626/ft2_4FGL_J1154.0+6018_daily_bin437.fits sctable="SC_DATA" outfile=/scratch/kocevski/168626/ltcube_352598401_352857601_4FGL_J1154.0+6018_daily_bin437.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/168626/ft2_4FGL_J1154.0+6018_daily_bin437.fits
.....................!
real 11.94
user 11.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/168626/ft1_filtered_4FGL_J1154.0+6018_daily_bin437.fits evtable="EVENTS" scfile=/scratch/kocevski/168626/ft2_4FGL_J1154.0+6018_daily_bin437.fits sctable="SC_DATA" expcube=/scratch/kocevski/168626/ltcube_352598401_352857601_4FGL_J1154.0+6018_daily_bin437.fits outfile=/scratch/kocevski/168626/expmap_352598401_352857601_4FGL_J1154.0+6018_daily_bin437.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/168626/ltcube_352598401_352857601_4FGL_J1154.0+6018_daily_bin437.fits
.....................!
real 192.26
user 187.44
sys 4.34

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/168626/ft1_filtered_4FGL_J1154.0+6018_daily_bin437.fits scfile=/scratch/kocevski/168626/ft2_4FGL_J1154.0+6018_daily_bin437.fits outfile=/scratch/kocevski/168626/cmap_352598401_352857601_4FGL_J1154.0+6018_daily_bin437.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/168626/ft1_filtered_4FGL_J1154.0+6018_daily_bin437.fits scfile=/scratch/kocevski/168626/ft2_4FGL_J1154.0+6018_daily_bin437.fits outfile=/scratch/kocevski/168626/cmap_HighResolution_352598401_352857601_4FGL_J1154.0+6018_daily_bin437.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0964       1.0000         .10000E-03   10000.    
     2 'Prefactor '    41.048       1.0000         .10000E-03   10000.    
     3 'norm      '    .76034       1.0000         .10000E-03   10000.    
     4 'norm      '    2.6356       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6713       1.0000         .10000E-03   10000.    
     8 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.1797       1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.380       1.0000         .10000E-03   10000.    
    12 'norm      '    .11155E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .43420E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.473       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.7612       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    14.817       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.526       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.3908       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10160E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    9.1526       1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.4252       1.0000         .10000E-03   10000.    
    29 'norm      '    4.2180       1.0000         .10000E-03   10000.    
    30 'norm      '    .70513       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    9.8684       1.0000         .10000E-03   10000.    
    33 'Prefactor '    3.9748       1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.1291       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .55017       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=   5732.891     FROM MIGRAD    STATUS=CONVERGED   1003 CALLS     4376 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0948        12.542       -.12255E-06   -.16466E-04
   2  Prefactor     41.033        17.357       -.88316E-06   -.16397E-03
   3  norm          .76277        1.7906        .67611E-06    .28042E-03
   4  norm          2.6355        1.4068       -.13377E-07   -.73472E-04
   5  Prefactor     .10000E-03    60.605        .64201E-06** at limit **
   6  norm          .10000E-03    .71050        .51614E-07** at limit **
   7  Prefactor     7.6644        192.87       -.16328E-05   -.17536E-05
   8  norm          .10000E-03    .99853        .30443E-06** at limit **
   9  Prefactor     .10000E-03    1.5153        .52490E-07** at limit **
  10  Prefactor     5.2048        143.71        .11853E-05   -.17604E-04
  11  Prefactor     39.390        21.497       -.32333E-06   -.23424E-04
  12  norm          .10000E-03    196.06        .25027E-06** at limit **
  13  Prefactor     .10000E-03    30.522        .31685E-05** at limit **
  14  Prefactor     .10000E-03    5.2138        .44877E-07** at limit **
  15  Prefactor     23.470        23.120       -.34582E-07   -.15706E-06
  16  Prefactor     7.7612        3.9147       -.26995E-07    .65532E-04
  17  norm          .10000E-03    5.8139        .49745E-07** at limit **
  18  Prefactor     .10000E-03    2.0798        .86456E-07** at limit **
  19  norm          14.819        5.7484       -.24546E-07    .31570E-04
  20  Prefactor     .10000E-03    12.341        .22291E-06** at limit **
  21  Prefactor     10.527        7.3594        .87959E-07    .33296E-04
  22  Prefactor     .10000E-03    6.8802       -.98253E-08** at limit **
  23  norm          2.3912        2.1010       -.65445E-07   -.10049E-05
  24  Prefactor     .10000E-03    10.078        .13110E-06** at limit **
  25  Prefactor     .10000E-03    33.326       -.81163E-06** at limit **
  26  norm          .10000E-03    3.9103       -.78007E-06** at limit **
  27  norm          9.1523        6.6025       -.71876E-06   -.21674E-03
  28  Prefactor     2.4252        3.7161       -.11552E-06   -.11279E-04
  29  norm          4.2180        2.0864        .23923E-07    .47415E-04
  30  norm          .70463        2.0472       -.68526E-06   -.18614E-03
  31  Prefactor     .10000E-03    16.569       -.13629E-06** at limit **
  32  Prefactor     9.8683        7.7206       -.24491E-07    .17687E-04
  33  Prefactor     3.9651        189.16       -.14639E-05    .79745E-05
  34  Normalizat    1.1290        .17768        .14748E-05   -.64318E-04
  35  Prefactor     .55037        .21095       -.29389E-05    .44823E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.09477
  Prefactor  = 41.0331
  norm       = 0.762772
  norm       = 2.63555
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.66441
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.2048
  Prefactor  = 39.3903
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.4696
  Prefactor  = 7.76122
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 14.8186
  Prefactor  = 0.0001
  Prefactor  = 10.5269
  Prefactor  = 0.0001
  norm       = 2.39117
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100003
  norm       = 9.15235
  Prefactor  = 2.42525
  norm       = 4.21801
  norm       = 0.704633
  Prefactor  = 0.0001
  Prefactor  = 9.86826
  Prefactor  = 3.96512
  Normalizat = 1.12898
  Prefactor  = 0.550367
 **********
 **   18 **HESSE 
 **********

 FCN=   5732.891     FROM HESSE     STATUS=OK           778 CALLS     5154 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0948        12.541        .14090E-03   -1.5139    
   2  Prefactor     41.033        17.439        .62566E-04   -1.4426    
   3  norm          .76277        1.7934        .14276E-02   -1.5533    
   4  norm          2.6355        1.4082        .63871E-04   -1.5383    
   5  Prefactor     .10000E-03    60.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .72227        .62314E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.6644        192.86        .14479E-03   -1.5154    
   8  norm          .10000E-03    1.0251        .14766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.5258        .91011E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.2048        145.75        .17664E-03   -1.5252    
  11  Prefactor     39.390        21.427        .63872E-04   -1.4452    
  12  norm          .10000E-03    200.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    30.022        .25199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.2149        .16885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     23.470        23.110        .82678E-04   -1.4739    
  16  Prefactor     7.7612        3.9128        .10308E-03   -1.5151    
  17  norm          .10000E-03    5.8272        .17831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.1235        .10661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          14.819        5.7551        .10405E-03   -1.4938    
  20  Prefactor     .10000E-03    12.361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.527        7.3594        .12349E-03   -1.5059    
  22  Prefactor     .10000E-03    6.8863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.3912        2.0993        .97717E-04   -1.5399    
  24  Prefactor     .10000E-03    10.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    33.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    7.1582        .27113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          9.1523        6.6866        .66238E-03   -1.5103    
  28  Prefactor     2.4252        3.6961        .17364E-03   -1.5396    
  29  norm          4.2180        2.0871        .74011E-04   -1.5297    
  30  norm          .70463        2.0678        .18059E-03   -1.5540    
  31  Prefactor     .10000E-03    16.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     9.8683        7.7192        .12756E-03   -1.5080    
  33  Prefactor     3.9651        189.83        .20231E-03   -1.5310    
  34  Normalizat    1.1290        .19720        .19976E-03   -.88827    
  35  Prefactor     .55037        .23039        .33864E-03   -1.0972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.87962e-10
Minuit parameter uncertainties:
  1  12.5448
  2  17.4416
  3  1.79353
  4  1.40822
  5  0.000210604
  6  6.72652e-07
  7  77.172
  8  5.83422e-06
  9  8.16337e-07
  10  55.2348
  11  21.4313
  12  0.000819369
  13  0.000210649
  14  1.63797e-06
  15  23.1185
  16  3.91295
  17  2.58359e-06
  18  2.97943e-06
  19  5.75528
  20  2.57294e-05
  21  7.36001
  22  1.26972e-05
  23  2.0994
  24  2.22355e-05
  25  0.000295749
  26  0.000277901
  27  6.6871
  28  3.69644
  29  2.08709
  30  2.06797
  31  5.68443e-05
  32  7.71994
  33  55.0558
  34  0.197326
  35  0.23078
Done.

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

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  1.482e+01  5.755e+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

GAL_V02
   Spectrum: PowerLaw
746    Prefactor:  5.504e-01  2.308e-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:  1.129e+00  1.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.73
Ra Dec: 178.519 60.311
Photon Index (Fixed Index): 2.75 +/- 0.00
Photon Flux (Fixed Index): 9.74e-08 +/- 3.78e-08
Energy Flux (Fixed Index): 2.51e-05 +/- 9.74e-06

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) = 5732.28861984
delta logL = 0.601953475365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5732.28838476
delta logL = 0.602188554706

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.080       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2429       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1608       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .52524       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5732.288     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      293 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.063        7.9656        .91694E-04    .87003E-03
   2  alpha         2.2417        .47356        .11947E-01    .74749E-04
   3  Normalizat    1.1609        .18672        .19751E-03    .21760E-03
   4  Prefactor     .52531        .22533        .34609E-03    .55647E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.0631
  alpha      = 2.24171
  Normalizat = 1.16085
  Prefactor  = 0.525314
 **********
 **   18 **HESSE 
 **********

 FCN=   5732.288     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.063        7.9101        .18339E-04   -1.4834    
   2  alpha         2.2417        .47004        .47790E-03   -.10350    
   3  Normalizat    1.1609        .18679        .39502E-04   -.87821    
   4  Prefactor     .52531        .22544        .13843E-04   -1.1083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28723e-10
Minuit parameter uncertainties:
  1  7.9105
  2  0.47289
  3  0.186895
  4  0.225827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/168626': 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) = 5732.28837716
delta logL = 0.602196156679

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  1.906e+01  7.910e+00  1.000e-04  1.000e+04 ( 1.000e-12)
409        alpha:  2.242e+00  4.729e-01  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:  5.253e-01  2.258e-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:  1.161e+00  1.869e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.00
Ra Dec: 178.519 60.311
Photon Index (Free Index): 2.24 +/- 0.47
Photon Flux (Free Index): 7.18e-08 +/- 3.81e-08
Energy Flux (Free Index): 2.68e-05 +/- 1.09e-05

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/168626/cmap_HighResolution_352598401_352857601_4FGL_J1154.0+6018_daily_bin437.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.74e-08', energy_flux2='2.68e-05', photon_flux_error='3.78e-08', dlogl='6.02e-01', energy_flux='2.51e-05', photon_flux2='7.18e-08', job_status='DONE', time_completed='2021-09-04 16:17:13.654392', photon_index_error2='0.47', photon_index2='2.24', ts='18.73', fit_tolerance='1e-08', GAL='0.55', photon_index_error='0.00', energy_flux_error2='1.09e-05', EG='1.13', time_epoch_completed='1630797433.65', return_code='0', job_id='168626', GAL2='0.53', EG2='1.16', return_code2='0', energy_flux_error='9.74e-06', photon_flux_error2='3.81e-08', ts2='20.00', photon_index='2.75' WHERE bin_id='437' AND source_name='4FGL J1154.0+6018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 16:17:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 168626: <4FGL_J1154.0+6018_daily_bin437> in cluster <slac> Done

Job <4FGL_J1154.0+6018_daily_bin437> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 16:01:31 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 16:01:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 16:01:32 2021
Terminated at Sat Sep  4 16:17:14 2021
Results reported at Sat Sep  4 16:17:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1154.0+6018_daily_bin437 178.519 60.3107 352598401 352857601 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 :                                   924.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             337.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   941 sec.
    Turnaround time :                            943 sec.

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

