aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 70 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 = 17484
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1419.4-0838_weekly_bin717
RA = 214.86, Dec = -8.6417
tmin = 672624001, tmax = 673228801
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='374575', job_status='RUN', time_executed='2022-05-03 01:28:32.671232', time_epoch_executed='1651566512.67' WHERE source_name='4FGL J1419.4-0838' and cadence='weekly' and bin_id='717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/374575

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/374575/ft1_4FGL_J1419.4-0838_weekly_bin717.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/374575/ft2_4FGL_J1419.4-0838_weekly_bin717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/374575/ft1_4FGL_J1419.4-0838_weekly_bin717.fits outfile=/scratch/kocevski/374575/ft1_filteredMKT_4FGL_J1419.4-0838_weekly_bin717.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=672624001.0 tmax=673228801.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 6.26
user 5.99
sys 0.25

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

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

Number of photons that the gtmktime cut: 29

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/374575/ft1_filtered_4FGL_J1419.4-0838_weekly_bin717.fits" evtable="EVENTS" scfile=/scratch/kocevski/374575/ft2_4FGL_J1419.4-0838_weekly_bin717.fits sctable="SC_DATA" outfile=/scratch/kocevski/374575/ltcube_672624001_673228801_4FGL_J1419.4-0838_weekly_bin717.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/374575/ft2_4FGL_J1419.4-0838_weekly_bin717.fits
.....................!
real 35.08
user 34.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/374575/ft1_filtered_4FGL_J1419.4-0838_weekly_bin717.fits evtable="EVENTS" scfile=/scratch/kocevski/374575/ft2_4FGL_J1419.4-0838_weekly_bin717.fits sctable="SC_DATA" expcube=/scratch/kocevski/374575/ltcube_672624001_673228801_4FGL_J1419.4-0838_weekly_bin717.fits outfile=/scratch/kocevski/374575/expmap_672624001_673228801_4FGL_J1419.4-0838_weekly_bin717.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/374575/ltcube_672624001_673228801_4FGL_J1419.4-0838_weekly_bin717.fits
.....................!
real 191.37
user 186.26
sys 4.66

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/374575/ft1_filtered_4FGL_J1419.4-0838_weekly_bin717.fits scfile=/scratch/kocevski/374575/ft2_4FGL_J1419.4-0838_weekly_bin717.fits outfile=/scratch/kocevski/374575/cmap_672624001_673228801_4FGL_J1419.4-0838_weekly_bin717.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/374575/ft1_filtered_4FGL_J1419.4-0838_weekly_bin717.fits scfile=/scratch/kocevski/374575/ft2_4FGL_J1419.4-0838_weekly_bin717.fits outfile=/scratch/kocevski/374575/cmap_HighResolution_672624001_673228801_4FGL_J1419.4-0838_weekly_bin717.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.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/374575/ft1_filtered_4FGL_J1419.4-0838_weekly_bin717.fits', '/scratch/kocevski/374575/ft2_4FGL_J1419.4-0838_weekly_bin717.fits', expMap='/scratch/kocevski/374575/expmap_672624001_673228801_4FGL_J1419.4-0838_weekly_bin717.fits', expCube='/scratch/kocevski/374575/ltcube_672624001_673228801_4FGL_J1419.4-0838_weekly_bin717.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/374575/Model_4FGL_J1419.4-0838_weekly_bin717.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/374575/ft1_filtered_4FGL_J1419.4-0838_weekly_bin717.fits
Spacecraft file(s): /scratch/kocevski/374575/ft2_4FGL_J1419.4-0838_weekly_bin717.fits
Exposure map: /scratch/kocevski/374575/expmap_672624001_673228801_4FGL_J1419.4-0838_weekly_bin717.fits
Exposure cube: /scratch/kocevski/374575/ltcube_672624001_673228801_4FGL_J1419.4-0838_weekly_bin717.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/374575/Model_4FGL_J1419.4-0838_weekly_bin717.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 407.269560005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 404.817878865

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .64922E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16097       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .28830       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.0189       1.0000         .10000E-03   10000.    
     5 'norm      '    .93123E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    72.883       1.0000         .10000E-03   10000.    
     7 'norm      '    49.804       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .26692E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    10.873       1.0000         .10000E-03   10000.    
    10 'norm      '    3.3689       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5968       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.3056       1.0000         .10000E-03   10000.    
    13 'norm      '    2.6125       1.0000         .10000E-03   10000.    
    14 'Prefactor '    287.74       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5743       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.6331       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.9391       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93935       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   404.7379     FROM MIGRAD    STATUS=CONVERGED    229 CALLS      560 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    88.074        .37521E-06** at limit **
   2  Prefactor     11.612        187.88       -.42747E-04    .54758E-05
   3  Prefactor     .10000E-03    76.435       -.55579E-06** at limit **
   4  Prefactor     193.61        579.31        .20277E-04    .82088E-04
   5  norm          .10000E-03    258.45        .32768E-05** at limit **
   6  Prefactor     76.759        53.498       -.12573E-05    .94742E-04
   7  norm          50.838        63.359        .51880E-06   -.52658E-04
   8  Prefactor     .10000E-03    32.885        .75944E-06** at limit **
   9  norm          19.978        62.499       -.35961E-05    .20732E-04
  10  norm          .10013E-03    695.89       -.16034E-04** at limit **
  11  Prefactor     1.2574        105.20       -.39881E-06    .36846E-02
  12  Prefactor     .25741E-02    29.129       -.13915E-05** at limit **
  13  norm          2.6125        1.0196         .0000         .0000    
  14  Prefactor     307.91        288.41       -.84755E-07    .43713E-02
  15  Prefactor     1.5743        1.0623         .0000         .0000    
  16  Prefactor     9.6331        1.0014         .0000         .0000    
  17  Prefactor     9.9391        1.0013         .0000         .0000    
  18  Normalizat    .10000E-01    .42706        .82438E-06** at limit **
  19  Prefactor     .87685        .34364        .12136E-05    .42623E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 11.6116
  Prefactor  = 0.0001
  Prefactor  = 193.605
  norm       = 0.0001
  Prefactor  = 76.7589
  norm       = 50.8384
  Prefactor  = 0.0001
  norm       = 19.9779
  norm       = 0.000100131
  Prefactor  = 1.25742
  Prefactor  = 0.00257412
  norm       = 2.61248
  Prefactor  = 307.913
  Prefactor  = 1.57433
  Prefactor  = 9.63313
  Prefactor  = 9.93913
  Normalizat = 0.01
  Prefactor  = 0.876848
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   404.7379     FROM HESSE     STATUS=FAILED        57 CALLS      617 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    87.954        .93426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.612        169.75        .97980E-02   -1.5026    
   3  Prefactor     .10000E-03    75.946        .10374E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     193.61        554.29        .37856E-02   -1.2916    
   5  norm          .10000E-03    256.20        .94784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     76.759        48.752        .11757E-02   -1.3953    
   7  norm          50.838        63.053        .14206E-02   -1.4281    
   8  Prefactor     .10000E-03    33.329        .91557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          19.978        57.680        .30375E-02   -1.4814    
  10  norm          .10013E-03    692.45        .55116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.2574        9416.8        .46935E-02   -1.5484    
  12  Prefactor     .25741E-02    9565.3        .96569E-02   -1.5718    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          559.66        556.95         .0000       -1.5385    
  14  Prefactor     307.91        1.0334       -.84755E-07   -1.2180    
  15  Prefactor     1.5743        1.0623         .0000       -1.5457    
  16  Prefactor     9.6331        1.0014         .0000       -1.5087    
  17  Prefactor     9.9391        1.0013         .0000       -1.5077    
  18  Normalizat    .10000E-01    .25505        .82438E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .87685        1.2431        .12136E-05   -.96955    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.88237e-10
Minuit parameter uncertainties:
  1  3.41985e-05
  2  89.0982
  3  0.000131279
  4  570.448
  5  0.000240034
  6  48.7773
  7  63.1359
  8  1.99915e-05
  9  57.8418
  10  0.0192884
  11  276.643
  12  12.6441
  13  1.0196
  14  1.0334
  15  1.06229
  16  1.00135
  17  1.00127
  18  3.27857e-07
  19  1.28703
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 404.737949666

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.001e-04  1.929e-02  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:  8.768e-01  1.287e+00  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.000e-02  3.279e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 214.860 -8.642
Photon Flux Upper Limit: 2.02e-05 ph cm-2 s-1
Energy Flux Upper Limit: 8.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/374575/likelihoodResults_672624001_673228801_4FGL_J1419.4-0838_weekly_bin717.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): 102
logL (Free Index) = 404.737956642
delta logL = -6.97630093782e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 404.737949759
delta logL = -9.32079728955e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10416E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2769       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87685       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=   404.7379     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      263 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13124E-03    7396.9        .18142E-01** at limit **
   2  alpha         2.5643        3.6991        .17599        .17704E-06
   3  Normalizat    .10000E-01    .88111E-02    .75430E-02** at limit **
   4  Prefactor     .87685        .37529E-01    .18216E-03    .26719E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000131237
  alpha      = 2.56425
  Normalizat = 0.01
  Prefactor  = 0.876848
 **********
 **   18 **HESSE 
 **********

 FCN=   404.7379     FROM HESSE     STATUS=NOT POSDEF    23 CALLS      286 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13124E-03    9556.9        .36285E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5643        2.9752        .70394E-02    .25704E-01
   3  Normalizat    .10000E-01    .58802E-01    .15086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .87685        .97001E-01    .72866E-05   -.96955    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.73071e-08
Minuit parameter uncertainties:
  1  2.09379
  2  22251.8
  3  8.54248e-07
  4  0.09702
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/374575': 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): 102
logL (Free Index) = 404.737949708
delta logL = -4.23173105446e-08

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.312e-04  2.094e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.564e+00  2.225e+04  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:  8.768e-01  9.702e-02  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.000e-02  8.542e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 214.860 -8.642

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/374575/cmap_HighResolution_672624001_673228801_4FGL_J1419.4-0838_weekly_bin717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.91e-03', job_status='DONE', photon_flux_upper_limit='2.02e-05', time_completed='2022-05-03 01:34:44.137572', job_id='374575', GAL2='0.88', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1651566884.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.88', dlogl='-4.23e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='717' AND source_name='4FGL J1419.4-0838' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May  3 01:34:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 374575: <4FGL_J1419.4-0838_weekly_bin717> in cluster <slac> Done

Job <4FGL_J1419.4-0838_weekly_bin717> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue May  3 01:25:29 2022
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 01:27:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 01:27:14 2022
Terminated at Tue May  3 01:34:44 2022
Results reported at Tue May  3 01:34:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_weekly_bin717 214.86 -8.6417 672624001 673228801 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 :                                   370.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             264.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   450 sec.
    Turnaround time :                            555 sec.

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

