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


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1129
RA = 17.8966, Dec = -25.7778
tmin = 531964801, tmax = 532224001
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='382230', job_status='RUN', time_executed='2021-08-13 14:25:16.262379', time_epoch_executed='1628889916.26' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382230

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382230/ft1_4FGL_J0111.5-2546_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382230/ft2_4FGL_J0111.5-2546_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382230/ft1_4FGL_J0111.5-2546_daily_bin1129.fits outfile=/scratch/kocevski/382230/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1129.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=531964801.0 tmax=532224001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.90
user 2.70
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/382230/ft2_4FGL_J0111.5-2546_daily_bin1129.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/382230/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1129.fits evtable="EVENTS" outfile="/scratch/kocevski/382230/ft1_filtered_4FGL_J0111.5-2546_daily_bin1129.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.44
user 0.28
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382230/ft1_filtered_4FGL_J0111.5-2546_daily_bin1129.fits" evtable="EVENTS" scfile=/scratch/kocevski/382230/ft2_4FGL_J0111.5-2546_daily_bin1129.fits sctable="SC_DATA" outfile=/scratch/kocevski/382230/ltcube_531964801_532224001_4FGL_J0111.5-2546_daily_bin1129.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/382230/ft2_4FGL_J0111.5-2546_daily_bin1129.fits
.....................!
real 11.91
user 11.49
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382230/ft1_filtered_4FGL_J0111.5-2546_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/382230/ft2_4FGL_J0111.5-2546_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/382230/ltcube_531964801_532224001_4FGL_J0111.5-2546_daily_bin1129.fits outfile=/scratch/kocevski/382230/expmap_531964801_532224001_4FGL_J0111.5-2546_daily_bin1129.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/382230/ltcube_531964801_532224001_4FGL_J0111.5-2546_daily_bin1129.fits
.....................!
real 157.91
user 151.64
sys 4.61

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/382230/ft1_filtered_4FGL_J0111.5-2546_daily_bin1129.fits scfile=/scratch/kocevski/382230/ft2_4FGL_J0111.5-2546_daily_bin1129.fits outfile=/scratch/kocevski/382230/cmap_531964801_532224001_4FGL_J0111.5-2546_daily_bin1129.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=17.8966 yref=-25.7778 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.48
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382230/ft1_filtered_4FGL_J0111.5-2546_daily_bin1129.fits scfile=/scratch/kocevski/382230/ft2_4FGL_J0111.5-2546_daily_bin1129.fits outfile=/scratch/kocevski/382230/cmap_HighResolution_531964801_532224001_4FGL_J0111.5-2546_daily_bin1129.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=17.8966 yref=-25.7778 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.48
user 0.32
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/382230/ft1_filtered_4FGL_J0111.5-2546_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/382230/ft2_4FGL_J0111.5-2546_daily_bin1129.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/382230/Model_4FGL_J0111.5-2546_daily_bin1129.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/382230/ft1_filtered_4FGL_J0111.5-2546_daily_bin1129.fits.....................!
real 29.50
user 28.18
sys 1.00

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    36.408       1.0000         .10000E-03   10000.    
     4 'Prefactor '    140.47       1.0000         .10000E-03   10000.    
     5 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .12336E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7961       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .66251       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.0283       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.5437       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.4714       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.3769       1.0000         .10000E-03   10000.    
    15 'norm      '    .70130       1.0000         .10000E-03   10000.    
    16 'norm      '    12.146       1.0000         .10000E-03   10000.    
    17 'norm      '    1.0267       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1147       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .61720       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=   3545.899     FROM MIGRAD    STATUS=CONVERGED    413 CALLS     2049 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2270        .12216E-06** at limit **
   2  norm          .10000E-03    5.4455       -.23212E-06** at limit **
   3  norm          36.410        11.452        .69021E-07   -.86246E-05
   4  Prefactor     140.56        161.41       -.60178E-05   -.21861E-04
   5  norm          .10000E-03    7.5373        .17611E-06** at limit **
   6  norm          .10000E-03    2.6985       -.39438E-06** at limit **
   7  Prefactor     1.7939        10.002        .79436E-06   -.30805E-04
   8  Prefactor     .69132        19.714        .17048E-05   -.24129E-03
   9  Prefactor     2.0273        5.8575        .11986E-06    .12083E-04
  10  Prefactor     .10000E-03    3.9583        .50611E-07** at limit **
  11  norm          .10000E-03    .93078        .70727E-07** at limit **
  12  norm          9.5415        5.5430       -.51280E-06   -.19246E-03
  13  Prefactor     7.4396        33.706        .76607E-05    .16207E-04
  14  Prefactor     1.3770        3.4784        .10584E-05    .82857E-04
  15  norm          .70114        1.1937        .31882E-07    .48005E-04
  16  norm          12.146        4.4484       -.20008E-06   -.67250E-04
  17  norm          1.0285        3.5933       -.84598E-07   -.51750E-04
  18  Prefactor     .10000E-03    35.839       -.24482E-06** at limit **
  19  Normalizat    1.1144        .23460       -.29155E-06   -.29089E-04
  20  Prefactor     .61746        .23924        .35732E-06   -.18116E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 36.41
  Prefactor  = 140.561
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.79392
  Prefactor  = 0.691318
  Prefactor  = 2.02726
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.5415
  Prefactor  = 7.43959
  Prefactor  = 1.37703
  norm       = 0.701137
  norm       = 12.1459
  norm       = 1.02849
  Prefactor  = 0.0001
  Normalizat = 1.11442
  Prefactor  = 0.617455
 **********
 **   18 **HESSE 
 **********

 FCN=   3545.899     FROM HESSE     STATUS=OK           303 CALLS     2352 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.2311        .14513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.4459        .13571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          36.410        11.465        .66420E-04   -1.4500    
   4  Prefactor     140.56        162.17        .16995E-03   -1.3331    
   5  norm          .10000E-03    7.5435        .15968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.8657        .18815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.7939        9.8201        .31200E-03   -1.5440    
   8  Prefactor     .69132        65.364        .43991E-02   -1.5542    
   9  Prefactor     2.0273        5.8511        .22535E-03   -1.5423    
  10  Prefactor     .10000E-03    3.9651        .11570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .93772        .56093E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.5415        5.4723        .89334E-04   -1.5090    
  13  Prefactor     7.4396        33.965        .14672E-03   -1.5162    
  14  Prefactor     1.3770        3.5066        .86870E-03   -1.5473    
  15  norm          .70114        1.0463        .81670E-03   -1.5541    
  16  norm          12.146        4.4467        .68973E-04   -1.5011    
  17  norm          1.0285        3.5565        .19665E-03   -1.5505    
  18  Prefactor     .10000E-03    35.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1144        .27604        .21786E-03   -.89290    
  20  Prefactor     .61746        .28095        .31149E-03   -1.0686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07824e-09
Minuit parameter uncertainties:
  1  1.15202e-06
  2  1.9519e-06
  3  11.4653
  4  162.692
  5  1.53069e-05
  6  3.5007e-05
  7  8.39631
  8  13.4584
  9  5.85273
  10  1.42691e-06
  11  1.14712e-06
  12  5.47259
  13  31.8218
  14  3.50709
  15  1.04631
  16  4.44681
  17  3.55719
  18  1.17565e-05
  19  0.276403
  20  0.281587
Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  6.913e-01  1.346e+01  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:  6.175e-01  2.816e-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.114e+00  2.764e-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: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/382230/likelihoodResults_531964801_532224001_4FGL_J0111.5-2546_daily_bin1129.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3545.8817898
delta logL = 0.0170079794821

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3545.87700807
delta logL = 0.0217897074835

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3798       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9359       1.0000          .0000       10.000    
     3 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62026       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3545.877     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      262 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3803        22.349        .16218E-02   -.44585E-03
   2  Index         2.9381        2.7962        .13609E-01    .18138E-04
   3  Normalizat    1.1078        .25725        .21837E-03    .51021E-05
   4  Prefactor     .62032        .27909        .31073E-03    .81406E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38026
  Index      = 2.93814
  Normalizat = 1.10785
  Prefactor  = 0.620321
 **********
 **   18 **HESSE 
 **********

 FCN=   3545.877     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3803        11.839        .64873E-04   -1.5473    
   2  Index         2.9381        2.1120        .54437E-03   -.42506    
   3  Normalizat    1.1078        .25755        .87347E-05   -.89500    
   4  Prefactor     .62032        .27942        .12429E-04   -1.0674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28418e-09
Minuit parameter uncertainties:
  1  8.08646
  2  2.19604
  3  0.257842
  4  0.280047
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382230': 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) = 3545.87700726
delta logL = 0.0217905140184

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  1.380e+00  8.086e+00  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.938e+00  2.196e+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:  6.203e-01  2.800e-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.108e+00  2.578e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/382230/cmap_HighResolution_531964801_532224001_4FGL_J0111.5-2546_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.47e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-08-13 14:31:54.004250', job_id='382230', GAL2='0.62', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1628890314.0', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='2.18e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1129' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 14:31:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0175>
Subject: Job 382230: <4FGL_J0111.5-2546_daily_bin1129> in cluster <slac> Done

Job <4FGL_J0111.5-2546_daily_bin1129> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 14:20:38 2021
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 14:23:29 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:23:29 2021
Terminated at Fri Aug 13 14:31:54 2021
Results reported at Fri Aug 13 14:31:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1129 17.8966 -25.7778 531964801 532224001 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 :                                   392.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   505 sec.
    Turnaround time :                            676 sec.

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

