/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 64 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 = 7241
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0118.9-2141_daily_bin1600
RA = 19.7254, Dec = -21.6948
tmin = 654048001, tmax = 654307201
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='253365', job_status='RUN', time_executed='2021-09-26 00:05:10.165354', time_epoch_executed='1632639910.17' WHERE source_name='4FGL J0118.9-2141' and cadence='daily' and bin_id='1600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253365

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253365/ft1_4FGL_J0118.9-2141_daily_bin1600.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253365/ft2_4FGL_J0118.9-2141_daily_bin1600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253365/ft1_4FGL_J0118.9-2141_daily_bin1600.fits outfile=/scratch/kocevski/253365/ft1_filteredMKT_4FGL_J0118.9-2141_daily_bin1600.fits ra=19.7254 dec=-21.6948 rad=12.0 tmin=654048001.0 tmax=654307201.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.12
user 3.35
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253365/ft2_4FGL_J0118.9-2141_daily_bin1600.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/253365/ft1_filteredMKT_4FGL_J0118.9-2141_daily_bin1600.fits evtable="EVENTS" outfile="/scratch/kocevski/253365/ft1_filtered_4FGL_J0118.9-2141_daily_bin1600.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.58
user 0.36
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253365/ft1_filtered_4FGL_J0118.9-2141_daily_bin1600.fits" evtable="EVENTS" scfile=/scratch/kocevski/253365/ft2_4FGL_J0118.9-2141_daily_bin1600.fits sctable="SC_DATA" outfile=/scratch/kocevski/253365/ltcube_654048001_654307201_4FGL_J0118.9-2141_daily_bin1600.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/253365/ft2_4FGL_J0118.9-2141_daily_bin1600.fits
.....................!
real 14.41
user 14.02
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253365/ft1_filtered_4FGL_J0118.9-2141_daily_bin1600.fits evtable="EVENTS" scfile=/scratch/kocevski/253365/ft2_4FGL_J0118.9-2141_daily_bin1600.fits sctable="SC_DATA" expcube=/scratch/kocevski/253365/ltcube_654048001_654307201_4FGL_J0118.9-2141_daily_bin1600.fits outfile=/scratch/kocevski/253365/expmap_654048001_654307201_4FGL_J0118.9-2141_daily_bin1600.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/253365/ltcube_654048001_654307201_4FGL_J0118.9-2141_daily_bin1600.fits
.....................!
real 191.74
user 185.44
sys 5.34

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/253365/ft1_filtered_4FGL_J0118.9-2141_daily_bin1600.fits scfile=/scratch/kocevski/253365/ft2_4FGL_J0118.9-2141_daily_bin1600.fits outfile=/scratch/kocevski/253365/cmap_654048001_654307201_4FGL_J0118.9-2141_daily_bin1600.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 0.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253365/ft1_filtered_4FGL_J0118.9-2141_daily_bin1600.fits scfile=/scratch/kocevski/253365/ft2_4FGL_J0118.9-2141_daily_bin1600.fits outfile=/scratch/kocevski/253365/cmap_HighResolution_654048001_654307201_4FGL_J0118.9-2141_daily_bin1600.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 0.61
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/253365/ft1_filtered_4FGL_J0118.9-2141_daily_bin1600.fits evtable="EVENTS" scfile=/scratch/kocevski/253365/ft2_4FGL_J0118.9-2141_daily_bin1600.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/253365/Model_4FGL_J0118.9-2141_daily_bin1600.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/253365/ft1_filtered_4FGL_J0118.9-2141_daily_bin1600.fits.....................!
real 40.71
user 38.96
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/253365/ft1_filtered_4FGL_J0118.9-2141_daily_bin1600.fits', '/scratch/kocevski/253365/ft2_4FGL_J0118.9-2141_daily_bin1600.fits', expMap='/scratch/kocevski/253365/expmap_654048001_654307201_4FGL_J0118.9-2141_daily_bin1600.fits', expCube='/scratch/kocevski/253365/ltcube_654048001_654307201_4FGL_J0118.9-2141_daily_bin1600.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/253365/Model_4FGL_J0118.9-2141_daily_bin1600.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/253365/ft1_filtered_4FGL_J0118.9-2141_daily_bin1600.fits
Spacecraft file(s): /scratch/kocevski/253365/ft2_4FGL_J0118.9-2141_daily_bin1600.fits
Exposure map: /scratch/kocevski/253365/expmap_654048001_654307201_4FGL_J0118.9-2141_daily_bin1600.fits
Exposure cube: /scratch/kocevski/253365/ltcube_654048001_654307201_4FGL_J0118.9-2141_daily_bin1600.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/253365/Model_4FGL_J0118.9-2141_daily_bin1600.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) = 4034.69012115

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    7.7228       1.0000         .10000E-03   10000.    
     3 'Prefactor '    172.29       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .65215       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.5431       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7356       1.0000         .10000E-03   10000.    
    11 'norm      '    .22862       1.0000         .10000E-03   10000.    
    12 'norm      '    1.8609       1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.047       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.7659       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13880E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.2702       1.0000         .10000E-03   10000.    
    20 'Prefactor '    31.058       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .84201       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0161       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=   4034.688     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2397 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.3889       -.18218E-07** at limit **
   2  norm          7.7233        6.3731       -.46461E-06    .60374E-03
   3  Prefactor     172.44        140.98        .56846E-06   -.54092E-04
   4  Prefactor     .10000E-03    7.8612       -.37215E-07** at limit **
   5  norm          .63068        37.318       -.71863E-05    .10168E-03
   6  norm          .10000E-03    1.5329       -.23227E-08** at limit **
   7  Prefactor     .10000E-03    5.0600       -.19830E-06** at limit **
   8  Prefactor     .10000E-03    8.3432       -.58095E-07** at limit **
   9  Prefactor     2.5430        3.1790       -.89175E-07    .42174E-04
  10  Prefactor     3.8902        25.343        .23640E-05    .34392E-03
  11  norm          .19602        9.4465        .18087E-06    .24940E-03
  12  norm          1.8610        2.9167       -.11188E-06    .12981E-03
  13  Prefactor     18.044        20.882        .21697E-06    .80890E-04
  14  Prefactor     .10000E-03    1.3439       -.42258E-07** at limit **
  15  norm          .10000E-03    .77059       -.57275E-07** at limit **
  16  norm          .10000E-03    1.4659       -.13988E-08** at limit **
  17  norm          1.7674        3.6349       -.23451E-06    .11918E-03
  18  Prefactor     .10000E-03    34.334       -.14390E-07** at limit **
  19  norm          3.2704        3.3259       -.68084E-07    .61904E-04
  20  Prefactor     31.049        20.165       -.16654E-06    .11731E-04
  21  Normalizat    .84157        .20113       -.15705E-06    .80602E-04
  22  Prefactor     1.0165        .21697        .10877E-05    .18858E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 7.72334
  Prefactor  = 172.438
  Prefactor  = 0.0001
  norm       = 0.63068
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.54302
  Prefactor  = 3.89016
  norm       = 0.196017
  norm       = 1.86103
  Prefactor  = 18.0438
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.76739
  Prefactor  = 0.0001
  norm       = 3.27044
  Prefactor  = 31.049
  Normalizat = 0.841568
  Prefactor  = 1.01646
 **********
 **   18 **HESSE 
 **********

 FCN=   4034.688     FROM HESSE     STATUS=OK           348 CALLS     2745 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.3910        .12997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.7233        6.2126        .68449E-03   -1.5152    
   3  Prefactor     172.44        143.34        .15370E-03   -1.3074    
   4  Prefactor     .10000E-03    7.8654        .17395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .63068        41.181        .40928E-02   -1.5549    
   6  norm          .10000E-03    1.5347        .76801E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.1013        .13956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.3656        .17914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.5430        3.1673        .12246E-03   -1.5389    
  10  Prefactor     3.8902        79.220        .20891E-03   -1.5313    
  11  norm          .19602        52.132        .18042E-02   -1.5619    
  12  norm          1.8610        2.8724        .12411E-03   -1.5435    
  13  Prefactor     18.044        20.774        .94279E-04   -1.4858    
  14  Prefactor     .10000E-03    1.3464        .71909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .80618        .10872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.5104        .14983E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.7674        3.6059        .16164E-03   -1.5442    
  18  Prefactor     .10000E-03    34.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.2704        3.3201        .11231E-03   -1.5346    
  20  Prefactor     31.049        20.156        .71896E-04   -1.4593    
  21  Normalizat    .84157        .24139        .23279E-03   -.98545    
  22  Prefactor     1.0165        .25973        .24438E-03   -.92183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28303e-09
Minuit parameter uncertainties:
  1  7.57859e-08
  2  6.21314
  3  143.633
  4  5.31099e-06
  5  10.1991
  6  2.75599e-06
  7  5.02181e-06
  8  1.34759e-05
  9  3.16747
  10  35.163
  11  6.39736
  12  2.87258
  13  20.7823
  14  5.2198e-06
  15  9.96409e-06
  16  6.84291e-06
  17  3.60635
  18  1.11094e-05
  19  3.32033
  20  20.1603
  21  0.241703
  22  0.260054
Done.

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

Extracting fit parameters...

4FGL J0118.9-2141
   Spectrum: LogParabola
259         norm:  1.960e-01  6.397e+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:  1.016e+00  2.601e-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.416e-01  2.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 19.725 -21.695
Photon Flux Upper Limit: 7.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253365/likelihoodResults_654048001_654307201_4FGL_J0118.9-2141_daily_bin1600.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) = 4034.37345826
delta logL = 0.314561775303

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4034.18560666
delta logL = 0.50241338008

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27080E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .76400       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0749       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=   4034.186     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      327 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27049E-01    .34338E-01    .10906E-03   -.25356E-02
   2  alpha         5.0000        3.2846        .50000    ** at limit **
   3  Normalizat    .76416        .23592        .24299E-03   -.67443E-04
   4  Prefactor     1.0748        .26145        .23841E-03   -.35026E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0270494
  alpha      = 5
  Normalizat = 0.76416
  Prefactor  = 1.07476
 **********
 **   18 **HESSE 
 **********

 FCN=   4034.186     FROM HESSE     STATUS=OK            31 CALLS      358 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27049E-01    .33272E-01    .43625E-05   -1.5675    
   2  alpha         5.0000        3.2432        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .76416        .23667        .97195E-05   -1.0141    
   4  Prefactor     1.0748        .26202        .95362E-05   -.90277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50015e-11
Minuit parameter uncertainties:
  1  0.0332716
  2  4.99921e-05
  3  0.236988
  4  0.262333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253365': 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) = 4034.18560473
delta logL = 0.50241530945

Extracting fit parameters...

4FGL J0118.9-2141
   Spectrum: LogParabola
259         norm:  2.705e-02  3.327e-02  1.000e-04  1.000e+04 ( 1.000e-12)
260        alpha:  5.000e+00  4.999e-05  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:  1.075e+00  2.623e-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.642e-01  2.370e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.11
Ra Dec: 19.725 -21.695
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 6.32e-08 +/- 7.74e-08
Energy Flux (Free Index): 8.66e-06 +/- 1.06e-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/253365/cmap_HighResolution_654048001_654307201_4FGL_J0118.9-2141_daily_bin1600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-05', comment='SUCCESS', energy_flux2='8.66e-06', dlogl='5.02e-01', photon_flux2='6.32e-08', job_status='DONE', time_completed='2021-09-26 00:13:56.355651', photon_index_error2='0.00', photon_index2='5.00', ts='0.01', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='7.73e-08', energy_flux_error2='1.06e-05', EG='0.84', time_epoch_completed='1632640436.36', return_code='0', job_id='253365', GAL2='1.07', EG2='0.76', return_code2='0', photon_flux_error2='7.74e-08', ts2='1.11', photon_index='2.25' WHERE bin_id='1600' AND source_name='4FGL J0118.9-2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 00:13:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 253365: <4FGL_J0118.9-2141_daily_bin1600> in cluster <slac> Done

Job <4FGL_J0118.9-2141_daily_bin1600> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep 26 00:00:32 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 00:03:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 00:03:44 2021
Terminated at Sun Sep 26 00:13:57 2021
Results reported at Sun Sep 26 00:13:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.9-2141_daily_bin1600 19.7254 -21.6948 654048001 654307201 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 :                                   525.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            805 sec.

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

