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


Performing analysis on: 4FGL_J0134.3-3842_weekly_bin760
RA = 23.5887, Dec = -38.7085
tmin = 698630401, tmax = 699235201
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='4688', job_status='RUN', time_executed='2023-02-28 00:05:47.135004', time_epoch_executed='1677571547.14' WHERE source_name='4FGL J0134.3-3842' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/4688

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/4688/ft1_4FGL_J0134.3-3842_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/4688/ft2_4FGL_J0134.3-3842_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/4688/ft1_4FGL_J0134.3-3842_weekly_bin760.fits outfile=/scratch/kocevski/4688/ft1_filteredMKT_4FGL_J0134.3-3842_weekly_bin760.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=698630401.0 tmax=699235201.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 6.48
user 6.16
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/4688/ft2_4FGL_J0134.3-3842_weekly_bin760.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/4688/ft1_filteredMKT_4FGL_J0134.3-3842_weekly_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/4688/ft1_filtered_4FGL_J0134.3-3842_weekly_bin760.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.60
user 0.37
sys 0.17

Number of photons that the gtmktime cut: 1029

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/4688/ft1_filtered_4FGL_J0134.3-3842_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/4688/ft2_4FGL_J0134.3-3842_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/4688/ltcube_698630401_699235201_4FGL_J0134.3-3842_weekly_bin760.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/4688/ft2_4FGL_J0134.3-3842_weekly_bin760.fits
.....................!
real 30.05
user 29.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/4688/ft1_filtered_4FGL_J0134.3-3842_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/4688/ft2_4FGL_J0134.3-3842_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/4688/ltcube_698630401_699235201_4FGL_J0134.3-3842_weekly_bin760.fits outfile=/scratch/kocevski/4688/expmap_698630401_699235201_4FGL_J0134.3-3842_weekly_bin760.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/4688/ltcube_698630401_699235201_4FGL_J0134.3-3842_weekly_bin760.fits
.....................!
real 191.44
user 185.53
sys 4.84

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/4688/ft1_filtered_4FGL_J0134.3-3842_weekly_bin760.fits scfile=/scratch/kocevski/4688/ft2_4FGL_J0134.3-3842_weekly_bin760.fits outfile=/scratch/kocevski/4688/cmap_698630401_699235201_4FGL_J0134.3-3842_weekly_bin760.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.61
user 0.43
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/4688/ft1_filtered_4FGL_J0134.3-3842_weekly_bin760.fits scfile=/scratch/kocevski/4688/ft2_4FGL_J0134.3-3842_weekly_bin760.fits outfile=/scratch/kocevski/4688/cmap_HighResolution_698630401_699235201_4FGL_J0134.3-3842_weekly_bin760.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.58
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/4688/ft1_filtered_4FGL_J0134.3-3842_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/4688/ft2_4FGL_J0134.3-3842_weekly_bin760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/4688/Model_4FGL_J0134.3-3842_weekly_bin760.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/4688/ft1_filtered_4FGL_J0134.3-3842_weekly_bin760.fits.....................!
real 205.81
user 203.54
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/4688/ft1_filtered_4FGL_J0134.3-3842_weekly_bin760.fits', '/scratch/kocevski/4688/ft2_4FGL_J0134.3-3842_weekly_bin760.fits', expMap='/scratch/kocevski/4688/expmap_698630401_699235201_4FGL_J0134.3-3842_weekly_bin760.fits', expCube='/scratch/kocevski/4688/ltcube_698630401_699235201_4FGL_J0134.3-3842_weekly_bin760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/4688/Model_4FGL_J0134.3-3842_weekly_bin760.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/4688/ft1_filtered_4FGL_J0134.3-3842_weekly_bin760.fits
Spacecraft file(s): /scratch/kocevski/4688/ft2_4FGL_J0134.3-3842_weekly_bin760.fits
Exposure map: /scratch/kocevski/4688/expmap_698630401_699235201_4FGL_J0134.3-3842_weekly_bin760.fits
Exposure cube: /scratch/kocevski/4688/ltcube_698630401_699235201_4FGL_J0134.3-3842_weekly_bin760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/4688/Model_4FGL_J0134.3-3842_weekly_bin760.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) = 11302.6902749

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    82.642       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15343E-06   1.0000          .0000       .10000E+07
     3 'norm      '    20.296       1.0000          .0000       .10000E+07
     4 'norm      '    2.4877       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9833       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23808E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.2771       1.0000          .0000       .10000E+07
     8 'norm      '    3.9623       1.0000          .0000       .10000E+07
     9 'Prefactor '    .30265E-06   1.0000          .0000       .10000E+07
    10 'norm      '    3.4720       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.7054       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24523E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.7543       1.0000          .0000       .10000E+07
    14 'Prefactor '    .24174E-03   1.0000          .0000       .10000E+07
    15 'norm      '    4.3387       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1209       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .85961       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=   11302.68     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     1180 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     82.781        9.5284        .84576E-08   -.21285    
   2  Prefactor      .0000        3.2542        .45567E-07** at limit **
   3  norm          20.814        20.928        .86469E-08    .45514E-01
   4  norm          2.4871        1.9987       -.26842E-07   -.16125E-02
   5  Prefactor     1.9823        2.1469        .62557E-08   -.36313E-03
   6  Prefactor     .49960E-09    6.9087       -.54471E-07** at limit **
   7  Prefactor     4.2715        2.5852        .11664E-08   -.69933E-03
   8  norm          3.9663        2.4541       -.39011E-07   -.31421E-02
   9  Prefactor      .0000        1.3120       -.28553E-09** at limit **
  10  norm          3.4755        2.4696        .40710E-07    .18508E-02
  11  Prefactor     5.7347        4.7524        .26938E-07    .35748E-03
  12  Prefactor     .27367E-07    9.2416       -.24770E-09** at limit **
  13  Prefactor     3.6439        7.5923        .21353E-07    .64941E-04
  14  Prefactor     .29254E-07    8.2574       -.73672E-07** at limit **
  15  norm          4.3415        1.7882       -.43403E-07   -.65698E-02
  16  Normalizat    1.1205        .14073       -.96272E-06   -.22257E-03
  17  Prefactor     .85968        .15752        .16934E-06   -.14387E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 82.7806
  Prefactor  = 0
  norm       = 20.8141
  norm       = 2.48713
  Prefactor  = 1.98226
  Prefactor  = 4.996e-10
  Prefactor  = 4.27149
  norm       = 3.96627
  Prefactor  = 0
  norm       = 3.47553
  Prefactor  = 5.7347
  Prefactor  = 2.7367e-08
  Prefactor  = 3.6439
  Prefactor  = 2.92544e-08
  norm       = 4.34154
  Normalizat = 1.12052
  Prefactor  = 0.859681
 **********
 **   18 **HESSE 
 **********

 FCN=   11302.68     FROM HESSE     STATUS=OK           257 CALLS     1437 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     82.781        37.420        .11001E-03   -1.5526    
   2  Prefactor      .0000        3.2585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          20.814        22.904        .22204E-03   -1.5617    
   4  norm          2.4871        2.0022        .64783E-03   -1.5676    
   5  Prefactor     1.9823        2.1596        .73560E-03   -1.5680    
   6  Prefactor     .49960E-09    6.9066        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.2715        2.5878        .48692E-03   -1.5667    
   8  norm          3.9663        2.4553        .50649E-03   -1.5668    
   9  Prefactor      .0000        1.3097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.4755        2.4745        .54245E-03   -1.5671    
  11  Prefactor     5.7347        4.7605        .42029E-03   -1.5660    
  12  Prefactor     .27367E-07    9.2575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.6439        7.5994        .52083E-03   -1.5670    
  14  Prefactor     .29254E-07    8.2813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.3415        1.7901        .48336E-03   -1.5666    
  16  Normalizat    1.1205        .12154        .37208E-01   -.89096    
  17  Prefactor     .85968        .13630        .44488E-01   -.97565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.97703e-07
Minuit parameter uncertainties:
  1  37.4204
  2  1.32217e-05
  3  22.9045
  4  2.00219
  5  2.15959
  6  0.000119615
  7  2.58781
  8  2.45531
  9  1.09956e-06
  10  2.47452
  11  4.76053
  12  0.00100674
  13  7.59939
  14  0.000984213
  15  1.79007
  16  0.121574
  17  0.136356
Done.

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

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  4.996e-10  1.196e-04  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:  8.597e-01  1.364e-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:  1.121e+00  1.216e-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: 3.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/4688/likelihoodResults_698630401_699235201_4FGL_J0134.3-3842_weekly_bin760.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) = 11302.6774057
delta logL = -0.000130769232783

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11302.6772782
delta logL = -3.26030567521e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52098E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .84630       1.0000          .0000       10.000    
     3 'Normalizat'    1.1207       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85951       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.

 FCN=   11302.68     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      280 TOTAL
                     EDM=   .83E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .13500E-01    .42118E-03** at limit **
   2  Index         3.1805        5.2595        .44317        .51306E-10
   3  Normalizat    1.1205        .17348E-03    .37214E-01    .15436E-03
   4  Prefactor     .85968        .19920E-03    .44487E-01    .16215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.1805
  Normalizat = 1.12052
  Prefactor  = 0.859681
 **********
 **   18 **HESSE 
 **********

 FCN=   11302.68     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      313 TOTAL
                     EDM=   .32E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .59880E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1805        7.8557        .50000       -.37245    
   3  Normalizat    1.1205        .36478E-03    .21402E-03   -.89096    
   4  Prefactor     .85968        .41870E-03    .27529E-03   -.97565    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.20794e-13
Minuit parameter uncertainties:
  1  3.2385e-06
  2  13887.2
  3  0.000364782
  4  0.000418703
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/4688': 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): 102
logL (Free Index) = 11302.6772749
delta logL = 3.27418092638e-11

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  5.551e-11  3.239e-06  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  3.181e+00  1.389e+04  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:  8.597e-01  4.187e-04  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:  1.121e+00  3.648e-04  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/4688/cmap_HighResolution_698630401_699235201_4FGL_J0134.3-3842_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2023-02-28 00:19:57.610151', job_id='4688', GAL2='0.86', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1677572397.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='3.27e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='760' AND source_name='4FGL J0134.3-3842' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 00:19:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 4688: <4FGL_J0134.3-3842_weekly_bin760> in cluster <slac> Done

Job <4FGL_J0134.3-3842_weekly_bin760> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Feb 28 00:04:54 2023
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 00:04:55 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 00:04:55 2023
Terminated at Tue Feb 28 00:19:58 2023
Results reported at Tue Feb 28 00:19:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_weekly_bin760 23.5887 -38.7085 698630401 699235201 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 :                                   850.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             383.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            904 sec.

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

