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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1735
RA = 351.17, Dec = 31.2573
tmin = 689040001, tmax = 689299201
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='866726', job_status='RUN', time_executed='2022-11-05 00:35:42.975265', time_epoch_executed='1667633742.98' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866726

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866726/ft1_4FGL_J2324.6+3115_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866726/ft2_4FGL_J2324.6+3115_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866726/ft1_4FGL_J2324.6+3115_daily_bin1735.fits outfile=/scratch/kocevski/866726/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1735.fits ra=351.17 dec=31.2573 rad=12.0 tmin=689040001.0 tmax=689299201.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.62
user 3.39
sys 0.22

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

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

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

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

Number of photons that the gtmktime cut: 801

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866726/ft1_filtered_4FGL_J2324.6+3115_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866726/ft2_4FGL_J2324.6+3115_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866726/ltcube_689040001_689299201_4FGL_J2324.6+3115_daily_bin1735.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/866726/ft2_4FGL_J2324.6+3115_daily_bin1735.fits
.....................!
real 11.86
user 11.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866726/ft1_filtered_4FGL_J2324.6+3115_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866726/ft2_4FGL_J2324.6+3115_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866726/ltcube_689040001_689299201_4FGL_J2324.6+3115_daily_bin1735.fits outfile=/scratch/kocevski/866726/expmap_689040001_689299201_4FGL_J2324.6+3115_daily_bin1735.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/866726/ltcube_689040001_689299201_4FGL_J2324.6+3115_daily_bin1735.fits
.....................!
real 190.22
user 185.18
sys 4.70

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/866726/ft1_filtered_4FGL_J2324.6+3115_daily_bin1735.fits scfile=/scratch/kocevski/866726/ft2_4FGL_J2324.6+3115_daily_bin1735.fits outfile=/scratch/kocevski/866726/cmap_689040001_689299201_4FGL_J2324.6+3115_daily_bin1735.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866726/ft1_filtered_4FGL_J2324.6+3115_daily_bin1735.fits scfile=/scratch/kocevski/866726/ft2_4FGL_J2324.6+3115_daily_bin1735.fits outfile=/scratch/kocevski/866726/cmap_HighResolution_689040001_689299201_4FGL_J2324.6+3115_daily_bin1735.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.125       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46008E-02   1.0000          .0000       .10000E+07
     3 'norm      '    4.2968       1.0000          .0000       .10000E+07
     4 'Prefactor '    .60367E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.1563       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13303E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .17682       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.0725       1.0000          .0000       .10000E+07
     9 'Prefactor '    .36037E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16231E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .11241E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .42072E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .59178E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .65471E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    12.281       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11368E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10422E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0396       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0453       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=   8974.030     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1238 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.194        4.9107        .17820E-06    .22279E-01
   2  Prefactor     .35821E-06    17.590        .14191E-05** at limit **
   3  norm          4.3003        1.5250        .46017E-07   -.12897E-02
   4  Prefactor     .57732E-08    5.2545        .64168E-06** at limit **
   5  Prefactor     3.1477        6.8618        .21164E-06    .49590E-03
   6  Prefactor     .92149E-08    7.8458       -.60137E-06** at limit **
   7  norm          .17917        2.5253        .64386E-06** at limit **
   8  Prefactor     8.9165        4.1151       -.74099E-07    .15099E-01
   9  Prefactor     .45519E-08    5.6059        .53709E-06** at limit **
  10  Prefactor     .16653E-09    14.775       -.10749E-05** at limit **
  11  norm          .23870E-08    1.6679       -.36196E-06** at limit **
  12  norm          .37748E-08    2.4996       -.54347E-06** at limit **
  13  Prefactor     .29676E-06    21.803       -.15924E-05** at limit **
  14  norm          .41286E-01    18.955        .72653E-06** at limit **
  15  Prefactor     14.411        32.016       -.99923E-06    .54886E-01
  16  Prefactor     .24191E-04    54.149       -.15417E-05** at limit **
  17  Prefactor     .12446E-06    14.888       -.12206E-05** at limit **
  18  Normalizat    1.0361        .24607        .73677E-05    .17011E-04
  19  Prefactor     1.0459        .12033       -.14948E-04    .99069E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 24.1942
  Prefactor  = 3.58213e-07
  norm       = 4.30028
  Prefactor  = 5.77316e-09
  Prefactor  = 3.14775
  Prefactor  = 9.21485e-09
  norm       = 0.179169
  Prefactor  = 8.91648
  Prefactor  = 4.55191e-09
  Prefactor  = 1.66533e-10
  norm       = 2.38698e-09
  norm       = 3.77476e-09
  Prefactor  = 2.96763e-07
  norm       = 0.0412856
  Prefactor  = 14.4114
  Prefactor  = 2.41915e-05
  Prefactor  = 1.24456e-07
  Normalizat = 1.03611
  Prefactor  = 1.04592
 **********
 **   18 **HESSE 
 **********

 FCN=   8974.030     FROM HESSE     STATUS=OK           312 CALLS     1550 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.194        20.744        .20364E-03   -1.5610    
   2  Prefactor     .35821E-06    17.530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.3003        1.5291        .48577E-03   -1.5666    
   4  Prefactor     .57732E-08    5.2676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.1477        6.8010        .57027E-03   -1.5672    
   6  Prefactor     .92149E-08    7.8544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17917        .70332        .40958E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.9165        24.118        .33251E-03   -1.5648    
   9  Prefactor     .45519E-08    5.5653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16653E-09    14.843        .17298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .23870E-08    1.6652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .37748E-08    2.4983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .29676E-06    23.163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .41286E-01    1.5484        .42118E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.411        39.412        .28559E-03   -1.5632    
  16  Prefactor     .24191E-04    77.833        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .12446E-06    14.933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0361        .21515        .81784E-01   -.91830    
  19  Prefactor     1.0459        .10135        .40195E-01   -.91214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.42836e-07
Minuit parameter uncertainties:
  1  20.7441
  2  0.00501168
  3  1.52914
  4  0.000347964
  5  6.80106
  6  0.000538109
  7  0.703321
  8  24.1187
  9  0.000318023
  10  9.27007e-05
  11  0.000125976
  12  0.000194832
  13  0.00524363
  14  0.50568
  15  39.4125
  16  0.086786
  17  0.00272629
  18  0.215326
  19  0.101366
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.968e-07  5.244e-03  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.046e+00  1.014e-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.036e+00  2.153e-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: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866726/likelihoodResults_689040001_689299201_4FGL_J2324.6+3115_daily_bin1735.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) = 8974.0305842
delta logL = -0.000858773759319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8973.12451184
delta logL = 0.905213589665

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89038       1.0000          .0000       .10000E+07
     2 'Index     '    5.9544       1.0000          .0000       10.000    
     3 'Normalizat'    .91848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0825       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=   8973.125     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      284 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88939        13.733        .46427E-03    .14166E-01
   2  Index         5.9549        7.3174        .20535        .14667E-03
   3  Normalizat    .91836        .60531E-01    .86363E-01    .23502E-04
   4  Prefactor     1.0825        .29584E-01    .38293E-01   -.35226E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.889393
  Index      = 5.95489
  Normalizat = 0.918361
  Prefactor  = 1.08252
 **********
 **   18 **HESSE 
 **********

 FCN=   8973.125     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      317 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88939        29.076        .69176E-05   -1.5689    
   2  Index         5.9549        7.9772        .95133E-02    .19216    
   3  Normalizat    .91836        .21784        .38241E-03   -.95818    
   4  Prefactor     1.0825        .10114        .17304E-03   -.90027    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.5918e-09
Minuit parameter uncertainties:
  1  10.1707
  2  8.71695
  3  0.218053
  4  0.101159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866726': 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) = 8973.12451111
delta logL = 0.9052143228

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  8.894e-01  1.017e+01  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  5.955e+00  8.717e+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.083e+00  1.012e-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.184e-01  2.181e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.02
Ra Dec: 351.170 31.257
Photon Index (Free Index): 5.95 +/- 8.72
Photon Flux (Free Index): 8.80e-08 +/- 9.57e-08
Energy Flux (Free Index): 1.10e-05 +/- 1.57e-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/866726/cmap_HighResolution_689040001_689299201_4FGL_J2324.6+3115_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.50e-03', comment='SUCCESS', energy_flux2='1.10e-05', dlogl='9.05e-01', photon_flux2='8.80e-08', job_status='DONE', time_completed='2022-11-05 00:46:02.446855', photon_index_error2='8.72', photon_index2='5.95', ts='-0.00', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='1.57e-05', EG='1.04', time_epoch_completed='1667634362.45', return_code='0', job_id='866726', GAL2='1.08', EG2='0.92', return_code2='102', photon_flux_error2='9.57e-08', ts2='2.02', photon_index='2.88' WHERE bin_id='1735' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:46:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 866726: <4FGL_J2324.6+3115_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:30 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:31 2022
Terminated at Sat Nov  5 00:46:03 2022
Results reported at Sat Nov  5 00:46:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1735 351.17 31.2573 689040001 689299201 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 :                                   621.00 sec.
    Max Memory :                                 1176 MB
    Average Memory :                             365.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            633 sec.

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

