aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 50 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 17233
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0134.3-3842_weekly_bin142
RA = 23.5887, Dec = -38.7085
tmin = 324864001, tmax = 325468801
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='191357', job_status='RUN', time_executed='2021-07-03 22:37:03.474060', time_epoch_executed='1625377023.47' WHERE source_name='4FGL J0134.3-3842' and cadence='weekly' and bin_id='142'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191357

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191357/ft1_4FGL_J0134.3-3842_weekly_bin142.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191357/ft2_4FGL_J0134.3-3842_weekly_bin142.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191357/ft1_4FGL_J0134.3-3842_weekly_bin142.fits outfile=/scratch/kocevski/191357/ft1_filteredMKT_4FGL_J0134.3-3842_weekly_bin142.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=324864001.0 tmax=325468801.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 10.01
user 9.35
sys 0.34

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/191357/ft1_filtered_4FGL_J0134.3-3842_weekly_bin142.fits" evtable="EVENTS" scfile=/scratch/kocevski/191357/ft2_4FGL_J0134.3-3842_weekly_bin142.fits sctable="SC_DATA" outfile=/scratch/kocevski/191357/ltcube_324864001_325468801_4FGL_J0134.3-3842_weekly_bin142.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/191357/ft2_4FGL_J0134.3-3842_weekly_bin142.fits
.....................!
real 27.85
user 27.40
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191357/ft1_filtered_4FGL_J0134.3-3842_weekly_bin142.fits evtable="EVENTS" scfile=/scratch/kocevski/191357/ft2_4FGL_J0134.3-3842_weekly_bin142.fits sctable="SC_DATA" expcube=/scratch/kocevski/191357/ltcube_324864001_325468801_4FGL_J0134.3-3842_weekly_bin142.fits outfile=/scratch/kocevski/191357/expmap_324864001_325468801_4FGL_J0134.3-3842_weekly_bin142.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/191357/ltcube_324864001_325468801_4FGL_J0134.3-3842_weekly_bin142.fits
.....................!
real 191.39
user 185.69
sys 4.40

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_archive_v18/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/191357/ft1_filtered_4FGL_J0134.3-3842_weekly_bin142.fits scfile=/scratch/kocevski/191357/ft2_4FGL_J0134.3-3842_weekly_bin142.fits outfile=/scratch/kocevski/191357/cmap_324864001_325468801_4FGL_J0134.3-3842_weekly_bin142.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.60
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/191357/ft1_filtered_4FGL_J0134.3-3842_weekly_bin142.fits scfile=/scratch/kocevski/191357/ft2_4FGL_J0134.3-3842_weekly_bin142.fits outfile=/scratch/kocevski/191357/cmap_HighResolution_324864001_325468801_4FGL_J0134.3-3842_weekly_bin142.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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/191357/ft1_filtered_4FGL_J0134.3-3842_weekly_bin142.fits evtable="EVENTS" scfile=/scratch/kocevski/191357/ft2_4FGL_J0134.3-3842_weekly_bin142.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/191357/Model_4FGL_J0134.3-3842_weekly_bin142.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/191357/ft1_filtered_4FGL_J0134.3-3842_weekly_bin142.fits.....................!
real 152.85
user 150.45
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/191357/ft1_filtered_4FGL_J0134.3-3842_weekly_bin142.fits', '/scratch/kocevski/191357/ft2_4FGL_J0134.3-3842_weekly_bin142.fits', expMap='/scratch/kocevski/191357/expmap_324864001_325468801_4FGL_J0134.3-3842_weekly_bin142.fits', expCube='/scratch/kocevski/191357/ltcube_324864001_325468801_4FGL_J0134.3-3842_weekly_bin142.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/191357/Model_4FGL_J0134.3-3842_weekly_bin142.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  1.000e-04  1.000e+04 ( 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/191357/ft1_filtered_4FGL_J0134.3-3842_weekly_bin142.fits
Spacecraft file(s): /scratch/kocevski/191357/ft2_4FGL_J0134.3-3842_weekly_bin142.fits
Exposure map: /scratch/kocevski/191357/expmap_324864001_325468801_4FGL_J0134.3-3842_weekly_bin142.fits
Exposure cube: /scratch/kocevski/191357/ltcube_324864001_325468801_4FGL_J0134.3-3842_weekly_bin142.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/191357/Model_4FGL_J0134.3-3842_weekly_bin142.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) = 8221.75629906

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6508       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.748       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3040       1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.457       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6075       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.697       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2668       1.0000         .10000E-03   10000.    
    10 'norm      '    2.7735       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6017       1.0000         .10000E-03   10000.    
    12 'norm      '    6.3626       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    66.687       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .20089E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.227       1.0000         .10000E-03   10000.    
    17 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0804       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .98724       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=   8221.710     FROM MIGRAD    STATUS=CONVERGED     80 CALLS     1673 TOTAL
                     EDM=   .96E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6582        1.2176        .18276E-06    .22915E-03
   2  Prefactor     10.749        1.2766       -.49884E-07    .21726E-02
   3  norm          2.3053        1.1327        .54374E-07    .16800E-03
   4  norm          .10000E-03    .75205        .38273E-07** at limit **
   5  Prefactor     17.456        1.0169       -.13693E-07   -.58419E-03
   6  Prefactor     3.6075        2.5640       -.37266E-07   -.18175E-05
   7  Prefactor     .10000E-03    14.244       -.35155E-06** at limit **
   8  Prefactor     12.707        2.8164        .17387E-06    .21253E-02
   9  Prefactor     2.2655        3.5130       -.41622E-06    .15011E-04
  10  norm          2.7738        3.7856        .12367E-06    .59750E-04
  11  Prefactor     2.5969        5.9498        .37723E-06    .21444E-03
  12  norm          6.3613        4.8498       -.13176E-06    .21980E-03
  13  Prefactor     .10000E-03    4.5495       -.78356E-07** at limit **
  14  Prefactor     66.709        2.7316        .15569E-06   -.68212E-02
  15  Prefactor     .10003E-03    160.65       -.16575E-04** at limit **
  16  Prefactor     14.211        13.768       -.47666E-06    .66298E-03
  17  norm          .10000E-03    1.0671       -.13992E-06** at limit **
  18  Normalizat    1.0805        .18300        .53668E-06    .76435E-05
  19  Prefactor     .98702        .20060       -.55074E-06    .55566E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.65822
  Prefactor  = 10.7487
  norm       = 2.30531
  norm       = 0.0001
  Prefactor  = 17.4562
  Prefactor  = 3.60749
  Prefactor  = 0.0001
  Prefactor  = 12.7066
  Prefactor  = 2.26551
  norm       = 2.77383
  Prefactor  = 2.59685
  norm       = 6.36129
  Prefactor  = 0.0001
  Prefactor  = 66.7087
  Prefactor  = 0.000100029
  Prefactor  = 14.2105
  norm       = 0.0001
  Normalizat = 1.08051
  Prefactor  = 0.987019
 **********
 **   18 **HESSE 
 **********

 FCN=   8221.710     FROM HESSE     STATUS=OK           320 CALLS     1993 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6582        29.882        .42247E-02   -1.5232    
   2  Prefactor     10.749        7.7085        .30552E-02   -1.5052    
   3  norm          2.3053        61.837        .67586E-02   -1.5404    
   4  norm          .10000E-03    .74210        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.456        14.575        .23965E-02   -1.4872    
   6  Prefactor     3.6075        2.5676        .53184E-02   -1.5328    
   7  Prefactor     .10000E-03    14.163        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.707        16.841        .28103E-02   -1.4995    
   9  Prefactor     2.2655        3.5718        .68200E-02   -1.5407    
  10  norm          2.7738        3.8149        .61091E-02   -1.5375    
  11  Prefactor     2.5969        6.0784        .63232E-02   -1.5386    
  12  norm          6.3613        5.3399        .39781E-02   -1.5203    
  13  Prefactor     .10000E-03    4.5300        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     66.709        35.901        .12287E-02   -1.4073    
  15  Prefactor     .10003E-03    11.017        .10481       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.211        14.686        .26548E-02   -1.4954    
  17  norm          .10000E-03    1.0378        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0805        .16157        .38862E-01   -.90380    
  19  Prefactor     .98702        .17135        .46107E-01   -.93163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08509e-07
Minuit parameter uncertainties:
  1  26.0264
  2  7.70924
  3  23.9061
  4  2.63121e-08
  5  14.5784
  6  2.5677
  7  1.9003e-06
  8  16.847
  9  3.57212
  10  3.81525
  11  6.07983
  12  5.34032
  13  2.09351e-07
  14  35.9122
  15  0.00113813
  16  14.6892
  17  3.91298e-08
  18  0.161645
  19  0.171448
Done.

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

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  1.271e+01  1.685e+01  1.000e-04  1.000e+04 ( 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.870e-01  1.714e-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.081e+00  1.616e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/191357/likelihoodResults_324864001_325468801_4FGL_J0134.3-3842_weekly_bin142.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) = 8221.5091467
delta logL = 0.201273847981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8221.50893089
delta logL = 0.201489659839

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.171       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0409       1.0000          .0000       10.000    
     3 'Normalizat'    1.0865       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98032       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=   8221.509     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      259 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.205        1034.4        .22869E-02    .86302E-05
   2  Index         2.0422        5.4531        .25559        .34002E-04
   3  Normalizat    1.0862        .71200E-01    .38577E-01   -.17996E-03
   4  Prefactor     .98068        .83388E-01    .46021E-01    .47948E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.2051
  Index      = 2.04219
  Normalizat = 1.08617
  Prefactor  = 0.980676
 **********
 **   18 **HESSE 
 **********

 FCN=   8221.509     FROM HESSE     STATUS=OK            33 CALLS      292 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.205        22.142        .91474E-04   -1.4831    
   2  Index         2.0422        .64241        .10906E-01   -.63299    
   3  Normalizat    1.0862        .17852        .23332E-03   -.90197    
   4  Prefactor     .98068        .20032        .27267E-03   -.93376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78299e-10
Minuit parameter uncertainties:
  1  22.1515
  2  0.645165
  3  0.178616
  4  0.200471
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191357': 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): 0
logL (Free Index) = 8221.50892553
delta logL = 0.201495021331

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  1.921e+01  2.215e+01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.042e+00  6.452e-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.807e-01  2.005e-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.086e+00  1.786e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 23.589 -38.709
Photon Index (Free Index): 2.04 +/- 0.65
Photon Flux (Free Index): 1.39e-08 +/- 1.79e-08
Energy Flux (Free Index): 8.71e-06 +/- 1.27e-05

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/191357/cmap_HighResolution_324864001_325468801_4FGL_J0134.3-3842_weekly_bin142.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.54e-03', comment='SUCCESS', energy_flux2='8.71e-06', dlogl='2.01e-01', photon_flux2='1.39e-08', job_status='DONE', time_completed='2021-07-03 22:50:48.749045', photon_index_error2='0.65', photon_index2='2.04', ts='0.82', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='7.13e-08', energy_flux_error2='1.27e-05', EG='1.08', time_epoch_completed='1625377848.75', return_code='0', job_id='191357', GAL2='0.98', EG2='1.09', return_code2='0', photon_flux_error2='1.79e-08', ts2='1.22', photon_index='2.49' WHERE bin_id='142' AND source_name='4FGL J0134.3-3842' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 22:50:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0113>
Subject: Job 191357: <4FGL_J0134.3-3842_weekly_bin142> in cluster <slac> Done

Job <4FGL_J0134.3-3842_weekly_bin142> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sat Jul  3 22:34:34 2021
Job was executed on host(s) <bullet0113>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 22:34:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 22:34:36 2021
Terminated at Sat Jul  3 22:50:49 2021
Results reported at Sat Jul  3 22:50:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_weekly_bin142 23.5887 -38.7085 324864001 325468801 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 :                                   802.73 sec.
    Max Memory :                                 627 MB
    Average Memory :                             303.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2934 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   973 sec.
    Turnaround time :                            975 sec.

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

