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


Performing analysis on: 4FGL_J0134.3-3842_daily_bin1748
RA = 23.5887, Dec = -38.7085
tmin = 692409601, tmax = 692668801
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='875588', job_status='RUN', time_executed='2022-12-14 00:08:49.920066', time_epoch_executed='1671005329.92' WHERE source_name='4FGL J0134.3-3842' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875588

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875588/ft1_4FGL_J0134.3-3842_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875588/ft2_4FGL_J0134.3-3842_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875588/ft1_4FGL_J0134.3-3842_daily_bin1748.fits outfile=/scratch/kocevski/875588/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1748.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=692409601.0 tmax=692668801.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.63
user 3.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875588/ft2_4FGL_J0134.3-3842_daily_bin1748.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/875588/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/875588/ft1_filtered_4FGL_J0134.3-3842_daily_bin1748.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.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 395

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875588/ft1_filtered_4FGL_J0134.3-3842_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/875588/ft2_4FGL_J0134.3-3842_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/875588/ltcube_692409601_692668801_4FGL_J0134.3-3842_daily_bin1748.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/875588/ft2_4FGL_J0134.3-3842_daily_bin1748.fits
.....................!
real 15.59
user 15.18
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875588/ft1_filtered_4FGL_J0134.3-3842_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/875588/ft2_4FGL_J0134.3-3842_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/875588/ltcube_692409601_692668801_4FGL_J0134.3-3842_daily_bin1748.fits outfile=/scratch/kocevski/875588/expmap_692409601_692668801_4FGL_J0134.3-3842_daily_bin1748.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/875588/ltcube_692409601_692668801_4FGL_J0134.3-3842_daily_bin1748.fits
.....................!
real 191.40
user 185.02
sys 5.77

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/875588/ft1_filtered_4FGL_J0134.3-3842_daily_bin1748.fits scfile=/scratch/kocevski/875588/ft2_4FGL_J0134.3-3842_daily_bin1748.fits outfile=/scratch/kocevski/875588/cmap_692409601_692668801_4FGL_J0134.3-3842_daily_bin1748.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.54
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875588/ft1_filtered_4FGL_J0134.3-3842_daily_bin1748.fits scfile=/scratch/kocevski/875588/ft2_4FGL_J0134.3-3842_daily_bin1748.fits outfile=/scratch/kocevski/875588/cmap_HighResolution_692409601_692668801_4FGL_J0134.3-3842_daily_bin1748.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.55
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.399       1.0000          .0000       .10000E+07
     2 'Prefactor '    .38284E-03   1.0000          .0000       .10000E+07
     3 'norm      '    31.364       1.0000          .0000       .10000E+07
     4 'norm      '    .65057E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93637E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .74798E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31676E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .23327E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .43854E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .90033E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .75058E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    32.473       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13993E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    10.137       1.0000          .0000       .10000E+07
    15 'norm      '    .18297       1.0000          .0000       .10000E+07
    16 'Normalizat'    .86536       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96124       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=   4399.798     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     1331 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.635        40.204        .30809E-06    .42349E-03
   2  Prefactor     .11102E-09    13.165       -.48771E-06** at limit **
   3  norm          30.826        34.086        .21574E-06    .87311E-03
   4  norm           .0000        3.6907       -.17064E-06** at limit **
   5  Prefactor      .0000        3.1749        .22783E-06** at limit **
   6  Prefactor      .0000        38.603       -.87036E-06** at limit **
   7  Prefactor      .0000        2.5303        .24400E-06** at limit **
   8  norm           .0000        1.7873        .11567E-06** at limit **
   9  Prefactor      .0000        6.4978       -.89386E-07** at limit **
  10  norm           .0000        6.8803       -.16772E-06** at limit **
  11  Prefactor     .11102E-09    4.3353       -.56127E-06** at limit **
  12  Prefactor     32.031        9.7286        .13153E-06   -.38869E-02
  13  Prefactor     .16653E-09    13.489       -.63609E-06** at limit **
  14  Prefactor     10.092        13.698        .64868E-07   -.37981E-04
  15  norm          .18058        2.1883        .19592E-06** at limit **
  16  Normalizat    .86823        .20354       -.39368E-05    .13793E-03
  17  Prefactor     .95989        .23404       -.67849E-06    .11083E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.6346
  Prefactor  = 1.11022e-10
  norm       = 30.8262
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 32.0309
  Prefactor  = 1.66533e-10
  Prefactor  = 10.0915
  norm       = 0.180579
  Normalizat = 0.868227
  Prefactor  = 0.959895
 **********
 **   18 **HESSE 
 **********

 FCN=   4399.798     FROM HESSE     STATUS=OK           253 CALLS     1584 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.635        40.435        .16354E-03   -1.5590    
   2  Prefactor     .11102E-09    13.148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          30.826        34.611        .17858E-03   -1.5597    
   4  norm           .0000        3.6566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.1614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        38.989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.5227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.7823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        6.4848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        6.8541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    4.3370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     32.031        29.910        .17551E-03   -1.5595    
  13  Prefactor     .16653E-09    13.485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.092        13.735        .31447E-03   -1.5644    
  15  norm          .18058        1.2636        .28529E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .86823        .16919        .44457E-01   -.97586    
  17  Prefactor     .95989        .19297        .45781E-01   -.94079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83516e-09
Minuit parameter uncertainties:
  1  40.4356
  2  7.19656e-05
  3  34.6116
  4  1.31234e-05
  5  1.35587e-05
  6  4.46863e-05
  7  1.42375e-05
  8  6.45548e-06
  9  1.03041e-05
  10  1.63341e-05
  11  4.78739e-05
  12  29.9102
  13  9.64914e-05
  14  13.7355
  15  0.955374
  16  0.169289
  17  0.19311
Done.

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

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  0.000e+00  4.469e-05  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.599e-01  1.931e-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:  8.682e-01  1.693e-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: 8.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875588/likelihoodResults_692409601_692668801_4FGL_J0134.3-3842_daily_bin1748.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) = 4399.81067471
delta logL = -0.0126760085368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4399.78915261
delta logL = 0.00884609401328

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67047       1.0000          .0000       .10000E+07
     2 'Index     '    3.6313       1.0000          .0000       10.000    
     3 'Normalizat'    .86023       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96497       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4399.789     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      348 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68968        62.705        .12628E-03    .48524E-02
   2  Index         3.6320        6.7139        .63233E-02    .14873E-04
   3  Normalizat    .86054        .20796        .21095E-03   -.14012E-05
   4  Prefactor     .96480        .23505        .23407E-03   -.12142E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.689676
  Index      = 3.63202
  Normalizat = 0.860542
  Prefactor  = 0.9648
 **********
 **   18 **HESSE 
 **********

 FCN=   4399.789     FROM HESSE     STATUS=OK            27 CALLS      375 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68968        21.355        .25255E-04   -1.5691    
   2  Index         3.6320        3.8396        .12647E-02   -.27713    
   3  Normalizat    .86054        .20570        .84379E-05   -.97861    
   4  Prefactor     .96480        .23486        .93628E-05   -.93912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3446e-12
Minuit parameter uncertainties:
  1  7.67546
  2  4.44657
  3  0.205889
  4  0.235111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875588': 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) = 4399.78913927
delta logL = 0.00885943139656

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  6.897e-01  7.675e+00  0.000e+00  1.000e+06 ( 1.000e-13)
284        Index:  3.632e+00  4.447e+00  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.648e-01  2.351e-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:  8.605e-01  2.059e-01  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/875588/cmap_HighResolution_692409601_692668801_4FGL_J0134.3-3842_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.49e-03', job_status='DONE', photon_flux_upper_limit='8.35e-08', time_completed='2022-12-14 00:17:32.044456', job_id='875588', GAL2='0.96', fit_tolerance='1e-08', EG2='0.86', EG='0.87', time_epoch_completed='1671005852.04', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='8.86e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1748' AND source_name='4FGL J0134.3-3842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:17:32 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 875588: <4FGL_J0134.3-3842_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0134.3-3842_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 00:04:52 2022
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:04:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:04:54 2022
Terminated at Wed Dec 14 00:17:32 2022
Results reported at Wed Dec 14 00:17:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_daily_bin1748 23.5887 -38.7085 692409601 692668801 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 :                                   523.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            760 sec.

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

