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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1737
RA = 351.17, Dec = 31.2573
tmin = 689558401, tmax = 689817601
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='164303', job_status='RUN', time_executed='2022-11-11 01:01:21.805891', time_epoch_executed='1668157281.81' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164303

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164303/ft1_4FGL_J2324.6+3115_daily_bin1737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164303/ft2_4FGL_J2324.6+3115_daily_bin1737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164303/ft1_4FGL_J2324.6+3115_daily_bin1737.fits outfile=/scratch/kocevski/164303/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1737.fits ra=351.17 dec=31.2573 rad=12.0 tmin=689558401.0 tmax=689817601.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.81
user 3.44
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/164303/ft2_4FGL_J2324.6+3115_daily_bin1737.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/164303/ft2_4FGL_J2324.6+3115_daily_bin1737.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/164303/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1737.fits evtable="EVENTS" outfile="/scratch/kocevski/164303/ft1_filtered_4FGL_J2324.6+3115_daily_bin1737.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 1337

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/164303/ft1_filtered_4FGL_J2324.6+3115_daily_bin1737.fits" evtable="EVENTS" scfile=/scratch/kocevski/164303/ft2_4FGL_J2324.6+3115_daily_bin1737.fits sctable="SC_DATA" outfile=/scratch/kocevski/164303/ltcube_689558401_689817601_4FGL_J2324.6+3115_daily_bin1737.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/164303/ft2_4FGL_J2324.6+3115_daily_bin1737.fits
.....................!
real 14.07
user 13.61
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164303/ft1_filtered_4FGL_J2324.6+3115_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/164303/ft2_4FGL_J2324.6+3115_daily_bin1737.fits sctable="SC_DATA" expcube=/scratch/kocevski/164303/ltcube_689558401_689817601_4FGL_J2324.6+3115_daily_bin1737.fits outfile=/scratch/kocevski/164303/expmap_689558401_689817601_4FGL_J2324.6+3115_daily_bin1737.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/164303/ltcube_689558401_689817601_4FGL_J2324.6+3115_daily_bin1737.fits
.....................!
real 192.63
user 186.78
sys 4.96

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

Setting source of interest to:
4FGL J2324.6+3115 @ 351.17 31.2573

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/164303/ft1_filtered_4FGL_J2324.6+3115_daily_bin1737.fits scfile=/scratch/kocevski/164303/ft2_4FGL_J2324.6+3115_daily_bin1737.fits outfile=/scratch/kocevski/164303/cmap_689558401_689817601_4FGL_J2324.6+3115_daily_bin1737.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=351.17 yref=31.2573 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164303/ft1_filtered_4FGL_J2324.6+3115_daily_bin1737.fits scfile=/scratch/kocevski/164303/ft2_4FGL_J2324.6+3115_daily_bin1737.fits outfile=/scratch/kocevski/164303/cmap_HighResolution_689558401_689817601_4FGL_J2324.6+3115_daily_bin1737.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=351.17 yref=31.2573 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/164303/ft1_filtered_4FGL_J2324.6+3115_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/164303/ft2_4FGL_J2324.6+3115_daily_bin1737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/164303/Model_4FGL_J2324.6+3115_daily_bin1737.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/164303/ft1_filtered_4FGL_J2324.6+3115_daily_bin1737.fits.....................!
real 161.90
user 159.85
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/164303/ft1_filtered_4FGL_J2324.6+3115_daily_bin1737.fits', '/scratch/kocevski/164303/ft2_4FGL_J2324.6+3115_daily_bin1737.fits', expMap='/scratch/kocevski/164303/expmap_689558401_689817601_4FGL_J2324.6+3115_daily_bin1737.fits', expCube='/scratch/kocevski/164303/ltcube_689558401_689817601_4FGL_J2324.6+3115_daily_bin1737.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/164303/Model_4FGL_J2324.6+3115_daily_bin1737.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.6+3115'

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.967e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/164303/ft1_filtered_4FGL_J2324.6+3115_daily_bin1737.fits
Spacecraft file(s): /scratch/kocevski/164303/ft2_4FGL_J2324.6+3115_daily_bin1737.fits
Exposure map: /scratch/kocevski/164303/expmap_689558401_689817601_4FGL_J2324.6+3115_daily_bin1737.fits
Exposure cube: /scratch/kocevski/164303/ltcube_689558401_689817601_4FGL_J2324.6+3115_daily_bin1737.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/164303/Model_4FGL_J2324.6+3115_daily_bin1737.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 14157.0470081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13210E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41931E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .42188E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    17.723       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.3185       1.0000          .0000       .10000E+07
     6 'Prefactor '    23.291       1.0000          .0000       .10000E+07
     7 'norm      '    .26695E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    153.69       1.0000          .0000       .10000E+07
     9 'Prefactor '    .86937E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    1782.8       1.0000          .0000       .10000E+07
    11 'norm      '    .35794E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .40971E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .29456E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .12513E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .60216E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .72876E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    5.6050       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.4674       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0610       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14154.52     FROM MIGRAD    STATUS=CONVERGED    184 CALLS      964 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    39.333        .21111E-05** at limit **
   2  Prefactor     .55511E-10    15.266        .31244E-05** at limit **
   3  norm           .0000        .50189       -.13761E-05** at limit **
   4  Prefactor     17.986        14.234        .22998E-06    .10500E-02
   5  Prefactor     6.3619        5.6653       -.16065E-05    .12727E-02
   6  Prefactor     23.797        23.729       -.95519E-06    .22016E-03
   7  norm           .0000        .42949       -.14891E-06** at limit **
   8  Prefactor     164.90        61.587        .61048E-07   -.16089E-03
   9  Prefactor     .55511E-10    5.5644        .17688E-05** at limit **
  10  Prefactor     1783.7        125.62       -.13657E-05   -.38035E-04
  11  norm           .0000        1.2174        .19270E-06** at limit **
  12  norm          .27756E-09    17.337       -.20780E-05** at limit **
  13  Prefactor     .55511E-10    5.3346        .17146E-06** at limit **
  14  norm           .0000        2.3332       -.71128E-06** at limit **
  15  Prefactor     .16653E-09    13.376        .22215E-05** at limit **
  16  Prefactor     .16653E-09    26.877        .57950E-05** at limit **
  17  Prefactor     5.6631        7.9076       -.13103E-05   -.33514E-03
  18  Normalizat    1.4587        .28329       -.53413E-04    .34933E-04
  19  Prefactor     1.0612        .13373        .37252E-04    .40467E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 17.9858
  Prefactor  = 6.36193
  Prefactor  = 23.7967
  norm       = 0
  Prefactor  = 164.897
  Prefactor  = 5.55112e-11
  Prefactor  = 1783.73
  norm       = 0
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 5.66311
  Normalizat = 1.4587
  Prefactor  = 1.06115
 **********
 **   18 **HESSE 
 **********

 FCN=   14154.52     FROM HESSE     STATUS=OK           302 CALLS     1266 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    39.006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    15.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .49752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.986        14.235        .23763E-03   -1.5623    
   5  Prefactor     6.3619        5.6684        .39909E-03   -1.5658    
   6  Prefactor     23.797        23.703        .20726E-03   -1.5610    
   7  norm           .0000        .42761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     164.90        61.500        .80669E-04   -1.5451    
   9  Prefactor     .55511E-10    5.5665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1783.7        125.74        .23705E-04   -1.4863    
  11  norm           .0000        1.2183        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .27756E-09    17.263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    5.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        2.2922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16653E-09    13.403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16653E-09    26.865        .14724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.6631        7.9116        .42409E-03   -1.5660    
  18  Normalizat    1.4587        .23910        .10603       -.78945    
  19  Prefactor     1.0612        .11237        .57278E-01   -.90718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59728e-08
Minuit parameter uncertainties:
  1  0.000120244
  2  4.58999e-05
  3  4.3226e-06
  4  14.2349
  5  5.66836
  6  23.7035
  7  3.33758e-06
  8  61.5005
  9  3.50681e-05
  10  125.741
  11  1.6078e-06
  12  0.000144637
  13  2.84026e-05
  14  1.30625e-06
  15  9.78233e-05
  16  0.000125921
  17  7.91159
  18  0.239281
  19  0.112399
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  5.551e-11  2.840e-05  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.061e+00  1.124e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.459e+00  2.393e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 9.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/164303/likelihoodResults_689558401_689817601_4FGL_J2324.6+3115_daily_bin1737.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) = 14154.5196219
delta logL = -8.8136344857e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14154.5195342
delta logL = -4.6605237003e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14154.52     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      243 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    3.9205       -.39661E-06** at limit **
   2  Index         3.4123        3.4053        .39359E-04    .25017E-10
   3  Normalizat    1.4587        .27727        .90748E-05   -.86397E-05
   4  Prefactor     1.0612        .13156       -.45928E-05    .63546E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.41227
  Normalizat = 1.4587
  Prefactor  = 1.06115
 **********
 **   18 **HESSE 
 **********

 FCN=   14154.52     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      280 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .28707E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4123        8.2823        .50000       -.32314    
   3  Normalizat    1.4587        .54375E-03    .10603       -.78946    
   4  Prefactor     1.0612        .25657E-03    .57278E-01   -.90718    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.93391e-14
Minuit parameter uncertainties:
  1  2.01324e-06
  2  20456.3
  3  0.000543753
  4  0.00025657
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164303': 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) = 14154.5195338
delta logL = -7.27595761418e-12

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  5.551e-11  2.013e-06  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  3.412e+00  2.046e+04  0.000e+00  1.000e+01 (-1.000e+00)
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.061e+00  2.566e-04  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.459e+00  5.438e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.170 31.257

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/164303/cmap_HighResolution_689558401_689817601_4FGL_J2324.6+3115_daily_bin1737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.18e-03', job_status='DONE', photon_flux_upper_limit='9.03e-08', time_completed='2022-11-11 01:14:43.326352', job_id='164303', GAL2='1.06', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1668158083.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='-7.28e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='1737' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Nov 11 01:14:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 164303: <4FGL_J2324.6+3115_daily_bin1737> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1737> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Nov 11 01:00:23 2022
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Nov 11 01:00:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Nov 11 01:00:43 2022
Terminated at Fri Nov 11 01:14:44 2022
Results reported at Fri Nov 11 01:14:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1737 351.17 31.2573 689558401 689817601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.6+3115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   802.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             381.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            861 sec.

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

