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


Performing analysis on: 4FGL_J0111.5-2546_daily_bin1633
RA = 17.8966, Dec = -25.7778
tmin = 662601601, tmax = 662860801
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='683939', job_status='RUN', time_executed='2022-01-03 00:05:53.293533', time_epoch_executed='1641197153.29' WHERE source_name='4FGL J0111.5-2546' and cadence='daily' and bin_id='1633'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/683939

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/683939/ft1_4FGL_J0111.5-2546_daily_bin1633.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/683939/ft2_4FGL_J0111.5-2546_daily_bin1633.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/683939/ft1_4FGL_J0111.5-2546_daily_bin1633.fits outfile=/scratch/kocevski/683939/ft1_filteredMKT_4FGL_J0111.5-2546_daily_bin1633.fits ra=17.8966 dec=-25.7778 rad=12.0 tmin=662601601.0 tmax=662860801.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 3.50
user 2.70
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/683939/ft1_filtered_4FGL_J0111.5-2546_daily_bin1633.fits" evtable="EVENTS" scfile=/scratch/kocevski/683939/ft2_4FGL_J0111.5-2546_daily_bin1633.fits sctable="SC_DATA" outfile=/scratch/kocevski/683939/ltcube_662601601_662860801_4FGL_J0111.5-2546_daily_bin1633.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/683939/ft2_4FGL_J0111.5-2546_daily_bin1633.fits
.....................!
real 17.60
user 15.58
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/683939/ft1_filtered_4FGL_J0111.5-2546_daily_bin1633.fits evtable="EVENTS" scfile=/scratch/kocevski/683939/ft2_4FGL_J0111.5-2546_daily_bin1633.fits sctable="SC_DATA" expcube=/scratch/kocevski/683939/ltcube_662601601_662860801_4FGL_J0111.5-2546_daily_bin1633.fits outfile=/scratch/kocevski/683939/expmap_662601601_662860801_4FGL_J0111.5-2546_daily_bin1633.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/683939/ltcube_662601601_662860801_4FGL_J0111.5-2546_daily_bin1633.fits
.....................!
real 196.58
user 185.19
sys 4.88

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/683939/ft1_filtered_4FGL_J0111.5-2546_daily_bin1633.fits scfile=/scratch/kocevski/683939/ft2_4FGL_J0111.5-2546_daily_bin1633.fits outfile=/scratch/kocevski/683939/cmap_662601601_662860801_4FGL_J0111.5-2546_daily_bin1633.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.41
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/683939/ft1_filtered_4FGL_J0111.5-2546_daily_bin1633.fits scfile=/scratch/kocevski/683939/ft2_4FGL_J0111.5-2546_daily_bin1633.fits outfile=/scratch/kocevski/683939/cmap_HighResolution_662601601_662860801_4FGL_J0111.5-2546_daily_bin1633.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.75
user 0.36
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/683939/ft1_filtered_4FGL_J0111.5-2546_daily_bin1633.fits evtable="EVENTS" scfile=/scratch/kocevski/683939/ft2_4FGL_J0111.5-2546_daily_bin1633.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/683939/Model_4FGL_J0111.5-2546_daily_bin1633.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/683939/ft1_filtered_4FGL_J0111.5-2546_daily_bin1633.fits.....................!
real 74.48
user 59.37
sys 1.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    19.994       1.0000         .10000E-03   10000.    
     3 'norm      '    14.371       1.0000         .10000E-03   10000.    
     4 'Prefactor '    33.913       1.0000         .10000E-03   10000.    
     5 'norm      '    8.8048       1.0000         .10000E-03   10000.    
     6 'norm      '    2.7889       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7766       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.4814       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10877E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.021       1.0000         .10000E-03   10000.    
    11 'norm      '    1.2209       1.0000         .10000E-03   10000.    
    12 'norm      '    2.1081       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .38957E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.0406       1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    41.406       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .79917       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95683       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=   8111.956     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     2072 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.529        .63165E-07** at limit **
   2  norm          19.993        10.230       -.56299E-07    .24638E-04
   3  norm          14.370        5.0753       -.14554E-05    .75181E-03
   4  Prefactor     33.898        71.841       -.24903E-04    .16152E-03
   5  norm          8.8044        9.6218        .15515E-05    .61562E-04
   6  norm          2.7889        2.0301       -.29487E-06   -.59063E-04
   7  Prefactor     2.7761        5.4988       -.14356E-05   -.53732E-03
   8  Prefactor     5.4830        8.4641       -.67220E-06   -.62402E-04
   9  Prefactor     .10000E-03    1.1131       -.13587E-06** at limit **
  10  Prefactor     20.029        11.463        .31180E-05   -.81193E-04
  11  norm          1.2186        2.0763       -.16407E-05   -.13735E-02
  12  norm          2.1084        1.2429       -.22186E-08    .23221E-03
  13  Prefactor     .10000E-03    4.2369        .26226E-06** at limit **
  14  Prefactor     .10000E-03    1.7337       -.92715E-07** at limit **
  15  norm          2.0405        .97610       -.10454E-06   -.12984E-03
  16  norm          .10000E-03    .60291       -.11000E-06** at limit **
  17  norm          .10000E-03    .71287        .77213E-08** at limit **
  18  Prefactor     41.403        32.111       -.33767E-05    .12151E-03
  19  Normalizat    .79928        .12685        .97911E-06    .19032E-03
  20  Prefactor     .95676        .14936        .82981E-06    .15418E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 19.9934
  norm       = 14.3699
  Prefactor  = 33.8978
  norm       = 8.8044
  norm       = 2.78888
  Prefactor  = 2.77605
  Prefactor  = 5.48297
  Prefactor  = 0.0001
  Prefactor  = 20.0287
  norm       = 1.21856
  norm       = 2.10843
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 2.04047
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 41.4034
  Normalizat = 0.799284
  Prefactor  = 0.956763
 **********
 **   18 **HESSE 
 **********

 FCN=   8111.956     FROM HESSE     STATUS=OK           301 CALLS     2373 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.132        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          19.993        10.231        .89575E-04   -1.4813    
   3  norm          14.370        5.0541        .10566E-03   -1.4950    
   4  Prefactor     33.898        70.405        .68812E-04   -1.4543    
   5  norm          8.8044        9.6078        .13508E-03   -1.5114    
   6  norm          2.7889        2.0289        .10602E-03   -1.5374    
   7  Prefactor     2.7761        5.5188        .24422E-03   -1.5375    
   8  Prefactor     5.4830        8.3807        .17162E-03   -1.5240    
   9  Prefactor     .10000E-03    1.9460        .18387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.029        11.311        .89514E-04   -1.4813    
  11  norm          1.2186        2.0124        .12864E-03   -1.5487    
  12  norm          2.1084        1.2431        .74417E-04   -1.5418    
  13  Prefactor     .10000E-03    11.476        .35758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.7648        .11551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0405        .97330        .59227E-04   -1.5422    
  16  norm          .10000E-03    .95753        .13473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .73152        .14838E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     41.403        32.053        .62296E-04   -1.4420    
  19  Normalizat    .79928        .14996        .21915E-03   -1.0010    
  20  Prefactor     .95676        .17740        .24398E-03   -.94185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64286e-09
Minuit parameter uncertainties:
  1  1.5874e-06
  2  10.2318
  3  5.05428
  4  70.5781
  5  9.60949
  6  2.02899
  7  5.51979
  8  8.38252
  9  2.26953e-05
  10  11.3126
  11  2.01249
  12  1.2431
  13  0.000303403
  14  1.33285e-05
  15  0.973311
  16  8.22908e-06
  17  2.26577e-06
  18  32.0662
  19  0.150038
  20  0.17751
Done.

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

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  5.483e+00  8.383e+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

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  9.568e-01  1.775e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  7.993e-01  1.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/683939/likelihoodResults_662601601_662860801_4FGL_J0111.5-2546_daily_bin1633.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) = 8111.92652265
delta logL = 0.02942926376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8111.9100544
delta logL = 0.0458975043657

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8929       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7034       1.0000          .0000       10.000    
     3 'Normalizat'    .79454       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96063       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=   8111.910     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      258 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8965        12.288        .10225E-02   -.28555E-03
   2  Index         2.7024        1.5585        .94508E-02   -.28099E-04
   3  Normalizat    .79445        .14652        .21974E-03   -.62024E-03
   4  Prefactor     .96078        .17688        .24352E-03    .16713E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.89646
  Index      = 2.70241
  Normalizat = 0.794448
  Prefactor  = 0.960778
 **********
 **   18 **HESSE 
 **********

 FCN=   8111.910     FROM HESSE     STATUS=OK            27 CALLS      285 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8965        8.3102        .40900E-04   -1.5313    
   2  Index         2.7024        1.0660        .37803E-03   -.47745    
   3  Normalizat    .79445        .14636        .43948E-04   -1.0027    
   4  Prefactor     .96078        .17640        .97408E-05   -.94049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19781e-09
Minuit parameter uncertainties:
  1  8.31269
  2  1.07651
  3  0.146434
  4  0.176509
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/683939': 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) = 8111.91005345
delta logL = 0.0458984558591

Extracting fit parameters...

4FGL J0111.5-2546
   Spectrum: PowerLaw
227    Prefactor:  3.896e+00  8.313e+00  1.000e-04  1.000e+04 ( 1.000e-13)
228        Index:  2.702e+00  1.077e+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:  9.608e-01  1.765e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  7.944e-01  1.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/683939/cmap_HighResolution_662601601_662860801_4FGL_J0111.5-2546_daily_bin1633.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.83e-03', job_status='DONE', photon_flux_upper_limit='6.24e-08', time_completed='2022-01-03 00:18:05.153185', job_id='683939', GAL2='0.96', fit_tolerance='1e-08', EG2='0.79', EG='0.80', time_epoch_completed='1641197885.15', return_code2='0', ts='0.55', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='4.59e-02', ts2='0.65', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1633' AND source_name='4FGL J0111.5-2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan  3 00:18:05 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 683939: <4FGL_J0111.5-2546_daily_bin1633> in cluster <slac> Done

Job <4FGL_J0111.5-2546_daily_bin1633> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Jan  3 00:04:56 2022
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan  3 00:04:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan  3 00:04:57 2022
Terminated at Mon Jan  3 00:18:05 2022
Results reported at Mon Jan  3 00:18:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0111.5-2546_daily_bin1633 17.8966 -25.7778 662601601 662860801 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 :                                   672.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             305.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            789 sec.

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

