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


Performing analysis on: 4FGL_J1446.7+1719_daily_bin1765
RA = 221.688, Dec = 17.3237
tmin = 696816001, tmax = 697075201
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='638248', job_status='RUN', time_executed='2023-02-03 01:12:16.986303', time_epoch_executed='1675415536.99' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638248

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638248/ft1_4FGL_J1446.7+1719_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638248/ft2_4FGL_J1446.7+1719_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638248/ft1_4FGL_J1446.7+1719_daily_bin1765.fits outfile=/scratch/kocevski/638248/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1765.fits ra=221.688 dec=17.3237 rad=12.0 tmin=696816001.0 tmax=697075201.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.67
user 3.40
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/638248/ft2_4FGL_J1446.7+1719_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/638248/ft2_4FGL_J1446.7+1719_daily_bin1765.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/638248/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/638248/ft1_filtered_4FGL_J1446.7+1719_daily_bin1765.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 647

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/638248/ft1_filtered_4FGL_J1446.7+1719_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/638248/ft2_4FGL_J1446.7+1719_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/638248/ltcube_696816001_697075201_4FGL_J1446.7+1719_daily_bin1765.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/638248/ft2_4FGL_J1446.7+1719_daily_bin1765.fits
.....................!
real 15.36
user 14.67
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638248/ft1_filtered_4FGL_J1446.7+1719_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/638248/ft2_4FGL_J1446.7+1719_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/638248/ltcube_696816001_697075201_4FGL_J1446.7+1719_daily_bin1765.fits outfile=/scratch/kocevski/638248/expmap_696816001_697075201_4FGL_J1446.7+1719_daily_bin1765.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/638248/ltcube_696816001_697075201_4FGL_J1446.7+1719_daily_bin1765.fits
.....................!
real 191.86
user 185.78
sys 5.40

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

Setting source of interest to:
4FGL J1446.7+1719 @ 221.688 17.3237

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/638248/ft1_filtered_4FGL_J1446.7+1719_daily_bin1765.fits scfile=/scratch/kocevski/638248/ft2_4FGL_J1446.7+1719_daily_bin1765.fits outfile=/scratch/kocevski/638248/cmap_696816001_697075201_4FGL_J1446.7+1719_daily_bin1765.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=221.688 yref=17.3237 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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/638248/ft1_filtered_4FGL_J1446.7+1719_daily_bin1765.fits scfile=/scratch/kocevski/638248/ft2_4FGL_J1446.7+1719_daily_bin1765.fits outfile=/scratch/kocevski/638248/cmap_HighResolution_696816001_697075201_4FGL_J1446.7+1719_daily_bin1765.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=221.688 yref=17.3237 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.55
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/638248/ft1_filtered_4FGL_J1446.7+1719_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/638248/ft2_4FGL_J1446.7+1719_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/638248/Model_4FGL_J1446.7+1719_daily_bin1765.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/638248/ft1_filtered_4FGL_J1446.7+1719_daily_bin1765.fits.....................!
real 54.61
user 53.20
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/638248/ft1_filtered_4FGL_J1446.7+1719_daily_bin1765.fits', '/scratch/kocevski/638248/ft2_4FGL_J1446.7+1719_daily_bin1765.fits', expMap='/scratch/kocevski/638248/expmap_696816001_697075201_4FGL_J1446.7+1719_daily_bin1765.fits', expCube='/scratch/kocevski/638248/ltcube_696816001_697075201_4FGL_J1446.7+1719_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/638248/Model_4FGL_J1446.7+1719_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.7+1719'

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  3.187e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/638248/ft1_filtered_4FGL_J1446.7+1719_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/638248/ft2_4FGL_J1446.7+1719_daily_bin1765.fits
Exposure map: /scratch/kocevski/638248/expmap_696816001_697075201_4FGL_J1446.7+1719_daily_bin1765.fits
Exposure cube: /scratch/kocevski/638248/ltcube_696816001_697075201_4FGL_J1446.7+1719_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/638248/Model_4FGL_J1446.7+1719_daily_bin1765.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) = 7212.50147051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13248E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    101.25       1.0000          .0000       .10000E+07
     3 'Prefactor '    .71459E-04   1.0000          .0000       .10000E+07
     4 'norm      '    2.0091       1.0000          .0000       .10000E+07
     5 'norm      '    .13795E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29873E-04   1.0000          .0000       .10000E+07
     7 'norm      '    2.2308       1.0000          .0000       .10000E+07
     8 'norm      '    .42815       1.0000          .0000       .10000E+07
     9 'Prefactor '    .55178E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.841       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9976       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.7090       1.0000          .0000       .10000E+07
    13 'norm      '    .42977       1.0000          .0000       .10000E+07
    14 'norm      '    .11651E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .22427E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .71348E-01   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1407       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0248       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7212.488     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1336 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09    4.6140       -.54404E-07** at limit **
   2  Prefactor     101.71        4.3315       -.86852E-08   -.55035E-01
   3  Prefactor     .55511E-10    2.6155        .68763E-07** at limit **
   4  norm          2.0093        2.0492        .17933E-07    .12251E-02
   5  norm          .11102E-09    2.8371       -.11327E-06** at limit **
   6  Prefactor     .16431E-07    64.782        .37571E-06** at limit **
   7  norm          2.2329        20.216        .10594E-06   -.19027E-01
   8  norm          .41316        7.3243       -.33852E-06   -.16892E-02
   9  Prefactor     .13323E-08    7.3984       -.64030E-07** at limit **
  10  Prefactor     11.875        1.1344        .49092E-08   -.18344E-01
  11  Prefactor     1.8505        5.9483       -.32728E-08    .42525E-01
  12  Prefactor     5.6402        6.5283        .18467E-07    .36065E-03
  13  norm          .42975        .20378        .51848E-08    .60128E-02
  14  norm           .0000        3.3910        .23182E-07** at limit **
  15  norm          .31752E-07    26.254        .24756E-06** at limit **
  16  Prefactor     .28738E-06    49.847        .33491E-06** at limit **
  17  Normalizat    1.1403        .23858        .17301E-05   -.10895E-03
  18  Prefactor     1.0251        .16347       -.19159E-05   -.24563E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-10
  Prefactor  = 101.714
  Prefactor  = 5.55112e-11
  norm       = 2.00931
  norm       = 1.11022e-10
  Prefactor  = 1.64313e-08
  norm       = 2.23294
  norm       = 0.413156
  Prefactor  = 1.33227e-09
  Prefactor  = 11.8748
  Prefactor  = 1.85052
  Prefactor  = 5.64024
  norm       = 0.429748
  norm       = 0
  norm       = 3.17524e-08
  Prefactor  = 2.87381e-07
  Normalizat = 1.14031
  Prefactor  = 1.02507
 **********
 **   18 **HESSE 
 **********

 FCN=   7212.488     FROM HESSE     STATUS=OK           280 CALLS     1616 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09    4.6133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     101.71        39.371        .99388E-04   -1.5506    
   3  Prefactor     .55511E-10    2.6186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.0093        2.0535        .73013E-03   -1.5680    
   5  norm          .11102E-09    2.8108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16431E-07    65.853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.2329        21.560        .68803E-03   -1.5678    
   8  norm          .41316        7.2238        .86295E-03   -1.5695    
   9  Prefactor     .13323E-08    7.4043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.875        15.309        .29087E-03   -1.5639    
  11  Prefactor     1.8505        59.291        .73256E-03   -1.5681    
  12  Prefactor     5.6402        6.5299        .42015E-03   -1.5660    
  13  norm          .42975        .20831        .56872E-03   -1.5695    
  14  norm           .0000        3.3881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .31752E-07    26.393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .28738E-06    49.882        .14774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1403        .20067        .65557E-01   -.88468    
  18  Prefactor     1.0251        .13580        .41696E-01   -.91899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.1938e-06
Minuit parameter uncertainties:
  1  0.000112986
  2  39.3714
  3  2.59703e-05
  4  2.0535
  5  3.756e-05
  6  0.00207948
  7  13.8769
  8  3.45517
  9  0.000196831
  10  15.309
  11  20.9496
  12  6.52996
  13  0.208311
  14  9.36185e-06
  15  0.00183125
  16  0.00757226
  17  0.200805
  18  0.135847
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.332e-09  1.968e-04  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  1.025e+00  1.358e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.140e+00  2.008e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 221.688 17.324
Photon Flux Upper Limit: 6.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/638248/likelihoodResults_696816001_697075201_4FGL_J1446.7+1719_daily_bin1765.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) = 7212.48782519
delta logL = -9.31777221922e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7212.48773211
delta logL = -9.29521775106e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7212.488     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      239 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.3731       -.87920E-06** at limit **
   2  Index         2.9015        3.7660        .10022E-03     .0000    
   3  Normalizat    1.1403        .23560       -.56549E-05    .16261E-04
   4  Prefactor     1.0251        .16101        .10786E-06   -.87812E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.90153
  Normalizat = 1.14031
  Prefactor  = 1.02507
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7212.488     FROM HESSE     STATUS=FAILED        11 CALLS      250 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.3568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .95307        2.0951        .10022E-03   -.43311    
   3  Normalizat    1.1403        1.1312       -.56549E-05   -.88468    
   4  Prefactor     1.0251        1.2275        .10786E-06   -.91899    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.07821e-12
Minuit parameter uncertainties:
  1  5.91037e-06
  2  1.70651
  3  1.1568
  4  1.26374
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638248': 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): 101
logL (Free Index) = 7212.48773201
delta logL = 1.14596332423e-10

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  0.000e+00  5.910e-06  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  2.902e+00  1.707e+00  0.000e+00  1.000e+01 (-1.000e+00)
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  1.025e+00  1.264e+00  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.140e+00  1.157e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 221.688 17.324

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/638248/cmap_HighResolution_696816001_697075201_4FGL_J1446.7+1719_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.76e-03', job_status='DONE', photon_flux_upper_limit='6.12e-08', time_completed='2023-02-03 01:21:14.182492', job_id='638248', GAL2='1.03', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1675416074.18', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.15e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1765' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:21:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 638248: <4FGL_J1446.7+1719_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1446.7+1719_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 01:10:15 2023
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:10:36 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:10:36 2023
Terminated at Fri Feb  3 01:21:15 2023
Results reported at Fri Feb  3 01:21:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin1765 221.688 17.3237 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.7+1719 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   538.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            660 sec.

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

