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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin1718
RA = 216.169, Dec = 14.784
tmin = 684633601, tmax = 684892801
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='146830', job_status='RUN', time_executed='2022-09-16 18:21:30.386505', time_epoch_executed='1663377690.39' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/146830

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/146830/ft1_4FGL_J1424.6+1447_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/146830/ft2_4FGL_J1424.6+1447_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/146830/ft1_4FGL_J1424.6+1447_daily_bin1718.fits outfile=/scratch/kocevski/146830/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin1718.fits ra=216.169 dec=14.784 rad=12.0 tmin=684633601.0 tmax=684892801.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.23
user 2.99
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/146830/ft2_4FGL_J1424.6+1447_daily_bin1718.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/146830/ft2_4FGL_J1424.6+1447_daily_bin1718.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/146830/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin1718.fits evtable="EVENTS" outfile="/scratch/kocevski/146830/ft1_filtered_4FGL_J1424.6+1447_daily_bin1718.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.58
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 460

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/146830/ft1_filtered_4FGL_J1424.6+1447_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/146830/ft2_4FGL_J1424.6+1447_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/146830/ltcube_684633601_684892801_4FGL_J1424.6+1447_daily_bin1718.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/146830/ft2_4FGL_J1424.6+1447_daily_bin1718.fits
.....................!
real 14.59
user 14.13
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/146830/ft1_filtered_4FGL_J1424.6+1447_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/146830/ft2_4FGL_J1424.6+1447_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/146830/ltcube_684633601_684892801_4FGL_J1424.6+1447_daily_bin1718.fits outfile=/scratch/kocevski/146830/expmap_684633601_684892801_4FGL_J1424.6+1447_daily_bin1718.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/146830/ltcube_684633601_684892801_4FGL_J1424.6+1447_daily_bin1718.fits
.....................!
real 192.18
user 185.82
sys 5.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 145 point sources and 0 extended sources

Setting source of interest to:
4FGL J1424.6+1447 @ 216.169 14.784

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/146830/ft1_filtered_4FGL_J1424.6+1447_daily_bin1718.fits scfile=/scratch/kocevski/146830/ft2_4FGL_J1424.6+1447_daily_bin1718.fits outfile=/scratch/kocevski/146830/cmap_684633601_684892801_4FGL_J1424.6+1447_daily_bin1718.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=216.169 yref=14.784 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/146830/ft1_filtered_4FGL_J1424.6+1447_daily_bin1718.fits scfile=/scratch/kocevski/146830/ft2_4FGL_J1424.6+1447_daily_bin1718.fits outfile=/scratch/kocevski/146830/cmap_HighResolution_684633601_684892801_4FGL_J1424.6+1447_daily_bin1718.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=216.169 yref=14.784 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.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/146830/ft1_filtered_4FGL_J1424.6+1447_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/146830/ft2_4FGL_J1424.6+1447_daily_bin1718.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/146830/Model_4FGL_J1424.6+1447_daily_bin1718.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/146830/ft1_filtered_4FGL_J1424.6+1447_daily_bin1718.fits....................!
real 41.40
user 39.93
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/146830/ft1_filtered_4FGL_J1424.6+1447_daily_bin1718.fits', '/scratch/kocevski/146830/ft2_4FGL_J1424.6+1447_daily_bin1718.fits', expMap='/scratch/kocevski/146830/expmap_684633601_684892801_4FGL_J1424.6+1447_daily_bin1718.fits', expCube='/scratch/kocevski/146830/ltcube_684633601_684892801_4FGL_J1424.6+1447_daily_bin1718.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/146830/Model_4FGL_J1424.6+1447_daily_bin1718.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.6+1447'

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.029e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/146830/ft1_filtered_4FGL_J1424.6+1447_daily_bin1718.fits
Spacecraft file(s): /scratch/kocevski/146830/ft2_4FGL_J1424.6+1447_daily_bin1718.fits
Exposure map: /scratch/kocevski/146830/expmap_684633601_684892801_4FGL_J1424.6+1447_daily_bin1718.fits
Exposure cube: /scratch/kocevski/146830/ltcube_684633601_684892801_4FGL_J1424.6+1447_daily_bin1718.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/146830/Model_4FGL_J1424.6+1447_daily_bin1718.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) = 5135.25636745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81057E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.2915       1.0000          .0000       .10000E+07
     3 'Prefactor '    18.252       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.9013       1.0000          .0000       .10000E+07
     5 'Prefactor '    90.222       1.0000          .0000       .10000E+07
     6 'norm      '    .51320E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12225E-03   1.0000          .0000       .10000E+07
     8 'norm      '    2.7914       1.0000          .0000       .10000E+07
     9 'norm      '    8.8791       1.0000          .0000       .10000E+07
    10 'Prefactor '    .80928E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .66462E-05   1.0000          .0000       .10000E+07
    12 'norm      '    2.1668       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13105E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    42.770       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11997E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .57630E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .59247       1.0000          .0000       .10000E+07
    18 'norm      '    .11663E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    .89877       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1935       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5135.211     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     1814 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        39.787       -.61620E-08** at limit **
   2  Prefactor     4.2871        4.3419       -.29374E-07    .11542E-02
   3  Prefactor     18.346        24.749        .22121E-05    .15906E-03
   4  Prefactor     1.8039        55.542       -.12720E-05   -.10498E-02
   5  Prefactor     83.112        51.229       -.54055E-08   -.54969E-04
   6  norm           .0000        11.987       -.91705E-06** at limit **
   7  Prefactor      .0000        4.3199       -.14197E-07** at limit **
   8  norm          2.7834        2.7271        .88275E-08   -.11176E-02
   9  norm          8.8608        4.3190        .17241E-07   -.87468E-03
  10  Prefactor      .0000        17.548       -.32436E-06** at limit **
  11  norm           .0000        7.8818       -.51637E-08** at limit **
  12  norm          2.1612        4.0755       -.27298E-07   -.46621E-02
  13  Prefactor      .0000        10.519        .33800E-06** at limit **
  14  Prefactor     42.684        23.323        .34901E-06   -.83499E-04
  15  Prefactor      .0000        13.873        .11365E-05** at limit **
  16  Prefactor      .0000        6.4253        .29703E-08** at limit **
  17  norm          .59164        .19214        .34896E-09   -.38096E-02
  18  norm           .0000        15.907       -.28180E-06** at limit **
  19  Normalizat    .90603        .26696       -.25690E-05    .22110E-04
  20  Prefactor     1.1921        .18549       -.55876E-06   -.57898E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 4.28707
  Prefactor  = 18.3461
  Prefactor  = 1.80389
  Prefactor  = 83.1119
  norm       = 0
  Prefactor  = 0
  norm       = 2.78336
  norm       = 8.86085
  Prefactor  = 0
  norm       = 0
  norm       = 2.16123
  Prefactor  = 0
  Prefactor  = 42.6844
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.591642
  norm       = 0
  Normalizat = 0.906034
  Prefactor  = 1.19207
 **********
 **   18 **HESSE 
 **********

 FCN=   5135.211     FROM HESSE     STATUS=OK           291 CALLS     2105 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        39.796        .28938E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.2871        4.3466        .14636E-04   -1.5667    
   3  Prefactor     18.346        24.715        .93664E-05   -1.5622    
   4  Prefactor     1.8039        56.572        .30158E-04   -1.5681    
   5  Prefactor     83.112        51.370        .42114E-05   -1.5526    
   6  norm           .0000        11.976        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.3235        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.7834        2.7192        .11360E-04   -1.5675    
   9  norm          8.8608        4.3190        .99069E-05   -1.5648    
  10  Prefactor      .0000        17.561        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        7.8900        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1612        4.0596        .19277E-04   -1.5679    
  13  Prefactor      .0000        10.521        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     42.684        23.304        .61168E-05   -1.5577    
  15  Prefactor      .0000        13.866        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        6.4311        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .59164        .19193        .17243E-05   -1.5693    
  18  norm           .0000        15.906        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .90603        .31671        .33345E-03   -.96248    
  20  Prefactor     1.1921        .22123        .21116E-03   -.86576    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.60308e-10
Minuit parameter uncertainties:
  1  5.79142e-05
  2  4.34656
  3  24.7152
  4  20.2041
  5  51.3704
  6  3.93497e-06
  7  8.89408e-07
  8  2.71923
  9  4.31898
  10  5.6393e-06
  11  2.50217e-06
  12  4.0596
  13  5.01043e-06
  14  23.3037
  15  7.46676e-06
  16  6.04162e-06
  17  0.191929
  18  8.5676e-07
  19  0.317365
  20  0.2214
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  0.000e+00  8.894e-07  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  1.192e+00  2.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  9.060e-01  3.174e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 8.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/146830/likelihoodResults_684633601_684892801_4FGL_J1424.6+1447_daily_bin1718.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) = 5135.21113523
delta logL = -0.000381872068829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5135.21076334
delta logL = -9.97350343823e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5135.211     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      271 TOTAL
                     EDM=   .26E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .36601E-01    .42118E-03** at limit **
   2  Index         1.9312        5.1685        .41735        .21792E-10
   3  Normalizat    .90603        .48626E-03    .75346E-01    .18540E-03
   4  Prefactor     1.1921        .34954E-03    .34837E-01    .28702E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.93119
  Normalizat = 0.906034
  Prefactor  = 1.19208
 **********
 **   18 **HESSE 
 **********

 FCN=   5135.211     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      300 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .14222        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9312        6.6851        .50000       -.66082    
   3  Normalizat    .90603        .95606E-03    .33345E-03   -.96248    
   4  Prefactor     1.1921        .68855E-03    .21116E-03   -.86576    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.11067e-13
Minuit parameter uncertainties:
  1  5.39263e-06
  2  25791.9
  3  0.000956058
  4  0.000688546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/146830': 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) = 5135.21075336
delta logL = -3.91082721762e-11

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  5.551e-11  5.393e-06  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  1.931e+00  2.579e+04  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  1.192e+00  6.885e-04  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  9.060e-01  9.561e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 216.169 14.784

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/146830/cmap_HighResolution_684633601_684892801_4FGL_J1424.6+1447_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.08e-03', job_status='DONE', photon_flux_upper_limit='8.00e-08', time_completed='2022-09-16 18:29:26.816833', job_id='146830', GAL2='1.19', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1663378166.82', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='-3.91e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1718' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:29:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 146830: <4FGL_J1424.6+1447_daily_bin1718> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin1718> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 18:20:28 2022
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:21:03 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:21:03 2022
Terminated at Fri Sep 16 18:29:27 2022
Results reported at Fri Sep 16 18:29:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin1718 216.169 14.784 684633601 684892801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.6+1447 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   478.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             329.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   504 sec.
    Turnaround time :                            539 sec.

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

