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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin1747
RA = 141.005, Dec = 28.2755
tmin = 692150401, tmax = 692409601
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='794318', job_status='RUN', time_executed='2022-12-11 00:32:05.647788', time_epoch_executed='1670747525.65' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794318

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794318/ft1_4FGL_J0924.0+2816_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794318/ft2_4FGL_J0924.0+2816_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794318/ft1_4FGL_J0924.0+2816_daily_bin1747.fits outfile=/scratch/kocevski/794318/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1747.fits ra=141.005 dec=28.2755 rad=12.0 tmin=692150401.0 tmax=692409601.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.97
user 3.75
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/794318/ft2_4FGL_J0924.0+2816_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/794318/ft2_4FGL_J0924.0+2816_daily_bin1747.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/794318/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/794318/ft1_filtered_4FGL_J0924.0+2816_daily_bin1747.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.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 570

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794318/ft1_filtered_4FGL_J0924.0+2816_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/794318/ft2_4FGL_J0924.0+2816_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/794318/ltcube_692150401_692409601_4FGL_J0924.0+2816_daily_bin1747.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/794318/ft2_4FGL_J0924.0+2816_daily_bin1747.fits
.....................!
real 11.80
user 11.45
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794318/ft1_filtered_4FGL_J0924.0+2816_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/794318/ft2_4FGL_J0924.0+2816_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/794318/ltcube_692150401_692409601_4FGL_J0924.0+2816_daily_bin1747.fits outfile=/scratch/kocevski/794318/expmap_692150401_692409601_4FGL_J0924.0+2816_daily_bin1747.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/794318/ltcube_692150401_692409601_4FGL_J0924.0+2816_daily_bin1747.fits
.....................!
real 189.69
user 184.79
sys 4.57

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

Setting source of interest to:
4FGL J0924.0+2816 @ 141.005 28.2755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/794318/ft1_filtered_4FGL_J0924.0+2816_daily_bin1747.fits scfile=/scratch/kocevski/794318/ft2_4FGL_J0924.0+2816_daily_bin1747.fits outfile=/scratch/kocevski/794318/cmap_692150401_692409601_4FGL_J0924.0+2816_daily_bin1747.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=141.005 yref=28.2755 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794318/ft1_filtered_4FGL_J0924.0+2816_daily_bin1747.fits scfile=/scratch/kocevski/794318/ft2_4FGL_J0924.0+2816_daily_bin1747.fits outfile=/scratch/kocevski/794318/cmap_HighResolution_692150401_692409601_4FGL_J0924.0+2816_daily_bin1747.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=141.005 yref=28.2755 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794318/ft1_filtered_4FGL_J0924.0+2816_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/794318/ft2_4FGL_J0924.0+2816_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794318/Model_4FGL_J0924.0+2816_daily_bin1747.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/794318/ft1_filtered_4FGL_J0924.0+2816_daily_bin1747.fits.....................!
real 57.17
user 55.80
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/794318/ft1_filtered_4FGL_J0924.0+2816_daily_bin1747.fits', '/scratch/kocevski/794318/ft2_4FGL_J0924.0+2816_daily_bin1747.fits', expMap='/scratch/kocevski/794318/expmap_692150401_692409601_4FGL_J0924.0+2816_daily_bin1747.fits', expCube='/scratch/kocevski/794318/ltcube_692150401_692409601_4FGL_J0924.0+2816_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/794318/Model_4FGL_J0924.0+2816_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0924.0+2816'

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/794318/ft1_filtered_4FGL_J0924.0+2816_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/794318/ft2_4FGL_J0924.0+2816_daily_bin1747.fits
Exposure map: /scratch/kocevski/794318/expmap_692150401_692409601_4FGL_J0924.0+2816_daily_bin1747.fits
Exposure cube: /scratch/kocevski/794318/ltcube_692150401_692409601_4FGL_J0924.0+2816_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/794318/Model_4FGL_J0924.0+2816_daily_bin1747.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) = 6461.02346734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0684       1.0000          .0000       .10000E+07
     2 'Prefactor '    .49183E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    15.280       1.0000          .0000       .10000E+07
     4 'norm      '    .80745E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16740E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .12823E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .83577       1.0000          .0000       .10000E+07
     8 'norm      '    .40059E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20708E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.4271       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23870E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .88079E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.4497       1.0000          .0000       .10000E+07
    14 'Prefactor '    .20783E-05   1.0000          .0000       .10000E+07
    15 'norm      '    11.201       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2426       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .90188       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6460.964     FROM MIGRAD    STATUS=CONVERGED    132 CALLS      967 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0677        .60483        .82696E-08    .13572E-02
   2  Prefactor     .73905E-05    41.471        .51613E-06** at limit **
   3  Prefactor     15.129        15.531        .96410E-07    .88957E-02
   4  norm          .99365E-08    8.9886        .19344E-06** at limit **
   5  Prefactor     .13939E-06    23.899       -.13758E-06** at limit **
   6  norm           .0000        .48825       -.16165E-07** at limit **
   7  Prefactor     .30516        4.0713        .22912E-06   -.19530E-01
   8  norm          .40050E-05    101.48        .91886E-06** at limit **
   9  Prefactor      .0000        1.7799        .32241E-07** at limit **
  10  Prefactor     1.7304        26.198        .18860E-06    .37360E-01
  11  Prefactor     .55511E-10    15.304        .11145E-06** at limit **
  12  Prefactor     .55511E-10    3.1396        .12331E-07** at limit **
  13  Prefactor     4.4966        5.4606       -.78730E-07   -.99312E-03
  14  Prefactor      .0000        5.3496       -.89862E-07** at limit **
  15  norm          11.184        7.3564       -.31600E-08   -.29222E-03
  16  Normalizat    1.2448        .20225       -.10422E-06   -.16400E-03
  17  Prefactor     .90095        .19615       -.17251E-05   -.16568E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.06774
  Prefactor  = 7.39053e-06
  Prefactor  = 15.1294
  norm       = 9.9365e-09
  Prefactor  = 1.39389e-07
  norm       = 0
  Prefactor  = 0.305158
  norm       = 4.00496e-06
  Prefactor  = 0
  Prefactor  = 1.73043
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 4.49663
  Prefactor  = 0
  norm       = 11.1835
  Normalizat = 1.24477
  Prefactor  = 0.900954
 **********
 **   18 **HESSE 
 **********

 FCN=   6460.964     FROM HESSE     STATUS=OK           273 CALLS     1240 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0677        .61442        .10348E-02   -1.5687    
   2  Prefactor     .73905E-05    5.5911        .68954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.129        15.536        .25596E-03   -1.5630    
   4  norm          .99365E-08    9.0248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13939E-06    24.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .48877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .30516        647.32        .50306E-03   -1.5697    
   8  norm          .40050E-05    16.263        .61260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.7818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7304        86.647        .65662E-03   -1.5682    
  11  Prefactor     .55511E-10    15.374        .16794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    3.1458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4966        5.4731        .47713E-03   -1.5666    
  14  Prefactor      .0000        1.0275        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.184        7.3707        .29909E-03   -1.5641    
  16  Normalizat    1.2448        .17422        .51279E-01   -.85230    
  17  Prefactor     .90095        .16480        .45029E-01   -.96108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54377e-06
Minuit parameter uncertainties:
  1  0.614423
  2  0.0128563
  3  15.5362
  4  0.000598451
  5  0.00367167
  6  1.44675e-06
  7  28.1124
  8  0.0161412
  9  1.81492e-06
  10  24.49
  11  5.32098e-05
  12  2.24242e-05
  13  5.47312
  14  8.97662e-06
  15  7.37073
  16  0.174299
  17  0.164887
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  1.815e-06  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.010e-01  1.649e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.245e+00  1.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 6.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/794318/likelihoodResults_692150401_692409601_4FGL_J0924.0+2816_daily_bin1747.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) = 6460.96622401
delta logL = -0.00189926665098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6460.96432486
delta logL = -1.17861418403e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6460.964     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      277 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    .36155E-01    .42118E-03** at limit **
   2  Index         2.6825        8.2837        .50000       -.22737E-09
   3  Normalizat    1.2448        .57506E-03    .51279E-01    .16952E-03
   4  Prefactor     .90095        .56699E-03    .45017E-01   -.41932E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Index      = 2.68249
  Normalizat = 1.24478
  Prefactor  = 0.900947
 **********
 **   18 **HESSE 
 **********

 FCN=   6460.964     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      306 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    3.3183        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6825        8.6587        .50000       -.48194    
   3  Normalizat    1.2448        .54993E-02    .22671E-03   -.85230    
   4  Prefactor     .90095        .54218E-02    .25670E-03   -.96108    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.06745e-10
Minuit parameter uncertainties:
  1  6.53595e-05
  2  121168
  3  0.00549926
  4  0.00542182
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794318': 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) = 6460.96432474
delta logL = -8.18545231596e-10

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  3.331e-10  6.536e-05  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.682e+00  1.212e+05  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.009e-01  5.422e-03  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.245e+00  5.499e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 141.005 28.276

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/794318/cmap_HighResolution_692150401_692409601_4FGL_J0924.0+2816_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.10e-03', job_status='DONE', photon_flux_upper_limit='6.56e-08', time_completed='2022-12-11 00:40:10.646348', job_id='794318', GAL2='0.90', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1670748010.65', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-8.19e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1747' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 00:40:10 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 794318: <4FGL_J0924.0+2816_daily_bin1747> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 00:30:26 2022
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:30:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:30:27 2022
Terminated at Sun Dec 11 00:40:11 2022
Results reported at Sun Dec 11 00:40:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin1747 141.005 28.2755 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0924.0+2816 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   487.33 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             253.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   583 sec.
    Turnaround time :                            585 sec.

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

