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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1770
RA = 351.17, Dec = 31.2573
tmin = 698112001, tmax = 698371201
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='504278', job_status='RUN', time_executed='2023-02-18 02:07:05.029062', time_epoch_executed='1676714825.03' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/504278

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/504278/ft1_4FGL_J2324.6+3115_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/504278/ft2_4FGL_J2324.6+3115_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/504278/ft1_4FGL_J2324.6+3115_daily_bin1770.fits outfile=/scratch/kocevski/504278/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1770.fits ra=351.17 dec=31.2573 rad=12.0 tmin=698112001.0 tmax=698371201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.45
user 4.17
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/504278/ft2_4FGL_J2324.6+3115_daily_bin1770.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/504278/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/504278/ft1_filtered_4FGL_J2324.6+3115_daily_bin1770.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.48
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 902

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/504278/ft1_filtered_4FGL_J2324.6+3115_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/504278/ft2_4FGL_J2324.6+3115_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/504278/ltcube_698112001_698371201_4FGL_J2324.6+3115_daily_bin1770.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/504278/ft2_4FGL_J2324.6+3115_daily_bin1770.fits
.....................!
real 12.18
user 11.84
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/504278/ft1_filtered_4FGL_J2324.6+3115_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/504278/ft2_4FGL_J2324.6+3115_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/504278/ltcube_698112001_698371201_4FGL_J2324.6+3115_daily_bin1770.fits outfile=/scratch/kocevski/504278/expmap_698112001_698371201_4FGL_J2324.6+3115_daily_bin1770.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/504278/ltcube_698112001_698371201_4FGL_J2324.6+3115_daily_bin1770.fits
.....................!
real 190.97
user 185.93
sys 4.68

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/504278/ft1_filtered_4FGL_J2324.6+3115_daily_bin1770.fits scfile=/scratch/kocevski/504278/ft2_4FGL_J2324.6+3115_daily_bin1770.fits outfile=/scratch/kocevski/504278/cmap_698112001_698371201_4FGL_J2324.6+3115_daily_bin1770.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/504278/ft1_filtered_4FGL_J2324.6+3115_daily_bin1770.fits scfile=/scratch/kocevski/504278/ft2_4FGL_J2324.6+3115_daily_bin1770.fits outfile=/scratch/kocevski/504278/cmap_HighResolution_698112001_698371201_4FGL_J2324.6+3115_daily_bin1770.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.543       1.0000          .0000       .10000E+07
     2 'Prefactor '    .79570E-06   1.0000          .0000       .10000E+07
     3 'norm      '    1.4134       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7068       1.0000          .0000       .10000E+07
     5 'Prefactor '    .52347E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.135       1.0000          .0000       .10000E+07
     7 'norm      '    1.3833       1.0000          .0000       .10000E+07
     8 'Prefactor '    16.936       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18695E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14976E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .71165E-06   1.0000          .0000       .10000E+07
    12 'norm      '    15.712       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6204       1.0000          .0000       .10000E+07
    14 'norm      '    3.6579       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10527       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16101E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .91841       1.0000          .0000       .10000E+07
    18 'Normalizat'    .96113       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0271       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=   9834.429     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1107 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.377        20.496        .11642E-06    .10415E-01
   2  Prefactor     .55511E-10    3.3559       -.17917E-06** at limit **
   3  norm          1.4131        1.0141       -.59279E-07    .65974E-03
   4  Prefactor     3.7108        2.1700       -.49908E-07   -.17244E-01
   5  Prefactor      .0000        1.9861       -.78108E-07** at limit **
   6  Prefactor     10.194        1.9544       -.42339E-07   -.30884E-01
   7  norm          1.3838        1.0089       -.15530E-07   -.47573E-03
   8  Prefactor     16.966        4.0298        .12473E-08   -.29581E-01
   9  Prefactor     .10547E-08    4.9854        .65865E-07** at limit **
  10  Prefactor     .35916E-07    14.704       -.41388E-06** at limit **
  11  norm          .29976E-08    6.7208        .61636E-06** at limit **
  12  norm          15.713        8.3838        .35715E-07   -.62681E-03
  13  Prefactor     6.5043        12.118       -.41569E-06    .15312E-01
  14  norm          3.6578        2.1666        .47042E-07    .47853E-03
  15  Prefactor     .17954E-04    52.194        .76475E-06** at limit **
  16  Prefactor     .81213E-07    99.994       -.86819E-06** at limit **
  17  Prefactor     1.0277        11.053        .39842E-06    .39017E-01
  18  Normalizat    .96138        .21402        .81457E-06   -.21705E-04
  19  Prefactor     1.0270        .10534        .63995E-06   -.43896E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.3774
  Prefactor  = 5.55112e-11
  norm       = 1.41312
  Prefactor  = 3.71076
  Prefactor  = 0
  Prefactor  = 10.1936
  norm       = 1.38383
  Prefactor  = 16.9664
  Prefactor  = 1.05471e-09
  Prefactor  = 3.59157e-08
  norm       = 2.9976e-09
  norm       = 15.713
  Prefactor  = 6.50433
  norm       = 3.65784
  Prefactor  = 1.79545e-05
  Prefactor  = 8.12128e-08
  Prefactor  = 1.02768
  Normalizat = 0.961376
  Prefactor  = 1.027
 **********
 **   18 **HESSE 
 **********

 FCN=   9834.429     FROM HESSE     STATUS=OK           312 CALLS     1419 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.377        21.940        .27192E-03   -1.5635    
   2  Prefactor     .55511E-10    3.3687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4131        1.0284        .91055E-03   -1.5684    
   4  Prefactor     3.7108        14.087        .52428E-03   -1.5669    
   5  Prefactor      .0000        1.9939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.194        13.079        .31450E-03   -1.5644    
   7  norm          1.3838        1.0121        .92468E-03   -1.5684    
   8  Prefactor     16.966        20.786        .24310E-03   -1.5626    
   9  Prefactor     .10547E-08    4.9838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .35916E-07    14.816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .29976E-08    6.6621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          15.713        8.3877        .25241E-03   -1.5629    
  13  Prefactor     6.5043        12.310        .38977E-03   -1.5657    
  14  norm          3.6578        2.1733        .52791E-03   -1.5670    
  15  Prefactor     .17954E-04    18.933        .13790E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .81213E-07    100.22        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.0277        18.100        .44496E-03   -1.5688    
  18  Normalizat    .96138        .18997        .80098E-01   -.94336    
  19  Prefactor     1.0270        .91598E-01    .41497E-01   -.91835    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79891e-07
Minuit parameter uncertainties:
  1  21.9405
  2  2.61707e-05
  3  1.0284
  4  14.0873
  5  5.96197e-06
  6  13.0791
  7  1.01206
  8  20.7861
  9  0.000146602
  10  0.00145877
  11  0.000283242
  12  8.38774
  13  12.3105
  14  2.17327
  15  0.0368748
  16  0.00570601
  17  8.62584
  18  0.190104
  19  0.0916118
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  6.504e+00  1.231e+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.027e+00  9.161e-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:  9.614e-01  1.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.36
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/504278/likelihoodResults_698112001_698371201_4FGL_J2324.6+3115_daily_bin1770.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) = 9834.4000988
delta logL = 0.029223501886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9834.39524475
delta logL = 0.0340775470522

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7501       1.0000          .0000       .10000E+07
     2 'Index     '    2.5295       1.0000          .0000       10.000    
     3 'Normalizat'    .96610       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0249       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9834.395     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      262 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7494        13.701        .14399E-04    .15902E-02
   2  Index         2.5303        1.1934        .12503E-01    .77234E-04
   3  Normalizat    .96616        .21062        .35374E-03   -.19322E-03
   4  Prefactor     1.0249        .10456        .17086E-03   -.38820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.74935
  Index      = 2.53031
  Normalizat = 0.966158
  Prefactor  = 1.02494
 **********
 **   18 **HESSE 
 **********

 FCN=   9834.395     FROM HESSE     STATUS=OK            23 CALLS      285 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7494        13.635        .57594E-06   -1.5652    
   2  Index         2.5303        1.1879        .50011E-03   -.51661    
   3  Normalizat    .96616        .21079        .14149E-04   -.94173    
   4  Prefactor     1.0249        .10462        .34172E-04   -.91903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.00339e-10
Minuit parameter uncertainties:
  1  13.6347
  2  1.20318
  3  0.21097
  4  0.104636
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/504278': 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): 0
logL (Free Index) = 9834.39524426
delta logL = 0.0340780356473

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  7.749e+00  1.363e+01  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  2.530e+00  1.203e+00  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.025e+00  1.046e-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:  9.662e-01  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.36
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/504278/cmap_HighResolution_698112001_698371201_4FGL_J2324.6+3115_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.09e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2023-02-18 02:18:12.296341', job_id='504278', GAL2='1.02', fit_tolerance='1e-08', EG2='0.97', EG='0.96', time_epoch_completed='1676715492.3', return_code2='0', ts='0.36', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.41e-02', ts2='0.42', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='1770' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 02:18:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 504278: <4FGL_J2324.6+3115_daily_bin1770> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1770> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Feb 18 02:05:17 2023
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 02:05:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 02:05:18 2023
Terminated at Sat Feb 18 02:18:13 2023
Results reported at Sat Feb 18 02:18:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1770 351.17 31.2573 698112001 698371201 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 :                                   668.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             310.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            776 sec.

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

