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


Performing analysis on: 4FGL_J0134.3-3842_daily_bin1689
RA = 23.5887, Dec = -38.7085
tmin = 677116801, tmax = 677376001
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='975090', job_status='RUN', time_executed='2022-06-20 00:08:39.805395', time_epoch_executed='1655708919.81' WHERE source_name='4FGL J0134.3-3842' and cadence='daily' and bin_id='1689'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/975090

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/975090/ft1_4FGL_J0134.3-3842_daily_bin1689.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/975090/ft2_4FGL_J0134.3-3842_daily_bin1689.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/975090/ft1_4FGL_J0134.3-3842_daily_bin1689.fits outfile=/scratch/kocevski/975090/ft1_filteredMKT_4FGL_J0134.3-3842_daily_bin1689.fits ra=23.5887 dec=-38.7085 rad=12.0 tmin=677116801.0 tmax=677376001.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 2.37
user 2.07
sys 0.21

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

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

Number of photons that the gtmktime cut: 568

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/975090/ft1_filtered_4FGL_J0134.3-3842_daily_bin1689.fits" evtable="EVENTS" scfile=/scratch/kocevski/975090/ft2_4FGL_J0134.3-3842_daily_bin1689.fits sctable="SC_DATA" outfile=/scratch/kocevski/975090/ltcube_677116801_677376001_4FGL_J0134.3-3842_daily_bin1689.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/975090/ft2_4FGL_J0134.3-3842_daily_bin1689.fits
.....................!
real 15.26
user 14.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/975090/ft1_filtered_4FGL_J0134.3-3842_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/975090/ft2_4FGL_J0134.3-3842_daily_bin1689.fits sctable="SC_DATA" expcube=/scratch/kocevski/975090/ltcube_677116801_677376001_4FGL_J0134.3-3842_daily_bin1689.fits outfile=/scratch/kocevski/975090/expmap_677116801_677376001_4FGL_J0134.3-3842_daily_bin1689.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/975090/ltcube_677116801_677376001_4FGL_J0134.3-3842_daily_bin1689.fits
.....................!
real 156.43
user 151.71
sys 4.17

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/975090/ft1_filtered_4FGL_J0134.3-3842_daily_bin1689.fits scfile=/scratch/kocevski/975090/ft2_4FGL_J0134.3-3842_daily_bin1689.fits outfile=/scratch/kocevski/975090/cmap_677116801_677376001_4FGL_J0134.3-3842_daily_bin1689.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.50
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/975090/ft1_filtered_4FGL_J0134.3-3842_daily_bin1689.fits scfile=/scratch/kocevski/975090/ft2_4FGL_J0134.3-3842_daily_bin1689.fits outfile=/scratch/kocevski/975090/cmap_HighResolution_677116801_677376001_4FGL_J0134.3-3842_daily_bin1689.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.50
user 0.33
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/975090/ft1_filtered_4FGL_J0134.3-3842_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/975090/ft2_4FGL_J0134.3-3842_daily_bin1689.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/975090/Model_4FGL_J0134.3-3842_daily_bin1689.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/975090/ft1_filtered_4FGL_J0134.3-3842_daily_bin1689.fits.....................!
real 99.92
user 97.46
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14125E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    54.861       1.0000         .10000E-03   10000.    
     4 'norm      '    4.2814       1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.599       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    34.362       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.7567       1.0000         .10000E-03   10000.    
    10 'norm      '    .40724       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .62687       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .56698E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.690       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13651E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.4950       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3649       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .52675       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=   6143.483     FROM MIGRAD    STATUS=CONVERGED    386 CALLS     1920 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    53.846        .13530E-06** at limit **
   2  Prefactor     .10000E-03    2.1739        .84461E-08** at limit **
   3  norm          54.867        34.168        .13402E-05    .72808E-03
   4  norm          4.2815        3.2970        .45371E-07   -.16169E-03
   5  Prefactor     31.600        20.118        .11699E-06    .86151E-04
   6  Prefactor     .10000E-03    1.1764       -.17626E-08** at limit **
   7  Prefactor     .10000E-03    15.769        .27908E-06** at limit **
   8  Prefactor     34.363        28.241        .37232E-06   -.13000E-04
   9  Prefactor     4.7565        3.7530        .17662E-06   -.50953E-04
  10  norm          .40706        2.2567       -.84370E-07   -.48590E-03
  11  Prefactor     .62646        3.7675        .32299E-05    .52541E-04
  12  norm          .10000E-03    .93001       -.98575E-07** at limit **
  13  Prefactor     .10000E-03    11.769        .69314E-05** at limit **
  14  Prefactor     .10000E-03    4.9939       -.62629E-07** at limit **
  15  Prefactor     19.682        15.119        .25137E-06    .27339E-03
  16  Prefactor     .10000E-03    10.674       -.59327E-06** at limit **
  17  norm          1.4947        2.0257        .25388E-06   -.32113E-04
  18  Normalizat    1.3647        .16725       -.10740E-05   -.55611E-03
  19  Prefactor     .52694        .18045        .65305E-06   -.34171E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 54.8672
  norm       = 4.28154
  Prefactor  = 31.6003
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 34.3629
  Prefactor  = 4.75651
  norm       = 0.407065
  Prefactor  = 0.626458
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 19.6819
  Prefactor  = 0.000100003
  norm       = 1.49467
  Normalizat = 1.36467
  Prefactor  = 0.526937
 **********
 **   18 **HESSE 
 **********

 FCN=   6143.483     FROM HESSE     STATUS=OK           268 CALLS     2188 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    54.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.1819        .11286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          54.867        35.285        .54155E-04   -1.4225    
   4  norm          4.2815        3.2981        .12055E-03   -1.5294    
   5  Prefactor     31.600        20.120        .71280E-04   -1.4583    
   6  Prefactor     .10000E-03    1.1854        .82986E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     34.363        28.271        .68362E-04   -1.4535    
   9  Prefactor     4.7565        3.7518        .12719E-03   -1.5272    
  10  norm          .40706        4.2009        .22500E-02   -1.5580    
  11  Prefactor     .62646        4.5165        .32497E-03   -1.5550    
  12  norm          .10000E-03    .93245        .73855E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.483        .34566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.9979        .17107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.682        15.178        .90261E-04   -1.4820    
  16  Prefactor     .10000E-03    10.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4947        2.0087        .12576E-03   -1.5463    
  18  Normalizat    1.3647        .18851        .19293E-03   -.81656    
  19  Prefactor     .52694        .20063        .32959E-03   -1.1076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6306e-09
Minuit parameter uncertainties:
  1  0.000305979
  2  1.33282e-07
  3  35.2982
  4  3.29822
  5  20.1246
  6  6.49165e-08
  7  0.000190467
  8  28.2819
  9  3.75195
  10  2.61528
  11  3.36424
  12  5.79866e-06
  13  0.000516996
  14  1.27382e-05
  15  15.1814
  16  0.000358285
  17  2.00878
  18  0.188607
  19  0.200905
Done.

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

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  3.436e+01  2.828e+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:  5.269e-01  2.009e-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.365e+00  1.886e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.26
Ra Dec: 23.589 -38.709
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 4.51e-08 +/- 3.71e-08
Energy Flux (Fixed Index): 1.32e-05 +/- 1.09e-05

TS (Fixed Index): 2.26
Ra Dec: 23.589 -38.709
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/975090/likelihoodResults_677116801_677376001_4FGL_J0134.3-3842_daily_bin1689.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) = 6143.47805548
delta logL = 0.00519302663724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6143.47555044
delta logL = 0.00769807178585

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.361       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3878       1.0000          .0000       10.000    
     3 'Normalizat'    1.3704       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .52246       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=   6143.476     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      273 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.363        33.915        .66462E-04    .34211E-06
   2  Index         2.3879        .83042        .94873E-02    .23490E-03
   3  Normalizat    1.3703        .18591        .19261E-03   -.52945E-04
   4  Prefactor     .52264        .20170        .33084E-03   -.43263E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.3626
  Index      = 2.38793
  Normalizat = 1.37026
  Prefactor  = 0.522636
 **********
 **   18 **HESSE 
 **********

 FCN=   6143.476     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.363        32.989        .26585E-05   -1.4501    
   2  Index         2.3879        .80659        .18975E-02   -.54968    
   3  Normalizat    1.3703        .18564        .38522E-04   -.81493    
   4  Prefactor     .52264        .20151        .13234E-04   -1.1095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40018e-12
Minuit parameter uncertainties:
  1  33.006
  2  0.811481
  3  0.18573
  4  0.20179
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/975090': 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) = 6143.47555003
delta logL = 0.00769847739684

Extracting fit parameters...

4FGL J0134.3-3842
   Spectrum: PowerLaw
283    Prefactor:  3.636e+01  3.301e+01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.388e+00  8.115e-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:  5.226e-01  2.018e-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.370e+00  1.857e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.27
Ra Dec: 23.589 -38.709
Photon Index (Free Index): 2.39 +/- 0.81
Photon Flux (Free Index): 4.13e-08 +/- 4.62e-08
Energy Flux (Free Index): 1.37e-05 +/- 1.23e-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/975090/cmap_HighResolution_677116801_677376001_4FGL_J0134.3-3842_daily_bin1689.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.42e-03', comment='SUCCESS', photon_flux='4.51e-08', energy_flux2='1.37e-05', photon_flux_error='3.71e-08', dlogl='7.70e-03', energy_flux='1.32e-05', photon_flux2='4.13e-08', job_status='DONE', time_completed='2022-06-20 00:17:58.423727', photon_index_error2='0.81', photon_index2='2.39', ts='2.26', fit_tolerance='1e-08', GAL='0.53', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='1.23e-05', EG='1.36', time_epoch_completed='1655709478.42', return_code='0', job_id='975090', GAL2='0.52', EG2='1.37', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='4.62e-08', ts2='2.27', photon_index='2.49' WHERE bin_id='1689' AND source_name='4FGL J0134.3-3842' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun 20 00:17:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 975090: <4FGL_J0134.3-3842_daily_bin1689> in cluster <slac> Done

Job <4FGL_J0134.3-3842_daily_bin1689> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Jun 20 00:04:43 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jun 20 00:08:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jun 20 00:08:06 2022
Terminated at Mon Jun 20 00:18:00 2022
Results reported at Mon Jun 20 00:18:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0134.3-3842_daily_bin1689 23.5887 -38.7085 677116801 677376001 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 :                                   558.27 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             345.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            797 sec.

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

