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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin1736
RA = 351.182, Dec = -40.6834
tmin = 689299201, tmax = 689558401
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='963459', job_status='RUN', time_executed='2022-11-08 00:42:14.240039', time_epoch_executed='1667896934.24' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963459

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/963459/ft1_4FGL_J2324.7-4041_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/963459/ft2_4FGL_J2324.7-4041_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963459/ft1_4FGL_J2324.7-4041_daily_bin1736.fits outfile=/scratch/kocevski/963459/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1736.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=689299201.0 tmax=689558401.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.85
user 2.61
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/963459/ft2_4FGL_J2324.7-4041_daily_bin1736.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/963459/ft2_4FGL_J2324.7-4041_daily_bin1736.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/963459/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1736.fits evtable="EVENTS" outfile="/scratch/kocevski/963459/ft1_filtered_4FGL_J2324.7-4041_daily_bin1736.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.42
user 0.25
sys 0.16

Number of photons that the gtmktime cut: 598

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963459/ft1_filtered_4FGL_J2324.7-4041_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/963459/ft2_4FGL_J2324.7-4041_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/963459/ltcube_689299201_689558401_4FGL_J2324.7-4041_daily_bin1736.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/963459/ft2_4FGL_J2324.7-4041_daily_bin1736.fits
.....................!
real 9.44
user 9.15
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963459/ft1_filtered_4FGL_J2324.7-4041_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963459/ft2_4FGL_J2324.7-4041_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/963459/ltcube_689299201_689558401_4FGL_J2324.7-4041_daily_bin1736.fits outfile=/scratch/kocevski/963459/expmap_689299201_689558401_4FGL_J2324.7-4041_daily_bin1736.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/963459/ltcube_689299201_689558401_4FGL_J2324.7-4041_daily_bin1736.fits
.....................!
real 145.62
user 141.32
sys 4.01

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

Setting source of interest to:
4FGL J2324.7-4041 @ 351.182 -40.6834

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/963459/ft1_filtered_4FGL_J2324.7-4041_daily_bin1736.fits scfile=/scratch/kocevski/963459/ft2_4FGL_J2324.7-4041_daily_bin1736.fits outfile=/scratch/kocevski/963459/cmap_689299201_689558401_4FGL_J2324.7-4041_daily_bin1736.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.182 yref=-40.6834 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.46
user 0.29
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963459/ft1_filtered_4FGL_J2324.7-4041_daily_bin1736.fits scfile=/scratch/kocevski/963459/ft2_4FGL_J2324.7-4041_daily_bin1736.fits outfile=/scratch/kocevski/963459/cmap_HighResolution_689299201_689558401_4FGL_J2324.7-4041_daily_bin1736.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.182 yref=-40.6834 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.46
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/963459/ft1_filtered_4FGL_J2324.7-4041_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963459/ft2_4FGL_J2324.7-4041_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/963459/Model_4FGL_J2324.7-4041_daily_bin1736.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/963459/ft1_filtered_4FGL_J2324.7-4041_daily_bin1736.fits.....................!
real 35.93
user 34.79
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/963459/ft1_filtered_4FGL_J2324.7-4041_daily_bin1736.fits', '/scratch/kocevski/963459/ft2_4FGL_J2324.7-4041_daily_bin1736.fits', expMap='/scratch/kocevski/963459/expmap_689299201_689558401_4FGL_J2324.7-4041_daily_bin1736.fits', expCube='/scratch/kocevski/963459/ltcube_689299201_689558401_4FGL_J2324.7-4041_daily_bin1736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/963459/Model_4FGL_J2324.7-4041_daily_bin1736.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.7-4041'

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.376e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
419        alpha:  1.623e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  8.462e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/963459/ft1_filtered_4FGL_J2324.7-4041_daily_bin1736.fits
Spacecraft file(s): /scratch/kocevski/963459/ft2_4FGL_J2324.7-4041_daily_bin1736.fits
Exposure map: /scratch/kocevski/963459/expmap_689299201_689558401_4FGL_J2324.7-4041_daily_bin1736.fits
Exposure cube: /scratch/kocevski/963459/ltcube_689299201_689558401_4FGL_J2324.7-4041_daily_bin1736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/963459/Model_4FGL_J2324.7-4041_daily_bin1736.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) = 6494.23874642

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.252       1.0000          .0000       .10000E+07
     2 'Prefactor '    40.392       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39635E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.6586       1.0000          .0000       .10000E+07
     5 'Prefactor '    .57065E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7768       1.0000          .0000       .10000E+07
     7 'Prefactor '    .35363E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.9406       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.6046       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97775E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.2958       1.0000          .0000       .10000E+07
    12 'norm      '    .76547E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .33772E-04   1.0000          .0000       .10000E+07
    14 'norm      '    4.4130       1.0000          .0000       .10000E+07
    15 'norm      '    .41244E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    8.1752       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.278       1.0000          .0000       .10000E+07
    18 'Prefactor '    .48786E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .33808       1.0000          .0000       .10000E+07
    20 'Prefactor '    .23452E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .72445       1.0000          .0000       .10000E+07
    22 'norm      '    .11595E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    2.3031       1.0000          .0000       .10000E+07
    24 'Prefactor '    5.6762       1.0000          .0000       .10000E+07
    25 'Prefactor '    .83149E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    21.844       1.0000          .0000       .10000E+07
    27 'Prefactor '    .47795E-04   1.0000          .0000       .10000E+07
    28 'Prefactor '    .66195E-02   1.0000          .0000       .10000E+07
    29 'Normalizat'    .79489       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .80146       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6494.178     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     2213 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.827        4.8114       -.62030E-08    .13421E-01
   2  Prefactor     40.580        1.9479       -.11262E-07    .27293E-01
   3  Prefactor      .0000        1.8041        .76989E-07** at limit **
   4  Prefactor     6.6924        3.6986       -.10119E-06   -.29159E-01
   5  Prefactor     .29976E-08    2.5400        .69099E-08** at limit **
   6  Prefactor     8.7959        3.0687       -.66364E-07   -.40880E-01
   7  Prefactor     .22204E-09    6.5555       -.20187E-06** at limit **
   8  Prefactor     6.9413        7.4589       -.71029E-06   -.66688E-01
   9  Prefactor     1.6052        3.0661       -.10297E-06   -.10262E-02
  10  Prefactor     .17208E-08    10.575       -.84391E-07** at limit **
  11  Prefactor     8.3046        8.5625       -.39471E-07    .43479E-01
  12  norm          .38858E-08    2.4994        .11443E-06** at limit **
  13  norm          .26645E-08    2.0198        .18707E-07** at limit **
  14  norm          4.4272        3.2777       -.69387E-07    .69935E-02
  15  norm          .53102E-06    23.646        .12683E-06** at limit **
  16  Prefactor     8.1572        5.4293       -.16602E-06   -.21637E-01
  17  Prefactor     20.353        12.610       -.37867E-06   -.16562E-01
  18  Prefactor     .57615E-06    26.444        .24715E-06** at limit **
  19  norm          .12527        14.073        .18147E-05** at limit **
  20  Prefactor     .21094E-08    5.0488       -.18960E-06** at limit **
  21  norm          .72519        .66872       -.10318E-06   -.44864E-02
  22  norm          .24980E-08    1.9670       -.11557E-06** at limit **
  23  Prefactor     2.3032        2.2444        .92817E-07   -.85318E-03
  24  Prefactor     5.6976        4.5630        .13993E-06    .50713E-01
  25  Prefactor     .38636E-06    31.840        .19366E-05** at limit **
  26  Prefactor     21.851        6.5714        .75834E-07   -.12137E-01
  27  Prefactor     .55511E-10    1.6208        .36172E-07** at limit **
  28  Prefactor     .19440E-06    68.757       -.10026E-06** at limit **
  29  Normalizat    .79301        .16733        .76958E-05    .59562E-04
  30  Prefactor     .80259        .18443       -.66011E-05    .35487E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.827
  Prefactor  = 40.5804
  Prefactor  = 0
  Prefactor  = 6.6924
  Prefactor  = 2.9976e-09
  Prefactor  = 8.7959
  Prefactor  = 2.22045e-10
  Prefactor  = 6.94129
  Prefactor  = 1.60516
  Prefactor  = 1.72085e-09
  Prefactor  = 8.30455
  norm       = 3.88578e-09
  norm       = 2.66454e-09
  norm       = 4.42719
  norm       = 5.3102e-07
  Prefactor  = 8.15716
  Prefactor  = 20.3531
  Prefactor  = 5.7615e-07
  norm       = 0.125271
  Prefactor  = 2.10942e-09
  norm       = 0.725195
  norm       = 2.498e-09
  Prefactor  = 2.30318
  Prefactor  = 5.69755
  Prefactor  = 3.86358e-07
  Prefactor  = 21.8513
  Prefactor  = 5.55112e-11
  Prefactor  = 1.944e-07
  Normalizat = 0.793006
  Prefactor  = 0.802594
 **********
 **   18 **HESSE 
 **********

 FCN=   6494.178     FROM HESSE     STATUS=OK           660 CALLS     2873 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.827        38.403        .13969E-03   -1.5564    
   2  Prefactor     40.580        22.729        .15736E-03   -1.5581    
   3  Prefactor      .0000        1.7854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.6924        17.164        .38864E-03   -1.5656    
   5  Prefactor     .29976E-08    2.5452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.7959        12.166        .33810E-03   -1.5649    
   7  Prefactor     .22204E-09    6.5728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.9413        8.6765        .38057E-03   -1.5655    
   9  Prefactor     1.6052        3.1119        .83633E-03   -1.5683    
  10  Prefactor     .17208E-08    10.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.3046        10.765        .34783E-03   -1.5650    
  12  norm          .38858E-08    2.5202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .26645E-08    2.0268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.4272        3.2779        .47915E-03   -1.5666    
  15  norm          .53102E-06    3.5875        .56218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.1572        5.5305        .35040E-03   -1.5651    
  17  Prefactor     20.353        28.690        .23399E-03   -1.5618    
  18  Prefactor     .57615E-06    28.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .12527        2.2830        .66600E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .21094E-08    5.0645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .72519        .67182        .58745E-03   -1.5691    
  22  norm          .24980E-08    1.9671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.3032        2.3315        .67591E-03   -1.5678    
  24  Prefactor     5.6976        15.765        .42138E-03   -1.5660    
  25  Prefactor     .38636E-06    39.876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     21.851        6.5804        .21402E-03   -1.5614    
  27  Prefactor     .55511E-10    1.6141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .19440E-06    70.062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .79301        .14370        .43544E-01   -1.0033    
  30  Prefactor     .80259        .15495        .43736E-01   -.99633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02299e-07
Minuit parameter uncertainties:
  1  38.4027
  2  22.7286
  3  1.01307e-05
  4  17.1639
  5  0.000174652
  6  12.1662
  7  7.53735e-05
  8  8.67647
  9  3.1119
  10  0.000270854
  11  10.7653
  12  0.000197255
  13  0.000147346
  14  3.27788
  15  0.0027605
  16  5.53052
  17  28.6903
  18  0.00805052
  19  1.06957
  20  0.000206566
  21  0.671817
  22  0.000139544
  23  2.33146
  24  15.7651
  25  0.00785026
  26  6.58038
  27  1.73312e-05
  28  0.00738083
  29  0.143771
  30  0.155033
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  4.427e+00  3.278e+00  0.000e+00  1.000e+06 ( 1.000e-13)
419        alpha:  1.623e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  8.462e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  8.026e-01  1.550e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  7.930e-01  1.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.50
Ra Dec: 351.182 -40.683
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.09e-08 +/- 8.04e-09
Energy Flux (Fixed Index): 2.35e-05 +/- 1.74e-05

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) = 6493.83676397
delta logL = 0.340979701411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6493.83382718
delta logL = 0.34391648462

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1584       1.0000          .0000       .10000E+07
     2 'alpha     '    1.1320       1.0000          .0000       5.0000    
     3 'Normalizat'    .79478       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80432       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6493.834     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      198 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1594        3.4549        .49403E-03   -.67904E-03
   2  alpha         1.1314        .53998        .44822       -.32957E-04
   3  Normalizat    .79481        .13637        .43542E-01    .61117E-04
   4  Prefactor     .80429        .15394        .43773E-01    .24827E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.15935
  alpha      = 1.13142
  Normalizat = 0.794806
  Prefactor  = 0.804286
 **********
 **   18 **HESSE 
 **********

 FCN=   6493.834     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1594        3.4120        .12156E-04   -1.5667    
   2  alpha         1.1314        .56321        .18642E-01   -.57929    
   3  Normalizat    .79481        .16182        .21503E-03   -1.0026    
   4  Prefactor     .80429        .18301        .24029E-03   -.99571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7968e-11
Minuit parameter uncertainties:
  1  3.41196
  2  0.570243
  3  0.161915
  4  0.183147
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963459': 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) = 6493.83382648
delta logL = 0.343917186177

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  4.159e+00  3.412e+00  0.000e+00  1.000e+06 ( 1.000e-13)
419        alpha:  1.131e+00  5.702e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  8.462e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  8.043e-01  1.831e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  7.948e-01  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.19
Ra Dec: 351.182 -40.683
Photon Index (Free Index): 1.13 +/- 0.57
Photon Flux (Free Index): 6.26e-09 +/- 5.72e-09
Energy Flux (Free Index): 4.99e-05 +/- 5.80e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/963459/cmap_HighResolution_689299201_689558401_4FGL_J2324.7-4041_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.09e-08', energy_flux2='4.99e-05', photon_flux_error='8.04e-09', dlogl='3.44e-01', energy_flux='2.35e-05', photon_flux2='6.26e-09', job_status='DONE', time_completed='2022-11-08 00:50:08.995692', photon_index_error2='0.57', photon_index2='1.13', ts='14.50', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='5.80e-05', EG='0.79', time_epoch_completed='1667897409.0', return_code='0', job_id='963459', GAL2='0.80', EG2='0.79', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='5.72e-09', ts2='15.19', photon_index='1.62' WHERE bin_id='1736' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:50:09 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 963459: <4FGL_J2324.7-4041_daily_bin1736> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin1736> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov  8 00:40:26 2022
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:40:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:40:27 2022
Terminated at Tue Nov  8 00:50:09 2022
Results reported at Tue Nov  8 00:50:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin1736 351.182 -40.6834 689299201 689558401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.7-4041 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   476.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             249.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   582 sec.
    Turnaround time :                            583 sec.

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

