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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1776
RA = 351.17, Dec = 31.2573
tmin = 699667201, tmax = 699926401
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='846328', job_status='RUN', time_executed='2023-03-08 01:27:11.460770', time_epoch_executed='1678267631.46' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846328

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846328/ft1_4FGL_J2324.6+3115_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846328/ft2_4FGL_J2324.6+3115_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846328/ft1_4FGL_J2324.6+3115_daily_bin1776.fits outfile=/scratch/kocevski/846328/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1776.fits ra=351.17 dec=31.2573 rad=12.0 tmin=699667201.0 tmax=699926401.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.96
user 3.73
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/846328/ft2_4FGL_J2324.6+3115_daily_bin1776.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/846328/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/846328/ft1_filtered_4FGL_J2324.6+3115_daily_bin1776.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.15

Number of photons that the gtmktime cut: 771

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846328/ft1_filtered_4FGL_J2324.6+3115_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/846328/ft2_4FGL_J2324.6+3115_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/846328/ltcube_699667201_699926401_4FGL_J2324.6+3115_daily_bin1776.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/846328/ft2_4FGL_J2324.6+3115_daily_bin1776.fits
.....................!
real 12.86
user 12.48
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846328/ft1_filtered_4FGL_J2324.6+3115_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/846328/ft2_4FGL_J2324.6+3115_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/846328/ltcube_699667201_699926401_4FGL_J2324.6+3115_daily_bin1776.fits outfile=/scratch/kocevski/846328/expmap_699667201_699926401_4FGL_J2324.6+3115_daily_bin1776.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/846328/ltcube_699667201_699926401_4FGL_J2324.6+3115_daily_bin1776.fits
.....................!
real 190.18
user 185.60
sys 4.05

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/846328/ft1_filtered_4FGL_J2324.6+3115_daily_bin1776.fits scfile=/scratch/kocevski/846328/ft2_4FGL_J2324.6+3115_daily_bin1776.fits outfile=/scratch/kocevski/846328/cmap_699667201_699926401_4FGL_J2324.6+3115_daily_bin1776.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846328/ft1_filtered_4FGL_J2324.6+3115_daily_bin1776.fits scfile=/scratch/kocevski/846328/ft2_4FGL_J2324.6+3115_daily_bin1776.fits outfile=/scratch/kocevski/846328/cmap_HighResolution_699667201_699926401_4FGL_J2324.6+3115_daily_bin1776.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.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/846328/ft1_filtered_4FGL_J2324.6+3115_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/846328/ft2_4FGL_J2324.6+3115_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/846328/Model_4FGL_J2324.6+3115_daily_bin1776.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/846328/ft1_filtered_4FGL_J2324.6+3115_daily_bin1776.fits.....................!
real 92.28
user 90.85
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/846328/ft1_filtered_4FGL_J2324.6+3115_daily_bin1776.fits', '/scratch/kocevski/846328/ft2_4FGL_J2324.6+3115_daily_bin1776.fits', expMap='/scratch/kocevski/846328/expmap_699667201_699926401_4FGL_J2324.6+3115_daily_bin1776.fits', expCube='/scratch/kocevski/846328/ltcube_699667201_699926401_4FGL_J2324.6+3115_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/846328/Model_4FGL_J2324.6+3115_daily_bin1776.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/846328/ft1_filtered_4FGL_J2324.6+3115_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/846328/ft2_4FGL_J2324.6+3115_daily_bin1776.fits
Exposure map: /scratch/kocevski/846328/expmap_699667201_699926401_4FGL_J2324.6+3115_daily_bin1776.fits
Exposure cube: /scratch/kocevski/846328/ltcube_699667201_699926401_4FGL_J2324.6+3115_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/846328/Model_4FGL_J2324.6+3115_daily_bin1776.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) = 8347.42686728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32988E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41040E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.8518       1.0000          .0000       .10000E+07
     4 'Prefactor '    .94534E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .27020E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10241E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .18968E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    13.425       1.0000          .0000       .10000E+07
     9 'Prefactor '    28.569       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.9028       1.0000          .0000       .10000E+07
    11 'norm      '    13.562       1.0000          .0000       .10000E+07
    12 'norm      '    8.8886       1.0000          .0000       .10000E+07
    13 'Prefactor '    17.905       1.0000          .0000       .10000E+07
    14 'norm      '    1.7505       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.0403       1.0000          .0000       .10000E+07
    16 'Prefactor '    .25940E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    19.092       1.0000          .0000       .10000E+07
    18 'Normalizat'    .85526       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0079       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8347.388     FROM MIGRAD    STATUS=CONVERGED    437 CALLS     1737 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        11.484        .32997E-06** at limit **
   2  Prefactor     .55511E-10    5.8831        .73232E-08** at limit **
   3  norm          1.8541        1.3454        .27244E-07   -.82396E-02
   4  Prefactor      .0000        13.104        .70541E-06** at limit **
   5  Prefactor     .39507E-01    2.8530       -.10040E-07** at limit **
   6  Prefactor      .0000        11.884       -.10668E-05** at limit **
   7  norm           .0000        .56009        .15858E-08** at limit **
   8  Prefactor     13.777        22.969        .17730E-05   -.66947E-03
   9  Prefactor     28.606        13.347        .69098E-06   -.62990E-04
  10  Prefactor     4.8054        82.673        .26038E-05   -.40388E-03
  11  norm          13.486        7.2143       -.49449E-07   -.17345E-02
  12  norm          8.9201        11.436       -.19690E-06   -.71019E-03
  13  Prefactor     17.949        22.996        .19025E-06   -.11371E-02
  14  norm          1.7507        1.6045       -.14029E-07    .31355E-03
  15  Prefactor     2.1434        122.46       -.63188E-06   -.19820E-03
  16  Prefactor      .0000        35.455        .41300E-06** at limit **
  17  Prefactor     19.306        9.3060        .83744E-07   -.13571E-02
  18  Normalizat    .85363        .21185       -.70777E-05   -.80235E-04
  19  Prefactor     1.0079        .10015       -.56891E-06   -.24310E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 1.8541
  Prefactor  = 0
  Prefactor  = 0.0395069
  Prefactor  = 0
  norm       = 0
  Prefactor  = 13.7768
  Prefactor  = 28.6062
  Prefactor  = 4.80543
  norm       = 13.4855
  norm       = 8.92007
  Prefactor  = 17.9495
  norm       = 1.75074
  Prefactor  = 2.14343
  Prefactor  = 0
  Prefactor  = 19.3064
  Normalizat = 0.853631
  Prefactor  = 1.0079
 **********
 **   18 **HESSE 
 **********

 FCN=   8347.388     FROM HESSE     STATUS=OK           280 CALLS     2017 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        11.494        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    5.9219        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8541        1.3338        .86069E-05   -1.5681    
   4  Prefactor      .0000        13.137        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .39507E-01    7.2395        .53089E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        11.900        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .56249        .66749E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.777        22.852        .10925E-04   -1.5634    
   9  Prefactor     28.606        13.339        .74849E-05   -1.5601    
  10  Prefactor     4.8054        80.646        .20419E-04   -1.5664    
  11  norm          13.486        7.2045        .10869E-04   -1.5635    
  12  norm          8.9201        11.465        .13438E-04   -1.5648    
  13  Prefactor     17.949        22.983        .94568E-05   -1.5623    
  14  norm          1.7507        1.6145        .10709E-04   -1.5682    
  15  Prefactor     2.1434        123.04        .28947E-04   -1.5679    
  16  Prefactor      .0000        35.462        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.306        9.3035        .91577E-05   -1.5620    
  18  Normalizat    .85363        .24209        .37057E-03   -.98109    
  19  Prefactor     1.0079        .11678        .17187E-03   -.92466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89781e-10
Minuit parameter uncertainties:
  1  8.66467e-06
  2  3.16574e-05
  3  1.33381
  4  3.04484e-06
  5  1.0696
  6  1.02425e-05
  7  7.71044e-08
  8  22.8524
  9  13.3394
  10  39.3727
  11  7.2045
  12  11.4652
  13  22.9827
  14  1.61451
  15  32.48
  16  3.89377e-06
  17  9.30352
  18  0.242398
  19  0.116813
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.795e+01  2.298e+01  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.008e+00  1.168e-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:  8.536e-01  2.424e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.96
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.85e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.47e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846328/likelihoodResults_699667201_699926401_4FGL_J2324.6+3115_daily_bin1776.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) = 8347.36806339
delta logL = 0.0196250422614

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8347.26510563
delta logL = 0.122582800386

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8347.265     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      234 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9979        64.719        .58723E-03    .61215E-02
   2  Index         4.7703        7.2180        .20158        .11465E-03
   3  Normalizat    .82024        .58388E-01    .85211E-01    .16197E-04
   4  Prefactor     1.0235        .29339E-01    .41784E-01   -.29000E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.99789
  Index      = 4.77029
  Normalizat = 0.820244
  Prefactor  = 1.02355
 **********
 **   18 **HESSE 
 **********

 FCN=   8347.265     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      267 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9979        136.77        .14589E-04   -1.5673    
   2  Index         4.7703        6.9567        .10492E-01   -.45959E-01
   3  Normalizat    .82024        .19590        .37734E-03   -.99322    
   4  Prefactor     1.0235        .94966E-01    .17077E-03   -.91949    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.21545e-06
Minuit parameter uncertainties:
  1  40.4992
  2  10.5839
  3  0.196064
  4  0.0949811
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846328': 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) = 8347.26509979
delta logL = 0.122588640392

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.998e+00  4.050e+01  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  4.770e+00  1.058e+01  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.024e+00  9.498e-02  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:  8.202e-01  1.961e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.30
Ra Dec: 351.170 31.257
Photon Index (Free Index): 4.77 +/- 10.58
Photon Flux (Free Index): 7.17e-08 +/- 1.09e-07
Energy Flux (Free Index): 9.74e-06 +/- 2.34e-05

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/846328/cmap_HighResolution_699667201_699926401_4FGL_J2324.6+3115_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.47e-02', comment='SUCCESS', energy_flux2='9.74e-06', dlogl='1.23e-01', photon_flux2='7.17e-08', job_status='DONE', time_completed='2023-03-08 01:37:58.456431', photon_index_error2='10.58', photon_index2='4.77', ts='0.96', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.85e-07', energy_flux_error2='2.34e-05', EG='0.85', time_epoch_completed='1678268278.46', return_code='0', job_id='846328', GAL2='1.02', EG2='0.82', return_code2='102', photon_flux_error2='1.09e-07', ts2='1.30', photon_index='2.88' WHERE bin_id='1776' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:37:58 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0146>
Subject: Job 846328: <4FGL_J2324.6+3115_daily_bin1776> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1776> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Mar  8 01:25:19 2023
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 01:25:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 01:25:20 2023
Terminated at Wed Mar  8 01:37:59 2023
Results reported at Wed Mar  8 01:37:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1776 351.17 31.2573 699667201 699926401 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 :                                   649.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             299.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            760 sec.

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

