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 43 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin1707
RA = 351.182, Dec = -40.6834
tmin = 681782401, tmax = 682041601
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='551599', job_status='RUN', time_executed='2022-08-13 00:36:20.700231', time_epoch_executed='1660376180.7' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551599

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551599/ft1_4FGL_J2324.7-4041_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551599/ft2_4FGL_J2324.7-4041_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551599/ft1_4FGL_J2324.7-4041_daily_bin1707.fits outfile=/scratch/kocevski/551599/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1707.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=681782401.0 tmax=682041601.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.42
user 5.20
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/551599/ft2_4FGL_J2324.7-4041_daily_bin1707.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/551599/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1707.fits evtable="EVENTS" outfile="/scratch/kocevski/551599/ft1_filtered_4FGL_J2324.7-4041_daily_bin1707.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.35
sys 0.14

Number of photons that the gtmktime cut: 453

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551599/ft1_filtered_4FGL_J2324.7-4041_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/551599/ft2_4FGL_J2324.7-4041_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/551599/ltcube_681782401_682041601_4FGL_J2324.7-4041_daily_bin1707.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/551599/ft2_4FGL_J2324.7-4041_daily_bin1707.fits
.....................!
real 11.61
user 11.24
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551599/ft1_filtered_4FGL_J2324.7-4041_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/551599/ft2_4FGL_J2324.7-4041_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/551599/ltcube_681782401_682041601_4FGL_J2324.7-4041_daily_bin1707.fits outfile=/scratch/kocevski/551599/expmap_681782401_682041601_4FGL_J2324.7-4041_daily_bin1707.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/551599/ltcube_681782401_682041601_4FGL_J2324.7-4041_daily_bin1707.fits
.....................!
real 191.28
user 185.26
sys 5.65

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/551599/ft1_filtered_4FGL_J2324.7-4041_daily_bin1707.fits scfile=/scratch/kocevski/551599/ft2_4FGL_J2324.7-4041_daily_bin1707.fits outfile=/scratch/kocevski/551599/cmap_681782401_682041601_4FGL_J2324.7-4041_daily_bin1707.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551599/ft1_filtered_4FGL_J2324.7-4041_daily_bin1707.fits scfile=/scratch/kocevski/551599/ft2_4FGL_J2324.7-4041_daily_bin1707.fits outfile=/scratch/kocevski/551599/cmap_HighResolution_681782401_682041601_4FGL_J2324.7-4041_daily_bin1707.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551599/ft1_filtered_4FGL_J2324.7-4041_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/551599/ft2_4FGL_J2324.7-4041_daily_bin1707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551599/Model_4FGL_J2324.7-4041_daily_bin1707.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/551599/ft1_filtered_4FGL_J2324.7-4041_daily_bin1707.fits.....................!
real 40.01
user 38.71
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/551599/ft1_filtered_4FGL_J2324.7-4041_daily_bin1707.fits', '/scratch/kocevski/551599/ft2_4FGL_J2324.7-4041_daily_bin1707.fits', expMap='/scratch/kocevski/551599/expmap_681782401_682041601_4FGL_J2324.7-4041_daily_bin1707.fits', expCube='/scratch/kocevski/551599/ltcube_681782401_682041601_4FGL_J2324.7-4041_daily_bin1707.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/551599/Model_4FGL_J2324.7-4041_daily_bin1707.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  1.000e-04  1.000e+04 ( 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  0.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/551599/ft1_filtered_4FGL_J2324.7-4041_daily_bin1707.fits
Spacecraft file(s): /scratch/kocevski/551599/ft2_4FGL_J2324.7-4041_daily_bin1707.fits
Exposure map: /scratch/kocevski/551599/expmap_681782401_682041601_4FGL_J2324.7-4041_daily_bin1707.fits
Exposure cube: /scratch/kocevski/551599/ltcube_681782401_682041601_4FGL_J2324.7-4041_daily_bin1707.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/551599/Model_4FGL_J2324.7-4041_daily_bin1707.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) = 4933.59182219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.279       1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.640       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.6335       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .37041       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1682       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3851       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10265E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    13.156       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.8290       1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.787       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.405       1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10307E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .30294       1.0000         .10000E-03   10000.    
    24 'norm      '    2.5632       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .21240       1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.0153       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.2886       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10650E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.3178       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .73304       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4933.575     FROM MIGRAD    STATUS=CONVERGED   1613 CALLS     5112 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.577        77.914        .71642E-04    .35832E-04
   2  Prefactor     26.658        27.872        .77616E-04   -.17137E-04
   3  Prefactor     6.5755        65.385        .15580E-03    .17658E-04
   4  Prefactor     .37069        8.6125        .19921E-02   -.97393E-03
   5  Prefactor     .10000E-03    11.456        .18142E-02** at limit **
   6  Prefactor     2.1685        5.2333        .12108E-02   -.16060E-03
   7  Prefactor     .10000E-03    6.5059        .17489E-02** at limit **
   8  Prefactor     3.3847        8.4495        .10996E-02   -.42980E-04
   9  Prefactor     .10000E-03    6.4103        .17320E-02** at limit **
  10  Prefactor     .10000E-03    5.5964        .16152E-02** at limit **
  11  Prefactor     .10000E-03    29.820        .18142E-02** at limit **
  12  Prefactor     .10000E-03    13.220        .18142E-02** at limit **
  13  Prefactor     .10000E-03    6.1905        .17054E-02** at limit **
  14  norm          .10000E-03    3.7272        .13243E-02** at limit **
  15  norm          .10000E-03    1.7557        .90891E-03** at limit **
  16  norm          .10000E-03    2.4642        .10751E-02** at limit **
  17  norm          13.152        8.9691        .11043E-03   -.22545E-04
  18  Prefactor     2.8296        4.0752        .16456E-03   -.54024E-04
  19  Prefactor     29.788        28.281        .73410E-04   -.39801E-04
  20  Prefactor     16.495        48.850        .98886E-04   -.11497E-04
  21  norm          .10000E-03    3.2312        .24260E-03** at limit **
  22  Prefactor     .10000E-03    14.293        .18142E-02** at limit **
  23  norm          .30363        .86108        .10235E-03    .13218E-03
  24  norm          2.5624        2.6689        .11329E-03    .86302E-05
  25  Prefactor     .10000E-03    2.7090        .22105E-03** at limit **
  26  Prefactor     .10000E-03    14.487        .18142E-02** at limit **
  27  Prefactor     .10000E-03    89.766        .19592    ** at limit **
  28  Prefactor     4.0146        6.4021        .20125E-03   -.51405E-04
  29  Prefactor     1.2784        7.6771        .16355E-02   -.68350E-04
  30  Prefactor     .10000E-03    38.415        .18142E-02** at limit **
  31  Normalizat    1.3180        .24361        .21090E-03   -.23582E-03
  32  Prefactor     .73275        .24513        .29561E-03   -.24048E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.5768
  Prefactor  = 26.658
  Prefactor  = 6.5755
  Prefactor  = 0.370689
  Prefactor  = 0.0001
  Prefactor  = 2.16847
  Prefactor  = 0.0001
  Prefactor  = 3.38472
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 13.1522
  Prefactor  = 2.82959
  Prefactor  = 29.7877
  Prefactor  = 16.495
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.303631
  norm       = 2.56243
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 4.01461
  Prefactor  = 1.27844
  Prefactor  = 0.0001
  Normalizat = 1.31799
  Prefactor  = 0.732748
 **********
 **   18 **HESSE 
 **********

 FCN=   4933.575     FROM HESSE     STATUS=OK           643 CALLS     5755 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.577        77.890        .14328E-04   -1.4584    
   2  Prefactor     26.658        27.734        .31046E-05   -1.4675    
   3  Prefactor     6.5755        65.311        .62322E-05   -1.5195    
   4  Prefactor     .37069        8.5692        .79683E-04   -1.5586    
   5  Prefactor     .10000E-03    11.456        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.1685        5.2309        .48434E-04   -1.5413    
   7  Prefactor     .10000E-03    6.5061        .34978E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.3847        8.4487        .43983E-04   -1.5340    
   9  Prefactor     .10000E-03    6.4116        .34640E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.5980        .32304E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    29.823        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.221        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.1908        .34107E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.7272        .26485E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.7557        .18178E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.4643        .21502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          13.152        8.9683        .44174E-05   -1.4982    
  18  Prefactor     2.8296        4.0747        .65825E-05   -1.5372    
  19  Prefactor     29.788        28.271        .29364E-05   -1.4616    
  20  Prefactor     16.495        48.817        .39555E-05   -1.4895    
  21  norm          .10000E-03    3.2313        .48520E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    14.296        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .30363        .86085        .40942E-05   -1.5598    
  24  norm          2.5624        2.6688        .45315E-05   -1.5388    
  25  Prefactor     .10000E-03    2.7091        .44211E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    14.489        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    94.166        .18952       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     4.0146        6.4003        .80501E-05   -1.5307    
  29  Prefactor     1.2784        7.5491        .65421E-04   -1.5482    
  30  Prefactor     .10000E-03    38.417        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    1.3180        .24303        .42180E-04   -.83031    
  32  Prefactor     .73275        .24525        .11825E-04   -1.0226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7766e-09
Minuit parameter uncertainties:
  1  78.1426
  2  27.7477
  3  41.5051
  4  3.56463
  5  5.55963e-06
  6  5.23202
  7  2.58927e-07
  8  8.45169
  9  1.7295e-06
  10  5.54778e-06
  11  1.81383e-05
  12  1.41161e-06
  13  4.11515e-06
  14  6.38541e-07
  15  1.42267e-07
  16  3.10163e-06
  17  8.96923
  18  4.07513
  19  28.2837
  20  48.9356
  21  1.55486e-05
  22  3.58395e-05
  23  0.860887
  24  2.66891
  25  3.80394e-06
  26  1.96809e-05
  27  0.000898986
  28  6.40142
  29  6.21417
  30  3.79489e-06
  31  0.243239
  32  0.245615
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  3.102e-06  1.000e-04  1.000e+04 ( 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  0.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:  7.327e-01  2.456e-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:  1.318e+00  2.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.182 -40.683
Photon Flux Upper Limit: 2.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.38e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551599/likelihoodResults_681782401_682041601_4FGL_J2324.7-4041_daily_bin1707.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) = 4933.57688778
delta logL = -0.00184101503692

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4933.57504676
delta logL = 6.37010089122e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6276       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3180       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73274       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4933.575     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      244 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    136.45        .10758E-02** at limit **
   2  alpha         1.7305        3.3423        .50000        .13836E-06
   3  Normalizat    1.3180        .36632E-01    .21089E-03   -.52139E-04
   4  Prefactor     .73275        .39651E-01    .29561E-03   -.37266E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.73055
  Normalizat = 1.31799
  Prefactor  = 0.73275
 **********
 **   18 **HESSE 
 **********

 FCN=   4933.575     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    468.50        .21515E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7305        2.8395        .50000       -.31286    
   3  Normalizat    1.3180        .97330E-01    .42179E-04   -.83031    
   4  Prefactor     .73275        .10533        .11825E-04   -1.0226    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.03175e-09
Minuit parameter uncertainties:
  1  0.000253956
  2  1425.08
  3  0.0973431
  4  0.105361
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551599': 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) = 4933.57504658
delta logL = 1.8664104573e-07

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  2.540e-04  1.000e-04  1.000e+04 ( 1.000e-13)
419        alpha:  1.731e+00  1.425e+03  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  8.462e-02  0.000e+00  0.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:  7.327e-01  1.054e-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:  1.318e+00  9.734e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.182 -40.683

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/551599/cmap_HighResolution_681782401_682041601_4FGL_J2324.7-4041_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-05', job_status='DONE', photon_flux_upper_limit='2.95e-08', time_completed='2022-08-13 00:50:16.046998', job_id='551599', GAL2='0.73', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1660377016.05', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='1.87e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1707' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:50:16 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 551599: <4FGL_J2324.7-4041_daily_bin1707> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin1707> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 13 00:35:28 2022
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:35:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:35:29 2022
Terminated at Sat Aug 13 00:50:16 2022
Results reported at Sat Aug 13 00:50:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin1707 351.182 -40.6834 681782401 682041601 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 :                                   837.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            888 sec.

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

