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


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1076
RA = 17.8966, Dec = -25.7778
tmin = 518227201, tmax = 518486401
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='382142', job_status='RUN', time_executed='2021-08-13 14:26:29.554972', time_epoch_executed='1628889989.56' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='1076'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382142

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382142/ft1_4FGL_J0111.5-2546_daily_bin1076.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382142/ft2_4FGL_J0111.5-2546_daily_bin1076.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382142/ft1_4FGL_J0111.5-2546_daily_bin1076.fits outfile=/scratch/kocevski/382142/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1076.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=518227201.0 tmax=518486401.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 4.44
user 3.47
sys 0.95

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382142/ft1_filtered_4FGL_J0111.5-2546_daily_bin1076.fits" evtable="EVENTS" scfile=/scratch/kocevski/382142/ft2_4FGL_J0111.5-2546_daily_bin1076.fits sctable="SC_DATA" outfile=/scratch/kocevski/382142/ltcube_518227201_518486401_4FGL_J0111.5-2546_daily_bin1076.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/382142/ft2_4FGL_J0111.5-2546_daily_bin1076.fits
.....................!
real 15.61
user 14.40
sys 1.17

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382142/ft1_filtered_4FGL_J0111.5-2546_daily_bin1076.fits evtable="EVENTS" scfile=/scratch/kocevski/382142/ft2_4FGL_J0111.5-2546_daily_bin1076.fits sctable="SC_DATA" expcube=/scratch/kocevski/382142/ltcube_518227201_518486401_4FGL_J0111.5-2546_daily_bin1076.fits outfile=/scratch/kocevski/382142/expmap_518227201_518486401_4FGL_J0111.5-2546_daily_bin1076.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/382142/ltcube_518227201_518486401_4FGL_J0111.5-2546_daily_bin1076.fits
.....................!
real 193.90
user 186.85
sys 6.54

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/382142/ft1_filtered_4FGL_J0111.5-2546_daily_bin1076.fits scfile=/scratch/kocevski/382142/ft2_4FGL_J0111.5-2546_daily_bin1076.fits outfile=/scratch/kocevski/382142/cmap_518227201_518486401_4FGL_J0111.5-2546_daily_bin1076.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 1.25
user 0.38
sys 0.86

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382142/ft1_filtered_4FGL_J0111.5-2546_daily_bin1076.fits scfile=/scratch/kocevski/382142/ft2_4FGL_J0111.5-2546_daily_bin1076.fits outfile=/scratch/kocevski/382142/cmap_HighResolution_518227201_518486401_4FGL_J0111.5-2546_daily_bin1076.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 1.29
user 0.39
sys 0.88

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/382142/ft1_filtered_4FGL_J0111.5-2546_daily_bin1076.fits evtable="EVENTS" scfile=/scratch/kocevski/382142/ft2_4FGL_J0111.5-2546_daily_bin1076.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/382142/Model_4FGL_J0111.5-2546_daily_bin1076.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/382142/ft1_filtered_4FGL_J0111.5-2546_daily_bin1076.fits.....................!
real 38.66
user 36.39
sys 2.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    9.3276       1.0000         .10000E-03   10000.    
     4 'Prefactor '    59.121       1.0000         .10000E-03   10000.    
     5 'norm      '    20.655       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.009       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.1117       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.0741       1.0000         .10000E-03   10000.    
    16 'norm      '    .59915       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    47.802       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .84471       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0452       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=   3971.734     FROM MIGRAD    STATUS=CONVERGED    394 CALLS     1979 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.113        .74229E-07** at limit **
   2  norm          .10000E-03    5.9167        .19534E-07** at limit **
   3  norm          9.3257        8.7334        .16985E-05   -.90939E-04
   4  Prefactor     59.056        103.53       -.71472E-06   -.62476E-04
   5  norm          20.654        21.764        .14918E-06   -.36917E-04
   6  norm          .10000E-03    1.2358        .43027E-07** at limit **
   7  Prefactor     .10000E-03    2.8167       -.65446E-07** at limit **
   8  Prefactor     .10000E-03    8.1197        .68383E-07** at limit **
   9  Prefactor     16.008        6.3136        .31592E-06   -.56337E-04
  10  Prefactor     .10000E-03    3.5816       -.38203E-07** at limit **
  11  norm          .10000E-03    1.1141       -.15310E-07** at limit **
  12  norm          6.1120        3.1055       -.18806E-07   -.52013E-04
  13  Prefactor     .10000E-03    7.9750        .13677E-07** at limit **
  14  Prefactor     .10000E-03    6.1644       -.98277E-07** at limit **
  15  norm          2.0742        1.6291        .55904E-07   -.50270E-04
  16  norm          .59982        2.6980        .12701E-05   -.46800E-04
  17  norm          .10000E-03    1.5396        .37510E-07** at limit **
  18  Prefactor     47.801        42.874       -.49316E-07   -.12976E-04
  19  Normalizat    .84502        .20177       -.34198E-06   -.85259E-04
  20  Prefactor     1.0449        .23216       -.12260E-05   -.44852E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.32571
  Prefactor  = 59.0558
  norm       = 20.6537
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.0083
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.11199
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.07415
  norm       = 0.599823
  norm       = 0.0001
  Prefactor  = 47.8009
  Normalizat = 0.845023
  Prefactor  = 1.04489
 **********
 **   18 **HESSE 
 **********

 FCN=   3971.734     FROM HESSE     STATUS=OK           291 CALLS     2270 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.9196        .14973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.3257        8.7373        .65611E-03   -1.5097    
   4  Prefactor     59.056        103.43        .26089E-03   -1.4169    
   5  norm          20.654        21.779        .88130E-04   -1.4799    
   6  norm          .10000E-03    1.2390        .68423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.8236        .10327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.1419        .17538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.008        6.3243        .47506E-03   -1.4908    
  10  Prefactor     .10000E-03    3.5875        .11647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.1367        .64914E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.1120        3.1062        .76646E-04   -1.5213    
  13  Prefactor     .10000E-03    7.9868        .17380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.3834        .30477E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0742        1.6217        .68124E-04   -1.5420    
  16  norm          .59982        2.7937        .19075E-02   -1.5553    
  17  norm          .10000E-03    1.5576        .76284E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     47.801        42.870        .57996E-04   -1.4324    
  19  Normalizat    .84502        .23590        .23676E-03   -.98420    
  20  Prefactor     1.0449        .27076        .25231E-03   -.91248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85733e-08
Minuit parameter uncertainties:
  1  8.90974e-06
  2  6.95813e-06
  3  8.73848
  4  103.746
  5  21.7875
  6  6.78673e-07
  7  1.04604e-06
  8  7.04221e-06
  9  6.3246
  10  8.78788e-07
  11  9.9663e-07
  12  3.10631
  13  3.60981e-06
  14  1.84333e-05
  15  1.62169
  16  2.589
  17  2.11397e-06
  18  42.8979
  19  0.236184
  20  0.271113
Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.000e-04  7.042e-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:  1.045e+00  2.711e-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:  8.450e-01  2.362e-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: 8.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/382142/likelihoodResults_518227201_518486401_4FGL_J0111.5-2546_daily_bin1076.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) = 3971.73470735
delta logL = -0.000584785403134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3971.73412258
delta logL = -1.74627530214e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3972       1.0000          .0000       10.000    
     3 'Normalizat'    .84502       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0449       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=   3971.734     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      198 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.817        .90712E-02** at limit **
   2  Index         2.3948        8.7503        .50000        .25755E-05
   3  Normalizat    .84502        .54928E-02    .44195E-01    .10886E-04
   4  Prefactor     1.0449        .64760E-02    .40218E-01    .78448E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.39477
  Normalizat = 0.845023
  Prefactor  = 1.04489
 **********
 **   18 **HESSE 
 **********

 FCN=   3971.734     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      231 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    145.07        .17542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3948        5.5156        .50000       -.54808    
   3  Normalizat    .84502        .20467E-01    .23676E-03   -.98420    
   4  Prefactor     1.0449        .24137E-01    .25231E-03   -.91248    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.03198e-07
Minuit parameter uncertainties:
  1  2.84438e-05
  2  749.83
  3  0.0204674
  4  0.0241375
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382142': 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) = 3971.73412256
delta logL = 3.02998159896e-09

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.000e-04  2.844e-05  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.395e+00  7.498e+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:  1.045e+00  2.414e-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:  8.450e-01  2.047e-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/382142/cmap_HighResolution_518227201_518486401_4FGL_J0111.5-2546_daily_bin1076.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.30e-03', job_status='DONE', photon_flux_upper_limit='8.16e-08', time_completed='2021-08-13 14:34:57.946299', job_id='382142', GAL2='1.04', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1628890497.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='3.03e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1076' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 14:34:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 382142: <4FGL_J0111.5-2546_daily_bin1076> in cluster <slac> Done

Job <4FGL_J0111.5-2546_daily_bin1076> 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) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 14:22:37 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:37 2021
Terminated at Fri Aug 13 14:34:58 2021
Results reported at Fri Aug 13 14:34:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1076 17.8966 -25.7778 518227201 518486401 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 :                                   515.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             191.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            865 sec.

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

