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


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1071
RA = 17.8966, Dec = -25.7778
tmin = 516931201, tmax = 517190401
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='382134', job_status='RUN', time_executed='2021-08-13 14:26:55.749021', time_epoch_executed='1628890015.75' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='1071'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382134

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382134/ft1_4FGL_J0111.5-2546_daily_bin1071.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382134/ft2_4FGL_J0111.5-2546_daily_bin1071.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382134/ft1_4FGL_J0111.5-2546_daily_bin1071.fits outfile=/scratch/kocevski/382134/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1071.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=516931201.0 tmax=517190401.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 8.78
user 3.72
sys 5.03

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/382134/ft2_4FGL_J0111.5-2546_daily_bin1071.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/382134/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1071.fits evtable="EVENTS" outfile="/scratch/kocevski/382134/ft1_filtered_4FGL_J0111.5-2546_daily_bin1071.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 5.31
user 0.34
sys 4.93

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382134/ft1_filtered_4FGL_J0111.5-2546_daily_bin1071.fits" evtable="EVENTS" scfile=/scratch/kocevski/382134/ft2_4FGL_J0111.5-2546_daily_bin1071.fits sctable="SC_DATA" outfile=/scratch/kocevski/382134/ltcube_516931201_517190401_4FGL_J0111.5-2546_daily_bin1071.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/382134/ft2_4FGL_J0111.5-2546_daily_bin1071.fits
.....................!
real 19.85
user 14.11
sys 5.67

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382134/ft1_filtered_4FGL_J0111.5-2546_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/382134/ft2_4FGL_J0111.5-2546_daily_bin1071.fits sctable="SC_DATA" expcube=/scratch/kocevski/382134/ltcube_516931201_517190401_4FGL_J0111.5-2546_daily_bin1071.fits outfile=/scratch/kocevski/382134/expmap_516931201_517190401_4FGL_J0111.5-2546_daily_bin1071.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/382134/ltcube_516931201_517190401_4FGL_J0111.5-2546_daily_bin1071.fits
.....................!
real 200.86
user 188.74
sys 11.64

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/382134/ft1_filtered_4FGL_J0111.5-2546_daily_bin1071.fits scfile=/scratch/kocevski/382134/ft2_4FGL_J0111.5-2546_daily_bin1071.fits outfile=/scratch/kocevski/382134/cmap_516931201_517190401_4FGL_J0111.5-2546_daily_bin1071.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 5.27
user 0.38
sys 4.86

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382134/ft1_filtered_4FGL_J0111.5-2546_daily_bin1071.fits scfile=/scratch/kocevski/382134/ft2_4FGL_J0111.5-2546_daily_bin1071.fits outfile=/scratch/kocevski/382134/cmap_HighResolution_516931201_517190401_4FGL_J0111.5-2546_daily_bin1071.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 5.24
user 0.38
sys 4.82

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/382134/ft1_filtered_4FGL_J0111.5-2546_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/382134/ft2_4FGL_J0111.5-2546_daily_bin1071.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/382134/Model_4FGL_J0111.5-2546_daily_bin1071.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/382134/ft1_filtered_4FGL_J0111.5-2546_daily_bin1071.fits.....................!
real 45.95
user 38.43
sys 7.41

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7504       1.0000         .10000E-03   10000.    
     2 'norm      '    .10298E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    15.122       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10510E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    20.474       1.0000         .10000E-03   10000.    
     6 'norm      '    .99382       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6629       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8851       1.0000         .10000E-03   10000.    
    11 'norm      '    .10631E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.8458       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.8169       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.9555       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.9784       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12445E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1689       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80618       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=   4195.833     FROM MIGRAD    STATUS=CONVERGED    428 CALLS     1733 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7478        10.453       -.48984E-07    .80451E-04
   2  norm          .10000E-03    5.2260        .12987E-08** at limit **
   3  norm          15.116        8.7682       -.41326E-07    .35182E-03
   4  Prefactor     .10000E-03    37.381       -.77987E-07** at limit **
   5  norm          20.472        13.998       -.62251E-08    .60539E-04
   6  norm          .99445        3.6959       -.16701E-06   -.83092E-04
   7  Prefactor     3.6576        8.2464       -.27772E-06    .10217E-02
   8  Prefactor     .10000E-03    7.1745        .11776E-07** at limit **
   9  Prefactor     .10000E-03    1.9542       -.36800E-08** at limit **
  10  Prefactor     1.9184        11.142       -.23171E-06   -.33871E-05
  11  norm          .10000E-03    2.2268        .61688E-07** at limit **
  12  norm          4.8452        2.7774        .38073E-07    .18898E-04
  13  Prefactor     3.8253        6.0532       -.11369E-05   -.25784E-03
  14  Prefactor     .10000E-03    1.2976        .53626E-08** at limit **
  15  norm          1.9556        1.7647       -.18544E-07    .25597E-04
  16  norm          .10000E-03    .76562        .48494E-08** at limit **
  17  norm          1.9786        3.9267       -.57961E-07    .50660E-04
  18  Prefactor     .10000E-03    31.941        .80705E-07** at limit **
  19  Normalizat    1.1689        .20048        .15911E-06    .84505E-05
  20  Prefactor     .80615        .22528        .10025E-06    .50620E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.74775
  norm       = 0.0001
  norm       = 15.116
  Prefactor  = 0.000100001
  norm       = 20.4725
  norm       = 0.994454
  Prefactor  = 3.65764
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.91837
  norm       = 0.0001
  norm       = 4.84522
  Prefactor  = 3.8253
  Prefactor  = 0.0001
  norm       = 1.95555
  norm       = 0.0001
  norm       = 1.97861
  Prefactor  = 0.000100001
  Normalizat = 1.16891
  Prefactor  = 0.806152
 **********
 **   18 **HESSE 
 **********

 FCN=   4195.833     FROM HESSE     STATUS=OK           297 CALLS     2030 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7478        10.448        .16749E-03   -1.5228    
   2  norm          .10000E-03    5.2286        .14463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.116        8.7860        .10300E-03   -1.4930    
   4  Prefactor     .10000E-03    37.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          20.472        13.997        .88519E-04   -1.4803    
   6  norm          .99445        3.8080        .23255E-03   -1.5509    
   7  Prefactor     3.6576        8.2117        .21106E-03   -1.5325    
   8  Prefactor     .10000E-03    7.2003        .16938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.9772        .88397E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.9184        8.2769        .30314E-03   -1.5431    
  11  norm          .10000E-03    3.5987        .15970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8452        2.8134        .79136E-04   -1.5268    
  13  Prefactor     3.8253        14.066        .10330E-02   -1.5317    
  14  Prefactor     .10000E-03    1.2995        .72039E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.9556        1.7577        .77926E-04   -1.5428    
  16  norm          .10000E-03    .76892        .55327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.9786        3.9177        .17015E-03   -1.5427    
  18  Prefactor     .10000E-03    31.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1689        .23678        .21240E-03   -.87569    
  20  Prefactor     .80615        .26412        .28627E-03   -.99502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42791e-09
Minuit parameter uncertainties:
  1  10.4516
  2  5.09956e-06
  3  8.7868
  4  0.00040308
  5  13.9997
  6  3.80896
  7  8.21422
  8  6.96067e-06
  9  1.12374e-07
  10  7.97115
  11  1.44377e-05
  12  2.81346
  13  14.078
  14  1.47269e-06
  15  1.75774
  16  6.21528e-07
  17  3.91824
  18  0.000398725
  19  0.236997
  20  0.26454
Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.000e-04  6.961e-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:  8.062e-01  2.645e-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.169e+00  2.370e-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: 6.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/382134/likelihoodResults_516931201_517190401_4FGL_J0111.5-2546_daily_bin1071.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) = 4195.83375879
delta logL = -0.000660548722408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4195.83309824
delta logL = 6.78028300172e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3924       1.0000          .0000       10.000    
     3 'Normalizat'    1.1689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80616       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=   4195.833     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      207 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1155.7        .90712E-02** at limit **
   2  Index         2.3851        5.6929        .50000        .87653E-05
   3  Normalizat    1.1689        .84194E-01    .35703E-01    .24193E-06
   4  Prefactor     .80615        .96168E-01    .64715E-01    .32924E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.38513
  Normalizat = 1.16891
  Prefactor  = 0.806152
 **********
 **   18 **HESSE 
 **********

 FCN=   4195.833     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      240 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1200.6        .16977E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3851        5.9834        .50000       -.55034    
   3  Normalizat    1.1689        .88397E-01    .21240E-03   -.87569    
   4  Prefactor     .80615        .10117        .28627E-03   -.99502    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.7137e-08
Minuit parameter uncertainties:
  1  0.00022359
  2  56.1477
  3  0.0884079
  4  0.10119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382134': 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) = 4195.83309821
delta logL = 3.03707565763e-08

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.000e-04  2.236e-04  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.385e+00  5.615e+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:  8.062e-01  1.012e-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.169e+00  8.841e-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/382134/cmap_HighResolution_516931201_517190401_4FGL_J0111.5-2546_daily_bin1071.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.39e-03', job_status='DONE', photon_flux_upper_limit='6.97e-08', time_completed='2021-08-13 14:36:25.840390', job_id='382134', GAL2='0.81', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1628890585.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.04e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1071' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 14:36:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 382134: <4FGL_J0111.5-2546_daily_bin1071> in cluster <slac> Done

Job <4FGL_J0111.5-2546_daily_bin1071> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 14:20:33 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 14:22:36 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:36 2021
Terminated at Fri Aug 13 14:36:27 2021
Results reported at Fri Aug 13 14:36:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1071 17.8966 -25.7778 516931201 517190401 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 :                                   641.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            954 sec.

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

