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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin1698
RA = 351.182, Dec = -40.6834
tmin = 679449601, tmax = 679708801
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='925801', job_status='RUN', time_executed='2022-07-17 00:35:57.848105', time_epoch_executed='1658043357.85' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925801

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925801/ft1_4FGL_J2324.7-4041_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925801/ft2_4FGL_J2324.7-4041_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925801/ft1_4FGL_J2324.7-4041_daily_bin1698.fits outfile=/scratch/kocevski/925801/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1698.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=679449601.0 tmax=679708801.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.44
user 3.21
sys 0.22

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

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

Number of photons that the gtmktime cut: 520

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925801/ft1_filtered_4FGL_J2324.7-4041_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/925801/ft2_4FGL_J2324.7-4041_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/925801/ltcube_679449601_679708801_4FGL_J2324.7-4041_daily_bin1698.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/925801/ft2_4FGL_J2324.7-4041_daily_bin1698.fits
.....................!
real 11.84
user 11.47
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925801/ft1_filtered_4FGL_J2324.7-4041_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925801/ft2_4FGL_J2324.7-4041_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/925801/ltcube_679449601_679708801_4FGL_J2324.7-4041_daily_bin1698.fits outfile=/scratch/kocevski/925801/expmap_679449601_679708801_4FGL_J2324.7-4041_daily_bin1698.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/925801/ltcube_679449601_679708801_4FGL_J2324.7-4041_daily_bin1698.fits
.....................!
real 189.90
user 185.17
sys 4.40

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/925801/ft1_filtered_4FGL_J2324.7-4041_daily_bin1698.fits scfile=/scratch/kocevski/925801/ft2_4FGL_J2324.7-4041_daily_bin1698.fits outfile=/scratch/kocevski/925801/cmap_679449601_679708801_4FGL_J2324.7-4041_daily_bin1698.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925801/ft1_filtered_4FGL_J2324.7-4041_daily_bin1698.fits scfile=/scratch/kocevski/925801/ft2_4FGL_J2324.7-4041_daily_bin1698.fits outfile=/scratch/kocevski/925801/cmap_HighResolution_679449601_679708801_4FGL_J2324.7-4041_daily_bin1698.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.36
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/925801/ft1_filtered_4FGL_J2324.7-4041_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925801/ft2_4FGL_J2324.7-4041_daily_bin1698.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/925801/Model_4FGL_J2324.7-4041_daily_bin1698.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/925801/ft1_filtered_4FGL_J2324.7-4041_daily_bin1698.fits....................!
real 42.61
user 41.25
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/925801/ft1_filtered_4FGL_J2324.7-4041_daily_bin1698.fits', '/scratch/kocevski/925801/ft2_4FGL_J2324.7-4041_daily_bin1698.fits', expMap='/scratch/kocevski/925801/expmap_679449601_679708801_4FGL_J2324.7-4041_daily_bin1698.fits', expCube='/scratch/kocevski/925801/ltcube_679449601_679708801_4FGL_J2324.7-4041_daily_bin1698.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/925801/Model_4FGL_J2324.7-4041_daily_bin1698.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/925801/ft1_filtered_4FGL_J2324.7-4041_daily_bin1698.fits
Spacecraft file(s): /scratch/kocevski/925801/ft2_4FGL_J2324.7-4041_daily_bin1698.fits
Exposure map: /scratch/kocevski/925801/expmap_679449601_679708801_4FGL_J2324.7-4041_daily_bin1698.fits
Exposure cube: /scratch/kocevski/925801/ltcube_679449601_679708801_4FGL_J2324.7-4041_daily_bin1698.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/925801/Model_4FGL_J2324.7-4041_daily_bin1698.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) = 5694.54453206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.859       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    46.263       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.0775       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10250E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.0128       1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    14.531       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.170       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.3975       1.0000         .10000E-03   10000.    
    24 'norm      '    .30900       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    23.192       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.2928       1.0000         .10000E-03   10000.    
    30 'Prefactor '    24.729       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .92775       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .87272       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.

 FCN=   5694.542     FROM MIGRAD    STATUS=CONVERGED    813 CALLS     4353 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.833        45.122       -.42333E-04    .11967E-04
   2  Prefactor     .10000E-03    7.1391        .13552E-05** at limit **
   3  Prefactor     .10000E-03    13.961       -.25391E-05** at limit **
   4  Prefactor     .10000E-03    3.8669        .58763E-06** at limit **
   5  Prefactor     .10000E-03    25.022        .12549E-04** at limit **
   6  Prefactor     .10000E-03    2.9064        .13738E-06** at limit **
   7  Prefactor     .10000E-03    7.1230        .16514E-05** at limit **
   8  Prefactor     .10000E-03    9.5861       -.10376E-05** at limit **
   9  Prefactor     46.263        16.278       -.46107E-06    .33150E-04
  10  Prefactor     .10000E-03    7.8139       -.58370E-05** at limit **
  11  Prefactor     9.0695        27.895       -.12658E-04   -.10993E-04
  12  Prefactor     .10000E-03    43.448       -.52651E-05** at limit **
  13  Prefactor     .10000E-03    4.6989        .24517E-05** at limit **
  14  norm          .10000E-03    10.940        .38939E-05** at limit **
  15  norm          6.0121        6.1794       -.12314E-05   -.19283E-02
  16  norm          .10000E-03    2.4463        .44257E-07** at limit **
  17  norm          14.531        7.5265       -.20316E-06    .40314E-04
  18  Prefactor     10.171        6.5336       -.12398E-06    .31856E-04
  19  Prefactor     .10000E-03    9.9902        .89560E-06** at limit **
  20  Prefactor     .10000E-03    11.978        .37763E-05** at limit **
  21  norm          .10000E-03    2.1703       -.77590E-07** at limit **
  22  Prefactor     .10000E-03    4.5216       -.30693E-05** at limit **
  23  norm          1.3977        1.1917        .45028E-07   -.90308E-04
  24  norm          .31151        2.1807       -.34550E-06    .10606E-04
  25  Prefactor     .10000E-03    .91751       -.15318E-06** at limit **
  26  Prefactor     23.194        20.665        .16330E-06    .14856E-04
  27  Prefactor     .10000E-03    17.985       -.10721E-04** at limit **
  28  Prefactor     .10000E-03    1.9940       -.14638E-07** at limit **
  29  Prefactor     3.2934        3.0143       -.11417E-06   -.82416E-04
  30  Prefactor     24.732        28.276        .26311E-05    .13866E-04
  31  Normalizat    .92746        .16654        .30282E-05    .57720E-04
  32  Prefactor     .87305        .18232        .41847E-06    .22967E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.8327
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.2625
  Prefactor  = 0.0001
  Prefactor  = 9.06951
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.01213
  norm       = 0.0001
  norm       = 14.5306
  Prefactor  = 10.1709
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.39774
  norm       = 0.311509
  Prefactor  = 0.0001
  Prefactor  = 23.1939
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.29339
  Prefactor  = 24.7318
  Normalizat = 0.927458
  Prefactor  = 0.873052
 **********
 **   18 **HESSE 
 **********

 FCN=   5694.542     FROM HESSE     STATUS=OK           651 CALLS     5004 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.833        44.923        .83778E-04   -1.4752    
   2  Prefactor     .10000E-03    7.1483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.0357        .28935E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    25.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.9214        .12562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.1276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.6093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.263        16.312        .58949E-04   -1.4347    
  10  Prefactor     .10000E-03    8.0345        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.0695        27.911        .13303E-03   -1.5106    
  12  Prefactor     .10000E-03    43.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.7023        .15971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    11.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.0121        6.2560        .81873E-03   -1.5218    
  16  norm          .10000E-03    2.4752        .11524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.531        7.5280        .10507E-03   -1.4945    
  18  Prefactor     10.171        6.5271        .12564E-03   -1.5070    
  19  Prefactor     .10000E-03    10.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.2311        .21674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.5290        .15665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.3977        1.1916        .36720E-04   -1.5472    
  24  norm          .31151        13.287        .20923E-02   -1.5596    
  25  Prefactor     .10000E-03    .92033        .70544E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     23.194        20.646        .83175E-04   -1.4744    
  27  Prefactor     .10000E-03    17.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    2.0151        .10402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     3.2934        3.0154        .12060E-03   -1.5345    
  30  Prefactor     24.732        28.290        .80554E-04   -1.4713    
  31  Normalizat    .92746        .20059        .22064E-03   -.95502    
  32  Prefactor     .87305        .21926        .25422E-03   -.97089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73539e-09
Minuit parameter uncertainties:
  1  44.9895
  2  7.28935e-06
  3  1.96571e-05
  4  4.51516e-05
  5  4.62736e-05
  6  1.84502e-07
  7  8.87714e-06
  8  2.20406e-05
  9  16.3135
  10  1.60226e-05
  11  27.9515
  12  7.03638e-05
  13  3.60367e-06
  14  3.56774e-05
  15  6.25663
  16  4.66787e-06
  17  7.52848
  18  6.52755
  19  8.30945e-06
  20  1.40729e-05
  21  6.03162e-06
  22  5.43441e-06
  23  1.19158
  24  4.06924
  25  2.10097e-06
  26  20.6526
  27  1.41858e-05
  28  7.39217e-06
  29  3.01551
  30  28.3052
  31  0.200756
  32  0.219476
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  4.668e-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:  8.731e-01  2.195e-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:  9.275e-01  2.008e-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.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.26e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/925801/likelihoodResults_679449601_679708801_4FGL_J2324.7-4041_daily_bin1698.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) = 5694.54388333
delta logL = -0.00191765414183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5694.54196569
delta logL = -1.20844561025e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6257       1.0000          .0000       5.0000    
     3 'Normalizat'    .92747       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87305       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=   5694.542     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      226 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    130.76        .11526E-02** at limit **
   2  alpha         1.6383        2.9495        .50000       -.23621E-05
   3  Normalizat    .92746        .29861E-01    .22064E-03    .60801E-05
   4  Prefactor     .87305        .33664E-01    .25422E-03   -.17664E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100025
  alpha      = 1.63833
  Normalizat = 0.92746
  Prefactor  = 0.873048
 **********
 **   18 **HESSE 
 **********

 FCN=   5694.542     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      255 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    460.99        .23052E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6383        3.8648        .50000       -.35188    
   3  Normalizat    .92746        .79932E-01    .88256E-05   -.95502    
   4  Prefactor     .87305        .90101E-01    .10169E-04   -.97089    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.2986e-09
Minuit parameter uncertainties:
  1  0.00683389
  2  1320.87
  3  0.079942
  4  0.0901163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925801': 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) = 5694.54196566
delta logL = 1.61307980306e-08

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  6.834e-03  1.000e-04  1.000e+04 ( 1.000e-13)
419        alpha:  1.638e+00  1.321e+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:  8.730e-01  9.012e-02  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:  9.275e-01  7.994e-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/925801/cmap_HighResolution_679449601_679708801_4FGL_J2324.7-4041_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-05', job_status='DONE', photon_flux_upper_limit='2.43e-08', time_completed='2022-07-17 00:49:59.444589', job_id='925801', GAL2='0.87', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1658044199.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.61e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1698' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:49:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 925801: <4FGL_J2324.7-4041_daily_bin1698> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin1698> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 17 00:35:32 2022
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:35:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:35:33 2022
Terminated at Sun Jul 17 00:50:00 2022
Results reported at Sun Jul 17 00:50:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin1698 351.182 -40.6834 679449601 679708801 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 :                                   843.35 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             350.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            868 sec.

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

