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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin858
RA = 214.86, Dec = -8.6417
tmin = 461721601, tmax = 461980801
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='335622', job_status='RUN', time_executed='2021-09-09 09:08:40.580301', time_epoch_executed='1631203720.58' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='858'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/335622

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/335622/ft1_4FGL_J1419.4-0838_daily_bin858.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/335622/ft2_4FGL_J1419.4-0838_daily_bin858.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/335622/ft1_4FGL_J1419.4-0838_daily_bin858.fits outfile=/scratch/kocevski/335622/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin858.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=461721601.0 tmax=461980801.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.07
user 3.82
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/335622/ft2_4FGL_J1419.4-0838_daily_bin858.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/335622/ft2_4FGL_J1419.4-0838_daily_bin858.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/335622/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin858.fits evtable="EVENTS" outfile="/scratch/kocevski/335622/ft1_filtered_4FGL_J1419.4-0838_daily_bin858.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/335622/ft1_filtered_4FGL_J1419.4-0838_daily_bin858.fits" evtable="EVENTS" scfile=/scratch/kocevski/335622/ft2_4FGL_J1419.4-0838_daily_bin858.fits sctable="SC_DATA" outfile=/scratch/kocevski/335622/ltcube_461721601_461980801_4FGL_J1419.4-0838_daily_bin858.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/335622/ft2_4FGL_J1419.4-0838_daily_bin858.fits
.....................!
real 11.79
user 11.43
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/335622/ft1_filtered_4FGL_J1419.4-0838_daily_bin858.fits evtable="EVENTS" scfile=/scratch/kocevski/335622/ft2_4FGL_J1419.4-0838_daily_bin858.fits sctable="SC_DATA" expcube=/scratch/kocevski/335622/ltcube_461721601_461980801_4FGL_J1419.4-0838_daily_bin858.fits outfile=/scratch/kocevski/335622/expmap_461721601_461980801_4FGL_J1419.4-0838_daily_bin858.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/335622/ltcube_461721601_461980801_4FGL_J1419.4-0838_daily_bin858.fits
.....................!
real 192.20
user 187.34
sys 4.51

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

Setting source of interest to:
4FGL J1419.4-0838 @ 214.86 -8.6417

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/335622/ft1_filtered_4FGL_J1419.4-0838_daily_bin858.fits scfile=/scratch/kocevski/335622/ft2_4FGL_J1419.4-0838_daily_bin858.fits outfile=/scratch/kocevski/335622/cmap_461721601_461980801_4FGL_J1419.4-0838_daily_bin858.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.86 yref=-8.6417 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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/335622/ft1_filtered_4FGL_J1419.4-0838_daily_bin858.fits scfile=/scratch/kocevski/335622/ft2_4FGL_J1419.4-0838_daily_bin858.fits outfile=/scratch/kocevski/335622/cmap_HighResolution_461721601_461980801_4FGL_J1419.4-0838_daily_bin858.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.86 yref=-8.6417 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/335622/ft1_filtered_4FGL_J1419.4-0838_daily_bin858.fits evtable="EVENTS" scfile=/scratch/kocevski/335622/ft2_4FGL_J1419.4-0838_daily_bin858.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/335622/Model_4FGL_J1419.4-0838_daily_bin858.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/335622/ft1_filtered_4FGL_J1419.4-0838_daily_bin858.fits.....................!
real 68.23
user 66.85
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/335622/ft1_filtered_4FGL_J1419.4-0838_daily_bin858.fits', '/scratch/kocevski/335622/ft2_4FGL_J1419.4-0838_daily_bin858.fits', expMap='/scratch/kocevski/335622/expmap_461721601_461980801_4FGL_J1419.4-0838_daily_bin858.fits', expCube='/scratch/kocevski/335622/ltcube_461721601_461980801_4FGL_J1419.4-0838_daily_bin858.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/335622/Model_4FGL_J1419.4-0838_daily_bin858.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1419.4-0838'

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  7.071e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.138e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  8.011e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  7.019e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/335622/ft1_filtered_4FGL_J1419.4-0838_daily_bin858.fits
Spacecraft file(s): /scratch/kocevski/335622/ft2_4FGL_J1419.4-0838_daily_bin858.fits
Exposure map: /scratch/kocevski/335622/expmap_461721601_461980801_4FGL_J1419.4-0838_daily_bin858.fits
Exposure cube: /scratch/kocevski/335622/ltcube_461721601_461980801_4FGL_J1419.4-0838_daily_bin858.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/335622/Model_4FGL_J1419.4-0838_daily_bin858.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) = 8479.36875662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7447       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10852E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .11570E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .80760       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10529E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    13.301       1.0000         .10000E-03   10000.    
    10 'norm      '    7.5909       1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.227       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .22548       1.0000         .10000E-03   10000.    
    13 'norm      '    7.9070       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10327E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.616       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4875       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0468       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8479.363     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1612 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.7222        .44514E-06** at limit **
   2  Prefactor     1.7488        4.9308       -.10149E-05   -.68300E-04
   3  Prefactor     .10000E-03    6.8147        .10519E-05** at limit **
   4  Prefactor     .10073E-03    33.376       -.66620E-06** at limit **
   5  norm          .10000E-03    21.172        .38705E-05** at limit **
   6  Prefactor     .10000E-03    10.332       -.37947E-06** at limit **
   7  norm          .80800        2.8417       -.60532E-06   -.37461E-04
   8  Prefactor     .10111E-03    16.537        .45623E-06** at limit **
   9  norm          13.298        1.0071        .34794E-08    .94190E-04
  10  norm          7.5910        5.5844       -.15730E-07   -.33165E-03
  11  Prefactor     33.236        1.3384       -.24936E-07    .25012E-02
  12  Prefactor     .10008E-03    605.56        .66124E-05** at limit **
  13  norm          7.9095        1.2933        .50278E-07   -.35182E-03
  14  Prefactor     .10061E-03    19.857        .12016E-05** at limit **
  15  Prefactor     .10000E-03    2.2061        .77871E-06** at limit **
  16  Prefactor     .10035E-03    48.546        .73490E-06** at limit **
  17  Prefactor     13.624        1.1319       -.24275E-07    .71106E-03
  18  Normalizat    1.4876        .27581        .24723E-05    .87108E-04
  19  Prefactor     1.0468        .13305       -.59925E-06    .97340E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.74881
  Prefactor  = 0.0001
  Prefactor  = 0.000100732
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.807996
  Prefactor  = 0.000101112
  norm       = 13.2985
  norm       = 7.591
  Prefactor  = 33.2356
  Prefactor  = 0.00010008
  norm       = 7.90946
  Prefactor  = 0.000100609
  Prefactor  = 0.0001
  Prefactor  = 0.000100347
  Prefactor  = 13.6241
  Normalizat = 1.48758
  Prefactor  = 1.04681
 **********
 **   18 **HESSE 
 **********

 FCN=   8479.363     FROM HESSE     STATUS=OK           314 CALLS     1926 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.7173        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7488        5.3057        .79384E-02   -1.5443    
   3  Prefactor     .10000E-03    6.8194        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10073E-03    42.210        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.8124        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.328        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .80800        2.8405        .12468E-01   -1.5528    
   8  Prefactor     .10111E-03    29.331        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.298        12.131        .27458E-02   -1.4978    
  10  norm          7.5910        5.6318        .36389E-02   -1.5157    
  11  Prefactor     33.236        29.209        .17379E-02   -1.4554    
  12  Prefactor     .10008E-03    17.011        .13339       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.9095        10.321        .35649E-02   -1.5145    
  14  Prefactor     .10061E-03    26.905        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.2011        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10035E-03    53.114        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.624        37.315        .27137E-02   -1.4970    
  18  Normalizat    1.4876        .24159        .78939E-01   -.78128    
  19  Prefactor     1.0468        .11496        .40099E-01   -.91185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25325e-06
Minuit parameter uncertainties:
  1  8.52648e-06
  2  5.30713
  3  3.11051e-05
  4  0.0111288
  5  0.00014696
  6  1.31333e-05
  7  2.84093
  8  0.0114266
  9  12.1332
  10  5.63216
  11  29.2214
  12  0.0023334
  13  10.3232
  14  0.00809886
  15  1.35283e-05
  16  0.0085887
  17  37.3794
  18  0.241778
  19  0.114985
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  7.591e+00  5.632e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.138e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  8.011e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  7.019e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.047e+00  1.150e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.488e+00  2.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.64
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 3.71e-08 +/- 2.75e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 1.21e-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) = 8478.92606442
delta logL = 0.437356807081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8478.89281734
delta logL = 0.4706038903

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8478.893     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1987        4.5615        .40304E-02   -.37267E-02
   2  alpha         1.5238        .41615        .43388       -.50277E-04
   3  Normalizat    1.5076        .23091        .78506E-01    .86487E-05
   4  Prefactor     1.0418        .11382        .40415E-01    .97611E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.19875
  alpha      = 1.52379
  Normalizat = 1.50762
  Prefactor  = 1.04181
 **********
 **   18 **HESSE 
 **********

 FCN=   8478.893     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .81E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1987        5.2618        .80607E-03   -1.5210    
   2  alpha         1.5238        .56183        .16309E-01   -.40116    
   3  Normalizat    1.5076        .26841        .34745E-03   -.77564    
   4  Prefactor     1.0418        .13255        .20005E-03   -.91349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.12649e-12
Minuit parameter uncertainties:
  1  5.26221
  2  0.567569
  3  0.26866
  4  0.132589
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/335622': 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) = 8478.89281724
delta logL = 0.470603989495

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  6.199e+00  5.262e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.524e+00  5.676e-01  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  8.011e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  7.019e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.042e+00  1.326e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.508e+00  2.687e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.59
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 1.52 +/- 0.57
Photon Flux (Free Index): 1.91e-08 +/- 1.86e-08
Energy Flux (Free Index): 2.96e-05 +/- 3.28e-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/335622/cmap_HighResolution_461721601_461980801_4FGL_J1419.4-0838_daily_bin858.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.71e-08', energy_flux2='2.96e-05', photon_flux_error='2.75e-08', dlogl='4.71e-01', energy_flux='1.64e-05', photon_flux2='1.91e-08', job_status='DONE', time_completed='2021-09-09 09:18:02.751242', photon_index_error2='0.57', photon_index2='1.52', ts='6.64', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='3.28e-05', EG='1.49', time_epoch_completed='1631204282.75', return_code='0', job_id='335622', GAL2='1.04', EG2='1.51', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='1.86e-08', ts2='7.59', photon_index='2.14' WHERE bin_id='858' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:18:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 335622: <4FGL_J1419.4-0838_daily_bin858> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin858> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 09:05:21 2021
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:05:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 09:05:22 2021
Terminated at Thu Sep  9 09:18:03 2021
Results reported at Thu Sep  9 09:18:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin858 214.86 -8.6417 461721601 461980801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1419.4-0838 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   562.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            762 sec.

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

