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


Performing analysis on: 4FGL_J0134.3-3842_daily_bin1770
RA = 23.5887, Dec = -38.7085
tmin = 698112001, tmax = 698371201
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='475119', job_status='RUN', time_executed='2023-02-18 00:06:33.521485', time_epoch_executed='1676707593.52' WHERE source_name='4FGL J0134.3-3842' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475119

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475119/ft1_4FGL_J0134.3-3842_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475119/ft2_4FGL_J0134.3-3842_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475119/ft1_4FGL_J0134.3-3842_daily_bin1770.fits outfile=/scratch/kocevski/475119/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1770.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=698112001.0 tmax=698371201.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 4.60
user 4.16
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/475119/ft2_4FGL_J0134.3-3842_daily_bin1770.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/475119/ft2_4FGL_J0134.3-3842_daily_bin1770.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/475119/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/475119/ft1_filtered_4FGL_J0134.3-3842_daily_bin1770.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.56
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 494

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/475119/ft1_filtered_4FGL_J0134.3-3842_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/475119/ft2_4FGL_J0134.3-3842_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/475119/ltcube_698112001_698371201_4FGL_J0134.3-3842_daily_bin1770.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/475119/ft2_4FGL_J0134.3-3842_daily_bin1770.fits
.....................!
real 14.61
user 14.20
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475119/ft1_filtered_4FGL_J0134.3-3842_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/475119/ft2_4FGL_J0134.3-3842_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/475119/ltcube_698112001_698371201_4FGL_J0134.3-3842_daily_bin1770.fits outfile=/scratch/kocevski/475119/expmap_698112001_698371201_4FGL_J0134.3-3842_daily_bin1770.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/475119/ltcube_698112001_698371201_4FGL_J0134.3-3842_daily_bin1770.fits
.....................!
real 215.67
user 209.54
sys 5.43

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 185 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0134.3-3842 @ 23.5887 -38.7085

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/475119/ft1_filtered_4FGL_J0134.3-3842_daily_bin1770.fits scfile=/scratch/kocevski/475119/ft2_4FGL_J0134.3-3842_daily_bin1770.fits outfile=/scratch/kocevski/475119/cmap_698112001_698371201_4FGL_J0134.3-3842_daily_bin1770.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=23.5887 yref=-38.7085 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.65
user 0.44
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475119/ft1_filtered_4FGL_J0134.3-3842_daily_bin1770.fits scfile=/scratch/kocevski/475119/ft2_4FGL_J0134.3-3842_daily_bin1770.fits outfile=/scratch/kocevski/475119/cmap_HighResolution_698112001_698371201_4FGL_J0134.3-3842_daily_bin1770.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=23.5887 yref=-38.7085 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.63
user 0.46
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/475119/ft1_filtered_4FGL_J0134.3-3842_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/475119/ft2_4FGL_J0134.3-3842_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/475119/Model_4FGL_J0134.3-3842_daily_bin1770.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/475119/ft1_filtered_4FGL_J0134.3-3842_daily_bin1770.fits.....................!
real 126.56
user 124.29
sys 1.53

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/475119/ft1_filtered_4FGL_J0134.3-3842_daily_bin1770.fits', '/scratch/kocevski/475119/ft2_4FGL_J0134.3-3842_daily_bin1770.fits', expMap='/scratch/kocevski/475119/expmap_698112001_698371201_4FGL_J0134.3-3842_daily_bin1770.fits', expCube='/scratch/kocevski/475119/ltcube_698112001_698371201_4FGL_J0134.3-3842_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/475119/Model_4FGL_J0134.3-3842_daily_bin1770.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0134.3-3842'

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  3.272e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  8.319e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/475119/ft1_filtered_4FGL_J0134.3-3842_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/475119/ft2_4FGL_J0134.3-3842_daily_bin1770.fits
Exposure map: /scratch/kocevski/475119/expmap_698112001_698371201_4FGL_J0134.3-3842_daily_bin1770.fits
Exposure cube: /scratch/kocevski/475119/ltcube_698112001_698371201_4FGL_J0134.3-3842_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/475119/Model_4FGL_J0134.3-3842_daily_bin1770.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) = 5451.55580552

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.751       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.5107       1.0000          .0000       .10000E+07
     3 'norm      '    .12340E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .59064E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .20151E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .71269E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .59736       1.0000          .0000       .10000E+07
     8 'norm      '    2.3821       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7543       1.0000          .0000       .10000E+07
    10 'norm      '    .83267E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.6409       1.0000          .0000       .10000E+07
    12 'Prefactor '    .97471E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .29227E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    17.555       1.0000          .0000       .10000E+07
    15 'norm      '    2.6892       1.0000          .0000       .10000E+07
    16 'Normalizat'    .64435       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94749       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5451.538     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1181 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.808        4.2549        .15028E-07   -.25431    
   2  Prefactor     3.4779        6.8461       -.30215E-06   -.12557E-01
   3  norm          .23981E-07    30.928        .27248E-06** at limit **
   4  norm           .0000        1.5166        .11464E-06** at limit **
   5  Prefactor      .0000        .61380       -.91435E-07** at limit **
   6  Prefactor     .82878E-07    10.106        .59160E-07** at limit **
   7  Prefactor     .58536        3.8520        .16248E-06    .22390E-03
   8  norm          2.3817        2.6032       -.29011E-07   -.61915E-03
   9  Prefactor     7.7598        5.4511        .78891E-07   -.28825E-02
  10  norm           .0000        .96780       -.24700E-06** at limit **
  11  Prefactor     2.6311        6.7981       -.28435E-06    .57500E-02
  12  Prefactor     .93647E-07    9.8091       -.51661E-07** at limit **
  13  Prefactor     .17208E-08    6.6525        .10114E-07** at limit **
  14  Prefactor     17.599        3.0600        .23892E-08   -.32400E-01
  15  norm          2.6885        2.2234       -.50745E-07   -.15054E-02
  16  Normalizat    .64451        .15936       -.25774E-05   -.11395E-04
  17  Prefactor     .94743        .18543        .33580E-05    .31285E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.8081
  Prefactor  = 3.47787
  norm       = 2.39808e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.28781e-08
  Prefactor  = 0.585363
  norm       = 2.38167
  Prefactor  = 7.75983
  norm       = 0
  Prefactor  = 2.63112
  Prefactor  = 9.36473e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 17.5995
  norm       = 2.68846
  Normalizat = 0.644512
  Prefactor  = 0.947427
 **********
 **   18 **HESSE 
 **********

 FCN=   5451.538     FROM HESSE     STATUS=OK           253 CALLS     1434 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.808        33.570        .14786E-03   -1.5573    
   2  Prefactor     3.4779        6.8726        .53932E-03   -1.5671    
   3  norm          .23981E-07    30.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.5107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .61524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .82878E-07    10.515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .58536        3.8399        .69465E-03   -1.5693    
   8  norm          2.3817        2.6110        .66342E-03   -1.5677    
   9  Prefactor     7.7598        5.4386        .35986E-03   -1.5652    
  10  norm           .0000        .96604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.6311        6.7997        .62714E-03   -1.5676    
  12  Prefactor     .93647E-07    9.8777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .17208E-08    6.7230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.599        13.564        .23877E-03   -1.5624    
  15  norm          2.6885        2.2238        .62103E-03   -1.5675    
  16  Normalizat    .64451        .13486        .41543E-01   -1.0613    
  17  Prefactor     .94743        .15488        .45607E-01   -.94503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60425e-06
Minuit parameter uncertainties:
  1  33.5703
  2  6.87259
  3  0.00172092
  4  4.98905e-06
  5  2.54479e-06
  6  0.00186698
  7  2.99848
  8  2.61105
  9  5.43863
  10  8.2865e-06
  11  6.79975
  12  0.00192363
  13  0.000215647
  14  13.5643
  15  2.22377
  16  0.134931
  17  0.154947
Done.

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

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  8.288e-08  1.867e-03  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  8.319e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  9.474e-01  1.549e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  6.445e-01  1.349e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 23.589 -38.709
Photon Flux Upper Limit: 4.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/475119/likelihoodResults_698112001_698371201_4FGL_J0134.3-3842_daily_bin1770.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) = 5451.54096056
delta logL = -0.00305142554862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5451.53790917
delta logL = -3.43770807376e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47634E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.9378       1.0000          .0000       10.000    
     3 'Normalizat'    .64452       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94740       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5451.538     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      231 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .62765        .42118E-03** at limit **
   2  Index         .45395        .45944       -.34924E-04     .0000    
   3  Normalizat    .64451        .98334        .10442E-04    .84810E-05
   4  Prefactor     .94743        1.2898       -.30328E-05    .37416E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.453953
  Normalizat = 0.644512
  Prefactor  = 0.947427
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5451.538     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .62765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16226E-01    .54983       -.34924E-04   -1.1414    
   3  Normalizat    .64451        .98334        .10442E-04   -1.0613    
   4  Prefactor     .94743        1.2898       -.30328E-05   -.94503    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.44584e-12
Minuit parameter uncertainties:
  1  1.19559e-07
  2  0.463253
  3  1.01221
  4  1.33562
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475119': 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) = 5451.53790913
delta logL = 3.93902155338e-09

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  0.000e+00  1.196e-07  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  4.540e-01  4.633e-01  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  8.319e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  9.474e-01  1.336e+00  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  6.445e-01  1.012e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 23.589 -38.709

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/475119/cmap_HighResolution_698112001_698371201_4FGL_J0134.3-3842_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.62e-08', time_completed='2023-02-18 00:17:20.949186', job_id='475119', GAL2='0.95', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1676708240.95', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.94e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1770' AND source_name='4FGL J0134.3-3842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:17:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 474994: <4FGL_J0134.3-3842_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0134.3-3842_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 00:05:09 2023
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:05:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:05:14 2023
Terminated at Sat Feb 18 00:15:56 2023
Results reported at Sat Feb 18 00:15:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_daily_bin1770 23.5887 -38.7085 698112001 698371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0134.3-3842 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   549.43 sec.
    Max Memory :                                 617 MB
    Average Memory :                             289.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            647 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 475119: <4FGL_J0134.3-3842_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0134.3-3842_daily_bin1770> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Feb 18 00:05:17 2023
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:05:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:05:30 2023
Terminated at Sat Feb 18 00:17:22 2023
Results reported at Sat Feb 18 00:17:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_daily_bin1770 23.5887 -38.7085 698112001 698371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0134.3-3842 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   645.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             329.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            725 sec.

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

