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


Performing analysis on: 4FGL_J0028.4+2001_daily_bin1719
RA = 7.1222, Dec = 20.0311
tmin = 684892801, tmax = 685152001
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='643980', job_status='RUN', time_executed='2022-09-18 00:08:00.264661', time_epoch_executed='1663484880.26' WHERE source_name='4FGL J0028.4+2001' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/643980

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/643980/ft1_4FGL_J0028.4+2001_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/643980/ft2_4FGL_J0028.4+2001_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/643980/ft1_4FGL_J0028.4+2001_daily_bin1719.fits outfile=/scratch/kocevski/643980/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1719.fits ra=7.1222 dec=20.0311 rad=12.0 tmin=684892801.0 tmax=685152001.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.13
user 2.89
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/643980/ft2_4FGL_J0028.4+2001_daily_bin1719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/643980/ft2_4FGL_J0028.4+2001_daily_bin1719.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/643980/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/643980/ft1_filtered_4FGL_J0028.4+2001_daily_bin1719.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.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 428

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/643980/ft1_filtered_4FGL_J0028.4+2001_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/643980/ft2_4FGL_J0028.4+2001_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/643980/ltcube_684892801_685152001_4FGL_J0028.4+2001_daily_bin1719.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/643980/ft2_4FGL_J0028.4+2001_daily_bin1719.fits
.....................!
real 18.39
user 17.96
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/643980/ft1_filtered_4FGL_J0028.4+2001_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/643980/ft2_4FGL_J0028.4+2001_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/643980/ltcube_684892801_685152001_4FGL_J0028.4+2001_daily_bin1719.fits outfile=/scratch/kocevski/643980/expmap_684892801_685152001_4FGL_J0028.4+2001_daily_bin1719.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/643980/ltcube_684892801_685152001_4FGL_J0028.4+2001_daily_bin1719.fits
.....................!
real 192.51
user 186.06
sys 5.71

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

Setting source of interest to:
4FGL J0028.4+2001 @ 7.1222 20.0311

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/643980/ft1_filtered_4FGL_J0028.4+2001_daily_bin1719.fits scfile=/scratch/kocevski/643980/ft2_4FGL_J0028.4+2001_daily_bin1719.fits outfile=/scratch/kocevski/643980/cmap_684892801_685152001_4FGL_J0028.4+2001_daily_bin1719.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=7.1222 yref=20.0311 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/643980/ft1_filtered_4FGL_J0028.4+2001_daily_bin1719.fits scfile=/scratch/kocevski/643980/ft2_4FGL_J0028.4+2001_daily_bin1719.fits outfile=/scratch/kocevski/643980/cmap_HighResolution_684892801_685152001_4FGL_J0028.4+2001_daily_bin1719.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=7.1222 yref=20.0311 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/643980/ft1_filtered_4FGL_J0028.4+2001_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/643980/ft2_4FGL_J0028.4+2001_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/643980/Model_4FGL_J0028.4+2001_daily_bin1719.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/643980/ft1_filtered_4FGL_J0028.4+2001_daily_bin1719.fits.....................!
real 57.47
user 56.03
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/643980/ft1_filtered_4FGL_J0028.4+2001_daily_bin1719.fits', '/scratch/kocevski/643980/ft2_4FGL_J0028.4+2001_daily_bin1719.fits', expMap='/scratch/kocevski/643980/expmap_684892801_685152001_4FGL_J0028.4+2001_daily_bin1719.fits', expCube='/scratch/kocevski/643980/ltcube_684892801_685152001_4FGL_J0028.4+2001_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/643980/Model_4FGL_J0028.4+2001_daily_bin1719.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0028.4+2001'

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.480e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/643980/ft1_filtered_4FGL_J0028.4+2001_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/643980/ft2_4FGL_J0028.4+2001_daily_bin1719.fits
Exposure map: /scratch/kocevski/643980/expmap_684892801_685152001_4FGL_J0028.4+2001_daily_bin1719.fits
Exposure cube: /scratch/kocevski/643980/ltcube_684892801_685152001_4FGL_J0028.4+2001_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/643980/Model_4FGL_J0028.4+2001_daily_bin1719.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) = 4988.23337878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .40440       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.0080       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25336E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12491E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .31147E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.3187       1.0000          .0000       .10000E+07
     7 'Prefactor '    20.361       1.0000          .0000       .10000E+07
     8 'norm      '    .12854E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.5308       1.0000          .0000       .10000E+07
    10 'Prefactor '    9.2237       1.0000          .0000       .10000E+07
    11 'Prefactor '    .76316E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.9568       1.0000          .0000       .10000E+07
    13 'Prefactor '    .99920E-09   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.4203       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .57651       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4988.232     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      995 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .40382        2.2834        .61341E-06    .17252E-02
   2  Prefactor     6.0073        11.054       -.41981E-06   -.64370E-01
   3  Prefactor      .0000        4.8075       -.88184E-06** at limit **
   4  Prefactor      .0000        1.5746       -.33520E-07** at limit **
   5  norm          .71054E-08    7.1186       -.11046E-05** at limit **
   6  Prefactor     2.2433        6.5526       -.82302E-06    .21881E-01
   7  Prefactor     20.399        13.317       -.53052E-06    .13729    
   8  norm          .27756E-09    3.0211       -.42117E-06** at limit **
   9  Prefactor     9.5336        9.3060        .44471E-06    .39476E-01
  10  Prefactor     9.2079        13.474       -.38306E-06   -.91389E-01
  11  Prefactor     .12934E-06    132.36        .32914E-05** at limit **
  12  norm          1.9563        .82528        .39262E-07    .22226E-02
  13  Prefactor      .0000        3.1173        .20989E-06** at limit **
  14  Normalizat    1.4204        .26507        .72853E-05    .52237E-04
  15  Prefactor     .57647        .16678       -.33093E-05    .55269E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.403821
  Prefactor  = 6.00731
  Prefactor  = 0
  Prefactor  = 0
  norm       = 7.10543e-09
  Prefactor  = 2.2433
  Prefactor  = 20.3992
  norm       = 2.77556e-10
  Prefactor  = 9.53364
  Prefactor  = 9.20791
  Prefactor  = 1.29341e-07
  norm       = 1.95634
  Prefactor  = 0
  Normalizat = 1.42039
  Prefactor  = 0.57647
 **********
 **   18 **HESSE 
 **********

 FCN=   4988.232     FROM HESSE     STATUS=OK           212 CALLS     1207 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .40382        2.3536        .88979E-03   -1.5695    
   2  Prefactor     6.0073        11.511        .40941E-03   -1.5659    
   3  Prefactor      .0000        4.8052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.5808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .71054E-08    7.1205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.2433        122.72        .67338E-03   -1.5678    
   7  Prefactor     20.399        28.122        .22169E-03   -1.5618    
   8  norm          .27756E-09    3.0185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.5336        9.4405        .32437E-03   -1.5646    
  10  Prefactor     9.2079        14.754        .32975E-03   -1.5647    
  11  Prefactor     .12934E-06    132.43        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9563        .82941        .74138E-03   -1.5680    
  13  Prefactor      .0000        3.1198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.4204        .22196        .54618E-01   -.80041    
  15  Prefactor     .57647        .14043        .40733E-01   -1.0859    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19502e-06
Minuit parameter uncertainties:
  1  1.9498
  2  11.5111
  3  1.60015e-06
  4  2.50646e-06
  5  0.000449291
  6  33.1848
  7  28.1224
  8  5.85102e-05
  9  9.4405
  10  14.7541
  11  0.0082776
  12  0.829409
  13  1.21532e-05
  14  0.222115
  15  0.14051
Done.

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

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  0.000e+00  2.506e-06  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  5.765e-01  1.405e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.420e+00  2.221e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 7.122 20.031
Photon Flux Upper Limit: 7.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/643980/likelihoodResults_684892801_685152001_4FGL_J0028.4+2001_daily_bin1719.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) = 4988.2332462
delta logL = -0.00115907834333

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4988.23208741
delta logL = -2.84951966023e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4988.232     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      250 TOTAL
                     EDM=   .17E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3802        .42118E-03** at limit **
   2  Index         2.7591        1.9461        .64126E-06     .0000    
   3  Normalizat    1.4204        1.0592        .55745E-08    .14250E-04
   4  Prefactor     .57647        .92335        .28595E-05    .13775E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.75914
  Normalizat = 1.42039
  Prefactor  = 0.57647
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4988.232     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .17E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .86228        2.1204        .64126E-06   -.46472    
   3  Normalizat    1.4204        1.0592        .55745E-08   -.80041    
   4  Prefactor     .57647        .92335        .28595E-05   -1.0859    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.70731e-13
Minuit parameter uncertainties:
  1  4.02118e-07
  2  2.01354
  3  1.07626
  4  0.949386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/643980': 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) = 4988.23208713
delta logL = 9.09494701773e-13

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  0.000e+00  4.021e-07  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.759e+00  2.014e+00  0.000e+00  1.000e+01 (-1.000e+00)
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  5.765e-01  9.494e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.420e+00  1.076e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 7.122 20.031

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/643980/cmap_HighResolution_684892801_685152001_4FGL_J0028.4+2001_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.07e-03', job_status='DONE', photon_flux_upper_limit='7.85e-08', time_completed='2022-09-18 00:15:31.129628', job_id='643980', GAL2='0.58', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1663485331.13', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.58', dlogl='9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1719' AND source_name='4FGL J0028.4+2001' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 00:15:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 643980: <4FGL_J0028.4+2001_daily_bin1719> in cluster <slac> Done

Job <4FGL_J0028.4+2001_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 00:04:37 2022
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 00:04:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 00:04:38 2022
Terminated at Sun Sep 18 00:15:32 2022
Results reported at Sun Sep 18 00:15:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0028.4+2001_daily_bin1719 7.1222 20.0311 684892801 685152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0028.4+2001 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   452.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             246.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            655 sec.

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

