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 117 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_J2324.7+0801_daily_bin1745
RA = 351.19, Dec = 8.0282
tmin = 691632001, tmax = 691891201
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='658815', job_status='RUN', time_executed='2022-12-05 01:32:34.786476', time_epoch_executed='1670232754.79' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658815

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658815/ft1_4FGL_J2324.7+0801_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658815/ft2_4FGL_J2324.7+0801_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658815/ft1_4FGL_J2324.7+0801_daily_bin1745.fits outfile=/scratch/kocevski/658815/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1745.fits ra=351.19 dec=8.0282 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.35
user 2.16
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/658815/ft2_4FGL_J2324.7+0801_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/658815/ft2_4FGL_J2324.7+0801_daily_bin1745.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/658815/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/658815/ft1_filtered_4FGL_J2324.7+0801_daily_bin1745.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.50
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 860

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/658815/ft1_filtered_4FGL_J2324.7+0801_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/658815/ft2_4FGL_J2324.7+0801_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/658815/ltcube_691632001_691891201_4FGL_J2324.7+0801_daily_bin1745.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/658815/ft2_4FGL_J2324.7+0801_daily_bin1745.fits
.....................!
real 12.34
user 12.01
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658815/ft1_filtered_4FGL_J2324.7+0801_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/658815/ft2_4FGL_J2324.7+0801_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/658815/ltcube_691632001_691891201_4FGL_J2324.7+0801_daily_bin1745.fits outfile=/scratch/kocevski/658815/expmap_691632001_691891201_4FGL_J2324.7+0801_daily_bin1745.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/658815/ltcube_691632001_691891201_4FGL_J2324.7+0801_daily_bin1745.fits
.....................!
real 191.26
user 186.61
sys 4.32

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

Setting source of interest to:
4FGL J2324.7+0801 @ 351.19 8.0282

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/658815/ft1_filtered_4FGL_J2324.7+0801_daily_bin1745.fits scfile=/scratch/kocevski/658815/ft2_4FGL_J2324.7+0801_daily_bin1745.fits outfile=/scratch/kocevski/658815/cmap_691632001_691891201_4FGL_J2324.7+0801_daily_bin1745.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.19 yref=8.0282 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.51
user 0.35
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658815/ft1_filtered_4FGL_J2324.7+0801_daily_bin1745.fits scfile=/scratch/kocevski/658815/ft2_4FGL_J2324.7+0801_daily_bin1745.fits outfile=/scratch/kocevski/658815/cmap_HighResolution_691632001_691891201_4FGL_J2324.7+0801_daily_bin1745.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.19 yref=8.0282 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/658815/ft1_filtered_4FGL_J2324.7+0801_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/658815/ft2_4FGL_J2324.7+0801_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/658815/Model_4FGL_J2324.7+0801_daily_bin1745.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/658815/ft1_filtered_4FGL_J2324.7+0801_daily_bin1745.fits....................!
real 95.86
user 94.51
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/658815/ft1_filtered_4FGL_J2324.7+0801_daily_bin1745.fits', '/scratch/kocevski/658815/ft2_4FGL_J2324.7+0801_daily_bin1745.fits', expMap='/scratch/kocevski/658815/expmap_691632001_691891201_4FGL_J2324.7+0801_daily_bin1745.fits', expCube='/scratch/kocevski/658815/ltcube_691632001_691891201_4FGL_J2324.7+0801_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/658815/Model_4FGL_J2324.7+0801_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.7+0801'

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.182e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/658815/ft1_filtered_4FGL_J2324.7+0801_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/658815/ft2_4FGL_J2324.7+0801_daily_bin1745.fits
Exposure map: /scratch/kocevski/658815/expmap_691632001_691891201_4FGL_J2324.7+0801_daily_bin1745.fits
Exposure cube: /scratch/kocevski/658815/ltcube_691632001_691891201_4FGL_J2324.7+0801_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/658815/Model_4FGL_J2324.7+0801_daily_bin1745.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) = 8792.70453893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5857       1.0000         .10000E-03   10000.    
     2 'norm      '    3.5048       1.0000          .0000       .10000E+07
     3 'Prefactor '    30.298       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.4586       1.0000          .0000       .10000E+07
     5 'Prefactor '    .65153E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .15441E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .90795       1.0000          .0000       .10000E+07
     8 'Prefactor '    .23607E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17964E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10748E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .16266E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.492       1.0000          .0000       .10000E+07
    13 'Prefactor '    .81756E-02   1.0000          .0000       .10000E+07
    14 'norm      '    3.9969       1.0000          .0000       .10000E+07
    15 'norm      '    8.6827       1.0000          .0000       .10000E+07
    16 'Prefactor '    .28078       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.338       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.5166       1.0000          .0000       .10000E+07
    19 'Prefactor '    .33341E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    .78423       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8792.704     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1606 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5855        .29641       -.15460E-06   -.47464E-02
   2  norm          3.5101        9.1556        .14314E-05    .65350E-03
   3  Prefactor     30.533        35.563        .37530E-05   -.42287E-02
   4  Prefactor     2.4752        8.2135        .31594E-05   -.22693E-03
   5  Prefactor     .61062E-09    11.421        .11874E-05** at limit **
   6  Prefactor      .0000        2.3321       -.76952E-07** at limit **
   7  norm          .90901        .75301        .21542E-07   -.11877E-02
   8  Prefactor      .0000        1.9112        .29513E-07** at limit **
   9  Prefactor     .27756E-09    8.1890       -.33772E-06** at limit **
  10  Prefactor     .15543E-08    13.801       -.29721E-05** at limit **
  11  norm          .27756E-09    1.7829       -.84737E-07** at limit **
  12  Prefactor     10.454        6.1592        .45551E-07   -.11094E-01
  13  Prefactor     .70499E-08    16.458        .16654E-05** at limit **
  14  norm          4.0002        1.2480        .10252E-06   -.10260E-01
  15  norm          8.6667        1.3566        .34182E-07    .35406E-03
  16  Prefactor     .21417        10.975        .52360E-06** at limit **
  17  Prefactor     15.412        8.6112        .11804E-05    .65462E-02
  18  Prefactor     8.5187        1.4567        .15192E-06   -.91494E-03
  19  Prefactor      .0000        2.4073        .48507E-07** at limit **
  20  Normalizat    .78452        .21785       -.16847E-04   -.53155E-03
  21  Prefactor     1.0211        .13425       -.71931E-07   -.67029E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.58549
  norm       = 3.51009
  Prefactor  = 30.5332
  Prefactor  = 2.47517
  Prefactor  = 6.10623e-10
  Prefactor  = 0
  norm       = 0.909008
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 1.55431e-09
  norm       = 2.77556e-10
  Prefactor  = 10.4535
  Prefactor  = 7.04992e-09
  norm       = 4.00024
  norm       = 8.66666
  Prefactor  = 0.214168
  Prefactor  = 15.4122
  Prefactor  = 8.51868
  Prefactor  = 0
  Normalizat = 0.784515
  Prefactor  = 1.02113
 **********
 **   18 **HESSE 
 **********

 FCN=   8792.704     FROM HESSE     STATUS=OK           367 CALLS     1973 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5855        .29685        .31350E-02   -1.5329    
   2  norm          3.5101        9.1856        .53980E-03   -1.5670    
   3  Prefactor     30.533        36.334        .18170E-03   -1.5597    
   4  Prefactor     2.4752        8.2519        .65201E-03   -1.5676    
   5  Prefactor     .61062E-09    11.405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.3263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .90901        .75351        .45212E-03   -1.5689    
   8  Prefactor      .0000        1.9122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    8.1920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .15543E-08    13.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .27756E-09    1.7831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.454        6.1593        .30908E-03   -1.5643    
  13  Prefactor     .70499E-08    16.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0002        9.4582        .50422E-03   -1.5668    
  15  norm          8.6667        13.233        .33994E-03   -1.5649    
  16  Prefactor     .21417        1.9500        .68711E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.412        30.107        .25547E-03   -1.5629    
  18  Prefactor     8.5187        18.879        .34326E-03   -1.5650    
  19  Prefactor      .0000        2.4068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .78452        .19263        .81168E-01   -1.0065    
  21  Prefactor     1.0211        .11699        .42018E-01   -.92029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76796e-07
Minuit parameter uncertainties:
  1  0.296848
  2  9.18561
  3  36.3343
  4  8.25195
  5  0.000163366
  6  1.42322e-05
  7  0.753507
  8  1.24531e-05
  9  9.94368e-05
  10  0.000293994
  11  4.34512e-05
  12  6.1593
  13  0.000681247
  14  9.45826
  15  13.2328
  16  1.29249
  17  30.1069
  18  18.8796
  19  1.527e-05
  20  0.192801
  21  0.117022
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.245e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.021e+00  1.170e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  7.845e-01  1.928e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 3.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.95e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/658815/likelihoodResults_691632001_691891201_4FGL_J2324.7+0801_daily_bin1745.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) = 8792.70456157
delta logL = -0.000634327607258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8792.70392772
delta logL = -4.83849362354e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8792.704     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      273 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .46948E-02    .42118E-03** at limit **
   2  Index         2.4586        5.7739        .43444        .10467E-09
   3  Normalizat    .78452        .26679E-03    .81168E-01    .16929E-03
   4  Prefactor     1.0211        .17338E-03    .42039E-01    .38297E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.45863
  Normalizat = 0.784517
  Prefactor  = 1.02113
 **********
 **   18 **HESSE 
 **********

 FCN=   8792.704     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      304 TOTAL
                     EDM=   .41E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .17902E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4586        6.9013        .50000       -.53318    
   3  Normalizat    .78452        .51948E-03    .35940E-03   -1.0065    
   4  Prefactor     1.0211        .33835E-03    .20607E-03   -.92029    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.14304e-13
Minuit parameter uncertainties:
  1  2.35891e-06
  2  5450.44
  3  0.000519484
  4  0.000338354
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658815': 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) = 8792.70392724
delta logL = 1.67347025126e-10

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  5.551e-11  2.359e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.459e+00  5.450e+03  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.021e+00  3.384e-04  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  7.845e-01  5.195e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 351.190 8.028

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/658815/cmap_HighResolution_691632001_691891201_4FGL_J2324.7+0801_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.95e-03', job_status='DONE', photon_flux_upper_limit='3.86e-08', time_completed='2022-12-05 01:43:42.090609', job_id='658815', GAL2='1.02', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1670233422.09', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.67e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1745' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:43:42 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 658815: <4FGL_J2324.7+0801_daily_bin1745> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1745> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Dec  5 01:30:27 2022
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 01:30:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 01:30:29 2022
Terminated at Mon Dec  5 01:43:42 2022
Results reported at Mon Dec  5 01:43:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1745 351.19 8.0282 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.7+0801 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   669.45 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            795 sec.

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

