aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 88 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7474
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1111.8+4858_daily_bin1744
RA = 167.969, Dec = 48.9798
tmin = 691372801, tmax = 691632001
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='576583', job_status='RUN', time_executed='2022-12-02 00:47:13.160119', time_epoch_executed='1669970833.16' WHERE source_name='4FGL J1111.8+4858' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/576583

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/576583/ft1_4FGL_J1111.8+4858_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/576583/ft2_4FGL_J1111.8+4858_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/576583/ft1_4FGL_J1111.8+4858_daily_bin1744.fits outfile=/scratch/kocevski/576583/ft1_filteredMKT_4FGL_J1111.8+4858_daily_bin1744.fits ra=167.969 dec=48.9798 rad=12.0 tmin=691372801.0 tmax=691632001.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 2.54
user 2.32
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/576583/ft2_4FGL_J1111.8+4858_daily_bin1744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/576583/ft2_4FGL_J1111.8+4858_daily_bin1744.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/576583/ft1_filteredMKT_4FGL_J1111.8+4858_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/576583/ft1_filtered_4FGL_J1111.8+4858_daily_bin1744.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.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 768

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/576583/ft1_filtered_4FGL_J1111.8+4858_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/576583/ft2_4FGL_J1111.8+4858_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/576583/ltcube_691372801_691632001_4FGL_J1111.8+4858_daily_bin1744.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/576583/ft2_4FGL_J1111.8+4858_daily_bin1744.fits
.....................!
real 12.62
user 12.17
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/576583/ft1_filtered_4FGL_J1111.8+4858_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/576583/ft2_4FGL_J1111.8+4858_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/576583/ltcube_691372801_691632001_4FGL_J1111.8+4858_daily_bin1744.fits outfile=/scratch/kocevski/576583/expmap_691372801_691632001_4FGL_J1111.8+4858_daily_bin1744.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/576583/ltcube_691372801_691632001_4FGL_J1111.8+4858_daily_bin1744.fits
.....................!
real 190.49
user 185.50
sys 4.54

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

Setting source of interest to:
4FGL J1111.8+4858 @ 167.969 48.9798

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/576583/ft1_filtered_4FGL_J1111.8+4858_daily_bin1744.fits scfile=/scratch/kocevski/576583/ft2_4FGL_J1111.8+4858_daily_bin1744.fits outfile=/scratch/kocevski/576583/cmap_691372801_691632001_4FGL_J1111.8+4858_daily_bin1744.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=167.969 yref=48.9798 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/576583/ft1_filtered_4FGL_J1111.8+4858_daily_bin1744.fits scfile=/scratch/kocevski/576583/ft2_4FGL_J1111.8+4858_daily_bin1744.fits outfile=/scratch/kocevski/576583/cmap_HighResolution_691372801_691632001_4FGL_J1111.8+4858_daily_bin1744.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=167.969 yref=48.9798 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/576583/ft1_filtered_4FGL_J1111.8+4858_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/576583/ft2_4FGL_J1111.8+4858_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/576583/Model_4FGL_J1111.8+4858_daily_bin1744.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/576583/ft1_filtered_4FGL_J1111.8+4858_daily_bin1744.fits.....................!
real 66.80
user 64.73
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/576583/ft1_filtered_4FGL_J1111.8+4858_daily_bin1744.fits', '/scratch/kocevski/576583/ft2_4FGL_J1111.8+4858_daily_bin1744.fits', expMap='/scratch/kocevski/576583/expmap_691372801_691632001_4FGL_J1111.8+4858_daily_bin1744.fits', expCube='/scratch/kocevski/576583/ltcube_691372801_691632001_4FGL_J1111.8+4858_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/576583/Model_4FGL_J1111.8+4858_daily_bin1744.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1111.8+4858'

4FGL J1111.8+4858
   Spectrum: PowerLaw
372    Prefactor:  2.239e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
373        Index:  1.825e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  5.853e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/576583/ft1_filtered_4FGL_J1111.8+4858_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/576583/ft2_4FGL_J1111.8+4858_daily_bin1744.fits
Exposure map: /scratch/kocevski/576583/expmap_691372801_691632001_4FGL_J1111.8+4858_daily_bin1744.fits
Exposure cube: /scratch/kocevski/576583/ltcube_691372801_691632001_4FGL_J1111.8+4858_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/576583/Model_4FGL_J1111.8+4858_daily_bin1744.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) = 8355.09719922

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24171E-02   1.0000          .0000       .10000E+07
     2 'norm      '    5.4788       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.690       1.0000          .0000       .10000E+07
     4 'Prefactor '    .41855E-06   1.0000          .0000       .10000E+07
     5 'norm      '    1.0795       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10314       1.0000          .0000       .10000E+07
     7 'Prefactor '    71.804       1.0000          .0000       .10000E+07
     8 'norm      '    2.2858       1.0000          .0000       .10000E+07
     9 'Prefactor '    20.271       1.0000          .0000       .10000E+07
    10 'norm      '    4.0487       1.0000          .0000       .10000E+07
    11 'Prefactor '    .76432E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .14229E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .34148E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .65477E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16627E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    19.979       1.0000          .0000       .10000E+07
    17 'norm      '    3.6929       1.0000          .0000       .10000E+07
    18 'Prefactor '    .96929       1.0000          .0000       .10000E+07
    19 'norm      '    3.0428       1.0000          .0000       .10000E+07
    20 'norm      '    4.6979       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20983E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    16.402       1.0000          .0000       .10000E+07
    23 'Prefactor '    28.287       1.0000          .0000       .10000E+07
    24 'norm      '    .52652       1.0000          .0000       .10000E+07
    25 'norm      '    .97494E-01   1.0000          .0000       .10000E+07
    26 'Normalizat'    .73678       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1196       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8355.077     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2437 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.6619       -.90415E-07** at limit **
   2  norm          5.4790        2.5902       -.82680E-08   -.90511E-03
   3  Prefactor     12.631        9.8689        .12421E-06   -.48374E-01
   4  Prefactor      .0000        2.5239       -.76602E-07** at limit **
   5  norm          1.0796        .80067       -.49132E-09    .23932E-03
   6  Prefactor     .33307E-09    36.748        .29578E-06** at limit **
   7  Prefactor     72.196        54.359       -.49749E-06    .55064E-01
   8  norm          2.2876        1.6718       -.14283E-07   -.28325E-03
   9  Prefactor     20.263        5.3189        .92213E-07   -.49311E-01
  10  norm          4.0489        .46809       -.15982E-08   -.28445E-02
  11  Prefactor     .59613E-01    30.344        .86633E-06** at limit **
  12  Prefactor     .11102E-09    5.4930        .10637E-06** at limit **
  13  Prefactor     .10048E-07    18.778        .77747E-08** at limit **
  14  norm          .11824E-07    13.568       -.18191E-06** at limit **
  15  Prefactor      .0000        3.3306       -.61986E-07** at limit **
  16  Prefactor     20.009        3.7062       -.47219E-07    .34550E-01
  17  norm          3.6959        2.6260        .14549E-07    .27585E-02
  18  Prefactor     .81293        157.12        .18996E-05    .21826E-01
  19  norm          3.0445        1.0942       -.89825E-08    .11557E-02
  20  norm          4.7251        4.8874        .16233E-07    .34761E-03
  21  Prefactor      .0000        1.0220       -.10721E-07** at limit **
  22  Prefactor     16.398        1.4884        .52609E-08   -.50707E-02
  23  Prefactor     28.239        14.121       -.61290E-07   -.11648    
  24  norm          .52653        .97462       -.28842E-07   -.24101E-02
  25  norm          .14940        18.441        .76320E-07** at limit **
  26  Normalizat    .73676        .15746        .43116E-06    .12860E-03
  27  Prefactor     1.1196        .20749        .50356E-06    .11841E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 5.47897
  Prefactor  = 12.6311
  Prefactor  = 0
  norm       = 1.07956
  Prefactor  = 3.33067e-10
  Prefactor  = 72.1965
  norm       = 2.28758
  Prefactor  = 20.263
  norm       = 4.04889
  Prefactor  = 0.0596126
  Prefactor  = 1.11022e-10
  Prefactor  = 1.00475e-08
  norm       = 1.18239e-08
  Prefactor  = 0
  Prefactor  = 20.0087
  norm       = 3.69587
  Prefactor  = 0.812929
  norm       = 3.0445
  norm       = 4.72511
  Prefactor  = 0
  Prefactor  = 16.398
  Prefactor  = 28.2389
  norm       = 0.526526
  norm       = 0.149405
  Normalizat = 0.736763
  Prefactor  = 1.11956
 **********
 **   18 **HESSE 
 **********

 FCN=   8355.077     FROM HESSE     STATUS=OK           558 CALLS     2995 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.5349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.4790        2.5895        .42903E-03   -1.5661    
   3  Prefactor     12.631        22.879        .28094E-03   -1.5637    
   4  Prefactor      .0000        2.5007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.0796        .78746        .11600E-02   -1.5687    
   6  Prefactor     .33307E-09    36.727        .13845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     72.196        74.468        .11802E-03   -1.5538    
   8  norm          2.2876        1.7305        .67875E-03   -1.5678    
   9  Prefactor     20.263        37.689        .22218E-03   -1.5618    
  10  norm          4.0489        .46836        .46659E-03   -1.5668    
  11  Prefactor     .59613E-01    10.709        .98863E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11102E-09    5.4894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10048E-07    18.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .11824E-07    13.602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        3.3115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.009        22.770        .22380E-03   -1.5619    
  17  norm          3.6959        2.6917        .52531E-03   -1.5670    
  18  Prefactor     .81293        402.45        .42675E-03   -1.5690    
  19  norm          3.0445        1.1562        .58141E-03   -1.5673    
  20  norm          4.7251        4.8826        .46404E-03   -1.5664    
  21  Prefactor      .0000        1.0193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     16.398        21.276        .24703E-03   -1.5627    
  23  Prefactor     28.239        16.301        .18805E-03   -1.5602    
  24  norm          .52653        1.0013        .76086E-03   -1.5693    
  25  norm          .14940        2.4279        .73894E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .73676        .13814        .42779E-01   -1.0246    
  27  Prefactor     1.1196        .17578        .62772E-01   -.88844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39706e-06
Minuit parameter uncertainties:
  1  2.99359e-05
  2  2.58946
  3  22.879
  4  7.37913e-06
  5  0.787456
  6  0.000228063
  7  74.4685
  8  1.7305
  9  37.6896
  10  0.468358
  11  1.59803
  12  4.30914e-05
  13  0.000869102
  14  0.000801457
  15  5.15972e-06
  16  22.7705
  17  2.69167
  18  36.1776
  19  1.15622
  20  4.88265
  21  2.70222e-06
  22  21.2759
  23  16.3009
  24  1.00131
  25  1.20456
  26  0.138206
  27  0.175869
Done.

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

Extracting fit parameters...

4FGL J1111.8+4858
   Spectrum: PowerLaw
372    Prefactor:  1.005e-08  8.691e-04  0.000e+00  1.000e+06 ( 1.000e-15)
373        Index:  1.825e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  5.853e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  1.120e+00  1.759e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  7.368e-01  1.382e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 167.969 48.980
Photon Flux Upper Limit: 2.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/576583/likelihoodResults_691372801_691632001_4FGL_J1111.8+4858_daily_bin1744.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) = 8355.10226259
delta logL = -0.0253435123668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8355.07691984
delta logL = -7.58524038247e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25096E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .53668       1.0000          .0000       10.000    
     3 'Normalizat'    .73676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1195       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8355.077     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      216 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        22.333        .42118E-03** at limit **
   2  Index         .45511        .81516        .48300E-04     .0000    
   3  Normalizat    .73676        1.0764       -.90462E-05   -.18402E-03
   4  Prefactor     1.1196        1.1370        .10374E-04   -.70684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.455115
  Normalizat = 0.736762
  Prefactor  = 1.11956
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8355.077     FROM HESSE     STATUS=FAILED         9 CALLS      225 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        22.333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16002E-01    .81516        .48300E-04   -1.1408    
   3  Normalizat    .73676        1.0764       -.90462E-05   -1.0246    
   4  Prefactor     1.1196        1.1370        .10374E-04   -.88844    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.66627e-11
Minuit parameter uncertainties:
  1  4.40715e-06
  2  0.837513
  3  1.10997
  4  1.16316
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/576583': 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): 101
logL (Free Index) = 8355.07691908
delta logL = 2.47382558882e-10

Extracting fit parameters...

4FGL J1111.8+4858
   Spectrum: PowerLaw
372    Prefactor:  0.000e+00  4.407e-06  0.000e+00  1.000e+06 ( 1.000e-15)
373        Index:  4.551e-01  8.375e-01  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  5.853e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  1.120e+00  1.163e+00  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  7.368e-01  1.110e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 167.969 48.980

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/576583/cmap_HighResolution_691372801_691632001_4FGL_J1111.8+4858_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.53e-03', job_status='DONE', photon_flux_upper_limit='2.07e-08', time_completed='2022-12-02 01:01:57.117966', job_id='576583', GAL2='1.12', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1669971717.12', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.47e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1744' AND source_name='4FGL J1111.8+4858' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:01:57 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 576583: <4FGL_J1111.8+4858_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1111.8+4858_daily_bin1744> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Dec  2 00:45:22 2022
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 00:45:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 00:45:23 2022
Terminated at Fri Dec  2 01:01:57 2022
Results reported at Fri Dec  2 01:01:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1111.8+4858_daily_bin1744 167.969 48.9798 691372801 691632001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1111.8+4858 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   883.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            995 sec.

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

