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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1721
RA = 351.19, Dec = 8.0282
tmin = 685411201, tmax = 685670401
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='70755', job_status='RUN', time_executed='2022-09-24 01:15:06.240133', time_epoch_executed='1664007306.24' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70755

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/70755/ft1_4FGL_J2324.7+0801_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/70755/ft2_4FGL_J2324.7+0801_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/70755/ft1_4FGL_J2324.7+0801_daily_bin1721.fits outfile=/scratch/kocevski/70755/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1721.fits ra=351.19 dec=8.0282 rad=12.0 tmin=685411201.0 tmax=685670401.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 5.20
user 4.94
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/70755/ft2_4FGL_J2324.7+0801_daily_bin1721.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/70755/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1721.fits evtable="EVENTS" outfile="/scratch/kocevski/70755/ft1_filtered_4FGL_J2324.7+0801_daily_bin1721.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.16

Number of photons that the gtmktime cut: 656

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/70755/ft1_filtered_4FGL_J2324.7+0801_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/70755/ft2_4FGL_J2324.7+0801_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/70755/ltcube_685411201_685670401_4FGL_J2324.7+0801_daily_bin1721.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/70755/ft2_4FGL_J2324.7+0801_daily_bin1721.fits
.....................!
real 13.31
user 12.91
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70755/ft1_filtered_4FGL_J2324.7+0801_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70755/ft2_4FGL_J2324.7+0801_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/70755/ltcube_685411201_685670401_4FGL_J2324.7+0801_daily_bin1721.fits outfile=/scratch/kocevski/70755/expmap_685411201_685670401_4FGL_J2324.7+0801_daily_bin1721.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/70755/ltcube_685411201_685670401_4FGL_J2324.7+0801_daily_bin1721.fits
.....................!
real 192.44
user 186.16
sys 5.93

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/70755/ft1_filtered_4FGL_J2324.7+0801_daily_bin1721.fits scfile=/scratch/kocevski/70755/ft2_4FGL_J2324.7+0801_daily_bin1721.fits outfile=/scratch/kocevski/70755/cmap_685411201_685670401_4FGL_J2324.7+0801_daily_bin1721.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/70755/ft1_filtered_4FGL_J2324.7+0801_daily_bin1721.fits scfile=/scratch/kocevski/70755/ft2_4FGL_J2324.7+0801_daily_bin1721.fits outfile=/scratch/kocevski/70755/cmap_HighResolution_685411201_685670401_4FGL_J2324.7+0801_daily_bin1721.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/70755/ft1_filtered_4FGL_J2324.7+0801_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70755/ft2_4FGL_J2324.7+0801_daily_bin1721.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/70755/Model_4FGL_J2324.7+0801_daily_bin1721.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/70755/ft1_filtered_4FGL_J2324.7+0801_daily_bin1721.fits.....................!
real 76.13
user 74.68
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/70755/ft1_filtered_4FGL_J2324.7+0801_daily_bin1721.fits', '/scratch/kocevski/70755/ft2_4FGL_J2324.7+0801_daily_bin1721.fits', expMap='/scratch/kocevski/70755/expmap_685411201_685670401_4FGL_J2324.7+0801_daily_bin1721.fits', expCube='/scratch/kocevski/70755/ltcube_685411201_685670401_4FGL_J2324.7+0801_daily_bin1721.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/70755/Model_4FGL_J2324.7+0801_daily_bin1721.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/70755/ft1_filtered_4FGL_J2324.7+0801_daily_bin1721.fits
Spacecraft file(s): /scratch/kocevski/70755/ft2_4FGL_J2324.7+0801_daily_bin1721.fits
Exposure map: /scratch/kocevski/70755/expmap_685411201_685670401_4FGL_J2324.7+0801_daily_bin1721.fits
Exposure cube: /scratch/kocevski/70755/ltcube_685411201_685670401_4FGL_J2324.7+0801_daily_bin1721.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/70755/Model_4FGL_J2324.7+0801_daily_bin1721.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) = 7092.15630483

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0246       1.0000         .10000E-03   10000.    
     2 'norm      '    .26011E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.8499       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20341E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    18.122       1.0000          .0000       .10000E+07
     6 'Prefactor '    .79925E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .91406       1.0000          .0000       .10000E+07
     8 'Prefactor '    .39151E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    25.557       1.0000          .0000       .10000E+07
    10 'Prefactor '    82.182       1.0000          .0000       .10000E+07
    11 'norm      '    .99370E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.7771       1.0000          .0000       .10000E+07
    13 'Prefactor '    29.254       1.0000          .0000       .10000E+07
    14 'norm      '    .48038E-03   1.0000          .0000       .10000E+07
    15 'norm      '    34.851       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.1827       1.0000          .0000       .10000E+07
    17 'Prefactor '    .51496E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .96457E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .37642E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .97386       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .85419       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=   7092.129     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1618 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0250        .39798       -.82441E-07   -.21288E-02
   2  norm          .55511E-10    5.7933        .56940E-07** at limit **
   3  Prefactor     5.7265        4.2573       -.10542E-07    .82790E-01
   4  Prefactor     .55511E-10    7.3509       -.44061E-07** at limit **
   5  Prefactor     17.972        3.7762       -.25955E-08    .31459E-01
   6  Prefactor     .55511E-10    3.5007       -.15850E-06** at limit **
   7  norm          .91245        .86643        .48607E-07    .61280E-02
   8  Prefactor      .0000        3.3958       -.52782E-07** at limit **
   9  Prefactor     25.456        1.4285       -.15854E-08   -.39519E-02
  10  Prefactor     81.317        59.469       -.41272E-07    .27044E-01
  11  norm          .55511E-10    3.7814       -.17876E-06** at limit **
  12  Prefactor     6.7373        7.3926        .17641E-06    .48827E-02
  13  Prefactor     29.309        2.8932        .39501E-08   -.95044E-01
  14  norm          .10197E-06    16.171        .33141E-07** at limit **
  15  norm          34.879        2.2596        .13145E-08    .32082E-01
  16  Prefactor     1.1744        3.0229        .20609E-06    .27144E-02
  17  Prefactor     .12185E-06    51.954        .19651E-07** at limit **
  18  Prefactor     .24419E-06    18.935        .22622E-08** at limit **
  19  Prefactor     .55511E-10    12.195        .17316E-07** at limit **
  20  Normalizat    .97508        .23048       -.87837E-06    .24416E-04
  21  Prefactor     .85392        .14216        .16498E-06    .22271E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.02496
  norm       = 5.55112e-11
  Prefactor  = 5.72646
  Prefactor  = 5.55112e-11
  Prefactor  = 17.9716
  Prefactor  = 5.55112e-11
  norm       = 0.912449
  Prefactor  = 0
  Prefactor  = 25.4561
  Prefactor  = 81.3172
  norm       = 5.55112e-11
  Prefactor  = 6.73728
  Prefactor  = 29.3094
  norm       = 1.01974e-07
  norm       = 34.8787
  Prefactor  = 1.17438
  Prefactor  = 1.21847e-07
  Prefactor  = 2.44194e-07
  Prefactor  = 5.55112e-11
  Normalizat = 0.975082
  Prefactor  = 0.853924
 **********
 **   18 **HESSE 
 **********

 FCN=   7092.129     FROM HESSE     STATUS=OK           359 CALLS     1977 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0250        .39873        .36605E-02   -1.5307    
   2  norm          .55511E-10    5.7967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.7265        26.720        .41499E-03   -1.5660    
   4  Prefactor     .55511E-10    7.3255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.972        21.184        .23500E-03   -1.5623    
   6  Prefactor     .55511E-10    3.4991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .91245        .87322        .44793E-03   -1.5689    
   8  Prefactor      .0000        3.3931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.456        24.056        .19785E-03   -1.5607    
  10  Prefactor     81.317        60.469        .11032E-03   -1.5528    
  11  norm          .55511E-10    3.7835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.7373        7.4536        .38519E-03   -1.5656    
  13  Prefactor     29.309        23.236        .18492E-03   -1.5600    
  14  norm          .10197E-06    16.302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          34.879        21.981        .16941E-03   -1.5590    
  16  Prefactor     1.1744        3.1854        .10500E-02   -1.5686    
  17  Prefactor     .12185E-06    52.035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .24419E-06    19.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55511E-10    12.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .97508        .20627        .73524E-01   -.93870    
  21  Prefactor     .85392        .12280        .44418E-01   -.97770    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.76309e-07
Minuit parameter uncertainties:
  1  0.398726
  2  4.08614e-05
  3  24.7399
  4  3.90616e-05
  5  21.184
  6  2.02479e-05
  7  0.873219
  8  1.79519e-06
  9  24.0558
  10  60.469
  11  2.18242e-05
  12  7.4536
  13  23.2364
  14  0.00257873
  15  21.9812
  16  3.18536
  17  0.00503566
  18  0.00435899
  19  3.70142e-05
  20  0.206434
  21  0.122843
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.795e-06  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:  8.539e-01  1.228e-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:  9.751e-01  2.064e-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: 5.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/70755/likelihoodResults_685411201_685670401_4FGL_J2324.7+0801_daily_bin1721.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) = 7092.12950396
delta logL = -0.000274089743471

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7092.12923043
delta logL = -5.64412403037e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49660E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .94506       1.0000          .0000       10.000    
     3 'Normalizat'    .97490       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85406       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=   7092.129     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      262 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    340.48        .42118E-03** at limit **
   2  Index         2.5078        7.4259        .45577        .27438E-09
   3  Normalizat    .97508        .73548E-01    .73524E-01   -.39340E-03
   4  Prefactor     .85392        .46449E-01    .44417E-01   -.65545E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 2.50783
  Normalizat = 0.975081
  Prefactor  = 0.853923
 **********
 **   18 **HESSE 
 **********

 FCN=   7092.129     FROM HESSE     STATUS=OK            29 CALLS      291 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    5.4194        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5078        6.0490        .50000       -.52179    
   3  Normalizat    .97508        .22295        .32533E-03   -.93870    
   4  Prefactor     .85392        .14115        .21702E-03   -.97770    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19042e-10
Minuit parameter uncertainties:
  1  7.38376e-05
  2  6.31419
  3  0.223159
  4  0.141213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70755': 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) = 7092.12922987
delta logL = -2.09183781408e-10

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.776e-10  7.384e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.508e+00  6.314e+00  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:  8.539e-01  1.412e-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:  9.751e-01  2.232e-01  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/70755/cmap_HighResolution_685411201_685670401_4FGL_J2324.7+0801_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2022-09-24 01:24:59.670795', job_id='70755', GAL2='0.85', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1664007899.67', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-2.09e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1721' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 01:24:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 70755: <4FGL_J2324.7+0801_daily_bin1721> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1721> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Sep 24 01:10:44 2022
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 01:14:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 01:14:01 2022
Terminated at Sat Sep 24 01:25:00 2022
Results reported at Sat Sep 24 01:25:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1721 351.19 8.0282 685411201 685670401 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 :                                   596.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            856 sec.

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

