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 132 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_J0939.3-1732_daily_bin1711
RA = 144.836, Dec = -17.5418
tmin = 682819201, tmax = 683078401
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='83228', job_status='RUN', time_executed='2022-09-16 14:48:45.382078', time_epoch_executed='1663364925.38' WHERE source_name='4FGL J0939.3-1732' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83228

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83228/ft1_4FGL_J0939.3-1732_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83228/ft2_4FGL_J0939.3-1732_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83228/ft1_4FGL_J0939.3-1732_daily_bin1711.fits outfile=/scratch/kocevski/83228/ft1_filteredMKT_4FGL_J0939.3-1732_daily_bin1711.fits ra=144.836 dec=-17.5418 rad=12.0 tmin=682819201.0 tmax=683078401.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 4.58
user 4.32
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/83228/ft2_4FGL_J0939.3-1732_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/83228/ft2_4FGL_J0939.3-1732_daily_bin1711.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/83228/ft1_filteredMKT_4FGL_J0939.3-1732_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/83228/ft1_filtered_4FGL_J0939.3-1732_daily_bin1711.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 846

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83228/ft1_filtered_4FGL_J0939.3-1732_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/83228/ft2_4FGL_J0939.3-1732_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/83228/ltcube_682819201_683078401_4FGL_J0939.3-1732_daily_bin1711.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/83228/ft2_4FGL_J0939.3-1732_daily_bin1711.fits
.....................!
real 12.98
user 12.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83228/ft1_filtered_4FGL_J0939.3-1732_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/83228/ft2_4FGL_J0939.3-1732_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/83228/ltcube_682819201_683078401_4FGL_J0939.3-1732_daily_bin1711.fits outfile=/scratch/kocevski/83228/expmap_682819201_683078401_4FGL_J0939.3-1732_daily_bin1711.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/83228/ltcube_682819201_683078401_4FGL_J0939.3-1732_daily_bin1711.fits
.....................!
real 191.32
user 184.98
sys 5.61

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

Setting source of interest to:
4FGL J0939.3-1732 @ 144.836 -17.5418

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/83228/ft1_filtered_4FGL_J0939.3-1732_daily_bin1711.fits scfile=/scratch/kocevski/83228/ft2_4FGL_J0939.3-1732_daily_bin1711.fits outfile=/scratch/kocevski/83228/cmap_682819201_683078401_4FGL_J0939.3-1732_daily_bin1711.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=144.836 yref=-17.5418 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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83228/ft1_filtered_4FGL_J0939.3-1732_daily_bin1711.fits scfile=/scratch/kocevski/83228/ft2_4FGL_J0939.3-1732_daily_bin1711.fits outfile=/scratch/kocevski/83228/cmap_HighResolution_682819201_683078401_4FGL_J0939.3-1732_daily_bin1711.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=144.836 yref=-17.5418 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/83228/ft1_filtered_4FGL_J0939.3-1732_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/83228/ft2_4FGL_J0939.3-1732_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/83228/Model_4FGL_J0939.3-1732_daily_bin1711.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/83228/ft1_filtered_4FGL_J0939.3-1732_daily_bin1711.fits.....................!
real 91.43
user 89.93
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83228/ft1_filtered_4FGL_J0939.3-1732_daily_bin1711.fits', '/scratch/kocevski/83228/ft2_4FGL_J0939.3-1732_daily_bin1711.fits', expMap='/scratch/kocevski/83228/expmap_682819201_683078401_4FGL_J0939.3-1732_daily_bin1711.fits', expCube='/scratch/kocevski/83228/ltcube_682819201_683078401_4FGL_J0939.3-1732_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83228/Model_4FGL_J0939.3-1732_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0939.3-1732'

4FGL J0939.3-1732
   Spectrum: PowerLaw
260    Prefactor:  3.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  1.278e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/83228/ft1_filtered_4FGL_J0939.3-1732_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/83228/ft2_4FGL_J0939.3-1732_daily_bin1711.fits
Exposure map: /scratch/kocevski/83228/expmap_682819201_683078401_4FGL_J0939.3-1732_daily_bin1711.fits
Exposure cube: /scratch/kocevski/83228/ltcube_682819201_683078401_4FGL_J0939.3-1732_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83228/Model_4FGL_J0939.3-1732_daily_bin1711.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) = 9098.88113923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93947E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .81756       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.8772       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17219E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .86709E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40762E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .62133E-04   1.0000          .0000       .10000E+07
     8 'norm      '    4.8485       1.0000          .0000       .10000E+07
     9 'norm      '    4.6879       1.0000          .0000       .10000E+07
    10 'norm      '    .37333E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .68192E-04   1.0000          .0000       .10000E+07
    12 'norm      '    1.4339       1.0000          .0000       .10000E+07
    13 'norm      '    .16569E-03   1.0000          .0000       .10000E+07
    14 'norm      '    2.9384       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.3753       1.0000          .0000       .10000E+07
    16 'Normalizat'    .70439       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1219       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9098.818     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      964 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .95921        .92890E-07** at limit **
   2  Prefactor     .79120        .74106       -.31593E-07    .82735E-01
   3  Prefactor     5.8710        5.9176        .49263E-07   -.51494E-03
   4  Prefactor     .30198E-07    40.553        .27451E-06** at limit **
   5  Prefactor     .93758E-07    72.772        .93513E-06** at limit **
   6  Prefactor     .54956E-08    11.657        .24487E-06** at limit **
   7  Prefactor     .28866E-08    9.2379        .19336E-06** at limit **
   8  norm          4.8277        4.8248        .45304E-07    .12698E-02
   9  norm          4.6876        5.0889        .64162E-07    .12918E-02
  10  norm           .0000        3.2324       -.18461E-07** at limit **
  11  norm          .55511E-10    5.3603       -.19597E-06** at limit **
  12  norm          1.4338        1.2836       -.12935E-08   -.64461E-03
  13  norm          .55511E-10    2.6697        .92116E-07** at limit **
  14  norm          2.9378        1.2586       -.42220E-08   -.26765E-02
  15  Prefactor     9.3999        6.2113        .10089E-06    .30590E-02
  16  Normalizat    .70446        .18718       -.38676E-06   -.17013E-03
  17  Prefactor     1.1219        .10958       -.11574E-05   -.40660E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0.791199
  Prefactor  = 5.87103
  Prefactor  = 3.01981e-08
  Prefactor  = 9.37583e-08
  Prefactor  = 5.4956e-09
  Prefactor  = 2.88658e-09
  norm       = 4.82772
  norm       = 4.68757
  norm       = 0
  norm       = 5.55112e-11
  norm       = 1.43382
  norm       = 5.55112e-11
  norm       = 2.93779
  Prefactor  = 9.39989
  Normalizat = 0.704457
  Prefactor  = 1.12188
 **********
 **   18 **HESSE 
 **********

 FCN=   9098.818     FROM HESSE     STATUS=OK           255 CALLS     1219 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .96738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .79120        18.291        .51635E-03   -1.5690    
   3  Prefactor     5.8710        5.9229        .41400E-03   -1.5660    
   4  Prefactor     .30198E-07    40.564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .93758E-07    72.645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .54956E-08    11.692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .28866E-08    9.2383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.8277        4.8240        .45661E-03   -1.5664    
   9  norm          4.6876        5.1014        .46454E-03   -1.5665    
  10  norm           .0000        3.2036        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    5.3587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4338        1.2661        .90138E-03   -1.5684    
  13  norm          .55511E-10    2.6685        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.9378        1.2626        .59227E-03   -1.5674    
  15  Prefactor     9.3999        6.2215        .32706E-03   -1.5647    
  16  Normalizat    .70446        .16577        .77897E-01   -1.0372    
  17  Prefactor     1.1219        .96563E-01    .36810E-01   -.88770    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.24919e-07
Minuit parameter uncertainties:
  1  9.83939e-06
  2  7.6084
  3  5.9229
  4  0.00221419
  5  0.00522013
  6  0.000507978
  7  0.000326438
  8  4.82397
  9  5.10145
  10  3.43288e-06
  11  3.81915e-05
  12  1.26608
  13  2.06313e-05
  14  1.2626
  15  6.22154
  16  0.16589
  17  0.0965784
Done.

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

Extracting fit parameters...

4FGL J0939.3-1732
   Spectrum: PowerLaw
260    Prefactor:  2.887e-09  3.264e-04  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  1.278e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  1.122e+00  9.658e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  7.045e-01  1.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.836 -17.542
Photon Flux Upper Limit: 5.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/83228/likelihoodResults_682819201_683078401_4FGL_J0939.3-1732_daily_bin1711.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) = 9098.87264944
delta logL = -0.0544412596428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9098.81820883
delta logL = -6.49706635159e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15887E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0370       1.0000          .0000       10.000    
     3 'Normalizat'    .70437       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9098.818     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      203 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        11.078        .66297E-07** at limit **
   2  Index         1.8991        2.1559        .28475E-06     .0000    
   3  Normalizat    .70446        .18281        .79034E-05   -.46345E-04
   4  Prefactor     1.1219        .10903       -.47057E-05   -.28833E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.8991
  Normalizat = 0.704457
  Prefactor  = 1.12188
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9098.818     FROM HESSE     STATUS=FAILED        11 CALLS      214 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        11.058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .37893        1.7740        .28475E-06   -.66897    
   3  Normalizat    .70446        1.0441        .79034E-05   -1.0372    
   4  Prefactor     1.1219        1.1355       -.47057E-05   -.88770    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.5109e-12
Minuit parameter uncertainties:
  1  9.39624e-06
  2  1.59801
  3  1.07597
  4  1.16157
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83228': 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): 101
logL (Free Index) = 9098.81820818
delta logL = 1.78260961547e-10

Extracting fit parameters...

4FGL J0939.3-1732
   Spectrum: PowerLaw
260    Prefactor:  0.000e+00  9.396e-06  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  1.899e+00  1.598e+00  0.000e+00  1.000e+01 (-1.000e+00)
262        Scale:  1.278e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  1.122e+00  1.162e+00  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  7.045e-01  1.076e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.836 -17.542

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/83228/cmap_HighResolution_682819201_683078401_4FGL_J0939.3-1732_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.69e-08', time_completed='2022-09-16 14:58:27.593222', job_id='83228', GAL2='1.12', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1663365507.59', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.78e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1711' AND source_name='4FGL J0939.3-1732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:58:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 83228: <4FGL_J0939.3-1732_daily_bin1711> in cluster <slac> Done

Job <4FGL_J0939.3-1732_daily_bin1711> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 14:45:26 2022
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:46:24 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:24 2022
Terminated at Fri Sep 16 14:58:28 2022
Results reported at Fri Sep 16 14:58:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0939.3-1732_daily_bin1711 144.836 -17.5418 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0939.3-1732 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   584.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             297.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   723 sec.
    Turnaround time :                            782 sec.

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

