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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin453
RA = 214.86, Dec = -8.6417
tmin = 356745601, tmax = 357004801
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='333030', job_status='RUN', time_executed='2021-09-09 08:59:34.881032', time_epoch_executed='1631203174.88' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='453'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/333030

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/333030/ft1_4FGL_J1419.4-0838_daily_bin453.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/333030/ft2_4FGL_J1419.4-0838_daily_bin453.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/333030/ft1_4FGL_J1419.4-0838_daily_bin453.fits outfile=/scratch/kocevski/333030/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin453.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=356745601.0 tmax=357004801.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.70
user 3.26
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/333030/ft1_filtered_4FGL_J1419.4-0838_daily_bin453.fits" evtable="EVENTS" scfile=/scratch/kocevski/333030/ft2_4FGL_J1419.4-0838_daily_bin453.fits sctable="SC_DATA" outfile=/scratch/kocevski/333030/ltcube_356745601_357004801_4FGL_J1419.4-0838_daily_bin453.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/333030/ft2_4FGL_J1419.4-0838_daily_bin453.fits
.....................!
real 11.71
user 11.36
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/333030/ft1_filtered_4FGL_J1419.4-0838_daily_bin453.fits evtable="EVENTS" scfile=/scratch/kocevski/333030/ft2_4FGL_J1419.4-0838_daily_bin453.fits sctable="SC_DATA" expcube=/scratch/kocevski/333030/ltcube_356745601_357004801_4FGL_J1419.4-0838_daily_bin453.fits outfile=/scratch/kocevski/333030/expmap_356745601_357004801_4FGL_J1419.4-0838_daily_bin453.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/333030/ltcube_356745601_357004801_4FGL_J1419.4-0838_daily_bin453.fits
.....................!
real 190.15
user 185.50
sys 4.30

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/333030/ft1_filtered_4FGL_J1419.4-0838_daily_bin453.fits scfile=/scratch/kocevski/333030/ft2_4FGL_J1419.4-0838_daily_bin453.fits outfile=/scratch/kocevski/333030/cmap_356745601_357004801_4FGL_J1419.4-0838_daily_bin453.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/333030/ft1_filtered_4FGL_J1419.4-0838_daily_bin453.fits scfile=/scratch/kocevski/333030/ft2_4FGL_J1419.4-0838_daily_bin453.fits outfile=/scratch/kocevski/333030/cmap_HighResolution_356745601_357004801_4FGL_J1419.4-0838_daily_bin453.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.35
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/333030/ft1_filtered_4FGL_J1419.4-0838_daily_bin453.fits evtable="EVENTS" scfile=/scratch/kocevski/333030/ft2_4FGL_J1419.4-0838_daily_bin453.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/333030/Model_4FGL_J1419.4-0838_daily_bin453.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/333030/ft1_filtered_4FGL_J1419.4-0838_daily_bin453.fits.....................!
real 69.98
user 68.64
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.662       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.342       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .24059E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13543E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    79.349       1.0000         .10000E-03   10000.    
     9 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.7226       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .75469E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.9153       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.967       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .67148       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1467       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9256.432     FROM MIGRAD    STATUS=CONVERGED    722 CALLS     2271 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.661        7.9479        .84141E-04   -.12728E-03
   2  Prefactor     11.350        5.1690        .11895E-03   -.11048E-03
   3  Prefactor     .10000E-03    7.9454        .18142E-02** at limit **
   4  Prefactor     .10000E-03    48.726        .18142E-02** at limit **
   5  norm          .10037E-03    5.2519        .55892E-01** at limit **
   6  Prefactor     .10000E-03    19.081        .18142E-02** at limit **
   7  norm          .10000E-03    2.5064        .19745E-02** at limit **
   8  Prefactor     79.352        32.085        .45085E-04   -.27234E-05
   9  norm          .10000E-03    16.377        .18142E-02** at limit **
  10  norm          5.7236        5.9582        .16791E-03   -.22005E-03
  11  Prefactor     .10102E-03    8.4473        .87309E-01** at limit **
  12  Prefactor     .10000E-03    25.554        .18142E-02** at limit **
  13  norm          7.9134        8.0073        .14252E-03    .12763E-04
  14  Prefactor     .10000E-03    65.927        .18142E-02** at limit **
  15  Prefactor     .10000E-03    1.1611        .10101E-02** at limit **
  16  Prefactor     .10000E-03    18.904        .18142E-02** at limit **
  17  Prefactor     11.958        25.391        .11580E-03   -.12763E-04
  18  Normalizat    .67119        .22743        .41245E-03    .51324E-04
  19  Prefactor     1.1470        .11553        .16805E-03    .70358E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.6608
  Prefactor  = 11.3496
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.00010037
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 79.3521
  norm       = 0.0001
  norm       = 5.72359
  Prefactor  = 0.000101021
  Prefactor  = 0.000100001
  norm       = 7.91338
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9585
  Normalizat = 0.671186
  Prefactor  = 1.14696
 **********
 **   18 **HESSE 
 **********

 FCN=   9256.432     FROM HESSE     STATUS=OK           268 CALLS     2539 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.661        7.9478        .33657E-05   -1.4756    
   2  Prefactor     11.350        5.1666        .47582E-05   -1.5034    
   3  Prefactor     .10000E-03    7.9456        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    48.738        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10037E-03    4.9040        .58610E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    19.088        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.5193        .39490E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     79.352        32.084        .90169E-05   -1.3924    
   9  norm          .10000E-03    16.389        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.7236        5.9574        .67163E-05   -1.5229    
  11  Prefactor     .10102E-03    8.3232        .88407E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    25.568        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.9134        8.0072        .57008E-05   -1.5145    
  14  Prefactor     .10000E-03    65.932        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.1611        .20202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.905        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.958        25.393        .46319E-05   -1.5016    
  18  Normalizat    .67119        .22754        .16498E-04   -1.0504    
  19  Prefactor     1.1470        .11559        .67219E-05   -.87979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86868e-10
Minuit parameter uncertainties:
  1  7.94817
  2  5.16678
  3  2.46489e-06
  4  7.61442e-05
  5  0.00269366
  6  6.51876e-05
  7  4.51663e-05
  8  32.0905
  9  1.34586e-05
  10  5.95806
  11  0.00583179
  12  0.000239196
  13  8.00825
  14  0.000116288
  15  7.26729e-06
  16  4.14042e-05
  17  25.4156
  18  0.227856
  19  0.115617
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  5.724e+00  5.958e+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.147e+00  1.156e-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:  6.712e-01  2.279e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.37
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 2.80e-08 +/- 2.91e-08
Energy Flux (Fixed Index): 1.23e-05 +/- 1.28e-05

TS (Fixed Index): 1.37
Ra Dec: 214.860 -8.642
Photon Flux Upper Limit: 9.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/333030/likelihoodResults_356745601_357004801_4FGL_J1419.4-0838_daily_bin453.txt

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) = 9256.42142036
delta logL = 0.0110061564246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9256.42078537
delta logL = 0.0116411469535

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6043       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2632       1.0000          .0000       5.0000    
     3 'Normalizat'    .66610       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1485       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9256.421     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      242 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6040        5.9861        .16970E-03    .77097E-03
   2  alpha         2.2633        .82732        .22474E-01    .79925E-04
   3  Normalizat    .66608        .22070        .41395E-03   -.35538E-04
   4  Prefactor     1.1485        .11437        .16795E-03   -.11575E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.60403
  alpha      = 2.26332
  Normalizat = 0.666083
  Prefactor  = 1.1485
 **********
 **   18 **HESSE 
 **********

 FCN=   9256.421     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6040        5.8716        .67879E-05   -1.5234    
   2  alpha         2.2633        .81161        .89896E-03   -.94815E-01
   3  Normalizat    .66608        .22073        .16558E-04   -1.0525    
   4  Prefactor     1.1485        .11438        .67181E-05   -.87931    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.75143e-10
Minuit parameter uncertainties:
  1  5.87217
  2  0.826729
  3  0.221026
  4  0.114401
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/333030': 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) = 9256.42078536
delta logL = 0.0116411543131

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  5.604e+00  5.872e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.263e+00  8.267e-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.149e+00  1.144e-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:  6.661e-01  2.210e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.39
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 2.26 +/- 0.83
Photon Flux (Free Index): 3.14e-08 +/- 3.80e-08
Energy Flux (Free Index): 1.17e-05 +/- 1.26e-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/333030/cmap_HighResolution_356745601_357004801_4FGL_J1419.4-0838_daily_bin453.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-05', comment='SUCCESS', photon_flux='2.80e-08', energy_flux2='1.17e-05', photon_flux_error='2.91e-08', dlogl='1.16e-02', energy_flux='1.23e-05', photon_flux2='3.14e-08', job_status='DONE', time_completed='2021-09-09 09:11:16.520507', photon_index_error2='0.83', photon_index2='2.26', ts='1.37', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='9.44e-08', energy_flux_error2='1.26e-05', EG='0.67', time_epoch_completed='1631203876.52', return_code='0', job_id='333030', GAL2='1.15', EG2='0.67', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='3.80e-08', ts2='1.39', photon_index='2.14' WHERE bin_id='453' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:11:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 333030: <4FGL_J1419.4-0838_daily_bin453> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin453 214.86 -8.6417 356745601 357004801 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 :                                   696.19 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            923 sec.

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

