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


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1742
RA = 17.8966, Dec = -25.7778
tmin = 690854401, tmax = 691113601
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='217278', job_status='RUN', time_executed='2022-11-26 00:10:08.509201', time_epoch_executed='1669450208.51' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='1742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217278

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217278/ft1_4FGL_J0111.5-2546_daily_bin1742.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217278/ft2_4FGL_J0111.5-2546_daily_bin1742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217278/ft1_4FGL_J0111.5-2546_daily_bin1742.fits outfile=/scratch/kocevski/217278/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1742.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=690854401.0 tmax=691113601.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.91
user 2.65
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217278/ft2_4FGL_J0111.5-2546_daily_bin1742.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/217278/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1742.fits evtable="EVENTS" outfile="/scratch/kocevski/217278/ft1_filtered_4FGL_J0111.5-2546_daily_bin1742.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.33
sys 0.17

Number of photons that the gtmktime cut: 485

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217278/ft1_filtered_4FGL_J0111.5-2546_daily_bin1742.fits" evtable="EVENTS" scfile=/scratch/kocevski/217278/ft2_4FGL_J0111.5-2546_daily_bin1742.fits sctable="SC_DATA" outfile=/scratch/kocevski/217278/ltcube_690854401_691113601_4FGL_J0111.5-2546_daily_bin1742.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/217278/ft2_4FGL_J0111.5-2546_daily_bin1742.fits
.....................!
real 15.67
user 15.25
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217278/ft1_filtered_4FGL_J0111.5-2546_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217278/ft2_4FGL_J0111.5-2546_daily_bin1742.fits sctable="SC_DATA" expcube=/scratch/kocevski/217278/ltcube_690854401_691113601_4FGL_J0111.5-2546_daily_bin1742.fits outfile=/scratch/kocevski/217278/expmap_690854401_691113601_4FGL_J0111.5-2546_daily_bin1742.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/217278/ltcube_690854401_691113601_4FGL_J0111.5-2546_daily_bin1742.fits
.....................!
real 192.05
user 186.19
sys 5.47

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/217278/ft1_filtered_4FGL_J0111.5-2546_daily_bin1742.fits scfile=/scratch/kocevski/217278/ft2_4FGL_J0111.5-2546_daily_bin1742.fits outfile=/scratch/kocevski/217278/cmap_690854401_691113601_4FGL_J0111.5-2546_daily_bin1742.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.57
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217278/ft1_filtered_4FGL_J0111.5-2546_daily_bin1742.fits scfile=/scratch/kocevski/217278/ft2_4FGL_J0111.5-2546_daily_bin1742.fits outfile=/scratch/kocevski/217278/cmap_HighResolution_690854401_691113601_4FGL_J0111.5-2546_daily_bin1742.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217278/ft1_filtered_4FGL_J0111.5-2546_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217278/ft2_4FGL_J0111.5-2546_daily_bin1742.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217278/Model_4FGL_J0111.5-2546_daily_bin1742.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/217278/ft1_filtered_4FGL_J0111.5-2546_daily_bin1742.fits.....................!
real 46.82
user 44.56
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217278/ft1_filtered_4FGL_J0111.5-2546_daily_bin1742.fits', '/scratch/kocevski/217278/ft2_4FGL_J0111.5-2546_daily_bin1742.fits', expMap='/scratch/kocevski/217278/expmap_690854401_691113601_4FGL_J0111.5-2546_daily_bin1742.fits', expCube='/scratch/kocevski/217278/ltcube_690854401_691113601_4FGL_J0111.5-2546_daily_bin1742.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217278/Model_4FGL_J0111.5-2546_daily_bin1742.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  0.000e+00  1.000e+06 ( 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/217278/ft1_filtered_4FGL_J0111.5-2546_daily_bin1742.fits
Spacecraft file(s): /scratch/kocevski/217278/ft2_4FGL_J0111.5-2546_daily_bin1742.fits
Exposure map: /scratch/kocevski/217278/expmap_690854401_691113601_4FGL_J0111.5-2546_daily_bin1742.fits
Exposure cube: /scratch/kocevski/217278/ltcube_690854401_691113601_4FGL_J0111.5-2546_daily_bin1742.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217278/Model_4FGL_J0111.5-2546_daily_bin1742.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) = 5544.46049434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7455       1.0000          .0000       .10000E+07
     2 'norm      '    .27753E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .12254E-05   1.0000          .0000       .10000E+07
     4 'norm      '    4.8891       1.0000          .0000       .10000E+07
     5 'norm      '    .19595E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .92832E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    20.575       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34329       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9312       1.0000          .0000       .10000E+07
    10 'norm      '    1.5213       1.0000          .0000       .10000E+07
    11 'norm      '    5.7004       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24882E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.4914       1.0000          .0000       .10000E+07
    14 'norm      '    .73696       1.0000          .0000       .10000E+07
    15 'norm      '    .64886       1.0000          .0000       .10000E+07
    16 'norm      '    .33135E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.6599       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0161       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0076       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5544.420     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1128 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7472        2.6068       -.72665E-06   -.72835E-01
   2  norm          .55511E-10    5.6575       -.73298E-06** at limit **
   3  norm          .55511E-10    2.5759       -.55321E-06** at limit **
   4  norm          4.8844        6.6733       -.37806E-06   -.21868E-02
   5  norm           .0000        .67031       -.29838E-06** at limit **
   6  Prefactor     .25738E-05    155.93        .21116E-04** at limit **
   7  Prefactor     20.889        3.2905       -.44066E-06   -.88254E-01
   8  Prefactor     .33717        5.9725       -.30861E-06   -.15819E-02
   9  Prefactor     3.9364        8.8260        .10528E-05   -.44812E-02
  10  norm          1.5208        1.6471       -.22534E-07    .12032E-02
  11  norm          5.6892        2.7001        .27169E-06    .85634E-02
  12  Prefactor     .42744E-08    11.965        .13927E-06** at limit **
  13  Prefactor     1.5021        3.5687       -.10831E-06   -.81563E-03
  14  norm          .73678        .77439       -.86074E-07   -.24129E-02
  15  norm          .65166        1.3831        .11366E-06   -.23111E-04
  16  norm          .55511E-10    1.4859       -.46235E-06** at limit **
  17  Prefactor     1.2682        359.62        .45140E-05    .15609E-02
  18  Normalizat    1.0163        .19672        .10127E-04    .37831E-03
  19  Prefactor     1.0074        .22810       -.10688E-04    .18827E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.74717
  norm       = 5.55112e-11
  norm       = 5.55112e-11
  norm       = 4.88437
  norm       = 0
  Prefactor  = 2.57377e-06
  Prefactor  = 20.8893
  Prefactor  = 0.337174
  Prefactor  = 3.93643
  norm       = 1.52076
  norm       = 5.68925
  Prefactor  = 4.27436e-09
  Prefactor  = 1.50207
  norm       = 0.73678
  norm       = 0.651664
  norm       = 5.55112e-11
  Prefactor  = 1.26824
  Normalizat = 1.01627
  Prefactor  = 1.00743
 **********
 **   18 **HESSE 
 **********

 FCN=   5544.420     FROM HESSE     STATUS=OK           322 CALLS     1450 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7472        11.650        .52146E-03   -1.5669    
   2  norm          .55511E-10    5.6657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.5817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8844        6.6853        .45467E-03   -1.5664    
   5  norm           .0000        .67072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .25738E-05    3.8990        .99803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.889        16.046        .22053E-03   -1.5617    
   8  Prefactor     .33717        1.7526        .51945E-02   -1.5696    
   9  Prefactor     3.9364        8.9827        .50855E-03   -1.5668    
  10  norm          1.5208        1.6558        .86584E-03   -1.5683    
  11  norm          5.6892        2.7314        .42047E-03   -1.5660    
  12  Prefactor     .42744E-08    12.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.5021        3.6227        .87740E-03   -1.5683    
  14  norm          .73678        .77207        .57757E-03   -1.5691    
  15  norm          .65166        1.4032        .64961E-03   -1.5692    
  16  norm          .55511E-10    1.4853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.2682        383.29        .81858E-03   -1.5685    
  18  Normalizat    1.0163        .17093        .43998E-01   -.92487    
  19  Prefactor     1.0074        .19414        .43704E-01   -.92482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90554e-07
Minuit parameter uncertainties:
  1  11.6501
  2  3.08168e-05
  3  2.4081e-05
  4  6.68534
  5  3.7382e-06
  6  0.00633567
  7  16.0458
  8  1.53746
  9  8.98273
  10  1.65577
  11  2.73139
  12  0.000453332
  13  3.62267
  14  0.772071
  15  1.4032
  16  1.32656e-05
  17  44.0981
  18  0.17102
  19  0.194275
Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  2.089e+01  1.605e+01  0.000e+00  1.000e+06 ( 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:  1.007e+00  1.943e-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.016e+00  1.710e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.15
Ra Dec: 17.897 -25.778
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 5.48e-08 +/- 4.21e-08
Energy Flux (Fixed Index): 1.80e-05 +/- 1.38e-05

TS (Fixed Index): 3.15
Ra Dec: 17.897 -25.778
Photon Flux Upper Limit: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217278/likelihoodResults_690854401_691113601_4FGL_J0111.5-2546_daily_bin1742.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) = 5543.22395822
delta logL = 1.19634058477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5543.2028985
delta logL = 1.21740030516

Fit tolerance = 1e-08

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

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

 FCN=   5543.203     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      259 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3665        26.620        .55103E-03    .40414E-02
   2  Index         3.7374        2.4101        .79409E-01    .19927E-03
   3  Normalizat    .92513        .64230E-01    .45222E-01   -.24393E-04
   4  Prefactor     1.0833        .72295E-01    .56713E-01   -.31514E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.3665
  Index      = 3.73738
  Normalizat = 0.925132
  Prefactor  = 1.08331
 **********
 **   18 **HESSE 
 **********

 FCN=   5543.203     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      292 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3665        39.195        .63831E-05   -1.5671    
   2  Index         3.7374        3.1099        .32200E-02   -.25529    
   3  Normalizat    .92513        .20272        .23055E-03   -.95583    
   4  Prefactor     1.0833        .23558        .25078E-03   -.90002    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.97725e-10
Minuit parameter uncertainties:
  1  22.9742
  2  3.37772
  3  0.202891
  4  0.235804
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217278': 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) = 5543.20289637
delta logL = 1.21740243899

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  3.367e+00  2.297e+01  0.000e+00  1.000e+06 ( 1.000e-13)
228        Index:  3.737e+00  3.378e+00  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:  1.083e+00  2.358e-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:  9.251e-01  2.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.89
Ra Dec: 17.897 -25.778
Photon Index (Free Index): 3.74 +/- 3.38
Photon Flux (Free Index): 1.22e-07 +/- 6.87e-08
Energy Flux (Free Index): 1.91e-05 +/- 1.27e-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/217278/cmap_HighResolution_690854401_691113601_4FGL_J0111.5-2546_daily_bin1742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', comment='SUCCESS', photon_flux='5.48e-08', energy_flux2='1.91e-05', photon_flux_error='4.21e-08', dlogl='1.22e+00', energy_flux='1.80e-05', photon_flux2='1.22e-07', job_status='DONE', time_completed='2022-11-26 00:18:19.618683', photon_index_error2='3.38', photon_index2='3.74', ts='3.15', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.27e-05', EG='1.02', time_epoch_completed='1669450699.62', return_code='0', job_id='217278', GAL2='1.08', EG2='0.93', return_code2='102', energy_flux_error='1.38e-05', photon_flux_error2='6.87e-08', ts2='5.89', photon_index='2.40' WHERE bin_id='1742' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov 26 00:18:19 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 217278: <4FGL_J0111.5-2546_daily_bin1742> in cluster <slac> Done

Job <4FGL_J0111.5-2546_daily_bin1742> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Nov 26 00:04:45 2022
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov 26 00:09:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov 26 00:09:42 2022
Terminated at Sat Nov 26 00:18:20 2022
Results reported at Sat Nov 26 00:18:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1742 17.8966 -25.7778 690854401 691113601 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 :                                   492.36 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             379.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   517 sec.
    Turnaround time :                            815 sec.

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

