/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 173 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 = 7482
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1418.4-0233_daily_bin350
RA = 214.606, Dec = -2.5594
tmin = 330048001, tmax = 330307201
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='324950', job_status='RUN', time_executed='2021-09-09 08:33:41.678656', time_epoch_executed='1631201621.68' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/324950

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/324950/ft1_4FGL_J1418.4-0233_daily_bin350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/324950/ft2_4FGL_J1418.4-0233_daily_bin350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/324950/ft1_4FGL_J1418.4-0233_daily_bin350.fits outfile=/scratch/kocevski/324950/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin350.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=330048001.0 tmax=330307201.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.51
user 3.24
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/324950/ft2_4FGL_J1418.4-0233_daily_bin350.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/324950/ft2_4FGL_J1418.4-0233_daily_bin350.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/324950/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin350.fits evtable="EVENTS" outfile="/scratch/kocevski/324950/ft1_filtered_4FGL_J1418.4-0233_daily_bin350.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.56
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/324950/ft1_filtered_4FGL_J1418.4-0233_daily_bin350.fits" evtable="EVENTS" scfile=/scratch/kocevski/324950/ft2_4FGL_J1418.4-0233_daily_bin350.fits sctable="SC_DATA" outfile=/scratch/kocevski/324950/ltcube_330048001_330307201_4FGL_J1418.4-0233_daily_bin350.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/324950/ft2_4FGL_J1418.4-0233_daily_bin350.fits
.....................!
real 12.46
user 12.10
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/324950/ft1_filtered_4FGL_J1418.4-0233_daily_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/324950/ft2_4FGL_J1418.4-0233_daily_bin350.fits sctable="SC_DATA" expcube=/scratch/kocevski/324950/ltcube_330048001_330307201_4FGL_J1418.4-0233_daily_bin350.fits outfile=/scratch/kocevski/324950/expmap_330048001_330307201_4FGL_J1418.4-0233_daily_bin350.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/324950/ltcube_330048001_330307201_4FGL_J1418.4-0233_daily_bin350.fits
.....................!
real 190.41
user 185.30
sys 4.74

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

Setting source of interest to:
4FGL J1418.4-0233 @ 214.606 -2.5594

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/324950/ft1_filtered_4FGL_J1418.4-0233_daily_bin350.fits scfile=/scratch/kocevski/324950/ft2_4FGL_J1418.4-0233_daily_bin350.fits outfile=/scratch/kocevski/324950/cmap_330048001_330307201_4FGL_J1418.4-0233_daily_bin350.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=214.606 yref=-2.5594 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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/324950/ft1_filtered_4FGL_J1418.4-0233_daily_bin350.fits scfile=/scratch/kocevski/324950/ft2_4FGL_J1418.4-0233_daily_bin350.fits outfile=/scratch/kocevski/324950/cmap_HighResolution_330048001_330307201_4FGL_J1418.4-0233_daily_bin350.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=214.606 yref=-2.5594 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/324950/ft1_filtered_4FGL_J1418.4-0233_daily_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/324950/ft2_4FGL_J1418.4-0233_daily_bin350.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/324950/Model_4FGL_J1418.4-0233_daily_bin350.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/324950/ft1_filtered_4FGL_J1418.4-0233_daily_bin350.fits.....................!
real 60.06
user 58.77
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/324950/ft1_filtered_4FGL_J1418.4-0233_daily_bin350.fits', '/scratch/kocevski/324950/ft2_4FGL_J1418.4-0233_daily_bin350.fits', expMap='/scratch/kocevski/324950/expmap_330048001_330307201_4FGL_J1418.4-0233_daily_bin350.fits', expCube='/scratch/kocevski/324950/ltcube_330048001_330307201_4FGL_J1418.4-0233_daily_bin350.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/324950/Model_4FGL_J1418.4-0233_daily_bin350.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1418.4-0233'

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  7.824e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  8.008e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/324950/ft1_filtered_4FGL_J1418.4-0233_daily_bin350.fits
Spacecraft file(s): /scratch/kocevski/324950/ft2_4FGL_J1418.4-0233_daily_bin350.fits
Exposure map: /scratch/kocevski/324950/expmap_330048001_330307201_4FGL_J1418.4-0233_daily_bin350.fits
Exposure cube: /scratch/kocevski/324950/ltcube_330048001_330307201_4FGL_J1418.4-0233_daily_bin350.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/324950/Model_4FGL_J1418.4-0233_daily_bin350.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) = 7914.56494364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36694       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.1087       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9835       1.0000         .10000E-03   10000.    
     7 'norm      '    5.3080       1.0000         .10000E-03   10000.    
     8 'Prefactor '    46.374       1.0000         .10000E-03   10000.    
     9 'norm      '    16.399       1.0000         .10000E-03   10000.    
    10 'norm      '    .79695       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11837E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.7969       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2691       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .82372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7914.510     FROM MIGRAD    STATUS=CONVERGED    371 CALLS     1514 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36767        .94541        .46953E-06    .34879E-04
   2  norm          .10000E-03    9.9278       -.46464E-06** at limit **
   3  Prefactor     .10000E-03    3.8117       -.24664E-06** at limit **
   4  Prefactor     .10000E-03    8.7471        .27825E-06** at limit **
   5  norm          3.1113        5.0606        .22829E-06   -.16939E-03
   6  Prefactor     5.9782        10.725        .23465E-06   -.26932E-04
   7  norm          5.3069        2.5294       -.94749E-07   -.28754E-03
   8  Prefactor     46.368        24.283        .23023E-07   -.15246E-04
   9  norm          16.400        10.539        .23737E-07   -.30337E-05
  10  norm          .79772        5.0230        .27832E-05   -.24201E-03
  11  Prefactor     .10000E-03    21.365       -.35203E-05** at limit **
  12  Prefactor     .10000E-03    6.5324       -.14958E-06** at limit **
  13  norm          .10000E-03    25.501        .31394E-05** at limit **
  14  Prefactor     .10000E-03    112.71       -.10878E-05** at limit **
  15  Prefactor     .10000E-03    15.955        .10035E-05** at limit **
  16  norm          6.7976        9.4741        .17539E-06   -.24058E-04
  17  Normalizat    1.2694        .18738       -.55512E-06   -.10279E-03
  18  Prefactor     .82348        .10519       -.12820E-06   -.14859E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.367675
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.11132
  Prefactor  = 5.97825
  norm       = 5.30693
  Prefactor  = 46.3677
  norm       = 16.3999
  norm       = 0.797717
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.79759
  Normalizat = 1.26937
  Prefactor  = 0.823481
 **********
 **   18 **HESSE 
 **********

 FCN=   7914.510     FROM HESSE     STATUS=OK           248 CALLS     1762 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36767        .89427        .13727E-02   -1.5587    
   2  norm          .10000E-03    9.9576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.8914        .33753E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.7766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.1113        5.0674        .22998E-03   -1.5355    
   6  Prefactor     5.9782        10.726        .16415E-03   -1.5219    
   7  norm          5.3069        2.5277        .92154E-04   -1.5247    
   8  Prefactor     46.368        24.316        .58879E-04   -1.4345    
   9  norm          16.400        10.541        .98902E-04   -1.4898    
  10  norm          .79772        5.2425        .38995E-03   -1.5529    
  11  Prefactor     .10000E-03    22.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.5552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    26.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    113.69        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    16.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.7976        9.4605        .15390E-03   -1.5186    
  17  Normalizat    1.2694        .22212        .27902E-03   -.84485    
  18  Prefactor     .82348        .12493        .19507E-03   -.98869    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1347e-10
Minuit parameter uncertainties:
  1  0.894302
  2  3.74302e-05
  3  6.22979e-06
  4  2.27076e-05
  5  5.0681
  6  10.7293
  7  2.52773
  8  24.3215
  9  10.5421
  10  4.09027
  11  0.000395752
  12  9.95757e-06
  13  0.000389969
  14  0.000238597
  15  9.95028e-05
  16  9.46256
  17  0.222283
  18  0.124972
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.640e+01  1.054e+01  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  8.008e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  8.235e-01  1.250e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.269e+00  2.223e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.94
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 2.26e-08 +/- 1.45e-08
Energy Flux (Fixed Index): 3.86e-05 +/- 2.48e-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) = 7914.50653049
delta logL = 0.00333193470942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7914.50649028
delta logL = 0.00337214268257

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7914.506     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      220 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.322        321.28        .24756E-02   -.99423E-05
   2  alpha         1.5970        2.5364        .43190       -.17156E-05
   3  Normalizat    1.2701        .19291        .63064E-01    .93053E-05
   4  Prefactor     .82358        .60628E-01    .44023E-01    .73596E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 16.3218
  alpha      = 1.59704
  Normalizat = 1.27011
  Prefactor  = 0.823582
 **********
 **   18 **HESSE 
 **********

 FCN=   7914.506     FROM HESSE     STATUS=OK            33 CALLS      253 TOTAL
                     EDM=   .29E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.322        10.621        .99024E-04   -1.4900    
   2  alpha         1.5970        .51379        .14730E-01   -.36954    
   3  Normalizat    1.2701        .21423        .27895E-03   -.84463    
   4  Prefactor     .82358        .12429        .19507E-03   -.98865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85806e-14
Minuit parameter uncertainties:
  1  10.6218
  2  0.518043
  3  0.214378
  4  0.124328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/324950': 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) = 7914.50647584
delta logL = 0.00338658155124

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.632e+01  1.062e+01  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.597e+00  5.180e-01  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  8.008e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  8.236e-01  1.243e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.270e+00  2.144e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.95
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 1.60 +/- 0.52
Photon Flux (Free Index): 2.13e-08 +/- 2.01e-08
Energy Flux (Free Index): 4.08e-05 +/- 3.89e-05

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/324950/cmap_HighResolution_330048001_330307201_4FGL_J1418.4-0233_daily_bin350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.26e-08', energy_flux2='4.08e-05', photon_flux_error='1.45e-08', dlogl='3.39e-03', energy_flux='3.86e-05', photon_flux2='2.13e-08', job_status='DONE', time_completed='2021-09-09 08:42:37.156418', photon_index_error2='0.52', photon_index2='1.60', ts='13.94', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='3.89e-05', EG='1.27', time_epoch_completed='1631202157.16', return_code='0', job_id='324950', GAL2='0.82', EG2='1.27', return_code2='0', energy_flux_error='2.48e-05', photon_flux_error2='2.01e-08', ts2='13.95', photon_index='1.64' WHERE bin_id='350' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:42:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 324950: <4FGL_J1418.4-0233_daily_bin350> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin350> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 08:30:35 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:30:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 08:30:37 2021
Terminated at Thu Sep  9 08:42:37 2021
Results reported at Thu Sep  9 08:42:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin350 214.606 -2.5594 330048001 330307201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1418.4-0233 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   520.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            722 sec.

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

