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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin816
RA = 214.86, Dec = -8.6417
tmin = 450835201, tmax = 451094401
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='335560', job_status='RUN', time_executed='2021-09-09 09:08:08.419651', time_epoch_executed='1631203688.42' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='816'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/335560

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/335560/ft1_4FGL_J1419.4-0838_daily_bin816.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/335560/ft2_4FGL_J1419.4-0838_daily_bin816.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/335560/ft1_4FGL_J1419.4-0838_daily_bin816.fits outfile=/scratch/kocevski/335560/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin816.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=450835201.0 tmax=451094401.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.38
user 3.15
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/335560/ft2_4FGL_J1419.4-0838_daily_bin816.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/335560/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin816.fits evtable="EVENTS" outfile="/scratch/kocevski/335560/ft1_filtered_4FGL_J1419.4-0838_daily_bin816.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/335560/ft1_filtered_4FGL_J1419.4-0838_daily_bin816.fits" evtable="EVENTS" scfile=/scratch/kocevski/335560/ft2_4FGL_J1419.4-0838_daily_bin816.fits sctable="SC_DATA" outfile=/scratch/kocevski/335560/ltcube_450835201_451094401_4FGL_J1419.4-0838_daily_bin816.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/335560/ft2_4FGL_J1419.4-0838_daily_bin816.fits
.....................!
real 11.98
user 11.61
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/335560/ft1_filtered_4FGL_J1419.4-0838_daily_bin816.fits evtable="EVENTS" scfile=/scratch/kocevski/335560/ft2_4FGL_J1419.4-0838_daily_bin816.fits sctable="SC_DATA" expcube=/scratch/kocevski/335560/ltcube_450835201_451094401_4FGL_J1419.4-0838_daily_bin816.fits outfile=/scratch/kocevski/335560/expmap_450835201_451094401_4FGL_J1419.4-0838_daily_bin816.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/335560/ltcube_450835201_451094401_4FGL_J1419.4-0838_daily_bin816.fits
.....................!
real 191.14
user 185.53
sys 5.25

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/335560/ft1_filtered_4FGL_J1419.4-0838_daily_bin816.fits scfile=/scratch/kocevski/335560/ft2_4FGL_J1419.4-0838_daily_bin816.fits outfile=/scratch/kocevski/335560/cmap_450835201_451094401_4FGL_J1419.4-0838_daily_bin816.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/335560/ft1_filtered_4FGL_J1419.4-0838_daily_bin816.fits scfile=/scratch/kocevski/335560/ft2_4FGL_J1419.4-0838_daily_bin816.fits outfile=/scratch/kocevski/335560/cmap_HighResolution_450835201_451094401_4FGL_J1419.4-0838_daily_bin816.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/335560/ft1_filtered_4FGL_J1419.4-0838_daily_bin816.fits evtable="EVENTS" scfile=/scratch/kocevski/335560/ft2_4FGL_J1419.4-0838_daily_bin816.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/335560/Model_4FGL_J1419.4-0838_daily_bin816.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/335560/ft1_filtered_4FGL_J1419.4-0838_daily_bin816.fits.....................!
real 57.77
user 56.35
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6336       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.1477       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.879       1.0000         .10000E-03   10000.    
     5 'norm      '    2.2057       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .31879E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    12.192       1.0000         .10000E-03   10000.    
    10 'norm      '    8.0706       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.577       1.0000         .10000E-03   10000.    
    14 'Prefactor '    192.08       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .82582       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2062       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=   6695.903     FROM MIGRAD    STATUS=CONVERGED    385 CALLS     2222 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6334        7.5131       -.13069E-05   -.13124E-03
   2  Prefactor     8.1468        7.1306       -.25212E-05   -.33708E-03
   3  Prefactor     .10000E-03    9.2874       -.36420E-06** at limit **
   4  Prefactor     28.942        66.832        .10369E-03    .67529E-06
   5  norm          2.2057        4.1727       -.20418E-06   -.42033E-03
   6  Prefactor     .10000E-03    5.2002        .43868E-07** at limit **
   7  norm          .10000E-03    1.0734        .22316E-06** at limit **
   8  Prefactor     .10000E-03    6.1402       -.85942E-07** at limit **
   9  norm          12.193        15.761        .10139E-05   -.38750E-04
  10  norm          8.0700        6.6229        .10977E-06   -.53226E-03
  11  Prefactor     .10000E-03    7.3049        .33923E-06** at limit **
  12  Prefactor     .10000E-03    14.712        .10097E-05** at limit **
  13  norm          11.578        15.393        .12352E-05   -.57604E-04
  14  Prefactor     192.08        128.88       -.48451E-05   -.64602E-05
  15  Prefactor     .10000E-03    3.1144        .78780E-07** at limit **
  16  Prefactor     .10000E-03    40.438        .24602E-05** at limit **
  17  Prefactor     .10000E-03    22.043       -.18359E-05** at limit **
  18  Normalizat    .82597        .25460       -.59523E-06   -.18546E-03
  19  Prefactor     1.2061        .12987       -.35432E-05    .19609E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.6334
  Prefactor  = 8.14676
  Prefactor  = 0.0001
  Prefactor  = 28.9424
  norm       = 2.2057
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 12.193
  norm       = 8.07004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.5782
  Prefactor  = 192.077
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.82597
  Prefactor  = 1.20606
 **********
 **   18 **HESSE 
 **********

 FCN=   6695.903     FROM HESSE     STATUS=OK           266 CALLS     2488 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6334        7.5025        .15580E-03   -1.5193    
   2  Prefactor     8.1468        7.1095        .14046E-03   -1.5137    
   3  Prefactor     .10000E-03    9.2941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     28.942        66.772        .74552E-04   -1.4631    
   5  norm          2.2057        4.1365        .22065E-03   -1.5411    
   6  Prefactor     .10000E-03    5.2071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    10.516        .16337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.1422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.193        15.762        .11472E-03   -1.5009    
  10  norm          8.0700        6.6110        .70566E-03   -1.5140    
  11  Prefactor     .10000E-03    7.3145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.578        15.414        .11774E-03   -1.5027    
  14  Prefactor     192.08        129.04        .29143E-04   -1.2927    
  15  Prefactor     .10000E-03    3.1409        .14099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    40.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .82597        .27961        .41756E-03   -.99112    
  19  Prefactor     1.2061        .14414        .18161E-03   -.86145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13733e-09
Minuit parameter uncertainties:
  1  7.50352
  2  7.11023
  3  1.38326e-05
  4  66.9451
  5  4.13699
  6  8.24941e-06
  7  0.000235762
  8  8.02189e-06
  9  15.7679
  10  6.6116
  11  1.08032e-05
  12  1.72861e-05
  13  15.4197
  14  129.232
  15  1.49389e-05
  16  7.21375e-05
  17  3.91666e-05
  18  0.280096
  19  0.144191
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  8.070e+00  6.612e+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.206e+00  1.442e-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:  8.260e-01  2.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.70
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 3.95e-08 +/- 3.23e-08
Energy Flux (Fixed Index): 1.74e-05 +/- 1.43e-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) = 6693.55802202
delta logL = 2.3445811128

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6693.44628549
delta logL = 2.45631763968

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3530       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0303       1.0000          .0000       5.0000    
     3 'Normalizat'    .84609       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2008       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=   6693.446     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      208 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3530        3.9383        .43425E-02   -.77282E-02
   2  alpha         1.0303        .30125        .26684       -.54358E-04
   3  Normalizat    .84609        .24497        .93140E-01   -.61762E-05
   4  Prefactor     1.2008        .12701        .34612E-01    .18803E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.35298
  alpha      = 1.03026
  Normalizat = 0.846088
  Prefactor  = 1.20077
 **********
 **   18 **HESSE 
 **********

 FCN=   6693.446     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3530        5.4991        .12885E-03   -1.5245    
   2  alpha         1.0303        .43707        .11326E-01   -.62845    
   3  Normalizat    .84609        .27131        .41261E-03   -.98381    
   4  Prefactor     1.2008        .14116        .18180E-03   -.86308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41069e-08
Minuit parameter uncertainties:
  1  5.49959
  2  0.440547
  3  0.271743
  4  0.141203
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/335560': 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) = 6693.44628537
delta logL = 2.45631775687

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  5.353e+00  5.500e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.030e+00  4.405e-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.201e+00  1.412e-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:  8.461e-01  2.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.59
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 1.03 +/- 0.44
Photon Flux (Free Index): 1.75e-08 +/- 1.44e-08
Energy Flux (Free Index): 1.03e-04 +/- 1.02e-04

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/335560/cmap_HighResolution_450835201_451094401_4FGL_J1419.4-0838_daily_bin816.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.95e-08', energy_flux2='1.03e-04', photon_flux_error='3.23e-08', dlogl='2.46e+00', energy_flux='1.74e-05', photon_flux2='1.75e-08', job_status='DONE', time_completed='2021-09-09 09:17:10.503769', photon_index_error2='0.44', photon_index2='1.03', ts='5.70', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', energy_flux_error2='1.02e-04', EG='0.83', time_epoch_completed='1631204230.5', return_code='0', job_id='335560', GAL2='1.20', EG2='0.85', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='1.44e-08', ts2='10.59', photon_index='2.14' WHERE bin_id='816' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:17:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 335560: <4FGL_J1419.4-0838_daily_bin816> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin816> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 09:05:17 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:05:18 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:18 2021
Terminated at Thu Sep  9 09:17:11 2021
Results reported at Thu Sep  9 09:17:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin816 214.86 -8.6417 450835201 451094401 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 :                                   539.52 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             279.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            714 sec.

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

