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


Performing analysis on: 4FGL_J0058.0-3233_daily_bin1699
RA = 14.5132, Dec = -32.5658
tmin = 679708801, tmax = 679968001
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='117291', job_status='RUN', time_executed='2022-07-20 08:33:45.119636', time_epoch_executed='1658331225.12' WHERE source_name='4FGL J0058.0-3233' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/117291

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/117291/ft1_4FGL_J0058.0-3233_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/117291/ft2_4FGL_J0058.0-3233_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/117291/ft1_4FGL_J0058.0-3233_daily_bin1699.fits outfile=/scratch/kocevski/117291/ft1_filteredMKT_4FGL_J0058.0-3233_daily_bin1699.fits ra=14.5132 dec=-32.5658 rad=12.0 tmin=679708801.0 tmax=679968001.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.81
user 3.59
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/117291/ft2_4FGL_J0058.0-3233_daily_bin1699.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/117291/ft2_4FGL_J0058.0-3233_daily_bin1699.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/117291/ft1_filteredMKT_4FGL_J0058.0-3233_daily_bin1699.fits evtable="EVENTS" outfile="/scratch/kocevski/117291/ft1_filtered_4FGL_J0058.0-3233_daily_bin1699.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: 561

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/117291/ft1_filtered_4FGL_J0058.0-3233_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/117291/ft2_4FGL_J0058.0-3233_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/117291/ltcube_679708801_679968001_4FGL_J0058.0-3233_daily_bin1699.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/117291/ft2_4FGL_J0058.0-3233_daily_bin1699.fits
.....................!
real 12.16
user 11.78
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/117291/ft1_filtered_4FGL_J0058.0-3233_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/117291/ft2_4FGL_J0058.0-3233_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/117291/ltcube_679708801_679968001_4FGL_J0058.0-3233_daily_bin1699.fits outfile=/scratch/kocevski/117291/expmap_679708801_679968001_4FGL_J0058.0-3233_daily_bin1699.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/117291/ltcube_679708801_679968001_4FGL_J0058.0-3233_daily_bin1699.fits
.....................!
real 190.68
user 185.64
sys 4.67

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
Added 188 point sources and 0 extended sources

Setting source of interest to:
4FGL J0058.0-3233 @ 14.5132 -32.5658

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/117291/ft1_filtered_4FGL_J0058.0-3233_daily_bin1699.fits scfile=/scratch/kocevski/117291/ft2_4FGL_J0058.0-3233_daily_bin1699.fits outfile=/scratch/kocevski/117291/cmap_679708801_679968001_4FGL_J0058.0-3233_daily_bin1699.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=14.5132 yref=-32.5658 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/117291/ft1_filtered_4FGL_J0058.0-3233_daily_bin1699.fits scfile=/scratch/kocevski/117291/ft2_4FGL_J0058.0-3233_daily_bin1699.fits outfile=/scratch/kocevski/117291/cmap_HighResolution_679708801_679968001_4FGL_J0058.0-3233_daily_bin1699.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=14.5132 yref=-32.5658 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/117291/ft1_filtered_4FGL_J0058.0-3233_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/117291/ft2_4FGL_J0058.0-3233_daily_bin1699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/117291/Model_4FGL_J0058.0-3233_daily_bin1699.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 GAL_V02
Working on...
/scratch/kocevski/117291/ft1_filtered_4FGL_J0058.0-3233_daily_bin1699.fits.....................!
real 46.03
user 44.64
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/117291/ft1_filtered_4FGL_J0058.0-3233_daily_bin1699.fits', '/scratch/kocevski/117291/ft2_4FGL_J0058.0-3233_daily_bin1699.fits', expMap='/scratch/kocevski/117291/expmap_679708801_679968001_4FGL_J0058.0-3233_daily_bin1699.fits', expCube='/scratch/kocevski/117291/ltcube_679708801_679968001_4FGL_J0058.0-3233_daily_bin1699.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/117291/Model_4FGL_J0058.0-3233_daily_bin1699.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0058.0-3233'

4FGL J0058.0-3233
   Spectrum: LogParabola
196         norm:  1.613e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
197        alpha:  1.916e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
198         beta:  1.485e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
199           Eb:  9.938e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/117291/ft1_filtered_4FGL_J0058.0-3233_daily_bin1699.fits
Spacecraft file(s): /scratch/kocevski/117291/ft2_4FGL_J0058.0-3233_daily_bin1699.fits
Exposure map: /scratch/kocevski/117291/expmap_679708801_679968001_4FGL_J0058.0-3233_daily_bin1699.fits
Exposure cube: /scratch/kocevski/117291/ltcube_679708801_679968001_4FGL_J0058.0-3233_daily_bin1699.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/117291/Model_4FGL_J0058.0-3233_daily_bin1699.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) = 6238.10511774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38581       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15423E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10670E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.0761       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10250E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    32.167       1.0000         .10000E-03   10000.    
    10 'norm      '    13.842       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0516       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .52514       1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.3100       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.6070       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.4947       1.0000         .10000E-03   10000.    
    20 'Prefactor '    34.345       1.0000         .10000E-03   10000.    
    21 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.8242       1.0000         .10000E-03   10000.    
    23 'norm      '    2.2181       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .88266       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .79328       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6238.100     FROM MIGRAD    STATUS=CONVERGED    579 CALLS     2902 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38338        2.3670        .12893E-05   -.47895E-03
   2  Prefactor     .10000E-03    8.8719       -.42489E-07** at limit **
   3  Prefactor     .10004E-03    7.4660       -.22109E-05** at limit **
   4  Prefactor     .10001E-03    30.832       -.18512E-05** at limit **
   5  Prefactor     7.0732        4.8945        .17066E-05    .29994E-03
   6  Prefactor     .10000E-03    26.984        .27973E-06** at limit **
   7  norm          .10000E-03    1.4132        .27000E-07** at limit **
   8  Prefactor     .10000E-03    1.8743       -.12982E-08** at limit **
   9  norm          32.155        22.225       -.65697E-06   -.42814E-03
  10  norm          13.840        9.7991        .66888E-07   -.95152E-05
  11  norm          1.0514        2.9693        .13319E-05    .11430E-03
  12  Prefactor     .10000E-03    1.4077        .70372E-07** at limit **
  13  Prefactor     .10000E-03    4.6954       -.60738E-07** at limit **
  14  Prefactor     .10000E-03    3.9192        .15332E-07** at limit **
  15  Prefactor     .52610        2.1014        .56199E-06   -.23717E-03
  16  norm          .10000E-03    .65013        .10733E-06** at limit **
  17  norm          4.3107        2.1402        .12660E-07   -.77078E-04
  18  Prefactor     6.5947        13.807        .23177E-06   -.92274E-04
  19  Prefactor     1.4968        3.4518        .74053E-06    .14356E-03
  20  Prefactor     34.333        24.813       -.53177E-06   -.44875E-03
  21  norm          .10000E-03    1.1753        .18968E-08** at limit **
  22  Prefactor     6.8249        3.1458        .56331E-07   -.10311E-03
  23  norm          2.2185        2.0640        .11735E-06   -.10672E-04
  24  Normalizat    .88254        .13448       -.40033E-06   -.29439E-03
  25  Prefactor     .79339        .15402       -.12502E-05   -.20437E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.383379
  Prefactor  = 0.0001
  Prefactor  = 0.000100038
  Prefactor  = 0.000100006
  Prefactor  = 7.07318
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 32.1552
  norm       = 13.8399
  norm       = 1.05144
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.5261
  norm       = 0.0001
  norm       = 4.31068
  Prefactor  = 6.59474
  Prefactor  = 1.49683
  Prefactor  = 34.3333
  norm       = 0.0001
  Prefactor  = 6.82486
  norm       = 2.21852
  Normalizat = 0.882544
  Prefactor  = 0.793386
 **********
 **   18 **HESSE 
 **********

 FCN=   6238.100     FROM HESSE     STATUS=OK           429 CALLS     3331 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38338        4.3730        .21717E-02   -1.5584    
   2  Prefactor     .10000E-03    8.8925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10004E-03    18.978        .37656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    31.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.0732        4.9940        .71256E-03   -1.5176    
   6  Prefactor     .10000E-03    27.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.4199        .91682E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.8803        .10559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          32.155        22.331        .70649E-04   -1.4573    
  10  norm          13.840        9.8002        .10766E-03   -1.4964    
  11  norm          1.0514        2.9737        .21591E-03   -1.5503    
  12  Prefactor     .10000E-03    1.4138        .91511E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.6997        .16715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9436        .15267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .52610        3.5074        .20960E-02   -1.5563    
  16  norm          .10000E-03    1.1361        .12360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3107        2.1354        .75666E-04   -1.5293    
  18  Prefactor     6.5947        13.721        .15612E-03   -1.5194    
  19  Prefactor     1.4968        3.4020        .21303E-03   -1.5463    
  20  Prefactor     34.333        24.945        .68379E-04   -1.4535    
  21  norm          .10000E-03    1.2097        .16687E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.8249        3.1447        .90942E-04   -1.5185    
  23  norm          2.2185        2.0533        .10577E-03   -1.5410    
  24  Normalizat    .88254        .15698        .19921E-03   -.97076    
  25  Prefactor     .79339        .18027        .24695E-03   -.99973    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5064e-08
Minuit parameter uncertainties:
  1  2.58952
  2  2.23102e-05
  3  0.00169899
  4  0.000870448
  5  4.99431
  6  0.000388831
  7  3.93824e-07
  8  1.40883e-07
  9  22.3369
  10  9.80129
  11  2.97413
  12  4.62836e-06
  13  6.65203e-06
  14  1.7216e-06
  15  2.71678
  16  5.87389e-06
  17  2.13546
  18  13.7272
  19  3.40244
  20  24.9523
  21  6.26158e-07
  22  3.14482
  23  2.0534
  24  0.157056
  25  0.180401
Done.

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

Extracting fit parameters...

4FGL J0058.0-3233
   Spectrum: LogParabola
196         norm:  1.051e+00  2.974e+00  1.000e-04  1.000e+04 ( 1.000e-12)
197        alpha:  1.916e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
198         beta:  1.485e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
199           Eb:  9.938e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  7.934e-01  1.804e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  8.825e-01  1.571e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 14.513 -32.566
Photon Flux Upper Limit: 5.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.41e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/117291/likelihoodResults_679708801_679968001_4FGL_J0058.0-3233_daily_bin1699.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) = 6237.71710961
delta logL = 0.382551304596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6237.59148013
delta logL = 0.50818078781

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29518E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .83079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83629       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6237.591     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      320 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29510E-01    1.1346        .29911E-02    .17552E-02
   2  alpha         5.0000        2.7440        .46267    ** at limit **
   3  Normalizat    .83053        .57005E-01    .44011E-01   -.19992E-04
   4  Prefactor     .83666        .62868E-01    .44188E-01   -.24940E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0295095
  alpha      = 5
  Normalizat = 0.83053
  Prefactor  = 0.836656
 **********
 **   18 **HESSE 
 **********

 FCN=   6237.591     FROM HESSE     STATUS=OK            37 CALLS      357 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29510E-01    .37555E-01    .13681E-03   -1.5674    
   2  alpha         5.0000        3.3343        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .83053        .15850        .20474E-03   -.98946    
   4  Prefactor     .83666        .18176        .24111E-03   -.98391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.18365e-11
Minuit parameter uncertainties:
  1  0.0375548
  2  1.66757e-05
  3  0.158586
  4  0.181889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/117291': 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) = 6237.5914773
delta logL = 0.508183616266

Extracting fit parameters...

4FGL J0058.0-3233
   Spectrum: LogParabola
196         norm:  2.951e-02  3.755e-02  1.000e-04  1.000e+04 ( 1.000e-12)
197        alpha:  5.000e+00  1.668e-05  0.000e+00  5.000e+00 ( 1.000e+00)
198         beta:  1.485e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
199           Eb:  9.938e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  8.367e-01  1.819e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  8.305e-01  1.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.23
Ra Dec: 14.513 -32.566
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 3.86e-08 +/- 4.89e-08
Energy Flux (Free Index): 5.38e-06 +/- 6.83e-06

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/117291/cmap_HighResolution_679708801_679968001_4FGL_J0058.0-3233_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-05', comment='SUCCESS', energy_flux2='5.38e-06', dlogl='5.08e-01', photon_flux2='3.86e-08', job_status='DONE', time_completed='2022-07-20 08:45:36.844728', photon_index_error2='0.00', photon_index2='5.00', ts='0.15', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='5.11e-08', energy_flux_error2='6.83e-06', EG='0.88', time_epoch_completed='1658331936.84', return_code='0', job_id='117291', GAL2='0.84', EG2='0.83', return_code2='0', photon_flux_error2='4.89e-08', ts2='1.23', photon_index='1.92' WHERE bin_id='1699' AND source_name='4FGL J0058.0-3233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 08:45:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 117291: <4FGL_J0058.0-3233_daily_bin1699> in cluster <slac> Done

Job <4FGL_J0058.0-3233_daily_bin1699> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jul 20 08:30:19 2022
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 08:30:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 08:30:19 2022
Terminated at Wed Jul 20 08:45:37 2022
Results reported at Wed Jul 20 08:45:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0058.0-3233_daily_bin1699 14.5132 -32.5658 679708801 679968001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0058.0-3233 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   712.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             242.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            918 sec.

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

