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/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 52 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 = 17207
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0134.3-3842_weekly_bin432
RA = 23.5887, Dec = -38.7085
tmin = 500256001, tmax = 500860801
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='193287', job_status='RUN', time_executed='2021-07-03 22:42:34.534618', time_epoch_executed='1625377354.53' WHERE source_name='4FGL J0134.3-3842' and cadence='weekly' and bin_id='432'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193287

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193287/ft1_4FGL_J0134.3-3842_weekly_bin432.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193287/ft2_4FGL_J0134.3-3842_weekly_bin432.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193287/ft1_4FGL_J0134.3-3842_weekly_bin432.fits outfile=/scratch/kocevski/193287/ft1_filteredMKT_4FGL_J0134.3-3842_weekly_bin432.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=500256001.0 tmax=500860801.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.88
user 10.43
sys 0.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193287/ft1_filtered_4FGL_J0134.3-3842_weekly_bin432.fits" evtable="EVENTS" scfile=/scratch/kocevski/193287/ft2_4FGL_J0134.3-3842_weekly_bin432.fits sctable="SC_DATA" outfile=/scratch/kocevski/193287/ltcube_500256001_500860801_4FGL_J0134.3-3842_weekly_bin432.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/193287/ft2_4FGL_J0134.3-3842_weekly_bin432.fits
.....................!
real 34.22
user 33.40
sys 0.67

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193287/ft1_filtered_4FGL_J0134.3-3842_weekly_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/193287/ft2_4FGL_J0134.3-3842_weekly_bin432.fits sctable="SC_DATA" expcube=/scratch/kocevski/193287/ltcube_500256001_500860801_4FGL_J0134.3-3842_weekly_bin432.fits outfile=/scratch/kocevski/193287/expmap_500256001_500860801_4FGL_J0134.3-3842_weekly_bin432.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/193287/ltcube_500256001_500860801_4FGL_J0134.3-3842_weekly_bin432.fits
.....................!
real 194.11
user 185.79
sys 5.38

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/193287/ft1_filtered_4FGL_J0134.3-3842_weekly_bin432.fits scfile=/scratch/kocevski/193287/ft2_4FGL_J0134.3-3842_weekly_bin432.fits outfile=/scratch/kocevski/193287/cmap_500256001_500860801_4FGL_J0134.3-3842_weekly_bin432.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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193287/ft1_filtered_4FGL_J0134.3-3842_weekly_bin432.fits scfile=/scratch/kocevski/193287/ft2_4FGL_J0134.3-3842_weekly_bin432.fits outfile=/scratch/kocevski/193287/cmap_HighResolution_500256001_500860801_4FGL_J0134.3-3842_weekly_bin432.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.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193287/ft1_filtered_4FGL_J0134.3-3842_weekly_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/193287/ft2_4FGL_J0134.3-3842_weekly_bin432.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193287/Model_4FGL_J0134.3-3842_weekly_bin432.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/193287/ft1_filtered_4FGL_J0134.3-3842_weekly_bin432.fits.....................!
real 116.95
user 115.18
sys 1.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.276       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .31186E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .16167E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10805E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1341       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.845       1.0000         .10000E-03   10000.    
     8 'Prefactor '    50.311       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.1914       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .23280E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.6404       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.115       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.390       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .86162       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92230       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6326.966     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     1934 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.264        27.350        .50501E-06   -.21975E-05
   2  Prefactor     .10001E-03    65.773        .24169E-04** at limit **
   3  norm          .10000E-03    27.255       -.11223E-05** at limit **
   4  norm          .10000E-03    1.7041       -.15177E-06** at limit **
   5  Prefactor     .10000E-03    26.148        .13830E-05** at limit **
   6  Prefactor     2.1341        2.0196        .21568E-07   -.91370E-04
   7  Prefactor     28.830        22.164       -.15122E-06    .25069E-04
   8  Prefactor     50.272        28.249        .13077E-05    .60325E-05
   9  Prefactor     5.1879        4.2742       -.41865E-06    .16182E-03
  10  norm          .10000E-03    .74701       -.58167E-07** at limit **
  11  Prefactor     .10000E-03    1.5115       -.16371E-06** at limit **
  12  norm          .10000E-03    2.7860        .17912E-05** at limit **
  13  Prefactor     4.6434        6.3482        .94158E-07    .13537E-03
  14  Prefactor     21.209        22.731        .44641E-05    .48256E-03
  15  Prefactor     18.411        14.892        .73010E-06   -.70119E-04
  16  Prefactor     .10000E-03    11.132        .19979E-05** at limit **
  17  norm          .10000E-03    .72136       -.59715E-07** at limit **
  18  Normalizat    .86165        .15278        .99700E-06    .49564E-03
  19  Prefactor     .92238        .16667       -.33504E-06   -.13062E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.264
  Prefactor  = 0.000100013
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.1341
  Prefactor  = 28.8299
  Prefactor  = 50.2716
  Prefactor  = 5.18794
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.64343
  Prefactor  = 21.2091
  Prefactor  = 18.4111
  Prefactor  = 0.000100005
  norm       = 0.0001
  Normalizat = 0.861647
  Prefactor  = 0.922384
 **********
 **   18 **HESSE 
 **********

 FCN=   6326.966     FROM HESSE     STATUS=OK           270 CALLS     2204 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.264        27.296        .72816E-04   -1.4607    
   2  Prefactor     .10001E-03    68.238        .40821E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    27.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.7242        .10137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    26.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.1341        2.0186        .10660E-03   -1.5416    
   7  Prefactor     28.830        22.217        .74596E-04   -1.4634    
   8  Prefactor     50.272        28.203        .56539E-04   -1.4289    
   9  Prefactor     5.1879        4.2681        .13697E-03   -1.5252    
  10  norm          .10000E-03    .75048        .67129E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.5151        .95536E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    14.785        .19913E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6434        6.3498        .18683E-03   -1.5277    
  14  Prefactor     21.209        22.680        .87165E-04   -1.4787    
  15  Prefactor     18.411        14.872        .93397E-04   -1.4850    
  16  Prefactor     .10000E-03    10.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .73686        .65932E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .86165        .17997        .21915E-03   -.97821    
  19  Prefactor     .92238        .19650        .24396E-03   -.95363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54158e-09
Minuit parameter uncertainties:
  1  27.3069
  2  0.00185021
  3  1.39766e-06
  4  4.20738e-06
  5  0.000170203
  6  2.01869
  7  22.223
  8  28.2102
  9  4.26836
  10  2.01824e-06
  11  6.37923e-06
  12  5.13741e-06
  13  6.35075
  14  22.6888
  15  14.8745
  16  0.000459008
  17  2.52459e-06
  18  0.1801
  19  0.196656
Done.

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

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  5.027e+01  2.821e+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.224e-01  1.967e-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.616e-01  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.36
Ra Dec: 23.589 -38.709
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.60e-08 +/- 3.70e-08
Energy Flux (Fixed Index): 1.94e-05 +/- 1.09e-05

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) = 6326.9059736
delta logL = 0.0595792613922

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6326.90438462
delta logL = 0.0611682494973

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.926       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6537       1.0000          .0000       10.000    
     3 'Normalizat'    .85382       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92915       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6326.904     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      287 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.954        34.156        .61188E-04    .41247E-04
   2  Index         2.6544        .51017        .51546E-02    .42405E-03
   3  Normalizat    .85374        .17248        .22003E-03    .20667E-05
   4  Prefactor     .92908        .19663        .24318E-03   -.20617E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.9539
  Index      = 2.6544
  Normalizat = 0.853737
  Prefactor  = 0.929078
 **********
 **   18 **HESSE 
 **********

 FCN=   6326.904     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.954        32.696        .24475E-05   -1.4396    
   2  Index         2.6544        .48817        .10309E-02   -.48829    
   3  Normalizat    .85374        .17263        .88014E-05   -.98105    
   4  Prefactor     .92908        .19676        .97273E-05   -.95132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41568e-11
Minuit parameter uncertainties:
  1  32.7097
  2  0.489166
  3  0.172737
  4  0.196915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193287': 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) = 6326.90437957
delta logL = 0.061173294619

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  4.295e+01  3.271e+01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.654e+00  4.892e-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.291e-01  1.969e-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.537e-01  1.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.50
Ra Dec: 23.589 -38.709
Photon Index (Free Index): 2.65 +/- 0.49
Photon Flux (Free Index): 7.20e-08 +/- 4.12e-08
Energy Flux (Free Index): 1.80e-05 +/- 1.04e-05

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/193287/cmap_HighResolution_500256001_500860801_4FGL_J0134.3-3842_weekly_bin432.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.60e-08', energy_flux2='1.80e-05', photon_flux_error='3.70e-08', dlogl='6.12e-02', energy_flux='1.94e-05', photon_flux2='7.20e-08', job_status='DONE', time_completed='2021-07-03 22:54:16.609582', photon_index_error2='0.49', photon_index2='2.65', ts='5.36', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.04e-05', EG='0.86', time_epoch_completed='1625378056.61', return_code='0', job_id='193287', GAL2='0.93', EG2='0.85', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='4.12e-08', ts2='5.50', photon_index='2.49' WHERE bin_id='432' AND source_name='4FGL J0134.3-3842' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 22:54:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 193287: <4FGL_J0134.3-3842_weekly_bin432> in cluster <slac> Done

Job <4FGL_J0134.3-3842_weekly_bin432> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Jul  3 22:41:30 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 22:41:30 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:41:30 2021
Terminated at Sat Jul  3 22:54:18 2021
Results reported at Sat Jul  3 22:54:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_weekly_bin432 23.5887 -38.7085 500256001 500860801 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 :                                   682.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            768 sec.

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

