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 77 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7460
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0238.4-3116_daily_bin1745
RA = 39.6209, Dec = -31.2828
tmin = 691632001, tmax = 691891201
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='637189', job_status='RUN', time_executed='2022-12-05 00:06:40.368213', time_epoch_executed='1670227600.37' WHERE source_name='4FGL J0238.4-3116' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/637189

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/637189/ft1_4FGL_J0238.4-3116_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/637189/ft2_4FGL_J0238.4-3116_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/637189/ft1_4FGL_J0238.4-3116_daily_bin1745.fits outfile=/scratch/kocevski/637189/ft1_filteredMKT_4FGL_J0238.4-3116_daily_bin1745.fits ra=39.6209 dec=-31.2828 rad=12.0 tmin=691632001.0 tmax=691891201.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.50
user 2.14
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/637189/ft2_4FGL_J0238.4-3116_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/637189/ft2_4FGL_J0238.4-3116_daily_bin1745.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/637189/ft1_filteredMKT_4FGL_J0238.4-3116_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/637189/ft1_filtered_4FGL_J0238.4-3116_daily_bin1745.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.61
user 0.32
sys 0.19

Number of photons that the gtmktime cut: 450

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/637189/ft1_filtered_4FGL_J0238.4-3116_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/637189/ft2_4FGL_J0238.4-3116_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/637189/ltcube_691632001_691891201_4FGL_J0238.4-3116_daily_bin1745.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/637189/ft2_4FGL_J0238.4-3116_daily_bin1745.fits
.....................!
real 13.31
user 12.64
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/637189/ft1_filtered_4FGL_J0238.4-3116_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637189/ft2_4FGL_J0238.4-3116_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/637189/ltcube_691632001_691891201_4FGL_J0238.4-3116_daily_bin1745.fits outfile=/scratch/kocevski/637189/expmap_691632001_691891201_4FGL_J0238.4-3116_daily_bin1745.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/637189/ltcube_691632001_691891201_4FGL_J0238.4-3116_daily_bin1745.fits
.....................!
real 191.47
user 185.42
sys 5.39

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 173 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 J0238.4-3116 @ 39.6209 -31.2828

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/637189/ft1_filtered_4FGL_J0238.4-3116_daily_bin1745.fits scfile=/scratch/kocevski/637189/ft2_4FGL_J0238.4-3116_daily_bin1745.fits outfile=/scratch/kocevski/637189/cmap_691632001_691891201_4FGL_J0238.4-3116_daily_bin1745.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=39.6209 yref=-31.2828 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/637189/ft1_filtered_4FGL_J0238.4-3116_daily_bin1745.fits scfile=/scratch/kocevski/637189/ft2_4FGL_J0238.4-3116_daily_bin1745.fits outfile=/scratch/kocevski/637189/cmap_HighResolution_691632001_691891201_4FGL_J0238.4-3116_daily_bin1745.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=39.6209 yref=-31.2828 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/637189/ft1_filtered_4FGL_J0238.4-3116_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637189/ft2_4FGL_J0238.4-3116_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/637189/Model_4FGL_J0238.4-3116_daily_bin1745.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/637189/ft1_filtered_4FGL_J0238.4-3116_daily_bin1745.fits.....................!
real 99.41
user 98.02
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/637189/ft1_filtered_4FGL_J0238.4-3116_daily_bin1745.fits', '/scratch/kocevski/637189/ft2_4FGL_J0238.4-3116_daily_bin1745.fits', expMap='/scratch/kocevski/637189/expmap_691632001_691891201_4FGL_J0238.4-3116_daily_bin1745.fits', expCube='/scratch/kocevski/637189/ltcube_691632001_691891201_4FGL_J0238.4-3116_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/637189/Model_4FGL_J0238.4-3116_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0238.4-3116'

4FGL J0238.4-3116
   Spectrum: PowerLaw
285    Prefactor:  1.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  1.820e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.751e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/637189/ft1_filtered_4FGL_J0238.4-3116_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/637189/ft2_4FGL_J0238.4-3116_daily_bin1745.fits
Exposure map: /scratch/kocevski/637189/expmap_691632001_691891201_4FGL_J0238.4-3116_daily_bin1745.fits
Exposure cube: /scratch/kocevski/637189/ltcube_691632001_691891201_4FGL_J0238.4-3116_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/637189/Model_4FGL_J0238.4-3116_daily_bin1745.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) = 5160.51449419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7351       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17373E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10246E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.5113       1.0000          .0000       .10000E+07
     5 'Prefactor '    .30628E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .36820E-01   1.0000          .0000       .10000E+07
     7 'norm      '    3.5923       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.0374       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10416E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .22359E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19832E-03   1.0000          .0000       .10000E+07
    12 'norm      '    2.2653       1.0000          .0000       .10000E+07
    13 'norm      '    .33354       1.0000          .0000       .10000E+07
    14 'Prefactor '    .62059E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .44646E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0224       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .78726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5160.460     FROM MIGRAD    STATUS=CONVERGED    134 CALLS      949 TOTAL
                     EDM=   .53E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9636        59.150        .10935E-05    .22551E-02
   2  Prefactor     .17208E-08    4.5902        .33062E-08** at limit **
   3  Prefactor      .0000        3.7821        .41343E-06** at limit **
   4  Prefactor     9.4475        5.7377       -.68969E-07    .23783E-03
   5  Prefactor     .66613E-09    10.524       -.20144E-06** at limit **
   6  Prefactor      .0000        19.273       -.24577E-06** at limit **
   7  norm          3.5967        2.6292       -.29275E-07    .84128E-03
   8  Prefactor     1.9322        4.1628        .24842E-06   -.13522E-01
   9  Prefactor     .66613E-09    23.878        .18616E-06** at limit **
  10  Prefactor     .83267E-09    12.726       -.28706E-06** at limit **
  11  Prefactor      .0000        2.5362       -.73219E-07** at limit **
  12  norm          2.2616        1.5737       -.22707E-07    .14840E-03
  13  norm          .37037        3.9361       -.11357E-06    .50258E-04
  14  Prefactor      .0000        4.0488        .10531E-06** at limit **
  15  Prefactor      .0000        7.4790        .60329E-07** at limit **
  16  Normalizat    1.0227        .18366       -.69295E-06   -.58635E-05
  17  Prefactor     .78710        .20633        .20058E-06   -.24252E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.96365
  Prefactor  = 1.72085e-09
  Prefactor  = 0
  Prefactor  = 9.44751
  Prefactor  = 6.66134e-10
  Prefactor  = 0
  norm       = 3.59672
  Prefactor  = 1.93221
  Prefactor  = 6.66134e-10
  Prefactor  = 8.32667e-10
  Prefactor  = 0
  norm       = 2.26161
  norm       = 0.370366
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.02272
  Prefactor  = 0.787102
 **********
 **   18 **HESSE 
 **********

 FCN=   5160.460     FROM HESSE     STATUS=OK           251 CALLS     1200 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9636        60.214        .38640E-03   -1.5659    
   2  Prefactor     .17208E-08    11.378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        3.7857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.4475        5.7372        .32470E-03   -1.5646    
   5  Prefactor     .66613E-09    11.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        19.328        .16110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.5967        3.0049        .53290E-03   -1.5670    
   8  Prefactor     1.9322        118.14        .72429E-03   -1.5680    
   9  Prefactor     .66613E-09    23.828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .83267E-09    12.772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.5329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.2616        1.5892        .68216E-03   -1.5678    
  13  norm          .37037        3.8426        .97629E-03   -1.5696    
  14  Prefactor      .0000        4.0548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        11.361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0227        .15659        .43023E-01   -.92273    
  17  Prefactor     .78710        .17857        .43551E-01   -1.0021    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.74291e-08
Minuit parameter uncertainties:
  1  37.9001
  2  0.000280233
  3  8.29656e-06
  4  5.73722
  5  0.000167851
  6  2.39514e-05
  7  3.0049
  8  30.2173
  9  0.000250409
  10  0.000208304
  11  9.3133e-07
  12  1.58917
  13  2.38595
  14  2.20668e-06
  15  3.29073e-05
  16  0.156663
  17  0.1787
Done.

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

Extracting fit parameters...

4FGL J0238.4-3116
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  9.313e-07  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  1.820e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.751e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  7.871e-01  1.787e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  1.023e+00  1.567e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 39.621 -31.283
Photon Flux Upper Limit: 4.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/637189/likelihoodResults_691632001_691891201_4FGL_J0238.4-3116_daily_bin1745.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) = 5160.46191628
delta logL = -0.00188990465813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5160.46002638
delta logL = -5.8480509324e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17986E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.9748       1.0000          .0000       10.000    
     3 'Normalizat'    1.0227       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78709       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5160.452     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      291 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39246E-01    4.0512        .11705E-02** at limit **
   2  Index         3.0344        6.4862        .11365        .99401E-04
   3  Normalizat    1.0187        .15443E-01    .42978E-01    .10072E-03
   4  Prefactor     .78846        .17455E-01    .43549E-01    .20916E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0392458
  Index      = 3.03437
  Normalizat = 1.01866
  Prefactor  = 0.788463
 **********
 **   18 **HESSE 
 **********

 FCN=   5160.452     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39246E-01    96.129        .72215E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0344        5.2548        .23757E-01   -.40403    
   3  Normalizat    1.0187        .77470E-01    .20266E-03   -.92408    
   4  Prefactor     .78846        .89693E-01    .25575E-03   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.07415e-06
Minuit parameter uncertainties:
  1  3.88472
  2  29.41
  3  0.0774788
  4  0.0897094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/637189': 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): 102
logL (Free Index) = 5160.45158133
delta logL = 0.00844504493034

Extracting fit parameters...

4FGL J0238.4-3116
   Spectrum: PowerLaw
285    Prefactor:  3.925e-02  3.885e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  3.034e+00  2.941e+01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  2.751e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  7.885e-01  8.971e-02  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  1.019e+00  7.748e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 39.621 -31.283

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/637189/cmap_HighResolution_691632001_691891201_4FGL_J0238.4-3116_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2022-12-05 00:15:04.803007', job_id='637189', GAL2='0.79', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1670228104.8', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='8.45e-03', ts2='0.02', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1745' AND source_name='4FGL J0238.4-3116' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:15:04 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 637189: <4FGL_J0238.4-3116_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0238.4-3116_daily_bin1745> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec  5 00:05:02 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:05:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:05:03 2022
Terminated at Mon Dec  5 00:15:05 2022
Results reported at Mon Dec  5 00:15:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0238.4-3116_daily_bin1745 39.6209 -31.2828 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0238.4-3116 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   506.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             349.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   602 sec.
    Turnaround time :                            603 sec.

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

