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


Performing analysis on: 4FGL_J0127.2+0324_daily_bin1742
RA = 21.8237, Dec = 3.413
tmin = 690854401, tmax = 691113601
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='217315', job_status='RUN', time_executed='2022-11-26 00:11:07.095046', time_epoch_executed='1669450267.1' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='1742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217315

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217315/ft1_4FGL_J0127.2+0324_daily_bin1742.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217315/ft2_4FGL_J0127.2+0324_daily_bin1742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217315/ft1_4FGL_J0127.2+0324_daily_bin1742.fits outfile=/scratch/kocevski/217315/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1742.fits ra=21.8237 dec=3.413 rad=12.0 tmin=690854401.0 tmax=691113601.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 2.92
user 2.69
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/217315/ft2_4FGL_J0127.2+0324_daily_bin1742.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217315/ft2_4FGL_J0127.2+0324_daily_bin1742.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/217315/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1742.fits evtable="EVENTS" outfile="/scratch/kocevski/217315/ft1_filtered_4FGL_J0127.2+0324_daily_bin1742.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.35
sys 0.15

Number of photons that the gtmktime cut: 335

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217315/ft1_filtered_4FGL_J0127.2+0324_daily_bin1742.fits" evtable="EVENTS" scfile=/scratch/kocevski/217315/ft2_4FGL_J0127.2+0324_daily_bin1742.fits sctable="SC_DATA" outfile=/scratch/kocevski/217315/ltcube_690854401_691113601_4FGL_J0127.2+0324_daily_bin1742.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/217315/ft2_4FGL_J0127.2+0324_daily_bin1742.fits
.....................!
real 16.42
user 15.85
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217315/ft1_filtered_4FGL_J0127.2+0324_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217315/ft2_4FGL_J0127.2+0324_daily_bin1742.fits sctable="SC_DATA" expcube=/scratch/kocevski/217315/ltcube_690854401_691113601_4FGL_J0127.2+0324_daily_bin1742.fits outfile=/scratch/kocevski/217315/expmap_690854401_691113601_4FGL_J0127.2+0324_daily_bin1742.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/217315/ltcube_690854401_691113601_4FGL_J0127.2+0324_daily_bin1742.fits
.....................!
real 194.06
user 188.78
sys 4.83

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

Setting source of interest to:
4FGL J0127.2+0324 @ 21.8237 3.413

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/217315/ft1_filtered_4FGL_J0127.2+0324_daily_bin1742.fits scfile=/scratch/kocevski/217315/ft2_4FGL_J0127.2+0324_daily_bin1742.fits outfile=/scratch/kocevski/217315/cmap_690854401_691113601_4FGL_J0127.2+0324_daily_bin1742.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=21.8237 yref=3.413 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217315/ft1_filtered_4FGL_J0127.2+0324_daily_bin1742.fits scfile=/scratch/kocevski/217315/ft2_4FGL_J0127.2+0324_daily_bin1742.fits outfile=/scratch/kocevski/217315/cmap_HighResolution_690854401_691113601_4FGL_J0127.2+0324_daily_bin1742.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=21.8237 yref=3.413 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217315/ft1_filtered_4FGL_J0127.2+0324_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217315/ft2_4FGL_J0127.2+0324_daily_bin1742.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217315/Model_4FGL_J0127.2+0324_daily_bin1742.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/217315/ft1_filtered_4FGL_J0127.2+0324_daily_bin1742.fits.....................!
real 48.14
user 45.88
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217315/ft1_filtered_4FGL_J0127.2+0324_daily_bin1742.fits', '/scratch/kocevski/217315/ft2_4FGL_J0127.2+0324_daily_bin1742.fits', expMap='/scratch/kocevski/217315/expmap_690854401_691113601_4FGL_J0127.2+0324_daily_bin1742.fits', expCube='/scratch/kocevski/217315/ltcube_690854401_691113601_4FGL_J0127.2+0324_daily_bin1742.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217315/Model_4FGL_J0127.2+0324_daily_bin1742.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0127.2+0324'

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  8.781e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/217315/ft1_filtered_4FGL_J0127.2+0324_daily_bin1742.fits
Spacecraft file(s): /scratch/kocevski/217315/ft2_4FGL_J0127.2+0324_daily_bin1742.fits
Exposure map: /scratch/kocevski/217315/expmap_690854401_691113601_4FGL_J0127.2+0324_daily_bin1742.fits
Exposure cube: /scratch/kocevski/217315/ltcube_690854401_691113601_4FGL_J0127.2+0324_daily_bin1742.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217315/Model_4FGL_J0127.2+0324_daily_bin1742.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) = 3742.48326501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37134E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .89243E-02   1.0000          .0000       .10000E+07
     3 'norm      '    12.841       1.0000          .0000       .10000E+07
     4 'Prefactor '    .28681       1.0000          .0000       .10000E+07
     5 'Prefactor '    192.72       1.0000          .0000       .10000E+07
     6 'norm      '    22.453       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.950       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.2249       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32212E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .83878E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.2049       1.0000          .0000       .10000E+07
    12 'norm      '    .43174E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    11.873       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.8400       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .31840       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3742.480     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     1629 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.2464       -.12634E-06** at limit **
   2  Prefactor     .25480E-07    15.244       -.69761E-07** at limit **
   3  norm          12.858        1.0165        .99010E-09   -.23277E-02
   4  Prefactor     .89114E-05    12.469       -.54172E-07** at limit **
   5  Prefactor     192.70        1.7112       -.17124E-08    .14390    
   6  norm          22.465        3.9589       -.20440E-07   -.21754E-02
   7  Prefactor     19.984        1.0386        .90120E-09   -.13842E-03
   8  Prefactor     6.0814        8.9004       -.94349E-07    .24634E-02
   9  Prefactor     .40690E-07    60.768       -.17013E-05** at limit **
  10  Prefactor     .17208E-08    27.240       -.83377E-07** at limit **
  11  Prefactor     4.2085        4.9914       -.77386E-07   -.60958E-03
  12  norm          .22649E-07    10.350        .85292E-07** at limit **
  13  Prefactor     11.856        10.500       -.22840E-07    .47827E-01
  14  Normalizat    1.8400        .32892       -.31361E-05   -.13928E-04
  15  Prefactor     .31895        .22998        .63281E-05    .78826E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.54796e-08
  norm       = 12.8577
  Prefactor  = 8.91137e-06
  Prefactor  = 192.698
  norm       = 22.465
  Prefactor  = 19.9844
  Prefactor  = 6.08138
  Prefactor  = 4.06897e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 4.20847
  norm       = 2.26485e-08
  Prefactor  = 11.8565
  Normalizat = 1.83998
  Prefactor  = 0.318947
 **********
 **   18 **HESSE 
 **********

 FCN=   3742.480     FROM HESSE     STATUS=OK           220 CALLS     1849 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25480E-07    15.435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.858        17.858        .27928E-03   -1.5636    
   4  Prefactor     .89114E-05    72.206        .10398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     192.70        169.54        .72042E-04   -1.5430    
   6  norm          22.465        4.3223        .21110E-03   -1.5613    
   7  Prefactor     19.984        17.040        .22396E-03   -1.5619    
   8  Prefactor     6.0814        8.9285        .40212E-03   -1.5659    
   9  Prefactor     .40690E-07    6.3055        .86182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17208E-08    27.223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.2085        4.9897        .49120E-03   -1.5667    
  12  norm          .22649E-07    10.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.856        11.302        .29048E-03   -1.5639    
  14  Normalizat    1.8400        .30063        .56290E-01   -.68625    
  15  Prefactor     .31895        .21203        .88637E-01   -1.2117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25315e-06
Minuit parameter uncertainties:
  1  3.8172e-06
  2  0.00125427
  3  17.8583
  4  0.0507335
  5  169.549
  6  4.32234
  7  17.0399
  8  8.92852
  9  0.00101321
  10  0.000435468
  11  4.98973
  12  0.000975798
  13  11.3023
  14  0.300933
  15  0.212548
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.721e-09  4.355e-04  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  3.189e-01  2.125e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.840e+00  3.009e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.824 3.413
Photon Flux Upper Limit: 7.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217315/likelihoodResults_690854401_691113601_4FGL_J0127.2+0324_daily_bin1742.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): 0
logL (Free Index) = 3742.49772634
delta logL = -0.0175156708719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3742.48021067
delta logL = -3.15822035191e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   3742.480     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      216 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3497        .42118E-03** at limit **
   2  Index         .12449        .31490       -.10549E-03     .0000    
   3  Normalizat    1.8400        1.0265        .55883E-05   -.64196E-04
   4  Prefactor     .31895        .63657       -.11715E-04   -.27821E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.124494
  Normalizat = 1.83998
  Prefactor  = 0.318947
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3742.480     FROM HESSE     STATUS=FAILED         9 CALLS      225 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .20364        .31490       -.10549E-03   -1.3472    
   3  Normalizat    1.8400        1.0265        .55883E-05   -.68625    
   4  Prefactor     .31895        .63657       -.11715E-04   -1.2117    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81682e-11
Minuit parameter uncertainties:
  1  3.26983e-06
  2  0.319294
  3  1.03895
  4  0.651385
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217315': 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) = 3742.48021067
delta logL = 2.95585778076e-11

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  3.270e-06  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.245e-01  3.193e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  3.189e-01  6.514e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.840e+00  1.039e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.824 3.413

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/217315/cmap_HighResolution_690854401_691113601_4FGL_J0127.2+0324_daily_bin1742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.79e-03', job_status='DONE', photon_flux_upper_limit='7.74e-08', time_completed='2022-11-26 00:18:55.488480', job_id='217315', GAL2='0.32', fit_tolerance='1e-08', EG2='1.84', EG='1.84', time_epoch_completed='1669450735.49', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.32', dlogl='2.96e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1742' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov 26 00:18:55 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 217315: <4FGL_J0127.2+0324_daily_bin1742> in cluster <slac> Done

Job <4FGL_J0127.2+0324_daily_bin1742> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Nov 26 00:04:49 2022
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov 26 00:10:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov 26 00:10:18 2022
Terminated at Sat Nov 26 00:18:56 2022
Results reported at Sat Nov 26 00:18:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin1742 21.8237 3.413 690854401 691113601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0127.2+0324 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   469.08 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             327.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   517 sec.
    Turnaround time :                            847 sec.

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

