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


Performing analysis on: 4FGL_J1111.8+4858_daily_bin1759
RA = 167.969, Dec = 48.9798
tmin = 695260801, tmax = 695520001
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='555663', job_status='RUN', time_executed='2023-01-16 01:03:43.572890', time_epoch_executed='1673859823.57' WHERE source_name='4FGL J1111.8+4858' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555663

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555663/ft1_4FGL_J1111.8+4858_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555663/ft2_4FGL_J1111.8+4858_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555663/ft1_4FGL_J1111.8+4858_daily_bin1759.fits outfile=/scratch/kocevski/555663/ft1_filteredMKT_4FGL_J1111.8+4858_daily_bin1759.fits ra=167.969 dec=48.9798 rad=12.0 tmin=695260801.0 tmax=695520001.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.98
user 2.52
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/555663/ft2_4FGL_J1111.8+4858_daily_bin1759.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/555663/ft1_filteredMKT_4FGL_J1111.8+4858_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/555663/ft1_filtered_4FGL_J1111.8+4858_daily_bin1759.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.36
sys 0.15

Number of photons that the gtmktime cut: 454

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555663/ft1_filtered_4FGL_J1111.8+4858_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/555663/ft2_4FGL_J1111.8+4858_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/555663/ltcube_695260801_695520001_4FGL_J1111.8+4858_daily_bin1759.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/555663/ft2_4FGL_J1111.8+4858_daily_bin1759.fits
.....................!
real 16.43
user 15.98
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555663/ft1_filtered_4FGL_J1111.8+4858_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/555663/ft2_4FGL_J1111.8+4858_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/555663/ltcube_695260801_695520001_4FGL_J1111.8+4858_daily_bin1759.fits outfile=/scratch/kocevski/555663/expmap_695260801_695520001_4FGL_J1111.8+4858_daily_bin1759.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/555663/ltcube_695260801_695520001_4FGL_J1111.8+4858_daily_bin1759.fits
.....................!
real 196.25
user 190.74
sys 4.84

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/555663/ft1_filtered_4FGL_J1111.8+4858_daily_bin1759.fits scfile=/scratch/kocevski/555663/ft2_4FGL_J1111.8+4858_daily_bin1759.fits outfile=/scratch/kocevski/555663/cmap_695260801_695520001_4FGL_J1111.8+4858_daily_bin1759.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555663/ft1_filtered_4FGL_J1111.8+4858_daily_bin1759.fits scfile=/scratch/kocevski/555663/ft2_4FGL_J1111.8+4858_daily_bin1759.fits outfile=/scratch/kocevski/555663/cmap_HighResolution_695260801_695520001_4FGL_J1111.8+4858_daily_bin1759.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.57
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555663/ft1_filtered_4FGL_J1111.8+4858_daily_bin1759.fits', '/scratch/kocevski/555663/ft2_4FGL_J1111.8+4858_daily_bin1759.fits', expMap='/scratch/kocevski/555663/expmap_695260801_695520001_4FGL_J1111.8+4858_daily_bin1759.fits', expCube='/scratch/kocevski/555663/ltcube_695260801_695520001_4FGL_J1111.8+4858_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555663/Model_4FGL_J1111.8+4858_daily_bin1759.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/555663/ft1_filtered_4FGL_J1111.8+4858_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/555663/ft2_4FGL_J1111.8+4858_daily_bin1759.fits
Exposure map: /scratch/kocevski/555663/expmap_695260801_695520001_4FGL_J1111.8+4858_daily_bin1759.fits
Exposure cube: /scratch/kocevski/555663/ltcube_695260801_695520001_4FGL_J1111.8+4858_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555663/Model_4FGL_J1111.8+4858_daily_bin1759.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) = 4984.77843417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.100       1.0000          .0000       .10000E+07
     2 'norm      '    .12059E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    46.148       1.0000          .0000       .10000E+07
     4 'Prefactor '    .32922E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .40937       1.0000          .0000       .10000E+07
     6 'Prefactor '    51.008       1.0000          .0000       .10000E+07
     7 'Prefactor '    90.084       1.0000          .0000       .10000E+07
     8 'norm      '    .88263E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .12901       1.0000          .0000       .10000E+07
    10 'norm      '    3.3811       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.9891       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13973       1.0000          .0000       .10000E+07
    13 'Prefactor '    .38398E-03   1.0000          .0000       .10000E+07
    14 'norm      '    27.020       1.0000          .0000       .10000E+07
    15 'Prefactor '    7.4982       1.0000          .0000       .10000E+07
    16 'Prefactor '    16.609       1.0000          .0000       .10000E+07
    17 'norm      '    .88115E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    88.162       1.0000          .0000       .10000E+07
    19 'norm      '    .38181E-06   1.0000          .0000       .10000E+07
    20 'norm      '    4.6602       1.0000          .0000       .10000E+07
    21 'Prefactor '    2.4192       1.0000          .0000       .10000E+07
    22 'Prefactor '    .43810E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .14651E-01   1.0000          .0000       .10000E+07
    24 'norm      '    2.7046       1.0000          .0000       .10000E+07
    25 'norm      '    6.6272       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.4806       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .70305       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=   4984.766     FROM MIGRAD    STATUS=CONVERGED    222 CALLS     2548 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.042        17.657       -.16936E-06   -.28907E-03
   2  norm          .29612E-01    48.016        .11613E-04** at limit **
   3  Prefactor     46.456        11.741        .51830E-06   -.59956E-01
   4  Prefactor     .11102E-09    5.5366       -.34350E-06** at limit **
   5  norm          .40983        1.3174       -.31102E-07    .14420E-03
   6  Prefactor     50.552        33.825        .81568E-06   -.78620E-01
   7  Prefactor     88.578        149.51        .16551E-05    .27908E-01
   8  norm           .0000        1.2495       -.26318E-07** at limit **
   9  Prefactor     .16653E-09    32.717        .14888E-05** at limit **
  10  norm          3.3822        .67331        .18024E-07   -.18906E-02
  11  Prefactor     10.003        21.381       -.19441E-05   -.79550E-02
  12  Prefactor      .0000        36.295        .79657E-06** at limit **
  13  Prefactor     .88818E-09    190.46       -.28898E-05** at limit **
  14  norm          27.116        3.2235        .15904E-06   -.13025E-01
  15  Prefactor     7.5519        10.663       -.22329E-06    .12356E-02
  16  Prefactor     16.620        20.581        .40206E-06   -.10856E-02
  17  norm          .11102E-09    7.9021       -.45929E-06** at limit **
  18  Prefactor     88.912        55.105        .19463E-06    .18709E-01
  19  norm           .0000        .79119       -.75052E-07** at limit **
  20  norm          4.6852        12.973        .41504E-06   -.36394E-03
  21  Prefactor     2.4178        2.8429       -.44437E-07    .18533E-03
  22  Prefactor     .61179E-06    448.97        .30678E-05** at limit **
  23  Prefactor     .33307E-09    13.198       -.16427E-06** at limit **
  24  norm          2.7033        2.0740        .42276E-07   -.40842E-03
  25  norm          6.7306        6.9233        .42156E-07   -.14169E-03
  26  Normalizat    1.4805        .26305        .20257E-04   -.59218E-05
  27  Prefactor     .70262        .30507       -.40570E-04    .24635E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0415
  norm       = 0.0296119
  Prefactor  = 46.4564
  Prefactor  = 1.11022e-10
  norm       = 0.409831
  Prefactor  = 50.5516
  Prefactor  = 88.5776
  norm       = 0
  Prefactor  = 1.66533e-10
  norm       = 3.38217
  Prefactor  = 10.003
  Prefactor  = 0
  Prefactor  = 8.88178e-10
  norm       = 27.1157
  Prefactor  = 7.55187
  Prefactor  = 16.6202
  norm       = 1.11022e-10
  Prefactor  = 88.9118
  norm       = 0
  norm       = 4.68516
  Prefactor  = 2.41784
  Prefactor  = 6.11788e-07
  Prefactor  = 3.33067e-10
  norm       = 2.70328
  norm       = 6.73056
  Normalizat = 1.48051
  Prefactor  = 0.702619
 **********
 **   18 **HESSE 
 **********

 FCN=   4984.766     FROM HESSE     STATUS=OK           558 CALLS     3106 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.042        17.709        .27649E-03   -1.5636    
   2  norm          .29612E-01    2.5686        .42118E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     46.456        58.100        .14722E-03   -1.5572    
   4  Prefactor     .11102E-09    5.5290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .40983        1.3301        .32861E-02   -1.5695    
   6  Prefactor     50.552        99.480        .14003E-03   -1.5566    
   7  Prefactor     88.578        158.47        .10537E-03   -1.5520    
   8  norm           .0000        1.2471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-09    32.697        .13207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.3822        .67345        .55003E-03   -1.5671    
  11  Prefactor     10.003        21.416        .31680E-03   -1.5645    
  12  Prefactor      .0000        35.362        .12965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .88818E-09    191.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          27.116        51.230        .19242E-03   -1.5604    
  15  Prefactor     7.5519        10.642        .36601E-03   -1.5653    
  16  Prefactor     16.620        20.627        .24549E-03   -1.5626    
  17  norm          .11102E-09    7.8077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     88.912        55.588        .10651E-03   -1.5519    
  19  norm           .0000        .78531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.6852        13.798        .46595E-03   -1.5665    
  21  Prefactor     2.4178        2.8578        .65781E-03   -1.5677    
  22  Prefactor     .61179E-06    40.952        .22965E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .33307E-09    13.193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.7033        2.0789        .61913E-03   -1.5675    
  25  norm          6.7306        6.9265        .38957E-03   -1.5656    
  26  Normalizat    1.4805        .22411        .52423E-01   -.78328    
  27  Prefactor     .70262        .26526        .88448E-01   -1.0342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70484e-06
Minuit parameter uncertainties:
  1  17.7089
  2  0.551582
  3  58.1007
  4  4.46941e-05
  5  1.33011
  6  99.4834
  7  158.477
  8  1.80204e-06
  9  0.000144073
  10  0.67345
  11  21.4161
  12  5.64501e-05
  13  0.000824332
  14  51.231
  15  10.6421
  16  20.6272
  17  6.13413e-05
  18  55.5884
  19  1.19608e-06
  20  13.7981
  21  2.85776
  22  0.010011
  23  0.00013697
  24  2.07888
  25  6.9265
  26  0.224263
  27  0.265738
Done.

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

Extracting fit parameters...

4FGL J1111.8+4858
   Spectrum: PowerLaw
372    Prefactor:  8.882e-10  8.243e-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:  7.026e-01  2.657e-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:  1.481e+00  2.243e-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: 7.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/555663/likelihoodResults_695260801_695520001_4FGL_J1111.8+4858_daily_bin1759.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) = 4984.76835701
delta logL = -0.00250611337469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4981.40674043
delta logL = 3.35911046303

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17340       1.0000          .0000       .10000E+07
     2 'Index     '    4.2806       1.0000          .0000       10.000    
     3 'Normalizat'    1.2303       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88330       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.

 FCN=   4981.407     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      251 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17186        1.1026        .28310E-03** at limit **
   2  Index         4.2831        1.2625        .36345E-01   -.13313E-02
   3  Normalizat    1.2302        .78552E-01    .56526E-01   -.36945E-03
   4  Prefactor     .88322        .93987E-01    .79738E-01   -.13103E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.17186
  Index      = 4.28308
  Normalizat = 1.23022
  Prefactor  = 0.883219
 **********
 **   18 **HESSE 
 **********

 FCN=   4981.407     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17186        1.6568        .12621E-05   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.2831        1.6372        .15481E-02   -.14388    
   3  Normalizat    1.2302        .23732        .24996E-03   -.85674    
   4  Prefactor     .88322        .28113        .35296E-03   -.96730    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.78802e-09
Minuit parameter uncertainties:
  1  1.0672
  2  1.66866
  3  0.23753
  4  0.28159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555663': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4981.40673588
delta logL = 3.35911501428

Extracting fit parameters...

4FGL J1111.8+4858
   Spectrum: PowerLaw
372    Prefactor:  1.719e-01  1.067e+00  0.000e+00  1.000e+06 ( 1.000e-15)
373        Index:  4.283e+00  1.669e+00  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:  8.832e-01  2.816e-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:  1.230e+00  2.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.35
Ra Dec: 167.969 48.980
Photon Index (Free Index): 4.28 +/- 1.67
Photon Flux (Free Index): 1.95e-07 +/- 9.13e-08
Energy Flux (Free Index): 2.80e-05 +/- 1.34e-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/555663/cmap_HighResolution_695260801_695520001_4FGL_J1111.8+4858_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', comment='SUCCESS', energy_flux2='2.80e-05', dlogl='3.36e+00', photon_flux2='1.95e-07', job_status='DONE', time_completed='2023-01-16 01:15:17.089272', photon_index_error2='1.67', photon_index2='4.28', ts='-0.00', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='7.26e-08', energy_flux_error2='1.34e-05', EG='1.48', time_epoch_completed='1673860517.09', return_code='0', job_id='555663', GAL2='0.88', EG2='1.23', return_code2='102', photon_flux_error2='9.13e-08', ts2='7.35', photon_index='1.82' WHERE bin_id='1759' AND source_name='4FGL J1111.8+4858' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:15:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 555663: <4FGL_J1111.8+4858_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1111.8+4858_daily_bin1759> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Jan 16 01:00:23 2023
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:02:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:02:23 2023
Terminated at Mon Jan 16 01:15:17 2023
Results reported at Mon Jan 16 01:15:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1111.8+4858_daily_bin1759 167.969 48.9798 695260801 695520001 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 :                                   695.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            894 sec.

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

