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


Performing analysis on: 4FGL_J0045.1-3706_daily_bin1771
RA = 11.2936, Dec = -37.1065
tmin = 698371201, tmax = 698630401
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='534359', job_status='RUN', time_executed='2023-02-21 00:05:27.282011', time_epoch_executed='1676966727.28' WHERE source_name='4FGL J0045.1-3706' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534359

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534359/ft1_4FGL_J0045.1-3706_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534359/ft2_4FGL_J0045.1-3706_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534359/ft1_4FGL_J0045.1-3706_daily_bin1771.fits outfile=/scratch/kocevski/534359/ft1_filteredMKT_4FGL_J0045.1-3706_daily_bin1771.fits ra=11.2936 dec=-37.1065 rad=12.0 tmin=698371201.0 tmax=698630401.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.11
user 2.90
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/534359/ft2_4FGL_J0045.1-3706_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/534359/ft2_4FGL_J0045.1-3706_daily_bin1771.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/534359/ft1_filteredMKT_4FGL_J0045.1-3706_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/534359/ft1_filtered_4FGL_J0045.1-3706_daily_bin1771.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.14

Number of photons that the gtmktime cut: 293

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534359/ft1_filtered_4FGL_J0045.1-3706_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/534359/ft2_4FGL_J0045.1-3706_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/534359/ltcube_698371201_698630401_4FGL_J0045.1-3706_daily_bin1771.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/534359/ft2_4FGL_J0045.1-3706_daily_bin1771.fits
.....................!
real 13.16
user 12.73
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534359/ft1_filtered_4FGL_J0045.1-3706_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/534359/ft2_4FGL_J0045.1-3706_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/534359/ltcube_698371201_698630401_4FGL_J0045.1-3706_daily_bin1771.fits outfile=/scratch/kocevski/534359/expmap_698371201_698630401_4FGL_J0045.1-3706_daily_bin1771.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/534359/ltcube_698371201_698630401_4FGL_J0045.1-3706_daily_bin1771.fits
.....................!
real 192.87
user 186.88
sys 5.02

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

Setting source of interest to:
4FGL J0045.1-3706 @ 11.2936 -37.1065

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/534359/ft1_filtered_4FGL_J0045.1-3706_daily_bin1771.fits scfile=/scratch/kocevski/534359/ft2_4FGL_J0045.1-3706_daily_bin1771.fits outfile=/scratch/kocevski/534359/cmap_698371201_698630401_4FGL_J0045.1-3706_daily_bin1771.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=11.2936 yref=-37.1065 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 2.15
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534359/ft1_filtered_4FGL_J0045.1-3706_daily_bin1771.fits scfile=/scratch/kocevski/534359/ft2_4FGL_J0045.1-3706_daily_bin1771.fits outfile=/scratch/kocevski/534359/cmap_HighResolution_698371201_698630401_4FGL_J0045.1-3706_daily_bin1771.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=11.2936 yref=-37.1065 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.85
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/534359/ft1_filtered_4FGL_J0045.1-3706_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/534359/ft2_4FGL_J0045.1-3706_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/534359/Model_4FGL_J0045.1-3706_daily_bin1771.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/534359/ft1_filtered_4FGL_J0045.1-3706_daily_bin1771.fits.....................!
real 37.96
user 31.52
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/534359/ft1_filtered_4FGL_J0045.1-3706_daily_bin1771.fits', '/scratch/kocevski/534359/ft2_4FGL_J0045.1-3706_daily_bin1771.fits', expMap='/scratch/kocevski/534359/expmap_698371201_698630401_4FGL_J0045.1-3706_daily_bin1771.fits', expCube='/scratch/kocevski/534359/ltcube_698371201_698630401_4FGL_J0045.1-3706_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/534359/Model_4FGL_J0045.1-3706_daily_bin1771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0045.1-3706'

4FGL J0045.1-3706
   Spectrum: PowerLaw
153    Prefactor:  3.854e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
154        Index:  2.595e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
155        Scale:  5.055e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/534359/ft1_filtered_4FGL_J0045.1-3706_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/534359/ft2_4FGL_J0045.1-3706_daily_bin1771.fits
Exposure map: /scratch/kocevski/534359/expmap_698371201_698630401_4FGL_J0045.1-3706_daily_bin1771.fits
Exposure cube: /scratch/kocevski/534359/ltcube_698371201_698630401_4FGL_J0045.1-3706_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/534359/Model_4FGL_J0045.1-3706_daily_bin1771.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) = 3273.15915167

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59699       1.0000          .0000       .10000E+07
     2 'Prefactor '    .39484E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.7003       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.3555       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33287       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25153E-02   1.0000          .0000       .10000E+07
     7 'norm      '    53.574       1.0000          .0000       .10000E+07
     8 'norm      '    .35460       1.0000          .0000       .10000E+07
     9 'Prefactor '    .39647E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    20.431       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.7238       1.0000          .0000       .10000E+07
    12 'Prefactor '    .25361E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .64503E-01   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0114       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .97312       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3273.136     FROM MIGRAD    STATUS=CONVERGED    120 CALLS      996 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22760E-07    125.56       -.30700E-07** at limit **
   2  Prefactor      .0000        4.6235        .21526E-06** at limit **
   3  Prefactor     7.6889        17.936       -.81464E-07   -.10175E-02
   4  Prefactor     1.5831        14.373       -.48713E-06    .22609E-03
   5  Prefactor     .10388E-04    398.57        .17683E-05** at limit **
   6  Prefactor      .0000        7.2944        .18391E-06** at limit **
   7  norm          54.049        18.079       -.11057E-06   -.55706E-01
   8  norm          .36210        11.988       -.90565E-07   -.26536E-05
   9  Prefactor      .0000        6.7127       -.94706E-07** at limit **
  10  Prefactor     20.408        1.6777        .15281E-08   -.10982E-01
  11  Prefactor     9.7212        6.0276       -.12636E-07    .11924E-03
  12  Prefactor      .0000        6.3954        .80299E-07** at limit **
  13  Prefactor     .56066E-08    .87007        .12172E-07** at limit **
  14  Normalizat    1.0104        .24688       -.46409E-06   -.27129E-04
  15  Prefactor     .97346        .28139        .17354E-05   -.20527E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.27596e-08
  Prefactor  = 0
  Prefactor  = 7.68888
  Prefactor  = 1.58309
  Prefactor  = 1.03878e-05
  Prefactor  = 0
  norm       = 54.0492
  norm       = 0.362103
  Prefactor  = 0
  Prefactor  = 20.4077
  Prefactor  = 9.72118
  Prefactor  = 0
  Prefactor  = 5.60663e-09
  Normalizat = 1.01045
  Prefactor  = 0.973458
 **********
 **   18 **HESSE 
 **********

 FCN=   3273.136     FROM HESSE     STATUS=OK           222 CALLS     1218 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22760E-07    126.22        .69498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        4.5977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.6889        18.075        .36113E-03   -1.5653    
   4  Prefactor     1.5831        22.278        .93850E-03   -1.5683    
   5  Prefactor     .10388E-04    79.634        .12258E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        7.2769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          54.049        47.642        .13663E-03   -1.5561    
   8  norm          .36210        3.2305        .55167E-02   -1.5696    
   9  Prefactor      .0000        6.5932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.408        32.263        .22130E-03   -1.5618    
  11  Prefactor     9.7212        6.1282        .32112E-03   -1.5646    
  12  Prefactor      .0000        6.4111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .56066E-08    79.890        .15004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.0104        .21672        .45207E-01   -.92681    
  15  Prefactor     .97346        .24068        .45930E-01   -.93620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44215e-07
Minuit parameter uncertainties:
  1  0.00339189
  2  5.77181e-06
  3  18.0753
  4  11.8774
  5  0.0575237
  6  2.28782e-06
  7  47.6427
  8  2.16313
  9  4.35126e-06
  10  32.2629
  11  6.1282
  12  3.74364e-07
  13  0.00134063
  14  0.216906
  15  0.240941
Done.

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

Extracting fit parameters...

4FGL J0045.1-3706
   Spectrum: PowerLaw
153    Prefactor:  0.000e+00  2.288e-06  0.000e+00  1.000e+06 ( 1.000e-12)
154        Index:  2.595e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
155        Scale:  5.055e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  9.735e-01  2.409e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.010e+00  2.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 11.294 -37.106
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/534359/likelihoodResults_698371201_698630401_4FGL_J0045.1-3706_daily_bin1771.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) = 3273.13649542
delta logL = -0.000253774249813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3273.13624171
delta logL = -6.46800799586e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83267E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .92983       1.0000          .0000       10.000    
     3 'Normalizat'    1.0105       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97337       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   3273.136     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      252 TOTAL
                     EDM=   .58E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.9554        .42118E-03** at limit **
   2  Index         3.7960        2.1276       -.85055E-05     .0000    
   3  Normalizat    1.0104        1.3224       -.51909E-05   -.21785E-03
   4  Prefactor     .97346        1.3142       -.11720E-04   -.20375E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.79603
  Normalizat = 1.01045
  Prefactor  = 0.973457
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3273.136     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .58E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.9554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5802        2.3377       -.85055E-05   -.24318    
   3  Normalizat    1.0104        1.3224       -.51909E-05   -.92681    
   4  Prefactor     .97346        1.3142       -.11720E-04   -.93620    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.79427e-11
Minuit parameter uncertainties:
  1  5.43125e-06
  2  2.20244
  3  1.36953
  4  1.36159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534359': 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) = 3273.13624165
delta logL = -4.32009983342e-11

Extracting fit parameters...

4FGL J0045.1-3706
   Spectrum: PowerLaw
153    Prefactor:  0.000e+00  5.431e-06  0.000e+00  1.000e+06 ( 1.000e-12)
154        Index:  3.796e+00  2.202e+00  0.000e+00  1.000e+01 (-1.000e+00)
155        Scale:  5.055e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  9.735e-01  1.362e+00  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.010e+00  1.370e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 11.294 -37.106

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/534359/cmap_HighResolution_698371201_698630401_4FGL_J0045.1-3706_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.31e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2023-02-21 00:12:35.610119', job_id='534359', GAL2='0.97', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1676967155.61', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-4.32e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1771' AND source_name='4FGL J0045.1-3706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 00:12:35 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 534359: <4FGL_J0045.1-3706_daily_bin1771> in cluster <slac> Done

Job <4FGL_J0045.1-3706_daily_bin1771> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Feb 21 00:05:02 2023
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:05:04 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:05:04 2023
Terminated at Tue Feb 21 00:12:36 2023
Results reported at Tue Feb 21 00:12:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.1-3706_daily_bin1771 11.2936 -37.1065 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0045.1-3706 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   421.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             378.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   452 sec.
    Turnaround time :                            454 sec.

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

