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


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1026
RA = 17.8966, Dec = -25.7778
tmin = 505267201, tmax = 505526401
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='382070', job_status='RUN', time_executed='2021-08-13 14:25:31.498039', time_epoch_executed='1628889931.5' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='1026'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382070

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382070/ft1_4FGL_J0111.5-2546_daily_bin1026.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382070/ft2_4FGL_J0111.5-2546_daily_bin1026.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382070/ft1_4FGL_J0111.5-2546_daily_bin1026.fits outfile=/scratch/kocevski/382070/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1026.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=505267201.0 tmax=505526401.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.81
user 3.41
sys 4.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/382070/ft2_4FGL_J0111.5-2546_daily_bin1026.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/382070/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1026.fits evtable="EVENTS" outfile="/scratch/kocevski/382070/ft1_filtered_4FGL_J0111.5-2546_daily_bin1026.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.36
user 0.36
sys 3.87

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382070/ft1_filtered_4FGL_J0111.5-2546_daily_bin1026.fits" evtable="EVENTS" scfile=/scratch/kocevski/382070/ft2_4FGL_J0111.5-2546_daily_bin1026.fits sctable="SC_DATA" outfile=/scratch/kocevski/382070/ltcube_505267201_505526401_4FGL_J0111.5-2546_daily_bin1026.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/382070/ft2_4FGL_J0111.5-2546_daily_bin1026.fits
.....................!
real 19.87
user 14.93
sys 4.83

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382070/ft1_filtered_4FGL_J0111.5-2546_daily_bin1026.fits evtable="EVENTS" scfile=/scratch/kocevski/382070/ft2_4FGL_J0111.5-2546_daily_bin1026.fits sctable="SC_DATA" expcube=/scratch/kocevski/382070/ltcube_505267201_505526401_4FGL_J0111.5-2546_daily_bin1026.fits outfile=/scratch/kocevski/382070/expmap_505267201_505526401_4FGL_J0111.5-2546_daily_bin1026.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/382070/ltcube_505267201_505526401_4FGL_J0111.5-2546_daily_bin1026.fits
.....................!
real 198.10
user 186.62
sys 10.51

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/382070/ft1_filtered_4FGL_J0111.5-2546_daily_bin1026.fits scfile=/scratch/kocevski/382070/ft2_4FGL_J0111.5-2546_daily_bin1026.fits outfile=/scratch/kocevski/382070/cmap_505267201_505526401_4FGL_J0111.5-2546_daily_bin1026.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.57
user 0.41
sys 4.06

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382070/ft1_filtered_4FGL_J0111.5-2546_daily_bin1026.fits scfile=/scratch/kocevski/382070/ft2_4FGL_J0111.5-2546_daily_bin1026.fits outfile=/scratch/kocevski/382070/cmap_HighResolution_505267201_505526401_4FGL_J0111.5-2546_daily_bin1026.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.24
user 0.43
sys 3.77

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/382070/ft1_filtered_4FGL_J0111.5-2546_daily_bin1026.fits evtable="EVENTS" scfile=/scratch/kocevski/382070/ft2_4FGL_J0111.5-2546_daily_bin1026.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/382070/Model_4FGL_J0111.5-2546_daily_bin1026.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/382070/ft1_filtered_4FGL_J0111.5-2546_daily_bin1026.fits.....................!
real 48.27
user 41.40
sys 6.47

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10738E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    17.356       1.0000         .10000E-03   10000.    
     3 'norm      '    7.2814       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .25256E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    8.1687       1.0000         .10000E-03   10000.    
     6 'norm      '    .10513E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10332E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10576E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.7200       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.7544       1.0000         .10000E-03   10000.    
    12 'norm      '    3.1087       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .96645E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10524       1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .58412E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.058       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0266       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .73674       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=   4841.333     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2069 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.928       -.18058E-06** at limit **
   2  norm          17.381        11.532        .24213E-07   -.19602E-04
   3  norm          7.2863        5.7981        .22994E-06    .76560E-05
   4  Prefactor     .10000E-03    40.804       -.67659E-08** at limit **
   5  norm          8.1612        8.1269       -.44229E-07   -.95581E-04
   6  norm          .10000E-03    1.7466       -.24941E-06** at limit **
   7  Prefactor     .10000E-03    2.1520       -.53865E-07** at limit **
   8  Prefactor     .10000E-03    3.5074       -.30705E-07** at limit **
   9  Prefactor     4.7201        3.9938        .24830E-05    .39906E-03
  10  Prefactor     .10000E-03    4.9687       -.69040E-07** at limit **
  11  norm          1.7536        1.7824        .37736E-07   -.56453E-03
  12  norm          3.1102        1.8245        .12172E-07   -.17422E-03
  13  Prefactor     .10000E-03    7.9296        .59542E-08** at limit **
  14  Prefactor     .10638        2.1758        .12417E-05   -.12359E-02
  15  norm          .10000E-03    .49494       -.25760E-07** at limit **
  16  norm          .10000E-03    .77752        .18696E-06** at limit **
  17  norm          .10001E-03    1.2833        .25566E-06** at limit **
  18  Prefactor     23.113        39.253        .14270E-05    .17901E-03
  19  Normalizat    1.0267        .16038       -.20860E-05   -.26704E-03
  20  Prefactor     .73661        .18048        .76680E-06   -.24825E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 17.3812
  norm       = 7.28634
  Prefactor  = 0.0001
  norm       = 8.16122
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.72012
  Prefactor  = 0.0001
  norm       = 1.75361
  norm       = 3.11022
  Prefactor  = 0.0001
  Prefactor  = 0.106382
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100012
  Prefactor  = 23.1127
  Normalizat = 1.02668
  Prefactor  = 0.736612
 **********
 **   18 **HESSE 
 **********

 FCN=   4841.333     FROM HESSE     STATUS=OK           295 CALLS     2364 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          17.381        11.533        .96137E-04   -1.4874    
   3  norm          7.2863        5.7932        .14358E-03   -1.5168    
   4  Prefactor     .10000E-03    40.860        .20008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.1612        8.1293        .14028E-03   -1.5137    
   6  norm          .10000E-03    3.2401        .17807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.1623        .99659E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.5139        .12725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.7201        4.0110        .61170E-03   -1.5273    
  10  Prefactor     .10000E-03    4.9925        .15123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.7536        1.7692        .88276E-04   -1.5443    
  12  norm          3.1102        1.8251        .70030E-04   -1.5355    
  13  Prefactor     .10000E-03    8.0070        .19129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10638        14.893        .17806E-02   -1.5643    
  15  norm          .10000E-03    .51804        .95476E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .79650        .11970E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10001E-03    38.369        .14872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.113        39.206        .83416E-04   -1.4746    
  19  Normalizat    1.0267        .18201        .19434E-03   -.92142    
  20  Prefactor     .73661        .20876        .26271E-03   -1.0211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.42287e-09
Minuit parameter uncertainties:
  1  2.80006e-05
  2  11.5346
  3  5.7936
  4  0.000102288
  5  8.13039
  6  2.54489e-05
  7  1.81606e-06
  8  1.65607e-06
  9  4.01119
  10  6.14129e-06
  11  1.76923
  12  1.82518
  13  8.7258e-06
  14  2.51689
  15  1.6109e-06
  16  9.48454e-07
  17  0.00133372
  18  39.25
  19  0.182118
  20  0.208981
Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.000e-04  1.656e-06  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:  7.366e-01  2.090e-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.027e+00  1.821e-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: 4.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/382070/likelihoodResults_505267201_505526401_4FGL_J0111.5-2546_daily_bin1026.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) = 4841.33401675
delta logL = -0.00134867141787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4841.33266784
delta logL = 2.3572556529e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3718       1.0000          .0000       10.000    
     3 'Normalizat'    1.0267       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73663       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.

 FCN=   4841.333     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      239 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10273E-03    4.0580        .13131E-01** at limit **
   2  Index         2.2910        7.5945        .50000        .55177E-04
   3  Normalizat    1.0267        .39188E-02    .19434E-03   -.95939E-05
   4  Prefactor     .73661        .45803E-02    .26271E-03   -.43707E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102729
  Index      = 2.29101
  Normalizat = 1.02667
  Prefactor  = 0.736613
 **********
 **   18 **HESSE 
 **********

 FCN=   4841.333     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10273E-03    44.955        .13491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2910        5.4203        .50000       -.57257    
   3  Normalizat    1.0267        .13168E-01    .77736E-05   -.92142    
   4  Prefactor     .73661        .15391E-01    .10508E-04   -1.0211    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.1341e-08
Minuit parameter uncertainties:
  1  0.0221691
  2  218.722
  3  0.0131684
  4  0.0153909
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382070': 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) = 4841.33266683
delta logL = 1.24402231449e-06

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.027e-04  2.217e-02  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.291e+00  2.187e+02  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:  7.366e-01  1.539e-02  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.027e+00  1.317e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/382070/cmap_HighResolution_505267201_505526401_4FGL_J0111.5-2546_daily_bin1026.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-03', job_status='DONE', photon_flux_upper_limit='4.52e-08', time_completed='2021-08-13 14:35:32.390459', job_id='382070', GAL2='0.74', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1628890532.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.24e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1026' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 14:35:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0144>
Subject: Job 382070: <4FGL_J0111.5-2546_daily_bin1026> in cluster <slac> Done

Job <4FGL_J0111.5-2546_daily_bin1026> 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) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 14:21:58 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:21:58 2021
Terminated at Fri Aug 13 14:35:33 2021
Results reported at Fri Aug 13 14:35:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1026 17.8966 -25.7778 505267201 505526401 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 :                                   661.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            904 sec.

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

