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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin758
RA = 214.86, Dec = -8.6417
tmin = 435801601, tmax = 436060801
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='334444', job_status='RUN', time_executed='2021-09-09 09:04:19.293492', time_epoch_executed='1631203459.29' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/334444

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/334444/ft1_4FGL_J1419.4-0838_daily_bin758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/334444/ft2_4FGL_J1419.4-0838_daily_bin758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/334444/ft1_4FGL_J1419.4-0838_daily_bin758.fits outfile=/scratch/kocevski/334444/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin758.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=435801601.0 tmax=436060801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.61
user 5.33
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/334444/ft1_filtered_4FGL_J1419.4-0838_daily_bin758.fits" evtable="EVENTS" scfile=/scratch/kocevski/334444/ft2_4FGL_J1419.4-0838_daily_bin758.fits sctable="SC_DATA" outfile=/scratch/kocevski/334444/ltcube_435801601_436060801_4FGL_J1419.4-0838_daily_bin758.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/334444/ft2_4FGL_J1419.4-0838_daily_bin758.fits
.....................!
real 12.10
user 11.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/334444/ft1_filtered_4FGL_J1419.4-0838_daily_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/334444/ft2_4FGL_J1419.4-0838_daily_bin758.fits sctable="SC_DATA" expcube=/scratch/kocevski/334444/ltcube_435801601_436060801_4FGL_J1419.4-0838_daily_bin758.fits outfile=/scratch/kocevski/334444/expmap_435801601_436060801_4FGL_J1419.4-0838_daily_bin758.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/334444/ltcube_435801601_436060801_4FGL_J1419.4-0838_daily_bin758.fits
.....................!
real 191.28
user 185.43
sys 5.36

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/334444/ft1_filtered_4FGL_J1419.4-0838_daily_bin758.fits scfile=/scratch/kocevski/334444/ft2_4FGL_J1419.4-0838_daily_bin758.fits outfile=/scratch/kocevski/334444/cmap_435801601_436060801_4FGL_J1419.4-0838_daily_bin758.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/334444/ft1_filtered_4FGL_J1419.4-0838_daily_bin758.fits scfile=/scratch/kocevski/334444/ft2_4FGL_J1419.4-0838_daily_bin758.fits outfile=/scratch/kocevski/334444/cmap_HighResolution_435801601_436060801_4FGL_J1419.4-0838_daily_bin758.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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/334444/ft1_filtered_4FGL_J1419.4-0838_daily_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/334444/ft2_4FGL_J1419.4-0838_daily_bin758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/334444/Model_4FGL_J1419.4-0838_daily_bin758.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/334444/ft1_filtered_4FGL_J1419.4-0838_daily_bin758.fits.....................!
real 104.42
user 102.99
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0368       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.294       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10304E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.299       1.0000         .10000E-03   10000.    
     5 'norm      '    15.387       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.296       1.0000         .10000E-03   10000.    
     7 'norm      '    4.7178       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10535E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    12.522       1.0000         .10000E-03   10000.    
    10 'norm      '    70.049       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.623       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10802E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    77.387       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3853       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1103       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=   13650.88     FROM MIGRAD    STATUS=CONVERGED    363 CALLS     1852 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0367        4.9491       -.39132E-05   -.29824E-03
   2  Prefactor     13.293        5.9966       -.87757E-06   -.11727E-05
   3  Prefactor     .10000E-03    17.444        .87399E-05** at limit **
   4  Prefactor     30.298        41.403       -.21308E-05    .70826E-05
   5  norm          15.386        8.4931       -.39765E-06   -.13590E-04
   6  Prefactor     18.284        18.948       -.10711E-04   -.10557E-04
   7  norm          4.7176        2.4679       -.94503E-07   -.20979E-03
   8  Prefactor     .10000E-03    14.379       -.25810E-05** at limit **
   9  norm          12.522        8.6814       -.41796E-07    .29573E-04
  10  norm          70.048        12.166        .18409E-06    .62910E-04
  11  Prefactor     15.617        19.803       -.72745E-05   -.12960E-04
  12  Prefactor     .10000E-03    9.7772        .27656E-05** at limit **
  13  norm          .10000E-03    16.516        .73460E-05** at limit **
  14  Prefactor     .10000E-03    22.808       -.81500E-05** at limit **
  15  Prefactor     .10000E-03    5.8359        .40719E-06** at limit **
  16  Prefactor     77.376        60.257       -.97443E-05   -.14546E-04
  17  Prefactor     .10000E-03    12.830       -.77244E-05** at limit **
  18  Normalizat    1.3857        .20658        .43186E-05   -.18219E-03
  19  Prefactor     1.1102        .98412E-01    .16642E-07    .51558E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.03674
  Prefactor  = 13.2927
  Prefactor  = 0.0001
  Prefactor  = 30.298
  norm       = 15.3861
  Prefactor  = 18.2839
  norm       = 4.7176
  Prefactor  = 0.0001
  norm       = 12.5222
  norm       = 70.0478
  Prefactor  = 15.6166
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 77.3763
  Prefactor  = 0.0001
  Normalizat = 1.38565
  Prefactor  = 1.11017
 **********
 **   18 **HESSE 
 **********

 FCN=   13650.88     FROM HESSE     STATUS=OK           268 CALLS     2120 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0367        4.9737        .20070E-03   -1.5306    
   2  Prefactor     13.293        5.9950        .10986E-03   -1.4979    
   3  Prefactor     .10000E-03    17.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.298        41.420        .72789E-04   -1.4607    
   5  norm          15.386        8.4888        .10211E-03   -1.4923    
   6  Prefactor     18.284        18.961        .93637E-04   -1.4853    
   7  norm          4.7176        2.4660        .12626E-03   -1.5274    
   8  Prefactor     .10000E-03    14.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.522        8.6824        .11320E-03   -1.5000    
  10  norm          70.048        12.165        .47962E-04   -1.4032    
  11  Prefactor     15.617        19.793        .10133E-03   -1.4917    
  12  Prefactor     .10000E-03    9.8056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    17.119        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.9352        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     77.376        59.833        .45648E-04   -1.3946    
  17  Prefactor     .10000E-03    12.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.3857        .23462        .39236E-03   -.81045    
  19  Prefactor     1.1102        .11248        .21009E-03   -.89142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34835e-10
Minuit parameter uncertainties:
  1  4.97417
  2  5.99528
  3  6.37067e-05
  4  41.4589
  5  8.48946
  6  18.9669
  7  2.46607
  8  9.98042e-05
  9  8.68323
  10  12.1658
  11  19.8011
  12  1.47246e-05
  13  0.000112298
  14  1.50017e-05
  15  0.000223807
  16  59.8795
  17  4.33954e-05
  18  0.2348
  19  0.112503
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  7.005e+01  1.217e+01  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.110e+00  1.125e-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.386e+00  2.348e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 105.80
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 3.43e-07 +/- 5.95e-08
Energy Flux (Fixed Index): 1.51e-04 +/- 2.62e-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) = 13649.8912778
delta logL = 0.989276017957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13649.8707179
delta logL = 1.00983590081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    72.519       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9079       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4458       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0936       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=   13649.87     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      208 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          72.519        13.456        .11786E-02    .86472E-03
   2  alpha         1.9079        .16346        .16504       -.37710E-05
   3  Normalizat    1.4458        .20195        .87169E-01    .23873E-04
   4  Prefactor     1.0936        .97217E-01    .37837E-01    .59723E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 72.5195
  alpha      = 1.9079
  Normalizat = 1.44578
  Prefactor  = 1.09356
 **********
 **   18 **HESSE 
 **********

 FCN=   13649.87     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          72.519        12.674        .47144E-04   -1.4003    
   2  alpha         1.9079        .15906        .70472E-02   -.23911    
   3  Normalizat    1.4458        .23094        .38596E-03   -.79314    
   4  Prefactor     1.0936        .11115        .21152E-03   -.89673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66642e-10
Minuit parameter uncertainties:
  1  12.6745
  2  0.159176
  3  0.23111
  4  0.111174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/334444': 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) = 13649.8707179
delta logL = 1.00983590959

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  7.252e+01  1.267e+01  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.908e+00  1.592e-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.094e+00  1.112e-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.446e+00  2.311e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 108.07
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 1.91 +/- 0.16
Photon Flux (Free Index): 2.85e-07 +/- 6.40e-08
Energy Flux (Free Index): 1.85e-04 +/- 4.41e-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/334444/cmap_HighResolution_435801601_436060801_4FGL_J1419.4-0838_daily_bin758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.43e-07', energy_flux2='1.85e-04', photon_flux_error='5.95e-08', dlogl='1.01e+00', energy_flux='1.51e-04', photon_flux2='2.85e-07', job_status='DONE', time_completed='2021-09-09 09:16:49.617950', photon_index_error2='0.16', photon_index2='1.91', ts='105.80', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='4.41e-05', EG='1.39', time_epoch_completed='1631204209.62', return_code='0', job_id='334444', GAL2='1.09', EG2='1.45', return_code2='0', energy_flux_error='2.62e-05', photon_flux_error2='6.40e-08', ts2='108.07', photon_index='2.14' WHERE bin_id='758' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:16:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 334444: <4FGL_J1419.4-0838_daily_bin758> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin758> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 09:00:49 2021
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:00:50 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:00:50 2021
Terminated at Thu Sep  9 09:16:50 2021
Results reported at Thu Sep  9 09:16:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin758 214.86 -8.6417 435801601 436060801 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 :                                   748.35 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             251.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            961 sec.

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

