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


Performing analysis on: 4FGL_J0940.0-2828_daily_bin1710
RA = 145.012, Dec = -28.4803
tmin = 682560001, tmax = 682819201
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='83240', job_status='RUN', time_executed='2022-09-16 14:48:24.263699', time_epoch_executed='1663364904.26' WHERE source_name='4FGL J0940.0-2828' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83240

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83240/ft1_4FGL_J0940.0-2828_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83240/ft2_4FGL_J0940.0-2828_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83240/ft1_4FGL_J0940.0-2828_daily_bin1710.fits outfile=/scratch/kocevski/83240/ft1_filteredMKT_4FGL_J0940.0-2828_daily_bin1710.fits ra=145.012 dec=-28.4803 rad=12.0 tmin=682560001.0 tmax=682819201.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.72
user 3.48
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/83240/ft2_4FGL_J0940.0-2828_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/83240/ft2_4FGL_J0940.0-2828_daily_bin1710.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/83240/ft1_filteredMKT_4FGL_J0940.0-2828_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/83240/ft1_filtered_4FGL_J0940.0-2828_daily_bin1710.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.53
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 1161

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83240/ft1_filtered_4FGL_J0940.0-2828_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/83240/ft2_4FGL_J0940.0-2828_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/83240/ltcube_682560001_682819201_4FGL_J0940.0-2828_daily_bin1710.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/83240/ft2_4FGL_J0940.0-2828_daily_bin1710.fits
.....................!
real 14.89
user 14.41
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83240/ft1_filtered_4FGL_J0940.0-2828_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/83240/ft2_4FGL_J0940.0-2828_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/83240/ltcube_682560001_682819201_4FGL_J0940.0-2828_daily_bin1710.fits outfile=/scratch/kocevski/83240/expmap_682560001_682819201_4FGL_J0940.0-2828_daily_bin1710.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/83240/ltcube_682560001_682819201_4FGL_J0940.0-2828_daily_bin1710.fits
.....................!
real 193.95
user 187.62
sys 5.90

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 Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 184 point sources and 3 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 J0940.0-2828 @ 145.012 -28.4803

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/83240/ft1_filtered_4FGL_J0940.0-2828_daily_bin1710.fits scfile=/scratch/kocevski/83240/ft2_4FGL_J0940.0-2828_daily_bin1710.fits outfile=/scratch/kocevski/83240/cmap_682560001_682819201_4FGL_J0940.0-2828_daily_bin1710.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=145.012 yref=-28.4803 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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83240/ft1_filtered_4FGL_J0940.0-2828_daily_bin1710.fits scfile=/scratch/kocevski/83240/ft2_4FGL_J0940.0-2828_daily_bin1710.fits outfile=/scratch/kocevski/83240/cmap_HighResolution_682560001_682819201_4FGL_J0940.0-2828_daily_bin1710.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=145.012 yref=-28.4803 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.57
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/83240/ft1_filtered_4FGL_J0940.0-2828_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/83240/ft2_4FGL_J0940.0-2828_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/83240/Model_4FGL_J0940.0-2828_daily_bin1710.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
adding source Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/scratch/kocevski/83240/ft1_filtered_4FGL_J0940.0-2828_daily_bin1710.fits.....................!
real 131.49
user 129.90
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83240/ft1_filtered_4FGL_J0940.0-2828_daily_bin1710.fits', '/scratch/kocevski/83240/ft2_4FGL_J0940.0-2828_daily_bin1710.fits', expMap='/scratch/kocevski/83240/expmap_682560001_682819201_4FGL_J0940.0-2828_daily_bin1710.fits', expCube='/scratch/kocevski/83240/ltcube_682560001_682819201_4FGL_J0940.0-2828_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83240/Model_4FGL_J0940.0-2828_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0940.0-2828'

4FGL J0940.0-2828
   Spectrum: LogParabola
327         norm:  1.600e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.330e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  1.766e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  7.494e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/83240/ft1_filtered_4FGL_J0940.0-2828_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/83240/ft2_4FGL_J0940.0-2828_daily_bin1710.fits
Exposure map: /scratch/kocevski/83240/expmap_682560001_682819201_4FGL_J0940.0-2828_daily_bin1710.fits
Exposure cube: /scratch/kocevski/83240/ltcube_682560001_682819201_4FGL_J0940.0-2828_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83240/Model_4FGL_J0940.0-2828_daily_bin1710.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) = 12046.016804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1469       1.0000          .0000       .10000E+07
     2 'Prefactor '    .22473E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .19006E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    82.938       1.0000          .0000       .10000E+07
     5 'Prefactor '    .48703E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .44108E-02   1.0000          .0000       .10000E+07
     7 'norm      '    3.5740       1.0000          .0000       .10000E+07
     8 'norm      '    .23564E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .27267E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .46403E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .32641E-06   1.0000          .0000       .10000E+07
    12 'norm      '    4.6704       1.0000          .0000       .10000E+07
    13 'norm      '    .15528E-05   1.0000          .0000       .10000E+07
    14 'Normalizat'    .77133       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0413       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12045.93     FROM MIGRAD    STATUS=CONVERGED    167 CALLS      874 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        334.98        .22353E-07** at limit **
   2  Prefactor      .0000        4.1709       -.43325E-08** at limit **
   3  Prefactor      .0000        3.4863        .97036E-08** at limit **
   4  Prefactor     80.695        33.656       -.11808E-06    .26132E-03
   5  Prefactor     .11102E-09    90.566       -.12238E-06** at limit **
   6  norm          .22204E-09    2146.4       -.97287E-05** at limit **
   7  norm          3.5487        7.3368        .22464E-07    .26518E-04
   8  norm           .0000        .26446       -.39648E-08** at limit **
   9  norm           .0000        1.3942        .18714E-07** at limit **
  10  Prefactor      .0000        20.783        .28557E-07** at limit **
  11  Prefactor      .0000        2.3340       -.75314E-08** at limit **
  12  norm          4.6195        6.1095       -.20146E-07    .26053E-04
  13  norm           .0000        2.3612        .44310E-07** at limit **
  14  Normalizat    .77365        .18152       -.16862E-06    .12791E-03
  15  Prefactor     1.0413        .71280E-01    .45688E-07    .33495E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 80.6952
  Prefactor  = 1.11022e-10
  norm       = 2.22045e-10
  norm       = 3.54872
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.61947
  norm       = 0
  Normalizat = 0.773649
  Prefactor  = 1.04132
 **********
 **   18 **HESSE 
 **********

 FCN=   12045.93     FROM HESSE     STATUS=OK           220 CALLS     1094 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        334.47        .70302E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        4.1619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        3.5031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     80.695        34.086        .10981E-03   -1.5528    
   5  Prefactor     .11102E-09    5.6674        .87927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .22204E-09    3.5539        .58166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.5487        7.3888        .53432E-03   -1.5670    
   8  norm           .0000        .26416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.4092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        20.140        .15687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.3458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.6195        6.1385        .46543E-03   -1.5665    
  13  norm           .0000        2.3831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .77365        .16686        .93237E-01   -1.0105    
  15  Prefactor     1.0413        .64911E-01    .40447E-01   -.91365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22387e-10
Minuit parameter uncertainties:
  1  4.76772e-05
  2  1.85169e-06
  3  1.03173e-06
  4  34.0861
  5  4.41469e-05
  6  5.84403e-05
  7  7.38879
  8  1.64276e-07
  9  2.16423e-07
  10  2.22374e-06
  11  8.27994e-06
  12  6.13847
  13  6.68913e-06
  14  0.166969
  15  0.0649157
Done.

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

Extracting fit parameters...

4FGL J0940.0-2828
   Spectrum: LogParabola
327         norm:  2.220e-10  5.844e-05  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  2.330e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
329         beta:  1.766e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  7.494e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  1.041e+00  6.492e-02  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  7.736e-01  1.670e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 145.012 -28.480
Photon Flux Upper Limit: 6.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.38e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/83240/likelihoodResults_682560001_682819201_4FGL_J0940.0-2828_daily_bin1710.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) = 12045.9534633
delta logL = -0.0204325802715

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12045.8016303
delta logL = 0.131400489647

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .80314       1.0000          .0000       .10000E+07
     2 'alpha     '    3.4668       1.0000          .0000       5.0000    
     3 'Normalizat'    .75105       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0442       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12045.80     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      217 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .80426        52.302        .52701E-03    .26426E-01
   2  alpha         3.4657        3.0532        .45938        .81827E-04
   3  Normalizat    .75115        .43168E-01    .94522E-01    .38268E-04
   4  Prefactor     1.0442        .16773E-01    .40261E-01   -.34642E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.804261
  alpha      = 3.46567
  Normalizat = 0.751153
  Prefactor  = 1.04418
 **********
 **   18 **HESSE 
 **********

 FCN=   12045.80     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      250 TOTAL
                     EDM=   .63E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .80426        152.38        .18595E-04   -1.5690    
   2  alpha         3.4657        3.9923        .44726E-01    .39658    
   3  Normalizat    .75115        .18495        .41881E-03   -1.0191    
   4  Prefactor     1.0442        .73745E-01    .14437E-03   -.91271    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.28786e-06
Minuit parameter uncertainties:
  1  22.1412
  2  17.571
  3  0.185101
  4  0.0737526
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83240': 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) = 12045.80163
delta logL = 0.131400748784

Extracting fit parameters...

4FGL J0940.0-2828
   Spectrum: LogParabola
327         norm:  8.043e-01  2.214e+01  0.000e+00  1.000e+06 ( 1.000e-12)
328        alpha:  3.466e+00  1.757e+01  0.000e+00  5.000e+00 ( 1.000e+00)
329         beta:  1.766e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
330           Eb:  7.494e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  1.044e+00  7.375e-02  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  7.512e-01  1.851e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 145.012 -28.480

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/83240/cmap_HighResolution_682560001_682819201_4FGL_J0940.0-2828_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.38e-05', job_status='DONE', photon_flux_upper_limit='6.71e-08', time_completed='2022-09-16 15:00:40.664132', job_id='83240', GAL2='1.04', fit_tolerance='1e-08', EG2='0.75', EG='0.77', time_epoch_completed='1663365640.66', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.31e-01', ts2='0.28', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1710' AND source_name='4FGL J0940.0-2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:00:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 83240: <4FGL_J0940.0-2828_daily_bin1710> in cluster <slac> Done

Job <4FGL_J0940.0-2828_daily_bin1710> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 14:45:27 2022
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:46:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:46:33 2022
Terminated at Fri Sep 16 15:00:41 2022
Results reported at Fri Sep 16 15:00:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0940.0-2828_daily_bin1710 145.012 -28.4803 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0940.0-2828 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   738.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             340.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            914 sec.

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

