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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin817
RA = 214.86, Dec = -8.6417
tmin = 451094401, tmax = 451353601
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='335562', job_status='RUN', time_executed='2021-09-09 09:07:47.309784', time_epoch_executed='1631203667.31' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='817'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/335562

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/335562/ft1_4FGL_J1419.4-0838_daily_bin817.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/335562/ft2_4FGL_J1419.4-0838_daily_bin817.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/335562/ft1_4FGL_J1419.4-0838_daily_bin817.fits outfile=/scratch/kocevski/335562/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin817.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=451094401.0 tmax=451353601.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.41
user 3.19
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/335562/ft1_filtered_4FGL_J1419.4-0838_daily_bin817.fits" evtable="EVENTS" scfile=/scratch/kocevski/335562/ft2_4FGL_J1419.4-0838_daily_bin817.fits sctable="SC_DATA" outfile=/scratch/kocevski/335562/ltcube_451094401_451353601_4FGL_J1419.4-0838_daily_bin817.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/335562/ft2_4FGL_J1419.4-0838_daily_bin817.fits
.....................!
real 11.68
user 11.36
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/335562/ft1_filtered_4FGL_J1419.4-0838_daily_bin817.fits evtable="EVENTS" scfile=/scratch/kocevski/335562/ft2_4FGL_J1419.4-0838_daily_bin817.fits sctable="SC_DATA" expcube=/scratch/kocevski/335562/ltcube_451094401_451353601_4FGL_J1419.4-0838_daily_bin817.fits outfile=/scratch/kocevski/335562/expmap_451094401_451353601_4FGL_J1419.4-0838_daily_bin817.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/335562/ltcube_451094401_451353601_4FGL_J1419.4-0838_daily_bin817.fits
.....................!
real 189.54
user 185.34
sys 3.85

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/335562/ft1_filtered_4FGL_J1419.4-0838_daily_bin817.fits scfile=/scratch/kocevski/335562/ft2_4FGL_J1419.4-0838_daily_bin817.fits outfile=/scratch/kocevski/335562/cmap_451094401_451353601_4FGL_J1419.4-0838_daily_bin817.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/335562/ft1_filtered_4FGL_J1419.4-0838_daily_bin817.fits scfile=/scratch/kocevski/335562/ft2_4FGL_J1419.4-0838_daily_bin817.fits outfile=/scratch/kocevski/335562/cmap_HighResolution_451094401_451353601_4FGL_J1419.4-0838_daily_bin817.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/335562/ft1_filtered_4FGL_J1419.4-0838_daily_bin817.fits evtable="EVENTS" scfile=/scratch/kocevski/335562/ft2_4FGL_J1419.4-0838_daily_bin817.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/335562/Model_4FGL_J1419.4-0838_daily_bin817.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/335562/ft1_filtered_4FGL_J1419.4-0838_daily_bin817.fits.....................!
real 53.55
user 52.29
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.661       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.9156       1.0000         .10000E-03   10000.    
     3 'Prefactor '    25.933       1.0000         .10000E-03   10000.    
     4 'Prefactor '    42.230       1.0000         .10000E-03   10000.    
     5 'norm      '    4.1796       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.7328       1.0000         .10000E-03   10000.    
     7 'norm      '    1.1684       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.7226       1.0000         .10000E-03   10000.    
    10 'norm      '    12.668       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.667       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10408E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .86275E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11412E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    63.057       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.5317       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.5443       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .75825       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=   6228.016     FROM MIGRAD    STATUS=CONVERGED    380 CALLS     1886 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.664        10.997        .88171E-07    .90348E-05
   2  Prefactor     6.9153        6.1692       -.45026E-07   -.17107E-04
   3  Prefactor     25.936        29.301        .10282E-06    .53908E-05
   4  Prefactor     42.232        44.338        .27714E-06   -.22805E-05
   5  norm          4.1803        8.9004        .51626E-06    .55325E-05
   6  Prefactor     6.7348        16.971        .30478E-06    .38476E-05
   7  norm          1.1682        2.5573        .58534E-06    .76712E-04
   8  Prefactor     .10000E-03    14.004       -.17069E-06** at limit **
   9  norm          2.7222        9.5026        .89684E-06    .12995E-04
  10  norm          12.669        7.6024        .42891E-08   -.10186E-04
  11  Prefactor     11.662        21.957        .29152E-06   -.24013E-04
  12  Prefactor     .10000E-03    18.065       -.13845E-06** at limit **
  13  norm          .10068E-03    12.920        .28530E-05** at limit **
  14  Prefactor     .10000E-03    43.891       -.17386E-06** at limit **
  15  Prefactor     .10000E-03    6.3928        .55980E-05** at limit **
  16  Prefactor     63.124        100.75       -.13990E-05   -.72998E-04
  17  Prefactor     8.5783        116.76        .10983E-05   -.14608E-04
  18  Normalizat    1.5443        .25434        .10242E-05   -.31507E-03
  19  Prefactor     .75824        .12281       -.16029E-05   -.39369E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.6636
  Prefactor  = 6.91534
  Prefactor  = 25.936
  Prefactor  = 42.2319
  norm       = 4.18029
  Prefactor  = 6.73477
  norm       = 1.16825
  Prefactor  = 0.0001
  norm       = 2.72216
  norm       = 12.6694
  Prefactor  = 11.6619
  Prefactor  = 0.0001
  norm       = 0.000100679
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 63.1243
  Prefactor  = 8.57835
  Normalizat = 1.5443
  Prefactor  = 0.75824
 **********
 **   18 **HESSE 
 **********

 FCN=   6228.016     FROM HESSE     STATUS=OK           274 CALLS     2160 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.664        10.995        .90329E-04   -1.4821    
   2  Prefactor     6.9153        6.1435        .15256E-03   -1.5182    
   3  Prefactor     25.936        29.348        .78664E-04   -1.4689    
   4  Prefactor     42.232        44.339        .61688E-04   -1.4407    
   5  norm          4.1803        8.8377        .19714E-03   -1.5299    
   6  Prefactor     6.7348        16.972        .15464E-03   -1.5189    
   7  norm          1.1682        2.5287        .17729E-03   -1.5492    
   8  Prefactor     .10000E-03    14.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.7222        9.4860        .24681E-03   -1.5378    
  10  norm          12.669        7.5908        .11254E-03   -1.4996    
  11  Prefactor     11.662        21.955        .11728E-03   -1.5025    
  12  Prefactor     .10000E-03    18.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10068E-03    82.690        .49875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    43.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.4920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     63.124        99.932        .25267E-03   -1.4117    
  17  Prefactor     8.5783        113.16        .13724E-03   -1.5122    
  18  Normalizat    1.5443        .29451        .31384E-03   -.76541    
  19  Prefactor     .75824        .14100        .20838E-03   -1.0129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.97902e-09
Minuit parameter uncertainties:
  1  10.9957
  2  6.14406
  3  29.3643
  4  44.3734
  5  8.84042
  6  16.984
  7  2.52894
  8  4.18207e-06
  9  9.49121
  10  7.59139
  11  21.9697
  12  1.53907e-05
  13  0.01501
  14  2.86306e-05
  15  0.000109391
  16  100.199
  17  62.4577
  18  0.294841
  19  0.14107
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.267e+01  7.591e+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:  7.582e-01  1.411e-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.544e+00  2.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.21
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 6.20e-08 +/- 3.71e-08
Energy Flux (Fixed Index): 2.73e-05 +/- 1.64e-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) = 6224.56755659
delta logL = 3.4488009759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6224.32420769
delta logL = 3.69214987121

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5971       1.0000         .10000E-03   10000.    
     2 'alpha     '    .99674       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5716       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75274       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=   6224.324     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      224 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5992        4.5786        .36374E-02   -.91983E-04
   2  alpha         .99670        .25898        .21273       -.44203E-04
   3  Normalizat    1.5717        .24242        .70364E-01    .15008E-04
   4  Prefactor     .75267        .11842        .43099E-01    .21359E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.59919
  alpha      = 0.996696
  Normalizat = 1.57173
  Prefactor  = 0.752666
 **********
 **   18 **HESSE 
 **********

 FCN=   6224.324     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5992        6.2172        .11716E-03   -1.5157    
   2  alpha         .99670        .36035        .91762E-02   -.64515    
   3  Normalizat    1.5717        .28177        .31129E-03   -.75782    
   4  Prefactor     .75267        .13776        .20895E-03   -1.0150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13243e-09
Minuit parameter uncertainties:
  1  6.21768
  2  0.362336
  3  0.282051
  4  0.137827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/335562': 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) = 6224.32420733
delta logL = 3.69215023373

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  7.599e+00  6.218e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  9.967e-01  3.623e-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:  7.527e-01  1.378e-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.572e+00  2.821e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.53
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 1.00 +/- 0.36
Photon Flux (Free Index): 2.54e-08 +/- 1.62e-08
Energy Flux (Free Index): 1.63e-04 +/- 1.35e-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/335562/cmap_HighResolution_451094401_451353601_4FGL_J1419.4-0838_daily_bin817.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.20e-08', energy_flux2='1.63e-04', photon_flux_error='3.71e-08', dlogl='3.69e+00', energy_flux='2.73e-05', photon_flux2='2.54e-08', job_status='DONE', time_completed='2021-09-09 09:16:03.037599', photon_index_error2='0.36', photon_index2='1.00', ts='12.21', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='1.35e-04', EG='1.54', time_epoch_completed='1631204163.04', return_code='0', job_id='335562', GAL2='0.75', EG2='1.57', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='1.62e-08', ts2='19.53', photon_index='2.14' WHERE bin_id='817' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:16:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 335562: <4FGL_J1419.4-0838_daily_bin817> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin817> 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) <bullet0103>, 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:16:03 2021
Results reported at Thu Sep  9 09:16:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin817 214.86 -8.6417 451094401 451353601 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 :                                   495.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            646 sec.

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

