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


Performing analysis on: 4FGL_J0118.7-0848_daily_bin536
RA = 19.6884, Dec = -8.808
tmin = 378259201, tmax = 378518401
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='531965', job_status='RUN', time_executed='2021-08-13 22:34:58.612094', time_epoch_executed='1628919298.61' WHERE source_name='4FGL J0118.7-0848' and cadence='daily' and bin_id='536'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/531965

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/531965/ft1_4FGL_J0118.7-0848_daily_bin536.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/531965/ft2_4FGL_J0118.7-0848_daily_bin536.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/531965/ft1_4FGL_J0118.7-0848_daily_bin536.fits outfile=/scratch/kocevski/531965/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin536.fits ra=19.6884 dec=-8.808 rad=12.0 tmin=378259201.0 tmax=378518401.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 5.21
user 4.23
sys 0.92

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/531965/ft2_4FGL_J0118.7-0848_daily_bin536.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/531965/ft2_4FGL_J0118.7-0848_daily_bin536.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/531965/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin536.fits evtable="EVENTS" outfile="/scratch/kocevski/531965/ft1_filtered_4FGL_J0118.7-0848_daily_bin536.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/531965/ft1_filtered_4FGL_J0118.7-0848_daily_bin536.fits" evtable="EVENTS" scfile=/scratch/kocevski/531965/ft2_4FGL_J0118.7-0848_daily_bin536.fits sctable="SC_DATA" outfile=/scratch/kocevski/531965/ltcube_378259201_378518401_4FGL_J0118.7-0848_daily_bin536.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/531965/ft2_4FGL_J0118.7-0848_daily_bin536.fits
.....................!
real 12.73
user 11.55
sys 1.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/531965/ft1_filtered_4FGL_J0118.7-0848_daily_bin536.fits evtable="EVENTS" scfile=/scratch/kocevski/531965/ft2_4FGL_J0118.7-0848_daily_bin536.fits sctable="SC_DATA" expcube=/scratch/kocevski/531965/ltcube_378259201_378518401_4FGL_J0118.7-0848_daily_bin536.fits outfile=/scratch/kocevski/531965/expmap_378259201_378518401_4FGL_J0118.7-0848_daily_bin536.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/531965/ltcube_378259201_378518401_4FGL_J0118.7-0848_daily_bin536.fits
.....................!
real 190.91
user 185.16
sys 5.42

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

Setting source of interest to:
4FGL J0118.7-0848 @ 19.6884 -8.808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/531965/ft1_filtered_4FGL_J0118.7-0848_daily_bin536.fits scfile=/scratch/kocevski/531965/ft2_4FGL_J0118.7-0848_daily_bin536.fits outfile=/scratch/kocevski/531965/cmap_378259201_378518401_4FGL_J0118.7-0848_daily_bin536.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.6884 yref=-8.808 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.23
user 0.37
sys 0.85

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/531965/ft1_filtered_4FGL_J0118.7-0848_daily_bin536.fits scfile=/scratch/kocevski/531965/ft2_4FGL_J0118.7-0848_daily_bin536.fits outfile=/scratch/kocevski/531965/cmap_HighResolution_378259201_378518401_4FGL_J0118.7-0848_daily_bin536.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.6884 yref=-8.808 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.24
user 0.38
sys 0.83

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/531965/ft1_filtered_4FGL_J0118.7-0848_daily_bin536.fits evtable="EVENTS" scfile=/scratch/kocevski/531965/ft2_4FGL_J0118.7-0848_daily_bin536.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/531965/Model_4FGL_J0118.7-0848_daily_bin536.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/531965/ft1_filtered_4FGL_J0118.7-0848_daily_bin536.fits.....................!
real 63.15
user 60.76
sys 2.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/531965/ft1_filtered_4FGL_J0118.7-0848_daily_bin536.fits', '/scratch/kocevski/531965/ft2_4FGL_J0118.7-0848_daily_bin536.fits', expMap='/scratch/kocevski/531965/expmap_378259201_378518401_4FGL_J0118.7-0848_daily_bin536.fits', expCube='/scratch/kocevski/531965/ltcube_378259201_378518401_4FGL_J0118.7-0848_daily_bin536.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/531965/Model_4FGL_J0118.7-0848_daily_bin536.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0118.7-0848'

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  4.571e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.596e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/531965/ft1_filtered_4FGL_J0118.7-0848_daily_bin536.fits
Spacecraft file(s): /scratch/kocevski/531965/ft2_4FGL_J0118.7-0848_daily_bin536.fits
Exposure map: /scratch/kocevski/531965/expmap_378259201_378518401_4FGL_J0118.7-0848_daily_bin536.fits
Exposure cube: /scratch/kocevski/531965/ltcube_378259201_378518401_4FGL_J0118.7-0848_daily_bin536.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/531965/Model_4FGL_J0118.7-0848_daily_bin536.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) = 6471.06776608

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41660       1.0000         .10000E-03   10000.    
     2 'norm      '    9.9007       1.0000         .10000E-03   10000.    
     3 'norm      '    3.8676       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1746       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.910       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.6261       1.0000         .10000E-03   10000.    
     8 'Prefactor '    41.310       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0264       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.800       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.8553       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .99529       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .83902       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6471.058     FROM MIGRAD    STATUS=CONVERGED    367 CALLS     1765 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41690        2.9196        .18598E-05   -.17834E-03
   2  norm          9.9013        5.1757       -.25513E-07   -.49940E-03
   3  norm          3.8674        4.4873       -.30970E-06   -.35881E-03
   4  Prefactor     5.1747        13.213        .16326E-06   -.21395E-04
   5  Prefactor     17.897        50.819       -.95032E-06   -.89903E-04
   6  Prefactor     .10000E-03    61.159       -.12698E-05** at limit **
   7  norm          3.6261        1.4570        .15246E-08   -.10073E-03
   8  Prefactor     41.307        39.405       -.26737E-06   -.32743E-04
   9  Prefactor     .10000E-03    4.8159        .12182E-06** at limit **
  10  Prefactor     2.0268        3.4569        .48617E-06   -.11960E-03
  11  Prefactor     17.808        26.976        .11584E-06    .44118E-04
  12  Prefactor     .10000E-03    5.6418        .15656E-06** at limit **
  13  norm          .10000E-03    5.0056       -.76639E-08** at limit **
  14  norm          .10000E-03    .27800        .28395E-07** at limit **
  15  norm          4.8553        3.8280       -.46973E-07   -.27693E-03
  16  Prefactor     .10000E-03    49.942        .26116E-06** at limit **
  17  Normalizat    .99525        .14915       -.32283E-06   -.11929E-03
  18  Prefactor     .83905        .14504       -.25307E-06   -.11272E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.4169
  norm       = 9.90131
  norm       = 3.8674
  Prefactor  = 5.17471
  Prefactor  = 17.8974
  Prefactor  = 0.0001
  norm       = 3.62606
  Prefactor  = 41.3071
  Prefactor  = 0.0001
  Prefactor  = 2.02677
  Prefactor  = 17.8075
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.85534
  Prefactor  = 0.0001
  Normalizat = 0.995253
  Prefactor  = 0.839049
 **********
 **   18 **HESSE 
 **********

 FCN=   6471.058     FROM HESSE     STATUS=OK           250 CALLS     2015 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41690        2.9421        .25394E-03   -1.5579    
   2  norm          9.9013        5.1723        .11453E-03   -1.5079    
   3  norm          3.8674        4.4883        .17287E-03   -1.5315    
   4  Prefactor     5.1747        13.190        .17672E-03   -1.5253    
   5  Prefactor     17.897        51.095        .94640E-04   -1.4862    
   6  Prefactor     .10000E-03    62.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.6261        1.4490        .59132E-04   -1.5327    
   8  Prefactor     41.307        37.488        .62368E-04   -1.4422    
   9  Prefactor     .10000E-03    17.209        .31984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0268        3.4503        .18269E-03   -1.5423    
  11  Prefactor     17.808        26.999        .94932E-04   -1.4864    
  12  Prefactor     .10000E-03    5.6988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.0098        .17577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .28607        .82790E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.8553        3.8455        .13565E-03   -1.5267    
  16  Prefactor     .10000E-03    50.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .99525        .16913        .22672E-03   -.93190    
  18  Prefactor     .83905        .16455        .23994E-03   -.98305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15238e-10
Minuit parameter uncertainties:
  1  2.21491
  2  5.17254
  3  4.48868
  4  13.1977
  5  51.22
  6  0.000297078
  7  1.44898
  8  37.509
  9  1.6477e-05
  10  3.4506
  11  27.0177
  12  1.94493e-06
  13  3.24076e-07
  14  1.70121e-07
  15  3.84567
  16  0.000142471
  17  0.169217
  18  0.164648
Done.

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

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  1.781e+01  2.702e+01  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.596e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  8.390e-01  1.646e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  9.953e-01  1.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.63
Ra Dec: 19.688 -8.808
Photon Flux Upper Limit: 9.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/531965/likelihoodResults_378259201_378518401_4FGL_J0118.7-0848_daily_bin536.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) = 6471.05767457
delta logL = 0.000311641683766

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6471.05754137
delta logL = 0.000444840406089

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.355       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6394       1.0000          .0000       10.000    
     3 'Normalizat'    .99458       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83924       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+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=   6471.058     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      244 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.343        32.931        .96139E-04    .82256E-03
   2  Index         2.6369        1.4596        .14036E-01    .25921E-03
   3  Normalizat    .99458        .16661        .22679E-03   -.15761E-02
   4  Prefactor     .83945        .16272        .23989E-03   -.19259E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.3429
  Index      = 2.63689
  Normalizat = 0.994575
  Prefactor  = 0.839451
 **********
 **   18 **HESSE 
 **********

 FCN=   6471.058     FROM HESSE     STATUS=OK            23 CALLS      267 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.343        30.803        .19228E-04   -1.4875    
   2  Index         2.6369        1.3672        .56146E-03   -.49226    
   3  Normalizat    .99458        .16641        .45358E-04   -.93212    
   4  Prefactor     .83945        .16261        .47977E-04   -.98290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.80537e-09
Minuit parameter uncertainties:
  1  30.8312
  2  1.39018
  3  0.166499
  4  0.162705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/531965': 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) = 6471.05753588
delta logL = 0.000450334659945

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  1.734e+01  3.083e+01  1.000e-04  1.000e+04 ( 1.000e-13)
295        Index:  2.637e+00  1.390e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  7.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  8.395e-01  1.627e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  9.946e-01  1.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.63
Ra Dec: 19.688 -8.808

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/531965/cmap_HighResolution_378259201_378518401_4FGL_J0118.7-0848_daily_bin536.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.04e-03', job_status='DONE', photon_flux_upper_limit='9.00e-08', time_completed='2021-08-13 22:44:58.836687', job_id='531965', GAL2='0.84', fit_tolerance='1e-08', EG2='0.99', EG='1.00', time_epoch_completed='1628919898.84', return_code2='0', ts='0.63', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='4.50e-04', ts2='0.63', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='536' AND source_name='4FGL J0118.7-0848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 22:44:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 531965: <4FGL_J0118.7-0848_daily_bin536> in cluster <slac> Done

Job <4FGL_J0118.7-0848_daily_bin536> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Aug 13 22:30:40 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 22:32:21 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:32:21 2021
Terminated at Fri Aug 13 22:44:59 2021
Results reported at Fri Aug 13 22:44:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.7-0848_daily_bin536 19.6884 -8.808 378259201 378518401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0118.7-0848 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   608.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            859 sec.

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

