/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 45 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 = 7403
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1154.0+6018_daily_bin1402
RA = 178.519, Dec = 60.3107
tmin = 602726401, tmax = 602985601
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='175825', job_status='RUN', time_executed='2021-09-04 16:27:09.821136', time_epoch_executed='1630798029.82' WHERE source_name='4FGL J1154.0+6018' and cadence='daily' and bin_id='1402'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/175825

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/175825/ft1_4FGL_J1154.0+6018_daily_bin1402.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/175825/ft2_4FGL_J1154.0+6018_daily_bin1402.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/175825/ft1_4FGL_J1154.0+6018_daily_bin1402.fits outfile=/scratch/kocevski/175825/ft1_filteredMKT_4FGL_J1154.0+6018_daily_bin1402.fits ra=178.519 dec=60.3107 rad=12.0 tmin=602726401.0 tmax=602985601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.12
user 2.84
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/175825/ft2_4FGL_J1154.0+6018_daily_bin1402.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/175825/ft1_filteredMKT_4FGL_J1154.0+6018_daily_bin1402.fits evtable="EVENTS" outfile="/scratch/kocevski/175825/ft1_filtered_4FGL_J1154.0+6018_daily_bin1402.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/175825/ft1_filtered_4FGL_J1154.0+6018_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/175825/ft2_4FGL_J1154.0+6018_daily_bin1402.fits sctable="SC_DATA" expcube=/scratch/kocevski/175825/ltcube_602726401_602985601_4FGL_J1154.0+6018_daily_bin1402.fits outfile=/scratch/kocevski/175825/expmap_602726401_602985601_4FGL_J1154.0+6018_daily_bin1402.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/175825/ltcube_602726401_602985601_4FGL_J1154.0+6018_daily_bin1402.fits
.....................!
real 190.66
user 185.56
sys 4.55

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/175825/ft1_filtered_4FGL_J1154.0+6018_daily_bin1402.fits scfile=/scratch/kocevski/175825/ft2_4FGL_J1154.0+6018_daily_bin1402.fits outfile=/scratch/kocevski/175825/cmap_602726401_602985601_4FGL_J1154.0+6018_daily_bin1402.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.56
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/175825/ft1_filtered_4FGL_J1154.0+6018_daily_bin1402.fits scfile=/scratch/kocevski/175825/ft2_4FGL_J1154.0+6018_daily_bin1402.fits outfile=/scratch/kocevski/175825/cmap_HighResolution_602726401_602985601_4FGL_J1154.0+6018_daily_bin1402.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10550E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10000.       1.0000         .10000E-03   10000.    
     5 'Prefactor '    79.307       1.0000         .10000E-03   10000.    
     6 'norm      '    4.1461       1.0000         .10000E-03   10000.    
     7 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     8 'norm      '    10000.       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12388E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17352E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-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 '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.4743       1.0000         .10000E-03   10000.    
    17 'norm      '    20.486       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.277       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.7790       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .18736E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    8.3609       1.0000         .10000E-03   10000.    
    27 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    5.0288       1.0000         .10000E-03   10000.    
    30 'norm      '    1.8320       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    4.0198       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.1940       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=   3320.064     FROM MIGRAD    STATUS=CONVERGED    221 CALLS     4542 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    14.904       -.30322E-04** at limit **
   2  Prefactor     .10001E-03    85.173       -.42679E-05** at limit **
   3  norm          .10006E-03    13.523       -.27105E-04** at limit **
   4  norm         10000.0        81.128       -.24466E-04** at limit **
   5  Prefactor     79.310        1.2006        .14359E-06   -.67452E-03
   6  norm          4.1458        2.8281       -.94997E-07    .27790E-04
   7  Prefactor    10000.0        .66202        .24124E-05** at limit **
   8  norm         10000.0        51.508       -.22575E-04** at limit **
   9  Prefactor     .10003E-03    11.620        .37776E-04** at limit **
  10  Prefactor     .65123E-02    14.197       -.14044E-04    .10031E-02
  11  Prefactor    10000.0        126.64        .24041E-04** at limit **
  12  norm          .11171E-03    57.298        .12053E-04** at limit **
  13  Prefactor     .10001E-03    11.845        .36978E-04** at limit **
  14  Prefactor     .10004E-03    43.917        .42348E-04** at limit **
  15  Prefactor     .10000E-03    4.7920       -.45152E-07** at limit **
  16  Prefactor     1.4739        2.3153       -.87690E-07    .14682E-05
  17  norm          20.485        1.0099       -.13100E-07    .58978E-04
  18  Prefactor     14.281        1.0207        .33974E-06    .20906E-03
  19  norm          .10000E-03    4.0904        .63968E-07** at limit **
  20  Prefactor     .10954E-03    60.764        .93155E-05** at limit **
  21  Prefactor     .10000E-03    2.9969       -.48361E-08** at limit **
  22  Prefactor     7.7793        1.0037       -.55404E-07    .34742E-05
  23  norm          .10000E-03    .87314       -.46871E-07** at limit **
  24  Prefactor     .10406E-03    69.645       -.45398E-04** at limit **
  25  Prefactor     .10000E-03    20.764       -.39600E-04** at limit **
  26  norm          8.3595        4.3823        .15397E-05   -.12798E-03
  27  norm          .10000E-03    12.364       -.14377E-05** at limit **
  28  Prefactor     .10000E-03    2.3087        .24152E-07** at limit **
  29  norm          5.0288        2.6114        .95109E-07    .71123E-04
  30  norm          1.8314        2.1385        .83508E-07   -.83601E-06
  31  Prefactor     .10831E-03    47.341       -.16088E-04** at limit **
  32  Prefactor     4.0143        1.1579       -.21322E-05   -.49485E-03
  33  Prefactor     .10000E-03    14.406        .40371E-05** at limit **
  34  Normalizat    .10000E-01    .32754E-01    .68866E-07** at limit **
  35  Prefactor     1.1940        .12936       -.68039E-06   -.39001E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100028
  Prefactor  = 0.000100008
  norm       = 0.000100061
  norm       = 10000
  Prefactor  = 79.3104
  norm       = 4.14584
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 0.000100034
  Prefactor  = 0.00651231
  Prefactor  = 10000
  norm       = 0.000111709
  Prefactor  = 0.000100012
  Prefactor  = 0.000100041
  Prefactor  = 0.0001
  Prefactor  = 1.47395
  norm       = 20.4845
  Prefactor  = 14.281
  norm       = 0.0001
  Prefactor  = 0.000109542
  Prefactor  = 0.0001
  Prefactor  = 7.77928
  norm       = 0.0001
  Prefactor  = 0.000104063
  Prefactor  = 0.000100001
  norm       = 8.35946
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.02877
  norm       = 1.83143
  Prefactor  = 0.00010831
  Prefactor  = 4.01429
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.19402
 **********
 **   18 **HESSE 
 **********

 FCN=   3320.064     FROM HESSE     STATUS=OK           842 CALLS     5384 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    28.355        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    340.17        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10006E-03    27.901        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm         10000.0        147.44        .90712E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     79.310        202.13        .11274E-02   -1.3924    
   6  norm          4.1458        3.6800        .49488E-02   -1.5301    
   7  Prefactor    10000.0        8772.3        .10325E-01    1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm         10000.0        228.85        .90712E-02    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10003E-03    6.5726        .68284E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .65123E-02    6740.1        .90712E-02   -1.5692    
  11  Prefactor    10000.0        494.01        .90712E-02    1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .11171E-03    269.47        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    23.388        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10004E-03    44.130        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.7871        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.4739        2.3509        .88438E-02   -1.5465    
  17  norm          20.485        23.037        .22123E-02   -1.4802    
  18  Prefactor     14.281        10.017        .26500E-02   -1.4952    
  19  norm          .10000E-03    4.0000        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10954E-03    279.48        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.9974        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.7793        14.347        .35943E-02   -1.5150    
  23  norm          .10000E-03    .87139        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10406E-03    8.0911        .59286E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    20.847        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          8.3595        4.4003        .34661E-02   -1.5130    
  27  norm          .10000E-03    12.216        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    2.3038        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          5.0288        2.7807        .44829E-02   -1.5259    
  30  norm          1.8314        2.1521        .77079E-02   -1.5437    
  31  Prefactor     .10831E-03    103.89        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     4.0143        9.8276        .50284E-02   -1.5307    
  33  Prefactor     .10000E-03    14.427        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .10000E-01    .31612E-01    .14543       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     1.1940        .13796        .34774E-01   -.86516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.241e-06
Minuit parameter uncertainties:
  1  0.00178359
  2  0.0033265
  3  0.00262001
  4  0.0394771
  5  203.924
  6  3.68015
  7  6.31403
  8  0.112613
  9  0.000948415
  10  10.1183
  11  0.537948
  12  0.112855
  13  0.00105548
  14  0.00267999
  15  2.00228e-07
  16  2.35104
  17  23.0473
  18  10.0186
  19  3.21041e-07
  20  0.103767
  21  2.37643e-07
  22  14.3536
  23  8.57e-08
  24  0.0114684
  25  0.000227921
  26  4.40049
  27  8.00276e-06
  28  2.12766e-07
  29  2.78073
  30  2.15222
  31  0.0588688
  32  9.83158
  33  1.8022e-05
  34  7.55438e-10
  35  0.137997
Done.

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

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  1.000e-04  3.210e-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.194e+00  1.380e-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.000e-02  7.554e-10  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/175825/likelihoodResults_602726401_602985601_4FGL_J1154.0+6018_daily_bin1402.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) = 3320.06501028
delta logL = -0.00115270952165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3320.06385728
delta logL = 2.84949237539e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7274       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1941       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=   3320.064     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      251 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    218.39        .11579E-01** at limit **
   2  alpha         2.0289        3.9829        .16548        .74887E-07
   3  Normalizat    .10000E-01    .25551E-02    .60585E-02** at limit **
   4  Prefactor     1.1940        .34099E-01    .21197E-03    .14266E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.0289
  Normalizat = 0.01
  Prefactor  = 1.19402
 **********
 **   18 **HESSE 
 **********

 FCN=   3320.064     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.2171        .13871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0289        3.6650        .66190E-02   -.18957    
   3  Normalizat    .10000E-01    .32757E-01    .12117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1940        .12211        .84790E-05   -.86516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81717e-10
Minuit parameter uncertainties:
  1  0.000170834
  2  286.984
  3  6.64315e-08
  4  0.122136
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/175825': 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) = 3320.06385342
delta logL = 4.14963915318e-06

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  1.000e-04  1.708e-04  1.000e-04  1.000e+04 ( 1.000e-12)
409        alpha:  2.029e+00  2.870e+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.194e+00  1.221e-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.000e-02  6.643e-08  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/175825/cmap_HighResolution_602726401_602985601_4FGL_J1154.0+6018_daily_bin1402.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.25e-05', job_status='DONE', photon_flux_upper_limit='8.75e-08', time_completed='2021-09-04 16:40:21.457298', job_id='175825', GAL2='1.19', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630798821.46', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='4.15e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.75' WHERE bin_id='1402' AND source_name='4FGL J1154.0+6018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 16:40:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 175825: <4FGL_J1154.0+6018_daily_bin1402> in cluster <slac> Done

Job <4FGL_J1154.0+6018_daily_bin1402> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 16:26:08 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 16:26:09 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:26:09 2021
Terminated at Sat Sep  4 16:40:22 2021
Results reported at Sat Sep  4 16:40:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1154.0+6018_daily_bin1402 178.519 60.3107 602726401 602985601 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 :                                   788.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             301.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            854 sec.

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

