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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin813
RA = 214.86, Dec = -8.6417
tmin = 450057601, tmax = 450316801
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='335556', job_status='RUN', time_executed='2021-09-09 09:09:02.132009', time_epoch_executed='1631203742.13' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='813'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/335556

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/335556/ft1_4FGL_J1419.4-0838_daily_bin813.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/335556/ft2_4FGL_J1419.4-0838_daily_bin813.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/335556/ft1_4FGL_J1419.4-0838_daily_bin813.fits outfile=/scratch/kocevski/335556/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin813.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=450057601.0 tmax=450316801.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.55
user 3.31
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/335556/ft2_4FGL_J1419.4-0838_daily_bin813.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/335556/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin813.fits evtable="EVENTS" outfile="/scratch/kocevski/335556/ft1_filtered_4FGL_J1419.4-0838_daily_bin813.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/335556/ft1_filtered_4FGL_J1419.4-0838_daily_bin813.fits" evtable="EVENTS" scfile=/scratch/kocevski/335556/ft2_4FGL_J1419.4-0838_daily_bin813.fits sctable="SC_DATA" outfile=/scratch/kocevski/335556/ltcube_450057601_450316801_4FGL_J1419.4-0838_daily_bin813.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/335556/ft2_4FGL_J1419.4-0838_daily_bin813.fits
.....................!
real 11.76
user 11.40
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/335556/ft1_filtered_4FGL_J1419.4-0838_daily_bin813.fits evtable="EVENTS" scfile=/scratch/kocevski/335556/ft2_4FGL_J1419.4-0838_daily_bin813.fits sctable="SC_DATA" expcube=/scratch/kocevski/335556/ltcube_450057601_450316801_4FGL_J1419.4-0838_daily_bin813.fits outfile=/scratch/kocevski/335556/expmap_450057601_450316801_4FGL_J1419.4-0838_daily_bin813.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/335556/ltcube_450057601_450316801_4FGL_J1419.4-0838_daily_bin813.fits
.....................!
real 191.11
user 185.82
sys 4.92

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/335556/ft1_filtered_4FGL_J1419.4-0838_daily_bin813.fits scfile=/scratch/kocevski/335556/ft2_4FGL_J1419.4-0838_daily_bin813.fits outfile=/scratch/kocevski/335556/cmap_450057601_450316801_4FGL_J1419.4-0838_daily_bin813.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.53
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/335556/ft1_filtered_4FGL_J1419.4-0838_daily_bin813.fits evtable="EVENTS" scfile=/scratch/kocevski/335556/ft2_4FGL_J1419.4-0838_daily_bin813.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/335556/Model_4FGL_J1419.4-0838_daily_bin813.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/335556/ft1_filtered_4FGL_J1419.4-0838_daily_bin813.fits.....................!
real 66.11
user 64.58
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0567       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.8939       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15737E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .93063       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .20430E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    16.845       1.0000         .10000E-03   10000.    
    10 'norm      '    4.0099       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.7246       1.0000         .10000E-03   10000.    
    13 'norm      '    .46169       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8366       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0795       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1299       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=   8422.679     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     1926 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0573        5.9540        .16731E-05    .36555E-04
   2  Prefactor     4.8923        4.1373       -.13566E-06   -.12333E-02
   3  Prefactor     .10000E-03    48.272        .17865E-04** at limit **
   4  Prefactor     .10000E-03    10.812        .36794E-06** at limit **
   5  norm          .10000E-03    6.5510        .35651E-06** at limit **
   6  Prefactor     .10035E-03    7.7364       -.22289E-05** at limit **
   7  norm          .93084        1.8547        .22497E-06   -.98298E-04
   8  Prefactor     .10000E-03    89.646        .37735E-04** at limit **
   9  norm          16.845        13.467        .35741E-06   -.10386E-04
  10  norm          4.0105        5.0875       -.43159E-08   -.70782E-03
  11  Prefactor     .10000E-03    8.7606        .63249E-06** at limit **
  12  Prefactor     9.7234        21.005       -.10263E-05    .57072E-04
  13  norm          .48312        6.9584       -.12444E-05    .49178E-03
  14  Prefactor     .10000E-03    155.76       -.36116E-04** at limit **
  15  Prefactor     1.8360        2.0800        .45769E-06   -.24957E-02
  16  Prefactor     .10000E-03    57.745       -.23320E-04** at limit **
  17  Prefactor     .10000E-03    26.931       -.81897E-06** at limit **
  18  Normalizat    1.0794        .22291       -.20006E-05    .23387E-04
  19  Prefactor     1.1299        .11297        .55572E-06   -.26101E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.05729
  Prefactor  = 4.8923
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100347
  norm       = 0.930841
  Prefactor  = 0.000100001
  norm       = 16.8453
  norm       = 4.01046
  Prefactor  = 0.0001
  Prefactor  = 9.72343
  norm       = 0.483119
  Prefactor  = 0.0001
  Prefactor  = 1.83601
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.07938
  Prefactor  = 1.12987
 **********
 **   18 **HESSE 
 **********

 FCN=   8422.679     FROM HESSE     STATUS=OK           272 CALLS     2198 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0573        5.9584        .13318E-03   -1.5106    
   2  Prefactor     4.8923        4.2254        .84015E-03   -1.5266    
   3  Prefactor     .10000E-03    49.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    6.6804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10035E-03    53.150        .48807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .93084        1.8021        .16895E-03   -1.5515    
   8  Prefactor     .10000E-03    91.548        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.845        13.471        .97584E-04   -1.4887    
  10  norm          4.0105        5.1400        .10070E-02   -1.5307    
  11  Prefactor     .10000E-03    8.7780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.7234        21.009        .12850E-03   -1.5084    
  13  norm          .48312        67.559        .45113E-02   -1.5569    
  14  Prefactor     .10000E-03    157.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8360        5.5496        .15393E-02   -1.5437    
  16  Prefactor     .10000E-03    58.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    26.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0794        .25452        .36942E-03   -.90416    
  19  Prefactor     1.1299        .13182        .18477E-03   -.88517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62734e-08
Minuit parameter uncertainties:
  1  5.95878
  2  4.22565
  3  3.66381e-05
  4  5.93481e-07
  5  6.3849e-06
  6  0.00860195
  7  1.80222
  8  0.000736789
  9  13.4736
  10  5.14052
  11  7.55762e-06
  12  21.0248
  13  11.4381
  14  7.00438e-06
  15  5.55113
  16  0.000119782
  17  2.46494e-05
  18  0.254806
  19  0.131857
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  4.010e+00  5.141e+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.130e+00  1.319e-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.079e+00  2.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.07
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 1.96e-08 +/- 2.51e-08
Energy Flux (Fixed Index): 8.65e-06 +/- 1.11e-05

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

Saving results to:
/scratch/kocevski/335556/likelihoodResults_450057601_450316801_4FGL_J1419.4-0838_daily_bin813.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) = 8422.38047731
delta logL = 0.29818461787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8422.32655843
delta logL = 0.352103495441

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4409       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1836       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1271       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=   8422.327     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      209 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4371        2.8550        .65469E-02    .13847E-03
   2  alpha         1.1827        .47560        .50000       -.67220E-04
   3  Normalizat    1.0919        .21816        .83006E-01    .53903E-04
   4  Prefactor     1.1272        .11189        .36637E-01   -.31486E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.43711
  alpha      = 1.18266
  Normalizat = 1.09189
  Prefactor  = 1.12717
 **********
 **   18 **HESSE 
 **********

 FCN=   8422.327     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4371        3.8153        .16263E-03   -1.5396    
   2  alpha         1.1827        .81326        .20088E-01   -.55499    
   3  Normalizat    1.0919        .25117        .36750E-03   -.90013    
   4  Prefactor     1.1272        .12913        .18493E-03   -.88603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83206e-11
Minuit parameter uncertainties:
  1  3.81573
  2  0.834552
  3  0.251447
  4  0.12917
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/335556': 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) = 8422.3265577
delta logL = 0.352104226347

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  2.437e+00  3.816e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.183e+00  8.346e-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.127e+00  1.292e-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.092e+00  2.514e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.76
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 1.18 +/- 0.83
Photon Flux (Free Index): 7.37e-09 +/- 1.04e-08
Energy Flux (Free Index): 2.87e-05 +/- 5.43e-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/335556/cmap_HighResolution_450057601_450316801_4FGL_J1419.4-0838_daily_bin813.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.91e-05', comment='SUCCESS', photon_flux='1.96e-08', energy_flux2='2.87e-05', photon_flux_error='2.51e-08', dlogl='3.52e-01', energy_flux='8.65e-06', photon_flux2='7.37e-09', job_status='DONE', time_completed='2021-09-09 09:19:17.680125', photon_index_error2='0.83', photon_index2='1.18', ts='1.07', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='8.88e-08', energy_flux_error2='5.43e-05', EG='1.08', time_epoch_completed='1631204357.68', return_code='0', job_id='335556', GAL2='1.13', EG2='1.09', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='1.04e-08', ts2='1.76', photon_index='2.14' WHERE bin_id='813' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:19:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 335556: <4FGL_J1419.4-0838_daily_bin813> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin813 214.86 -8.6417 450057601 450316801 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 :                                   615.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             288.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            842 sec.

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

