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


Performing analysis on: 4FGL_J0118.9-2141_daily_bin478
RA = 19.7254, Dec = -21.6948
tmin = 363225601, tmax = 363484801
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='539514', job_status='RUN', time_executed='2021-08-13 22:58:25.537900', time_epoch_executed='1628920705.54' WHERE source_name='4FGL J0118.9-2141' and cadence='daily' and bin_id='478'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/539514

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/539514/ft1_4FGL_J0118.9-2141_daily_bin478.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/539514/ft2_4FGL_J0118.9-2141_daily_bin478.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/539514/ft1_4FGL_J0118.9-2141_daily_bin478.fits outfile=/scratch/kocevski/539514/ft1_filteredMKT_4FGL_J0118.9-2141_daily_bin478.fits ra=19.7254 dec=-21.6948 rad=12.0 tmin=363225601.0 tmax=363484801.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 13.00
user 6.74
sys 6.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/539514/ft2_4FGL_J0118.9-2141_daily_bin478.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/539514/ft2_4FGL_J0118.9-2141_daily_bin478.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/539514/ft1_filteredMKT_4FGL_J0118.9-2141_daily_bin478.fits evtable="EVENTS" outfile="/scratch/kocevski/539514/ft1_filtered_4FGL_J0118.9-2141_daily_bin478.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 6.44
user 0.32
sys 6.06

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/539514/ft1_filtered_4FGL_J0118.9-2141_daily_bin478.fits" evtable="EVENTS" scfile=/scratch/kocevski/539514/ft2_4FGL_J0118.9-2141_daily_bin478.fits sctable="SC_DATA" outfile=/scratch/kocevski/539514/ltcube_363225601_363484801_4FGL_J0118.9-2141_daily_bin478.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/539514/ft2_4FGL_J0118.9-2141_daily_bin478.fits
.....................!
real 18.55
user 11.72
sys 6.73

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/539514/ft1_filtered_4FGL_J0118.9-2141_daily_bin478.fits evtable="EVENTS" scfile=/scratch/kocevski/539514/ft2_4FGL_J0118.9-2141_daily_bin478.fits sctable="SC_DATA" expcube=/scratch/kocevski/539514/ltcube_363225601_363484801_4FGL_J0118.9-2141_daily_bin478.fits outfile=/scratch/kocevski/539514/expmap_363225601_363484801_4FGL_J0118.9-2141_daily_bin478.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/539514/ltcube_363225601_363484801_4FGL_J0118.9-2141_daily_bin478.fits
.....................!
real 199.36
user 185.83
sys 13.09

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 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J0118.9-2141 @ 19.7254 -21.6948

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/539514/ft1_filtered_4FGL_J0118.9-2141_daily_bin478.fits scfile=/scratch/kocevski/539514/ft2_4FGL_J0118.9-2141_daily_bin478.fits outfile=/scratch/kocevski/539514/cmap_363225601_363484801_4FGL_J0118.9-2141_daily_bin478.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=19.7254 yref=-21.6948 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 6.26
user 0.39
sys 5.81

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/539514/ft1_filtered_4FGL_J0118.9-2141_daily_bin478.fits scfile=/scratch/kocevski/539514/ft2_4FGL_J0118.9-2141_daily_bin478.fits outfile=/scratch/kocevski/539514/cmap_HighResolution_363225601_363484801_4FGL_J0118.9-2141_daily_bin478.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=19.7254 yref=-21.6948 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 6.35
user 0.41
sys 5.91

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/539514/ft1_filtered_4FGL_J0118.9-2141_daily_bin478.fits evtable="EVENTS" scfile=/scratch/kocevski/539514/ft2_4FGL_J0118.9-2141_daily_bin478.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/539514/Model_4FGL_J0118.9-2141_daily_bin478.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/539514/ft1_filtered_4FGL_J0118.9-2141_daily_bin478.fits......................!
real 37.61
user 28.81
sys 8.68

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/539514/ft1_filtered_4FGL_J0118.9-2141_daily_bin478.fits', '/scratch/kocevski/539514/ft2_4FGL_J0118.9-2141_daily_bin478.fits', expMap='/scratch/kocevski/539514/expmap_363225601_363484801_4FGL_J0118.9-2141_daily_bin478.fits', expCube='/scratch/kocevski/539514/ltcube_363225601_363484801_4FGL_J0118.9-2141_daily_bin478.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/539514/Model_4FGL_J0118.9-2141_daily_bin478.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0118.9-2141'

4FGL J0118.9-2141
   Spectrum: LogParabola
259         norm:  3.573e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        alpha:  2.251e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  9.012e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.069e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/539514/ft1_filtered_4FGL_J0118.9-2141_daily_bin478.fits
Spacecraft file(s): /scratch/kocevski/539514/ft2_4FGL_J0118.9-2141_daily_bin478.fits
Exposure map: /scratch/kocevski/539514/expmap_363225601_363484801_4FGL_J0118.9-2141_daily_bin478.fits
Exposure cube: /scratch/kocevski/539514/ltcube_363225601_363484801_4FGL_J0118.9-2141_daily_bin478.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/539514/Model_4FGL_J0118.9-2141_daily_bin478.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) = 2643.58085919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    346.22       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13466E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6175       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .27398E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    7.8069       1.0000         .10000E-03   10000.    
    12 'norm      '    6.2950       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0811       1.0000         .10000E-03   10000.    
    15 'norm      '    1.9881       1.0000         .10000E-03   10000.    
    16 'norm      '    2.3737       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6391       1.0000         .10000E-03   10000.    
    18 'Prefactor '    59.953       1.0000         .10000E-03   10000.    
    19 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    28.787       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2692       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .33738       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2643.557     FROM MIGRAD    STATUS=CONVERGED     83 CALLS     2023 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    6.9386        .30805E-06** at limit **
   2  norm          .10000E-03    3.6490        .49849E-07** at limit **
   3  Prefactor     346.23        1.0256        .21901E-07   -.32287E-02
   4  Prefactor     .10000E-03    10.182        .31981E-05** at limit **
   5  norm          .10000E-03    8.8300        .12111E-06** at limit **
   6  norm          .10000E-03    2.2172       -.15271E-06** at limit **
   7  Prefactor     .10005E-03    53.876        .19088E-05** at limit **
   8  Prefactor     1.6045        1.3637        .67540E-06   -.15392E-03
   9  Prefactor     .10000E-03    2.3162        .93151E-06** at limit **
  10  Prefactor     .10769E-03    1.8230       -.28984E-05** at limit **
  11  norm          7.8120        3.3589        .25933E-05    .30695E-03
  12  norm          6.2950        2.6016        .22093E-05    .25482E-02
  13  Prefactor     .10001E-03    12.864       -.25948E-05** at limit **
  14  Prefactor     3.0807        1.5357        .14875E-05    .63854E-04
  15  norm          1.9881        1.5833       -.75682E-07   -.52813E-03
  16  norm          2.3737        2.6027       -.35207E-06   -.59249E-04
  17  norm          1.6389        2.8999        .30802E-06    .66341E-04
  18  Prefactor     59.946        1.9479       -.37810E-06    .97294E-02
  19  norm          .10000E-03    2.3630       -.57205E-06** at limit **
  20  Prefactor     28.788        1.0042        .10377E-07   -.36834E-03
  21  Normalizat    1.2690        .27808       -.32667E-05   -.15297E-03
  22  Prefactor     .33750        .29148        .18078E-05   -.58884E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100029
  norm       = 0.0001
  Prefactor  = 346.225
  Prefactor  = 0.000100005
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100052
  Prefactor  = 1.60446
  Prefactor  = 0.0001
  Prefactor  = 0.00010769
  norm       = 7.81197
  norm       = 6.29499
  Prefactor  = 0.000100005
  Prefactor  = 3.0807
  norm       = 1.98813
  norm       = 2.3737
  norm       = 1.63893
  Prefactor  = 59.9459
  norm       = 0.0001
  Prefactor  = 28.7882
  Normalizat = 1.26905
  Prefactor  = 0.337495
 **********
 **   18 **HESSE 
 **********

 FCN=   2643.557     FROM HESSE     STATUS=OK           392 CALLS     2415 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    15.961        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.6224        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     346.23        206.35        .54698E-03   -1.1965    
   4  Prefactor     .10000E-03    16.802        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    8.8276        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.2138        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10005E-03    27.308        .64546E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6045        125.25        .83214E-02   -1.5455    
   9  Prefactor     .10000E-03    2.3072        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10769E-03    25.066        .10714       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.8120        6.2853        .35878E-02   -1.5149    
  12  norm          6.2950        4.0447        .39997E-02   -1.5206    
  13  Prefactor     .10001E-03    13.155        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0807        8.8349        .57767E-02   -1.5357    
  15  norm          1.9881        1.5926        .73468E-02   -1.5426    
  16  norm          2.3737        2.6599        .66481E-02   -1.5400    
  17  norm          1.6389        2.9365        .82519E-02   -1.5452    
  18  Prefactor     59.946        68.451        .12954E-02   -1.4158    
  19  norm          .10000E-03    2.3145        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     28.788        23.627        .18668E-02   -1.4634    
  21  Normalizat    1.2690        .27243        .33381E-01   -.84495    
  22  Prefactor     .33750        .27767        .85410E-01   -1.2013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11882e-06
Minuit parameter uncertainties:
  1  0.00137252
  2  7.07612e-06
  3  206.792
  4  0.000577573
  5  5.74639e-05
  6  9.7336e-06
  7  0.00239107
  8  28.4135
  9  2.2185e-05
  10  0.0277788
  11  6.2858
  12  4.04486
  13  0.000523821
  14  8.83859
  15  1.59265
  16  2.66
  17  2.93673
  18  68.5412
  19  1.21379e-06
  20  23.6348
  21  0.272736
  22  0.278774
Done.

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

Extracting fit parameters...

4FGL J0118.9-2141
   Spectrum: LogParabola
259         norm:  7.812e+00  6.286e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        alpha:  2.251e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  9.012e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.069e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  3.375e-01  2.788e-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.269e+00  2.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.17
Ra Dec: 19.725 -21.695
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 9.90e-08 +/- 7.96e-08
Energy Flux (Fixed Index): 4.11e-05 +/- 3.31e-05

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) = 2642.83924005
delta logL = 0.718101530475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2642.82389778
delta logL = 0.733443802342

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6138       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0932       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1578       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .42420       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2642.824     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      271 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6143        4.9981        .44463E-04   -.73113E-03
   2  alpha         3.0931        .85540        .57153E-02   -.46615E-04
   3  Normalizat    1.1579        .29174        .19696E-03   -.33617E-04
   4  Prefactor     .42412        .30702        .33986E-03    .73809E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.61431
  alpha      = 3.09311
  Normalizat = 1.15787
  Prefactor  = 0.424117
 **********
 **   18 **HESSE 
 **********

 FCN=   2642.824     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6143        4.2104        .17785E-05   -1.5328    
   2  alpha         3.0931        .72452        .22861E-03    .23953    
   3  Normalizat    1.1579        .28888        .39391E-04   -.87915    
   4  Prefactor     .42412        .30430        .13595E-04   -1.1559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06538e-10
Minuit parameter uncertainties:
  1  4.21071
  2  0.735717
  3  0.289276
  4  0.305473
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/539514': 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) = 2642.8238977
delta logL = 0.733443875669

Extracting fit parameters...

4FGL J0118.9-2141
   Spectrum: LogParabola
259         norm:  3.614e+00  4.211e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        alpha:  3.093e+00  7.357e-01  0.000e+00  5.000e+00 ( 1.000e+00)
261         beta:  9.012e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.069e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  4.241e-01  3.055e-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.158e+00  2.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.77
Ra Dec: 19.725 -21.695
Photon Index (Free Index): 3.09 +/- 0.74
Photon Flux (Free Index): 1.89e-07 +/- 1.07e-07
Energy Flux (Free Index): 3.92e-05 +/- 1.93e-05

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/539514/cmap_HighResolution_363225601_363484801_4FGL_J0118.9-2141_daily_bin478.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.90e-08', energy_flux2='3.92e-05', photon_flux_error='7.96e-08', dlogl='7.33e-01', energy_flux='4.11e-05', photon_flux2='1.89e-07', job_status='DONE', time_completed='2021-08-13 23:07:11.848527', photon_index_error2='0.74', photon_index2='3.09', ts='5.17', fit_tolerance='1e-08', GAL='0.34', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.27', time_epoch_completed='1628921231.85', return_code='0', job_id='539514', GAL2='0.42', EG2='1.16', return_code2='0', energy_flux_error='3.31e-05', photon_flux_error2='1.07e-07', ts2='6.77', photon_index='2.25' WHERE bin_id='478' AND source_name='4FGL J0118.9-2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 23:07:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 539514: <4FGL_J0118.9-2141_daily_bin478> in cluster <slac> Done

Job <4FGL_J0118.9-2141_daily_bin478> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Aug 13 22:55:26 2021
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 22:56:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 22:56:35 2021
Terminated at Fri Aug 13 23:07:13 2021
Results reported at Fri Aug 13 23:07:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.9-2141_daily_bin478 19.7254 -21.6948 363225601 363484801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0118.9-2141 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   611.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   637 sec.
    Turnaround time :                            707 sec.

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

