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


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1679
RA = 17.8966, Dec = -25.7778
tmin = 674524801, tmax = 674784001
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='424701', job_status='RUN', time_executed='2022-05-21 00:09:47.285241', time_epoch_executed='1653116987.29' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='1679'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424701

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424701/ft1_4FGL_J0111.5-2546_daily_bin1679.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424701/ft2_4FGL_J0111.5-2546_daily_bin1679.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424701/ft1_4FGL_J0111.5-2546_daily_bin1679.fits outfile=/scratch/kocevski/424701/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1679.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=674524801.0 tmax=674784001.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.67
user 3.41
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/424701/ft2_4FGL_J0111.5-2546_daily_bin1679.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/424701/ft2_4FGL_J0111.5-2546_daily_bin1679.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/424701/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1679.fits evtable="EVENTS" outfile="/scratch/kocevski/424701/ft1_filtered_4FGL_J0111.5-2546_daily_bin1679.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 512

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/424701/ft1_filtered_4FGL_J0111.5-2546_daily_bin1679.fits" evtable="EVENTS" scfile=/scratch/kocevski/424701/ft2_4FGL_J0111.5-2546_daily_bin1679.fits sctable="SC_DATA" outfile=/scratch/kocevski/424701/ltcube_674524801_674784001_4FGL_J0111.5-2546_daily_bin1679.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/424701/ft2_4FGL_J0111.5-2546_daily_bin1679.fits
.....................!
real 14.86
user 14.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424701/ft1_filtered_4FGL_J0111.5-2546_daily_bin1679.fits evtable="EVENTS" scfile=/scratch/kocevski/424701/ft2_4FGL_J0111.5-2546_daily_bin1679.fits sctable="SC_DATA" expcube=/scratch/kocevski/424701/ltcube_674524801_674784001_4FGL_J0111.5-2546_daily_bin1679.fits outfile=/scratch/kocevski/424701/expmap_674524801_674784001_4FGL_J0111.5-2546_daily_bin1679.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/424701/ltcube_674524801_674784001_4FGL_J0111.5-2546_daily_bin1679.fits
.....................!
real 191.49
user 186.10
sys 4.95

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

Setting source of interest to:
4FGL J0111.5-2546 @ 17.8966 -25.7778

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/424701/ft1_filtered_4FGL_J0111.5-2546_daily_bin1679.fits scfile=/scratch/kocevski/424701/ft2_4FGL_J0111.5-2546_daily_bin1679.fits outfile=/scratch/kocevski/424701/cmap_674524801_674784001_4FGL_J0111.5-2546_daily_bin1679.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=17.8966 yref=-25.7778 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424701/ft1_filtered_4FGL_J0111.5-2546_daily_bin1679.fits scfile=/scratch/kocevski/424701/ft2_4FGL_J0111.5-2546_daily_bin1679.fits outfile=/scratch/kocevski/424701/cmap_HighResolution_674524801_674784001_4FGL_J0111.5-2546_daily_bin1679.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=17.8966 yref=-25.7778 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/424701/ft1_filtered_4FGL_J0111.5-2546_daily_bin1679.fits evtable="EVENTS" scfile=/scratch/kocevski/424701/ft2_4FGL_J0111.5-2546_daily_bin1679.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/424701/Model_4FGL_J0111.5-2546_daily_bin1679.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/424701/ft1_filtered_4FGL_J0111.5-2546_daily_bin1679.fits.....................!
real 47.92
user 46.10
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/424701/ft1_filtered_4FGL_J0111.5-2546_daily_bin1679.fits', '/scratch/kocevski/424701/ft2_4FGL_J0111.5-2546_daily_bin1679.fits', expMap='/scratch/kocevski/424701/expmap_674524801_674784001_4FGL_J0111.5-2546_daily_bin1679.fits', expCube='/scratch/kocevski/424701/ltcube_674524801_674784001_4FGL_J0111.5-2546_daily_bin1679.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/424701/Model_4FGL_J0111.5-2546_daily_bin1679.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0111.5-2546'

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.126e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.400e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
229        Scale:  1.172e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/424701/ft1_filtered_4FGL_J0111.5-2546_daily_bin1679.fits
Spacecraft file(s): /scratch/kocevski/424701/ft2_4FGL_J0111.5-2546_daily_bin1679.fits
Exposure map: /scratch/kocevski/424701/expmap_674524801_674784001_4FGL_J0111.5-2546_daily_bin1679.fits
Exposure cube: /scratch/kocevski/424701/ltcube_674524801_674784001_4FGL_J0111.5-2546_daily_bin1679.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/424701/Model_4FGL_J0111.5-2546_daily_bin1679.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) = 5611.46803083

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6514       1.0000         .10000E-03   10000.    
     2 'norm      '    30.794       1.0000         .10000E-03   10000.    
     3 'norm      '    49.340       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .56968       1.0000         .10000E-03   10000.    
     6 'norm      '    2.6533       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4892       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.9756       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.2433       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.733       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10178E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.785       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.2450       1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1551       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .50998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5611.442     FROM MIGRAD    STATUS=CONVERGED    407 CALLS     1750 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6514        9.9672        .12378E-06    .23883E-04
   2  norm          30.794        17.194        .24886E-07    .18201E-04
   3  norm          49.340        10.415        .38913E-07    .12668E-03
   4  Prefactor     .10000E-03    45.925       -.89666E-06** at limit **
   5  norm          .56977        15.385        .47219E-05   -.23597E-04
   6  norm          2.6533        2.2529       -.51743E-07   -.62538E-04
   7  Prefactor     3.4887        3.9110        .59088E-06    .81088E-04
   8  Prefactor     5.9819        10.053       -.15174E-05   -.22701E-03
   9  Prefactor     6.2433        3.4173        .15804E-06    .27312E-03
  10  Prefactor     14.732        8.2149       -.69454E-07   -.95744E-05
  11  norm          .10000E-03    .55578       -.25544E-07** at limit **
  12  norm          .10000E-03    1.4878       -.69986E-06** at limit **
  13  Prefactor     11.793        11.234       -.98063E-06   -.21887E-03
  14  Prefactor     .10000E-03    .81575       -.22077E-07** at limit **
  15  norm          3.2450        1.2977       -.88471E-08    .18815E-04
  16  norm          .10000E-03    .54161       -.50080E-07** at limit **
  17  norm          .10000E-03    1.3345        .12408E-07** at limit **
  18  Prefactor     .10000E-03    10.762       -.29684E-07** at limit **
  19  Normalizat    1.1551        .15878        .53687E-06    .10611E-03
  20  Prefactor     .50999        .17998       -.40878E-06    .80823E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.65135
  norm       = 30.7941
  norm       = 49.34
  Prefactor  = 0.0001
  norm       = 0.569767
  norm       = 2.65331
  Prefactor  = 3.48868
  Prefactor  = 5.9819
  Prefactor  = 6.24326
  Prefactor  = 14.7322
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 11.7934
  Prefactor  = 0.0001
  norm       = 3.24501
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15506
  Prefactor  = 0.509993
 **********
 **   18 **HESSE 
 **********

 FCN=   5611.442     FROM HESSE     STATUS=OK           297 CALLS     2047 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6514        9.9601        .15559E-03   -1.5192    
   2  norm          30.794        17.193        .72202E-04   -1.4598    
   3  norm          49.340        10.426        .57090E-04   -1.4302    
   4  Prefactor     .10000E-03    46.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .56977        16.858        .46208E-02   -1.5557    
   6  norm          2.6533        2.2510        .10058E-03   -1.5382    
   7  Prefactor     3.4887        3.9329        .75901E-03   -1.5334    
   8  Prefactor     5.9819        10.310        .16426E-03   -1.5219    
   9  Prefactor     6.2433        3.4225        .98658E-04   -1.5208    
  10  Prefactor     14.732        8.2070        .10435E-03   -1.4940    
  11  norm          .10000E-03    .55714        .54450E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.0973        .16256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.793        11.413        .11669E-03   -1.5021    
  14  Prefactor     .10000E-03    .81763        .66062E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.2450        1.2974        .52186E-04   -1.5348    
  16  norm          .10000E-03    .54697        .53798E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.3641        .84418E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1551        .17918        .19777E-03   -.88003    
  20  Prefactor     .50999        .20130        .32692E-03   -1.1152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.22917e-08
Minuit parameter uncertainties:
  1  9.96262
  2  17.1956
  3  10.4265
  4  0.000205796
  5  6.19989
  6  2.25106
  7  3.93319
  8  10.313
  9  3.42261
  10  8.20766
  11  5.70461e-08
  12  0.000102053
  13  11.4151
  14  4.93774e-07
  15  1.29739
  16  2.45591e-07
  17  5.8397e-07
  18  3.86424e-06
  19  0.179279
  20  0.201581
Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  5.982e+00  1.031e+01  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.400e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
229        Scale:  1.172e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  5.100e-01  2.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.155e+00  1.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.46
Ra Dec: 17.897 -25.778
Photon Flux Upper Limit: 8.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/424701/likelihoodResults_674524801_674784001_4FGL_J0111.5-2546_daily_bin1679.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5611.3999015
delta logL = 0.042336338498

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5611.39635254
delta logL = 0.0458852986394

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9628       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1130       1.0000          .0000       10.000    
     3 'Normalizat'    1.1588       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50677       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5611.396     FROM MIGRAD    STATUS=FAILED        79 CALLS      265 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9668        13.610        .14209E-03   -.18780E-02
   2  Index         2.1113        .92003        .10688E-01   -.58101E-03
   3  Normalizat    1.1590        .17560        .19747E-03    .11413E-02
   4  Prefactor     .50657        .19972        .32791E-03    .81591E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5611.396     FROM SIMPLEX   STATUS=UNCHANGED     72 CALLS      337 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9668        13.610        .22591E-03   -1.5143    
   2  Index         2.1113        .92003        .10002E-02   -.61597    
   3  Normalizat    1.1590        .17560        .22009E-03   -.87878    
   4  Prefactor     .50657        .19972        .38645E-03   -1.1168    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5611.396     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      367 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9675        13.372        .28418E-04   -.14258E-03
   2  Index         2.1114        .90420        .42750E-03   -.14706E-04
   3  Normalizat    1.1590        .17566        .39495E-04   -.21646E-04
   4  Prefactor     .50656        .19980        .65582E-04   -.91876E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.9675
  Index      = 2.11136
  Normalizat = 1.15903
  Prefactor  = 0.506563
 **********
 **   18 **HESSE 
 **********

 FCN=   5611.396     FROM HESSE     STATUS=OK            23 CALLS      390 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9675        13.363        .56836E-05   -1.5143    
   2  Index         2.1114        .90368        .17100E-04   -.61594    
   3  Normalizat    1.1590        .17581        .78990E-05   -.87878    
   4  Prefactor     .50656        .19998        .26233E-05   -1.1168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38685e-11
Minuit parameter uncertainties:
  1  13.3676
  2  0.911231
  3  0.175896
  4  0.200259
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424701': 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) = 5611.39635024
delta logL = 0.0458875910908

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  7.967e+00  1.337e+01  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.111e+00  9.112e-01  0.000e+00  1.000e+01 (-1.000e+00)
229        Scale:  1.172e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  5.066e-01  2.003e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.159e+00  1.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.46
Ra Dec: 17.897 -25.778

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/424701/cmap_HighResolution_674524801_674784001_4FGL_J0111.5-2546_daily_bin1679.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.48e-03', job_status='DONE', photon_flux_upper_limit='8.38e-08', time_completed='2022-05-21 00:19:06.592777', job_id='424701', GAL2='0.51', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1653117546.59', return_code2='0', ts='0.46', comment='SUCCESS', return_code='0', GAL='0.51', dlogl='4.59e-02', ts2='0.55', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1679' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 21 00:19:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 424701: <4FGL_J0111.5-2546_daily_bin1679> in cluster <slac> Done

Job <4FGL_J0111.5-2546_daily_bin1679> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat May 21 00:05:05 2022
Job was executed on host(s) <bullet0192>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat May 21 00:07:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat May 21 00:07:20 2022
Terminated at Sat May 21 00:19:07 2022
Results reported at Sat May 21 00:19:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1679 17.8966 -25.7778 674524801 674784001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0111.5-2546 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   560.55 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             250.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   706 sec.
    Turnaround time :                            842 sec.

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

