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 42 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7462
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1419.8+5423_daily_bin1712
RA = 214.955, Dec = 54.3937
tmin = 683078401, tmax = 683337601
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='144970', job_status='RUN', time_executed='2022-09-16 18:16:52.139747', time_epoch_executed='1663377412.14' WHERE source_name='4FGL J1419.8+5423' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/144970

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/144970/ft1_4FGL_J1419.8+5423_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/144970/ft2_4FGL_J1419.8+5423_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/144970/ft1_4FGL_J1419.8+5423_daily_bin1712.fits outfile=/scratch/kocevski/144970/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin1712.fits ra=214.955 dec=54.3937 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.85
user 4.59
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/144970/ft2_4FGL_J1419.8+5423_daily_bin1712.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/144970/ft2_4FGL_J1419.8+5423_daily_bin1712.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/144970/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/144970/ft1_filtered_4FGL_J1419.8+5423_daily_bin1712.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.36
sys 0.15

Number of photons that the gtmktime cut: 580

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/144970/ft1_filtered_4FGL_J1419.8+5423_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/144970/ft2_4FGL_J1419.8+5423_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/144970/ltcube_683078401_683337601_4FGL_J1419.8+5423_daily_bin1712.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/144970/ft2_4FGL_J1419.8+5423_daily_bin1712.fits
.....................!
real 14.62
user 14.15
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/144970/ft1_filtered_4FGL_J1419.8+5423_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/144970/ft2_4FGL_J1419.8+5423_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/144970/ltcube_683078401_683337601_4FGL_J1419.8+5423_daily_bin1712.fits outfile=/scratch/kocevski/144970/expmap_683078401_683337601_4FGL_J1419.8+5423_daily_bin1712.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/144970/ltcube_683078401_683337601_4FGL_J1419.8+5423_daily_bin1712.fits
.....................!
real 193.56
user 188.47
sys 4.34

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 214 point sources and 0 extended sources

Setting source of interest to:
4FGL J1419.8+5423 @ 214.955 54.3937

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/144970/ft1_filtered_4FGL_J1419.8+5423_daily_bin1712.fits scfile=/scratch/kocevski/144970/ft2_4FGL_J1419.8+5423_daily_bin1712.fits outfile=/scratch/kocevski/144970/cmap_683078401_683337601_4FGL_J1419.8+5423_daily_bin1712.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.955 yref=54.3937 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.68
user 0.41
sys 0.21

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/144970/ft1_filtered_4FGL_J1419.8+5423_daily_bin1712.fits scfile=/scratch/kocevski/144970/ft2_4FGL_J1419.8+5423_daily_bin1712.fits outfile=/scratch/kocevski/144970/cmap_HighResolution_683078401_683337601_4FGL_J1419.8+5423_daily_bin1712.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.955 yref=54.3937 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/144970/ft1_filtered_4FGL_J1419.8+5423_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/144970/ft2_4FGL_J1419.8+5423_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/144970/Model_4FGL_J1419.8+5423_daily_bin1712.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/144970/ft1_filtered_4FGL_J1419.8+5423_daily_bin1712.fits....................!
real 51.14
user 49.65
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/144970/ft1_filtered_4FGL_J1419.8+5423_daily_bin1712.fits', '/scratch/kocevski/144970/ft2_4FGL_J1419.8+5423_daily_bin1712.fits', expMap='/scratch/kocevski/144970/expmap_683078401_683337601_4FGL_J1419.8+5423_daily_bin1712.fits', expCube='/scratch/kocevski/144970/ltcube_683078401_683337601_4FGL_J1419.8+5423_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/144970/Model_4FGL_J1419.8+5423_daily_bin1712.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1419.8+5423'

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  2.306e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
333        Index:  2.365e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  8.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/144970/ft1_filtered_4FGL_J1419.8+5423_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/144970/ft2_4FGL_J1419.8+5423_daily_bin1712.fits
Exposure map: /scratch/kocevski/144970/expmap_683078401_683337601_4FGL_J1419.8+5423_daily_bin1712.fits
Exposure cube: /scratch/kocevski/144970/ltcube_683078401_683337601_4FGL_J1419.8+5423_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/144970/Model_4FGL_J1419.8+5423_daily_bin1712.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) = 6323.54544895

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63954E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12557E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .29887E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .18806E-05   1.0000          .0000       .10000E+07
     5 'norm      '    3.3874       1.0000          .0000       .10000E+07
     6 'Prefactor '    .31817       1.0000          .0000       .10000E+07
     7 'norm      '    1.1056       1.0000          .0000       .10000E+07
     8 'norm      '    .18805       1.0000          .0000       .10000E+07
     9 'Prefactor '    .61263E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .24266E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    73.718       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24447E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .34740E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9709       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34606E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .58720E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .48759E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95840E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .30983E-04   1.0000          .0000       .10000E+07
    20 'norm      '    3.7310       1.0000          .0000       .10000E+07
    21 'Prefactor '    .14240       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.0891       1.0000          .0000       .10000E+07
    23 'Prefactor '    6.7493       1.0000          .0000       .10000E+07
    24 'Normalizat'    .81154       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0233       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6323.521     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     2117 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94258E-06    48.546        .32477E-05** at limit **
   2  norm           .0000        2.3592        .13234E-06** at limit **
   3  Prefactor     .26090E-08    3.2699        .47972E-06** at limit **
   4  Prefactor      .0000        5.0637       -.14273E-05** at limit **
   5  norm          3.3850        2.7778       -.32685E-07    .15188E-02
   6  Prefactor     .64948E-07    6.8448       -.10459E-05** at limit **
   7  norm          1.1062        1.1182        .20375E-06   -.12193E-02
   8  norm          .21205        6.1598        .93973E-06** at limit **
   9  Prefactor     .71015E-06    50.457       -.28661E-05** at limit **
  10  Prefactor      .0000        17.311       -.39802E-06** at limit **
  11  Prefactor     73.954        20.725        .93192E-06   -.62482E-01
  12  Prefactor     .33307E-09    7.4794        .47672E-06** at limit **
  13  Prefactor     .20539E-08    7.1694       -.21659E-05** at limit **
  14  Prefactor     3.9642        2.2767       -.86143E-07    .15275E-02
  15  Prefactor     .16653E-09    3.1730        .41864E-06** at limit **
  16  Prefactor     .17764E-08    20.718       -.17713E-05** at limit **
  17  Prefactor     .10880E-07    2.7738       -.16892E-06** at limit **
  18  Prefactor     .55511E-10    4.1965       -.12990E-05** at limit **
  19  Prefactor     .11102E-09    6.7383       -.12634E-05** at limit **
  20  norm          3.7329        1.6500       -.75465E-07    .20157E-02
  21  Prefactor     .46996E-01    15.900        .23851E-05** at limit **
  22  Prefactor     1.0890        3.0230       -.81866E-06   -.85652E-04
  23  Prefactor     6.7138        6.6653       -.56656E-06    .36887E-03
  24  Normalizat    .81199        .16978       -.22728E-05    .10236E-03
  25  Prefactor     1.0231        .19961        .59018E-05    .48072E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.42579e-07
  norm       = 0
  Prefactor  = 2.60902e-09
  Prefactor  = 0
  norm       = 3.38496
  Prefactor  = 6.4948e-08
  norm       = 1.10616
  norm       = 0.212054
  Prefactor  = 7.10154e-07
  Prefactor  = 0
  Prefactor  = 73.9539
  Prefactor  = 3.33067e-10
  Prefactor  = 2.05391e-09
  Prefactor  = 3.96423
  Prefactor  = 1.66533e-10
  Prefactor  = 1.77636e-09
  Prefactor  = 1.08802e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 3.73286
  Prefactor  = 0.0469962
  Prefactor  = 1.08901
  Prefactor  = 6.71383
  Normalizat = 0.811994
  Prefactor  = 1.02312
 **********
 **   18 **HESSE 
 **********

 FCN=   6323.521     FROM HESSE     STATUS=OK           483 CALLS     2600 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94258E-06    55.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.3620        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .26090E-08    8.5713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        9.2723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.3850        2.7788        .54949E-03   -1.5671    
   6  Prefactor     .64948E-07    119.16        .99655E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1062        1.1459        .11262E-02   -1.5687    
   8  norm          .21205        1.5029        .51726E-02   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .71015E-06    55.817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        17.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     73.954        43.295        .11648E-03   -1.5536    
  12  Prefactor     .33307E-09    7.4309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .20539E-08    7.6905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.9642        2.2825        .50592E-03   -1.5668    
  15  Prefactor     .16653E-09    8.4990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17764E-08    21.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10880E-07    8.2602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    9.2930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11102E-09    6.7404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.7329        1.6529        .52251E-03   -1.5669    
  21  Prefactor     .46996E-01    5.7037        .10408E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.0890        3.1013        .11469E-02   -1.5687    
  23  Prefactor     6.7138        7.4733        .38599E-03   -1.5656    
  24  Normalizat    .81199        .14639        .43761E-01   -.99625    
  25  Prefactor     1.0231        .17004        .41826E-01   -.91963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31227e-07
Minuit parameter uncertainties:
  1  0.0144877
  2  1.07047e-05
  3  0.000298691
  4  2.03472e-05
  5  2.77882
  6  0.00556412
  7  1.14586
  8  1.12905
  9  0.012592
  10  3.80001e-05
  11  43.2953
  12  0.000100154
  13  0.000252353
  14  2.28252
  15  7.81989e-05
  16  0.000393214
  17  0.000599169
  18  3.76406e-05
  19  5.90329e-05
  20  1.65293
  21  1.03548
  22  3.10126
  23  7.47335
  24  0.146462
  25  0.170124
Done.

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

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  3.964e+00  2.283e+00  0.000e+00  1.000e+06 ( 1.000e-12)
333        Index:  2.365e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  8.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.023e+00  1.701e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  8.120e-01  1.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.78
Ra Dec: 214.955 54.394
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 4.66e-08 +/- 2.68e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 9.23e-06

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) = 6323.51998773
delta logL = 0.00121435151868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6323.51931346
delta logL = 0.00188861906281

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8702       1.0000          .0000       .10000E+07
     2 'Index     '    2.3996       1.0000          .0000       10.000    
     3 'Normalizat'    .81046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0242       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6323.519     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      207 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8698        48.158        .51269E-03    .12263E-02
   2  Index         2.3999        6.1836        .14153        .95448E-04
   3  Normalizat    .81032        .78755E-01    .43747E-01    .16500E-04
   4  Prefactor     1.0244        .72771E-01    .41742E-01    .11987E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.86983
  Index      = 2.39985
  Normalizat = 0.810321
  Prefactor  = 1.02442
 **********
 **   18 **HESSE 
 **********

 FCN=   6323.519     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8698        2.8272        .85553E-05   -1.5669    
   2  Index         2.3999        .59950        .69741E-02   -.54689    
   3  Normalizat    .81032        .16729        .22184E-03   -.99687    
   4  Prefactor     1.0244        .19956        .24010E-03   -.91920    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.70833e-12
Minuit parameter uncertainties:
  1  2.82725
  2  0.601488
  3  0.167401
  4  0.199708
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/144970': 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) = 6323.51931301
delta logL = 0.00188907122993

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  3.870e+00  2.827e+00  0.000e+00  1.000e+06 ( 1.000e-12)
333        Index:  2.400e+00  6.015e-01  0.000e+00  1.000e+01 (-1.000e+00)
334        Scale:  8.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.024e+00  1.997e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  8.103e-01  1.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.79
Ra Dec: 214.955 54.394
Photon Index (Free Index): 2.40 +/- 0.60
Photon Flux (Free Index): 4.78e-08 +/- 3.34e-08
Energy Flux (Free Index): 1.57e-05 +/- 1.08e-05

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/144970/cmap_HighResolution_683078401_683337601_4FGL_J1419.8+5423_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.66e-08', energy_flux2='1.57e-05', photon_flux_error='2.68e-08', dlogl='1.89e-03', energy_flux='1.60e-05', photon_flux2='4.78e-08', job_status='DONE', time_completed='2022-09-16 18:27:42.329691', photon_index_error2='0.60', photon_index2='2.40', ts='5.78', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.08e-05', EG='0.81', time_epoch_completed='1663378062.33', return_code='0', job_id='144970', GAL2='1.02', EG2='0.81', return_code2='0', energy_flux_error='9.23e-06', photon_flux_error2='3.34e-08', ts2='5.79', photon_index='2.36' WHERE bin_id='1712' AND source_name='4FGL J1419.8+5423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:27:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 144970: <4FGL_J1419.8+5423_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1419.8+5423_daily_bin1712> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 18:15:21 2022
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:16:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:16:01 2022
Terminated at Fri Sep 16 18:27:43 2022
Results reported at Fri Sep 16 18:27:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.8+5423_daily_bin1712 214.955 54.3937 683078401 683337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1419.8+5423 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   650.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            742 sec.

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

