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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin419
RA = 214.86, Dec = -8.6417
tmin = 347932801, tmax = 348192001
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='332983', job_status='RUN', time_executed='2021-09-09 08:58:51.125904', time_epoch_executed='1631203131.13' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='419'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332983

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332983/ft1_4FGL_J1419.4-0838_daily_bin419.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332983/ft2_4FGL_J1419.4-0838_daily_bin419.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332983/ft1_4FGL_J1419.4-0838_daily_bin419.fits outfile=/scratch/kocevski/332983/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin419.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=347932801.0 tmax=348192001.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.43
user 3.22
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/332983/ft2_4FGL_J1419.4-0838_daily_bin419.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/332983/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin419.fits evtable="EVENTS" outfile="/scratch/kocevski/332983/ft1_filtered_4FGL_J1419.4-0838_daily_bin419.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.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/332983/ft1_filtered_4FGL_J1419.4-0838_daily_bin419.fits" evtable="EVENTS" scfile=/scratch/kocevski/332983/ft2_4FGL_J1419.4-0838_daily_bin419.fits sctable="SC_DATA" outfile=/scratch/kocevski/332983/ltcube_347932801_348192001_4FGL_J1419.4-0838_daily_bin419.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/332983/ft2_4FGL_J1419.4-0838_daily_bin419.fits
.....................!
real 11.86
user 11.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332983/ft1_filtered_4FGL_J1419.4-0838_daily_bin419.fits evtable="EVENTS" scfile=/scratch/kocevski/332983/ft2_4FGL_J1419.4-0838_daily_bin419.fits sctable="SC_DATA" expcube=/scratch/kocevski/332983/ltcube_347932801_348192001_4FGL_J1419.4-0838_daily_bin419.fits outfile=/scratch/kocevski/332983/expmap_347932801_348192001_4FGL_J1419.4-0838_daily_bin419.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/332983/ltcube_347932801_348192001_4FGL_J1419.4-0838_daily_bin419.fits
.....................!
real 190.54
user 184.93
sys 5.22

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/332983/ft1_filtered_4FGL_J1419.4-0838_daily_bin419.fits scfile=/scratch/kocevski/332983/ft2_4FGL_J1419.4-0838_daily_bin419.fits outfile=/scratch/kocevski/332983/cmap_347932801_348192001_4FGL_J1419.4-0838_daily_bin419.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/332983/ft1_filtered_4FGL_J1419.4-0838_daily_bin419.fits scfile=/scratch/kocevski/332983/ft2_4FGL_J1419.4-0838_daily_bin419.fits outfile=/scratch/kocevski/332983/cmap_HighResolution_347932801_348192001_4FGL_J1419.4-0838_daily_bin419.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/332983/ft1_filtered_4FGL_J1419.4-0838_daily_bin419.fits evtable="EVENTS" scfile=/scratch/kocevski/332983/ft2_4FGL_J1419.4-0838_daily_bin419.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/332983/Model_4FGL_J1419.4-0838_daily_bin419.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/332983/ft1_filtered_4FGL_J1419.4-0838_daily_bin419.fits.....................!
real 87.70
user 86.25
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/332983/ft1_filtered_4FGL_J1419.4-0838_daily_bin419.fits', '/scratch/kocevski/332983/ft2_4FGL_J1419.4-0838_daily_bin419.fits', expMap='/scratch/kocevski/332983/expmap_347932801_348192001_4FGL_J1419.4-0838_daily_bin419.fits', expCube='/scratch/kocevski/332983/ltcube_347932801_348192001_4FGL_J1419.4-0838_daily_bin419.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/332983/Model_4FGL_J1419.4-0838_daily_bin419.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/332983/ft1_filtered_4FGL_J1419.4-0838_daily_bin419.fits
Spacecraft file(s): /scratch/kocevski/332983/ft2_4FGL_J1419.4-0838_daily_bin419.fits
Exposure map: /scratch/kocevski/332983/expmap_347932801_348192001_4FGL_J1419.4-0838_daily_bin419.fits
Exposure cube: /scratch/kocevski/332983/ltcube_347932801_348192001_4FGL_J1419.4-0838_daily_bin419.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/332983/Model_4FGL_J1419.4-0838_daily_bin419.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) = 11850.709538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0737       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9003       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .34312E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.7438       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10443E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.1415       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.0392       1.0000         .10000E-03   10000.    
    10 'norm      '    11.539       1.0000         .10000E-03   10000.    
    11 'Prefactor '    43.601       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.8402       1.0000         .10000E-03   10000.    
    13 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.1058       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10533E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15945E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    102.03       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1360       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0496       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11850.61     FROM MIGRAD    STATUS=CONVERGED    379 CALLS     1903 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0736        5.0731        .12715E-05   -.48023E-03
   2  Prefactor     1.8982        3.5288       -.18270E-05   -.15443E-02
   3  Prefactor     .10000E-03    54.135        .39363E-07** at limit **
   4  Prefactor     .10000E-03    11.760        .66538E-07** at limit **
   5  norm          2.7441        3.1661        .14525E-06    .74015E-04
   6  Prefactor     .10000E-03    39.046        .33990E-07** at limit **
   7  norm          1.1411        1.5911       -.24720E-06   -.10829E-02
   8  Prefactor     .10000E-03    13.968       -.66048E-07** at limit **
   9  norm          9.0392        6.7571        .74607E-08    .40886E-04
  10  norm          11.538        6.4259       -.87894E-06    .20313E-03
  11  Prefactor     43.598        20.755       -.83327E-06    .11756E-03
  12  Prefactor     2.8405        8.1364       -.59875E-06   -.18873E-03
  13  norm          .10000E-03    4.4452        .89661E-07** at limit **
  14  Prefactor     7.0937        94.517       -.34281E-04    .92227E-04
  15  Prefactor     .10000E-03    1.9756        .77025E-07** at limit **
  16  Prefactor     .10000E-03    59.911        .65166E-06** at limit **
  17  Prefactor     102.02        38.274       -.54985E-05    .39270E-03
  18  Normalizat    1.1363        .17993        .16668E-05    .26927E-04
  19  Prefactor     1.0495        .91008E-01    .42363E-06    .11881E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.07364
  Prefactor  = 1.89822
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.74409
  Prefactor  = 0.0001
  norm       = 1.14109
  Prefactor  = 0.0001
  norm       = 9.03921
  norm       = 11.5381
  Prefactor  = 43.5981
  Prefactor  = 2.84046
  norm       = 0.0001
  Prefactor  = 7.09373
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 102.016
  Normalizat = 1.13625
  Prefactor  = 1.04955
 **********
 **   18 **HESSE 
 **********

 FCN=   11850.61     FROM HESSE     STATUS=OK           268 CALLS     2171 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0736        5.0674        .14110E-03   -1.5140    
   2  Prefactor     1.8982        3.7132        .27239E-03   -1.5432    
   3  Prefactor     .10000E-03    56.180        .42664E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.7441        3.1524        .19806E-03   -1.5377    
   6  Prefactor     .10000E-03    40.414        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1411        1.5622        .15514E-03   -1.5494    
   8  Prefactor     .10000E-03    14.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.0392        6.7581        .13331E-03   -1.5107    
  10  norm          11.538        6.4015        .11794E-03   -1.5028    
  11  Prefactor     43.598        20.757        .60714E-04   -1.4386    
  12  Prefactor     2.8405        8.1361        .24128E-03   -1.5371    
  13  norm          .10000E-03    4.4869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.0937        91.802        .15049E-03   -1.5175    
  15  Prefactor     .10000E-03    1.9929        .14933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    60.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     102.02        37.917        .39805E-04   -1.3684    
  18  Normalizat    1.1363        .20631        .34885E-03   -.88596    
  19  Prefactor     1.0495        .10472        .18676E-03   -.91096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62237e-09
Minuit parameter uncertainties:
  1  5.06766
  2  3.71362
  3  0.000253803
  4  1.08534e-05
  5  3.15254
  6  0.000176833
  7  1.56223
  8  1.98079e-05
  9  6.75868
  10  6.40186
  11  20.7601
  12  8.13929
  13  5.02091e-06
  14  51.1344
  15  1.92443e-05
  16  0.000348498
  17  37.9265
  18  0.206454
  19  0.104743
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.154e+01  6.402e+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.050e+00  1.047e-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.136e+00  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.57
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 5.64e-08 +/- 3.13e-08
Energy Flux (Fixed Index): 2.49e-05 +/- 1.38e-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) = 11850.0905449
delta logL = 0.519490006422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11850.0855022
delta logL = 0.524532793273

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.5433       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6389       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1021       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0597       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=   11850.09     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      245 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.5433        75.449        .32431E-02    .41258E-03
   2  alpha         2.6389        3.8115        .37136        .75101E-04
   3  Normalizat    1.1022        .83746E-01    .79815E-01    .31415E-04
   4  Prefactor     1.0597        .36260E-01    .39372E-01    .18785E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 9.54333
  alpha      = 2.63888
  Normalizat = 1.10217
  Prefactor  = 1.05969
 **********
 **   18 **HESSE 
 **********

 FCN=   11850.09     FROM HESSE     STATUS=OK            33 CALLS      278 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.5433        6.3539        .12972E-03   -1.5090    
   2  alpha         2.6389        .53942        .13599E-01    .55579E-01
   3  Normalizat    1.1022        .20478        .35332E-03   -.89682    
   4  Prefactor     1.0597        .10489        .18592E-03   -.90766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.98365e-09
Minuit parameter uncertainties:
  1  6.35433
  2  0.543707
  3  0.204924
  4  0.104911
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332983': 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) = 11850.0855021
delta logL = 0.52453281347

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  9.543e+00  6.354e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.639e+00  5.437e-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.060e+00  1.049e-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.102e+00  2.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 2.64 +/- 0.54
Photon Flux (Free Index): 8.42e-08 +/- 4.64e-08
Energy Flux (Free Index): 2.18e-05 +/- 1.12e-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/332983/cmap_HighResolution_347932801_348192001_4FGL_J1419.4-0838_daily_bin419.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.64e-08', energy_flux2='2.18e-05', photon_flux_error='3.13e-08', dlogl='5.25e-01', energy_flux='2.49e-05', photon_flux2='8.42e-08', job_status='DONE', time_completed='2021-09-09 09:10:21.513593', photon_index_error2='0.54', photon_index2='2.64', ts='5.57', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.12e-05', EG='1.14', time_epoch_completed='1631203821.51', return_code='0', job_id='332983', GAL2='1.06', EG2='1.10', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='4.64e-08', ts2='6.68', photon_index='2.14' WHERE bin_id='419' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:10:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 332983: <4FGL_J1419.4-0838_daily_bin419> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin419> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 08:55:51 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:55:53 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:55:53 2021
Terminated at Thu Sep  9 09:10:24 2021
Results reported at Thu Sep  9 09:10:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin419 214.86 -8.6417 347932801 348192001 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 :                                   688.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            873 sec.

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

