/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 100 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 = 7329
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1031
RA = 17.8966, Dec = -25.7778
tmin = 506563201, tmax = 506822401
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='382078', job_status='RUN', time_executed='2021-08-13 14:24:53.284073', time_epoch_executed='1628889893.28' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='1031'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382078

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382078/ft1_4FGL_J0111.5-2546_daily_bin1031.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382078/ft2_4FGL_J0111.5-2546_daily_bin1031.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382078/ft1_4FGL_J0111.5-2546_daily_bin1031.fits outfile=/scratch/kocevski/382078/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1031.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=506563201.0 tmax=506822401.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 7.44
user 3.16
sys 4.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382078/ft1_filtered_4FGL_J0111.5-2546_daily_bin1031.fits" evtable="EVENTS" scfile=/scratch/kocevski/382078/ft2_4FGL_J0111.5-2546_daily_bin1031.fits sctable="SC_DATA" outfile=/scratch/kocevski/382078/ltcube_506563201_506822401_4FGL_J0111.5-2546_daily_bin1031.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/382078/ft2_4FGL_J0111.5-2546_daily_bin1031.fits
.....................!
real 18.76
user 13.85
sys 4.85

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382078/ft1_filtered_4FGL_J0111.5-2546_daily_bin1031.fits evtable="EVENTS" scfile=/scratch/kocevski/382078/ft2_4FGL_J0111.5-2546_daily_bin1031.fits sctable="SC_DATA" expcube=/scratch/kocevski/382078/ltcube_506563201_506822401_4FGL_J0111.5-2546_daily_bin1031.fits outfile=/scratch/kocevski/382078/expmap_506563201_506822401_4FGL_J0111.5-2546_daily_bin1031.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/382078/ltcube_506563201_506822401_4FGL_J0111.5-2546_daily_bin1031.fits
.....................!
real 196.56
user 185.84
sys 10.21

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/382078/ft1_filtered_4FGL_J0111.5-2546_daily_bin1031.fits scfile=/scratch/kocevski/382078/ft2_4FGL_J0111.5-2546_daily_bin1031.fits outfile=/scratch/kocevski/382078/cmap_506563201_506822401_4FGL_J0111.5-2546_daily_bin1031.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 4.52
user 0.38
sys 4.10

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382078/ft1_filtered_4FGL_J0111.5-2546_daily_bin1031.fits scfile=/scratch/kocevski/382078/ft2_4FGL_J0111.5-2546_daily_bin1031.fits outfile=/scratch/kocevski/382078/cmap_HighResolution_506563201_506822401_4FGL_J0111.5-2546_daily_bin1031.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 4.50
user 0.41
sys 4.07

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/382078/ft1_filtered_4FGL_J0111.5-2546_daily_bin1031.fits evtable="EVENTS" scfile=/scratch/kocevski/382078/ft2_4FGL_J0111.5-2546_daily_bin1031.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/382078/Model_4FGL_J0111.5-2546_daily_bin1031.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/382078/ft1_filtered_4FGL_J0111.5-2546_daily_bin1031.fits.....................!
real 59.59
user 52.96
sys 6.48

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/382078/ft1_filtered_4FGL_J0111.5-2546_daily_bin1031.fits', '/scratch/kocevski/382078/ft2_4FGL_J0111.5-2546_daily_bin1031.fits', expMap='/scratch/kocevski/382078/expmap_506563201_506822401_4FGL_J0111.5-2546_daily_bin1031.fits', expCube='/scratch/kocevski/382078/ltcube_506563201_506822401_4FGL_J0111.5-2546_daily_bin1031.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/382078/Model_4FGL_J0111.5-2546_daily_bin1031.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/382078/ft1_filtered_4FGL_J0111.5-2546_daily_bin1031.fits
Spacecraft file(s): /scratch/kocevski/382078/ft2_4FGL_J0111.5-2546_daily_bin1031.fits
Exposure map: /scratch/kocevski/382078/expmap_506563201_506822401_4FGL_J0111.5-2546_daily_bin1031.fits
Exposure cube: /scratch/kocevski/382078/ltcube_506563201_506822401_4FGL_J0111.5-2546_daily_bin1031.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/382078/Model_4FGL_J0111.5-2546_daily_bin1031.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) = 6925.39312717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    12.455       1.0000         .10000E-03   10000.    
     3 'norm      '    14.090       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.4373       1.0000         .10000E-03   10000.    
     6 'norm      '    .11076       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.0822       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.2927       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.9238       1.0000         .10000E-03   10000.    
    11 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.1626       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1267       1.0000         .10000E-03   10000.    
    15 'norm      '    .71978E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    1.8585       1.0000         .10000E-03   10000.    
    17 'norm      '    .27315       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .75715       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0565       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=   6925.357     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     1804 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.7629        .90712E-02** at limit **
   2  norm          12.456        10.806        .28376E-02   -.10901E-03
   3  norm          14.091        5.7194        .26676E-02    .90493E-03
   4  Prefactor     .10000E-03    16.144        .90712E-02** at limit **
   5  norm          4.4375        7.3753        .47792E-02    .21976E-03
   6  norm          .11373        1.2939        .60321E-01    .43649E-03
   7  Prefactor     6.0815        5.0362        .40699E-02    .87351E-03
   8  Prefactor     .10000E-03    12.640        .90712E-02** at limit **
   9  Prefactor     8.2929        3.0418        .34804E-02   -.11147E-03
  10  Prefactor     8.9279        8.0279        .33543E-02    .11742E-03
  11  norm          .10000E-03    1.2082        .31239E-01** at limit **
  12  norm          3.1624        1.6143        .56977E-02   -.77627E-04
  13  Prefactor     .10000E-03    4.3006        .90712E-02** at limit **
  14  Prefactor     2.1296        4.1820        .70687E-02    .87076E-03
  15  norm          .74678E-01    .48034        .31141E-01    .11550E-02
  16  norm          1.8578        1.8150        .76425E-02    .77798E-03
  17  norm          .27563        1.3054        .50888E-01    .17959E-03
  18  Prefactor     .10000E-03    13.208        .90712E-02** at limit **
  19  Normalizat    .75711        .13996        .43048E-01    .13156E-04
  20  Prefactor     1.0565        .16142        .39544E-01    .51411E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 12.4561
  norm       = 14.0912
  Prefactor  = 0.0001
  norm       = 4.43748
  norm       = 0.113731
  Prefactor  = 6.0815
  Prefactor  = 0.0001
  Prefactor  = 8.29288
  Prefactor  = 8.92793
  norm       = 0.0001
  norm       = 3.16244
  Prefactor  = 0.0001
  Prefactor  = 2.1296
  norm       = 0.0746783
  norm       = 1.85782
  norm       = 0.275625
  Prefactor  = 0.000100001
  Normalizat = 0.757107
  Prefactor  = 1.05647
 **********
 **   18 **HESSE 
 **********

 FCN=   6925.357     FROM HESSE     STATUS=OK           307 CALLS     2111 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.9035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          12.456        10.808        .11350E-03   -1.5002    
   3  norm          14.091        5.7255        .10671E-03   -1.4957    
   4  Prefactor     .10000E-03    16.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.4375        7.3738        .19117E-03   -1.5287    
   6  norm          .11373        13.901        .18082E-02   -1.5641    
   7  Prefactor     6.0815        5.0289        .16157E-03   -1.5215    
   8  Prefactor     .10000E-03    12.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.2929        3.0428        .85011E-04   -1.5132    
  10  Prefactor     8.9279        7.5509        .13417E-03   -1.5110    
  11  norm          .10000E-03    1.7694        .16120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.1624        1.6148        .73449E-04   -1.5352    
  13  Prefactor     .10000E-03    4.3126        .16851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1296        4.0481        .20460E-03   -1.5416    
  15  norm          .74678E-01    2.2064        .10926E-02   -1.5653    
  16  norm          1.8578        1.7820        .10120E-03   -1.5435    
  17  norm          .27563        5.2335        .17275E-02   -1.5603    
  18  Prefactor     .10000E-03    13.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .75711        .16170        .22536E-03   -1.0168    
  20  Prefactor     1.0565        .18834        .23599E-03   -.90870    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.996e-08
Minuit parameter uncertainties:
  1  3.81413e-05
  2  10.8098
  3  5.72574
  4  7.40611e-05
  5  7.3753
  6  2.5142
  7  5.02924
  8  8.45202e-05
  9  3.04285
  10  7.5517
  11  1.60907e-06
  12  1.61486
  13  5.25765e-06
  14  4.04859
  15  0.811323
  16  1.78208
  17  2.40187
  18  0.000179211
  19  0.161801
  20  0.188461
Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.000e-04  8.452e-05  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:  1.056e+00  1.885e-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:  7.571e-01  1.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/382078/likelihoodResults_506563201_506822401_4FGL_J0111.5-2546_daily_bin1031.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) = 6925.35704107
delta logL = -0.000369791605408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6925.35667129
delta logL = -1.1518750398e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10319E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4296       1.0000          .0000       10.000    
     3 'Normalizat'    .75715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0564       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=   6925.357     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    281.27        .90712E-02** at limit **
   2  Index         2.4624        8.5704        .50000       -.22915E-04
   3  Normalizat    .75711        .15256E-01    .43048E-01   -.29540E-03
   4  Prefactor     1.0565        .18682E-01    .39547E-01   -.17831E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.46245
  Normalizat = 0.757106
  Prefactor  = 1.05647
 **********
 **   18 **HESSE 
 **********

 FCN=   6925.357     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.440        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4624        6.1947        .50000       -.53229    
   3  Normalizat    .75711        .15083        .22536E-03   -1.0168    
   4  Prefactor     1.0565        .18481        .23599E-03   -.90870    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.75961e-10
Minuit parameter uncertainties:
  1  9.1607e-05
  2  5.21135
  3  0.150916
  4  0.184924
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382078': 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) = 6925.35667097
delta logL = 3.17034391628e-07

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.000e-04  9.161e-05  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.462e+00  5.211e+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.056e+00  1.849e-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:  7.571e-01  1.509e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/382078/cmap_HighResolution_506563201_506822401_4FGL_J0111.5-2546_daily_bin1031.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.37e-03', job_status='DONE', photon_flux_upper_limit='5.65e-08', time_completed='2021-08-13 14:36:05.442544', job_id='382078', GAL2='1.06', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1628890565.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.17e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1031' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 14:36:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 382078: <4FGL_J0111.5-2546_daily_bin1031> in cluster <slac> Done

Job <4FGL_J0111.5-2546_daily_bin1031> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 14:20:29 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 14:22:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 14:22:00 2021
Terminated at Fri Aug 13 14:36:06 2021
Results reported at Fri Aug 13 14:36:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1031 17.8966 -25.7778 506563201 506822401 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 :                                   734.00 sec.
    Max Memory :                                 1147 MB
    Average Memory :                             300.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            937 sec.

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

