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


Performing analysis on: 4FGL_J0058.0-3233_daily_bin1696
RA = 14.5132, Dec = -32.5658
tmin = 678931201, tmax = 679190401
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='785009', job_status='RUN', time_executed='2022-07-11 00:05:22.354051', time_epoch_executed='1657523122.35' WHERE source_name='4FGL J0058.0-3233' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785009

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785009/ft1_4FGL_J0058.0-3233_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785009/ft2_4FGL_J0058.0-3233_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785009/ft1_4FGL_J0058.0-3233_daily_bin1696.fits outfile=/scratch/kocevski/785009/ft1_filteredMKT_4FGL_J0058.0-3233_daily_bin1696.fits ra=14.5132 dec=-32.5658 rad=12.0 tmin=678931201.0 tmax=679190401.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.67
user 3.34
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/785009/ft2_4FGL_J0058.0-3233_daily_bin1696.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/785009/ft1_filteredMKT_4FGL_J0058.0-3233_daily_bin1696.fits evtable="EVENTS" outfile="/scratch/kocevski/785009/ft1_filtered_4FGL_J0058.0-3233_daily_bin1696.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.51
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 516

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785009/ft1_filtered_4FGL_J0058.0-3233_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/785009/ft2_4FGL_J0058.0-3233_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/785009/ltcube_678931201_679190401_4FGL_J0058.0-3233_daily_bin1696.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/785009/ft2_4FGL_J0058.0-3233_daily_bin1696.fits
.....................!
real 12.28
user 11.90
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785009/ft1_filtered_4FGL_J0058.0-3233_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/785009/ft2_4FGL_J0058.0-3233_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/785009/ltcube_678931201_679190401_4FGL_J0058.0-3233_daily_bin1696.fits outfile=/scratch/kocevski/785009/expmap_678931201_679190401_4FGL_J0058.0-3233_daily_bin1696.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/785009/ltcube_678931201_679190401_4FGL_J0058.0-3233_daily_bin1696.fits
.....................!
real 190.13
user 185.80
sys 3.98

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/785009/ft1_filtered_4FGL_J0058.0-3233_daily_bin1696.fits scfile=/scratch/kocevski/785009/ft2_4FGL_J0058.0-3233_daily_bin1696.fits outfile=/scratch/kocevski/785009/cmap_678931201_679190401_4FGL_J0058.0-3233_daily_bin1696.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 2.54
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785009/ft1_filtered_4FGL_J0058.0-3233_daily_bin1696.fits scfile=/scratch/kocevski/785009/ft2_4FGL_J0058.0-3233_daily_bin1696.fits outfile=/scratch/kocevski/785009/cmap_HighResolution_678931201_679190401_4FGL_J0058.0-3233_daily_bin1696.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 1.45
user 0.38
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/785009/ft1_filtered_4FGL_J0058.0-3233_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/785009/ft2_4FGL_J0058.0-3233_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/785009/Model_4FGL_J0058.0-3233_daily_bin1696.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/785009/ft1_filtered_4FGL_J0058.0-3233_daily_bin1696.fits.....................!
real 62.72
user 44.85
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/785009/ft1_filtered_4FGL_J0058.0-3233_daily_bin1696.fits', '/scratch/kocevski/785009/ft2_4FGL_J0058.0-3233_daily_bin1696.fits', expMap='/scratch/kocevski/785009/expmap_678931201_679190401_4FGL_J0058.0-3233_daily_bin1696.fits', expCube='/scratch/kocevski/785009/ltcube_678931201_679190401_4FGL_J0058.0-3233_daily_bin1696.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/785009/Model_4FGL_J0058.0-3233_daily_bin1696.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/785009/ft1_filtered_4FGL_J0058.0-3233_daily_bin1696.fits
Spacecraft file(s): /scratch/kocevski/785009/ft2_4FGL_J0058.0-3233_daily_bin1696.fits
Exposure map: /scratch/kocevski/785009/expmap_678931201_679190401_4FGL_J0058.0-3233_daily_bin1696.fits
Exposure cube: /scratch/kocevski/785009/ltcube_678931201_679190401_4FGL_J0058.0-3233_daily_bin1696.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/785009/Model_4FGL_J0058.0-3233_daily_bin1696.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) = 5640.54593616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.079       1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.417       1.0000         .10000E-03   10000.    
     7 'norm      '    51.253       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10130E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.1337       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.6310       1.0000         .10000E-03   10000.    
    17 'norm      '    2.6205       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.3877       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.1613       1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.953       1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    19.788       1.0000         .10000E-03   10000.    
    23 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1574       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .53998       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=   5640.527     FROM MIGRAD    STATUS=CONVERGED    564 CALLS     2860 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .80507        .79151E-08** at limit **
   2  Prefactor     .10000E-03    5.3336        .53763E-06** at limit **
   3  Prefactor     .10000E-03    11.206       -.40896E-06** at limit **
   4  Prefactor     .10000E-03    14.340        .34897E-06** at limit **
   5  Prefactor     10.080        6.6050        .58119E-06   -.30046E-03
   6  Prefactor     32.413        29.386       -.13161E-05   -.15861E-03
   7  norm          51.253        10.132       -.23642E-07    .95156E-05
   8  Prefactor     .10000E-03    7.1418        .29498E-06** at limit **
   9  norm          .10000E-03    27.776       -.95646E-07** at limit **
  10  norm          .10000E-03    3.7268       -.13501E-08** at limit **
  11  norm          .10000E-03    .78761        .44367E-08** at limit **
  12  Prefactor     .10000E-03    5.3613       -.71676E-06** at limit **
  13  Prefactor     4.1298        13.152        .92568E-07   -.33556E-04
  14  Prefactor     .10000E-03    5.4781        .19712E-07** at limit **
  15  Prefactor     .10000E-03    1.6205        .11677E-07** at limit **
  16  norm          2.6298        2.5017       -.16339E-06   -.12074E-04
  17  norm          2.6205        1.9469        .11202E-07   -.10909E-04
  18  Prefactor     6.3872        6.4770       -.97648E-06    .39059E-03
  19  Prefactor     2.1631        7.1047        .11216E-05   -.97904E-04
  20  Prefactor     22.947        23.292       -.12330E-05   -.22782E-03
  21  norm          .10000E-03    .90260       -.17750E-07** at limit **
  22  Prefactor     19.788        5.5795        .52964E-07   -.15240E-04
  23  norm          .10000E-03    1.8850        .30827E-07** at limit **
  24  Normalizat    1.1575        .16387        .12787E-06   -.14519E-05
  25  Prefactor     .53984        .17935       -.10811E-06    .11912E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.0797
  Prefactor  = 32.413
  norm       = 51.2534
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.12977
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.62983
  norm       = 2.62048
  Prefactor  = 6.38715
  Prefactor  = 2.16312
  Prefactor  = 22.9467
  norm       = 0.0001
  Prefactor  = 19.7876
  norm       = 0.0001
  Normalizat = 1.15751
  Prefactor  = 0.539835
 **********
 **   18 **HESSE 
 **********

 FCN=   5640.527     FROM HESSE     STATUS=OK           419 CALLS     3279 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .80617        .65806E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.4231        .17080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.080        6.6167        .63106E-03   -1.5073    
   6  Prefactor     32.413        29.770        .70377E-04   -1.4569    
   7  norm          51.253        10.138        .56019E-04   -1.4275    
   8  Prefactor     .10000E-03    7.2743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    28.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.7277        .14160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .79029        .65087E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.6315        .17195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1298        13.167        .19826E-03   -1.5302    
  14  Prefactor     .10000E-03    5.4992        .17164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.6649        .18658E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.6298        2.4828        .10430E-03   -1.5384    
  17  norm          2.6205        1.9427        .87386E-04   -1.5384    
  18  Prefactor     6.3872        6.7091        .79404E-03   -1.5202    
  19  Prefactor     2.1631        7.1871        .28018E-03   -1.5414    
  20  Prefactor     22.947        24.322        .83608E-04   -1.4750    
  21  norm          .10000E-03    .91087        .69630E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     19.788        5.5897        .88922E-04   -1.4818    
  23  norm          .10000E-03    1.9575        .20123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1575        .18896        .20087E-03   -.87926    
  25  Prefactor     .53984        .20505        .31896E-03   -1.1018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45734e-10
Minuit parameter uncertainties:
  1  4.75222e-08
  2  5.75494e-05
  3  6.76077e-05
  4  6.723e-05
  5  6.61718
  6  29.7838
  7  10.1382
  8  3.97158e-05
  9  7.70909e-06
  10  3.77624e-07
  11  2.22447e-07
  12  7.55813e-05
  13  13.1762
  14  1.54985e-06
  15  3.83096e-07
  16  2.48285
  17  1.94278
  18  6.70993
  19  7.18997
  20  24.3326
  21  1.05876e-06
  22  5.5899
  23  1.03974e-06
  24  0.189074
  25  0.205337
Done.

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

Extracting fit parameters...

4FGL J0058.0-3233
   Spectrum: LogParabola
196         norm:  1.000e-04  2.224e-07  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:  5.398e-01  2.053e-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:  1.158e+00  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/785009/likelihoodResults_678931201_679190401_4FGL_J0058.0-3233_daily_bin1696.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) = 5640.52737596
delta logL = -2.30964360526e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5640.52737577
delta logL = -3.88781700167e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9133       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1575       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53983       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5640.527     FROM MIGRAD    STATUS=FAILED        82 CALLS      227 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    1.0646        .65093E-03** at limit **
   2  alpha         1.8883        3.3188        .17074        .38689E-05
   3  Normalizat    1.1575        .17992        .20087E-03   -.49239E-05
   4  Prefactor     .53984        .20205        .31896E-03   -.92672E-06
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5640.527     FROM SIMPLEX   STATUS=UNCHANGED    123 CALLS      350 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    1.0646        .86998E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8883        3.3188        .72832E-03   -.24718    
   3  Normalizat    1.1575        .17992        .63202E-04   -.87926    
   4  Prefactor     .53984        .20205        .11035E-03   -1.1018    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5640.527     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      377 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .79140        .13019E-03** at limit **
   2  alpha         1.8595        3.8269        .68294E-02   -.18211E-06
   3  Normalizat    1.1575        .18008        .80348E-05    .12451E-04
   4  Prefactor     .53983        .20223        .12758E-04    .58811E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.85951
  Normalizat = 1.15751
  Prefactor  = 0.539835
 **********
 **   18 **HESSE 
 **********

 FCN=   5640.527     FROM HESSE     STATUS=OK            23 CALLS      400 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .79140        .26037E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8595        3.8058        .13659E-02   -.25909    
   3  Normalizat    1.1575        .18016        .16070E-05   -.87926    
   4  Prefactor     .53983        .20230        .25517E-05   -1.1018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22517e-10
Minuit parameter uncertainties:
  1  1.77796e-05
  2  130.63
  3  0.180254
  4  0.202575
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785009': 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) = 5640.52737565
delta logL = 8.73542376212e-08

Extracting fit parameters...

4FGL J0058.0-3233
   Spectrum: LogParabola
196         norm:  1.000e-04  1.778e-05  1.000e-04  1.000e+04 ( 1.000e-12)
197        alpha:  1.860e+00  1.306e+02  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:  5.398e-01  2.026e-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:  1.158e+00  1.803e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 14.513 -32.566

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/785009/cmap_HighResolution_678931201_679190401_4FGL_J0058.0-3233_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.80e-05', job_status='DONE', photon_flux_upper_limit='2.70e-08', time_completed='2022-07-11 00:17:22.350429', job_id='785009', GAL2='0.54', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1657523842.35', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.54', dlogl='8.74e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1696' AND source_name='4FGL J0058.0-3233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:17:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 785009: <4FGL_J0058.0-3233_daily_bin1696> in cluster <slac> Done

Job <4FGL_J0058.0-3233_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:04:42 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:04:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:04:44 2022
Terminated at Mon Jul 11 00:17:22 2022
Results reported at Mon Jul 11 00:17:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0058.0-3233_daily_bin1696 14.5132 -32.5658 678931201 679190401 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 :                                   683.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             357.52 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.

