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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin1734
RA = 351.182, Dec = -40.6834
tmin = 688780801, tmax = 689040001
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='776557', job_status='RUN', time_executed='2022-11-02 00:38:45.895556', time_epoch_executed='1667374725.9' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776557

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776557/ft1_4FGL_J2324.7-4041_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776557/ft2_4FGL_J2324.7-4041_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776557/ft1_4FGL_J2324.7-4041_daily_bin1734.fits outfile=/scratch/kocevski/776557/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1734.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=688780801.0 tmax=689040001.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.59
user 3.34
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 595

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776557/ft1_filtered_4FGL_J2324.7-4041_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776557/ft2_4FGL_J2324.7-4041_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776557/ltcube_688780801_689040001_4FGL_J2324.7-4041_daily_bin1734.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/776557/ft2_4FGL_J2324.7-4041_daily_bin1734.fits
.....................!
real 12.33
user 11.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776557/ft1_filtered_4FGL_J2324.7-4041_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776557/ft2_4FGL_J2324.7-4041_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776557/ltcube_688780801_689040001_4FGL_J2324.7-4041_daily_bin1734.fits outfile=/scratch/kocevski/776557/expmap_688780801_689040001_4FGL_J2324.7-4041_daily_bin1734.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/776557/ltcube_688780801_689040001_4FGL_J2324.7-4041_daily_bin1734.fits
.....................!
real 191.81
user 185.87
sys 5.37

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/776557/ft1_filtered_4FGL_J2324.7-4041_daily_bin1734.fits scfile=/scratch/kocevski/776557/ft2_4FGL_J2324.7-4041_daily_bin1734.fits outfile=/scratch/kocevski/776557/cmap_688780801_689040001_4FGL_J2324.7-4041_daily_bin1734.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776557/ft1_filtered_4FGL_J2324.7-4041_daily_bin1734.fits scfile=/scratch/kocevski/776557/ft2_4FGL_J2324.7-4041_daily_bin1734.fits outfile=/scratch/kocevski/776557/cmap_HighResolution_688780801_689040001_4FGL_J2324.7-4041_daily_bin1734.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.52
user 0.36
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/776557/ft1_filtered_4FGL_J2324.7-4041_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776557/ft2_4FGL_J2324.7-4041_daily_bin1734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/776557/Model_4FGL_J2324.7-4041_daily_bin1734.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/776557/ft1_filtered_4FGL_J2324.7-4041_daily_bin1734.fits.....................!
real 46.66
user 45.31
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/776557/ft1_filtered_4FGL_J2324.7-4041_daily_bin1734.fits', '/scratch/kocevski/776557/ft2_4FGL_J2324.7-4041_daily_bin1734.fits', expMap='/scratch/kocevski/776557/expmap_688780801_689040001_4FGL_J2324.7-4041_daily_bin1734.fits', expCube='/scratch/kocevski/776557/ltcube_688780801_689040001_4FGL_J2324.7-4041_daily_bin1734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/776557/Model_4FGL_J2324.7-4041_daily_bin1734.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/776557/ft1_filtered_4FGL_J2324.7-4041_daily_bin1734.fits
Spacecraft file(s): /scratch/kocevski/776557/ft2_4FGL_J2324.7-4041_daily_bin1734.fits
Exposure map: /scratch/kocevski/776557/expmap_688780801_689040001_4FGL_J2324.7-4041_daily_bin1734.fits
Exposure cube: /scratch/kocevski/776557/ltcube_688780801_689040001_4FGL_J2324.7-4041_daily_bin1734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/776557/Model_4FGL_J2324.7-4041_daily_bin1734.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6460.71508559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16035E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10623E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10436E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.948       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.3113       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1825       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.189       1.0000          .0000       .10000E+07
     8 'Prefactor '    11.303       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20534E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .22185E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13557E-04   1.0000          .0000       .10000E+07
    12 'norm      '    9.5374       1.0000          .0000       .10000E+07
    13 'norm      '    2.5300       1.0000          .0000       .10000E+07
    14 'norm      '    .23287E-06   1.0000          .0000       .10000E+07
    15 'norm      '    9.2009       1.0000          .0000       .10000E+07
    16 'Prefactor '    .91850       1.0000          .0000       .10000E+07
    17 'Prefactor '    56.707       1.0000          .0000       .10000E+07
    18 'Prefactor '    .49328E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .15965E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    27.874       1.0000          .0000       .10000E+07
    21 'norm      '    .54524E-01   1.0000          .0000       .10000E+07
    22 'norm      '    3.0035       1.0000          .0000       .10000E+07
    23 'Prefactor '    5.2598       1.0000          .0000       .10000E+07
    24 'Prefactor '    .21291E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .95805E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .11685E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    4.7642       1.0000          .0000       .10000E+07
    28 'Prefactor '    4.8932       1.0000          .0000       .10000E+07
    29 'Normalizat'    .79183       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .99338       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=   6457.625     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     1694 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22887E-06    7.7863        .52689E-05** at limit **
   2  Prefactor     .12942E-05    10.240        .58263E-06** at limit **
   3  Prefactor      .0000        1.2343        .29807E-06** at limit **
   4  Prefactor     12.605        1.6382       -.14365E-06   -.11838E-01
   5  Prefactor     3.3132        3.9263        .14401E-06   -.10022E-02
   6  Prefactor     3.2382        1.4294       -.50189E-06   -.92736E-02
   7  Prefactor     12.048        1.3198        .71592E-07   -.75519E-02
   8  Prefactor     11.208        10.103       -.38431E-05   -.69405E-01
   9  Prefactor     .44409E-09    3.0368       -.65716E-07** at limit **
  10  Prefactor     .14105E-06    6.1695       -.18750E-05** at limit **
  11  Prefactor     .55511E-09    7.5735       -.30818E-05** at limit **
  12  norm          9.6328        3.1668        .57003E-06   -.17458E-01
  13  norm          2.5301        3.4571       -.27196E-06   -.66342E-02
  14  norm          .55511E-10    1.2898        .20815E-06** at limit **
  15  norm          9.1479        6.7215        .37874E-07    .29425E-02
  16  Prefactor     .90294        1.9736       -.41765E-06    .49837E-01
  17  Prefactor     56.646        1.4307       -.18429E-06    .39053E-01
  18  Prefactor     .12934E-07    9.7242        .22246E-05** at limit **
  19  norm           .0000        2.3623        .18242E-06** at limit **
  20  Prefactor     27.796        4.7326       -.18652E-06    .12422    
  21  norm          .55430E-01    2.6666        .10977E-05** at limit **
  22  norm          3.0156        4.3716       -.30467E-06   -.14663E-02
  23  Prefactor     5.2578        3.5255        .21586E-06    .16732E-02
  24  Prefactor     .30986E-06    9.9743        .71369E-05** at limit **
  25  Prefactor     .96373E-06    18.446       -.38231E-05** at limit **
  26  Prefactor     .37192E-08    4.8369        .14197E-05** at limit **
  27  Prefactor     4.7616        3.2727       -.26729E-06    .36353E-02
  28  Prefactor     4.4620        3.9582       -.22005E-05    .29214E-01
  29  Normalizat    .79259        .18295        .14356E-04    .19460E-03
  30  Prefactor     .99323        .20574       -.10691E-04    .15280E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.28872e-07
  Prefactor  = 1.29424e-06
  Prefactor  = 0
  Prefactor  = 12.6055
  Prefactor  = 3.31316
  Prefactor  = 3.23818
  Prefactor  = 12.0483
  Prefactor  = 11.2082
  Prefactor  = 4.44089e-10
  Prefactor  = 1.41054e-07
  Prefactor  = 5.55112e-10
  norm       = 9.6328
  norm       = 2.53013
  norm       = 5.55112e-11
  norm       = 9.14788
  Prefactor  = 0.902938
  Prefactor  = 56.6463
  Prefactor  = 1.29341e-08
  norm       = 0
  Prefactor  = 27.7959
  norm       = 0.0554304
  norm       = 3.01556
  Prefactor  = 5.25782
  Prefactor  = 3.09863e-07
  Prefactor  = 9.63729e-07
  Prefactor  = 3.71925e-09
  Prefactor  = 4.76156
  Prefactor  = 4.46203
  Normalizat = 0.792592
  Prefactor  = 0.993233
 **********
 **   18 **HESSE 
 **********

 FCN=   6457.625     FROM HESSE     STATUS=OK           652 CALLS     2346 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22887E-06    18.048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12942E-05    27.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.2334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.605        16.106        .27812E-03   -1.5637    
   5  Prefactor     3.3132        3.9313        .55608E-03   -1.5672    
   6  Prefactor     3.2382        18.642        .56778E-03   -1.5672    
   7  Prefactor     12.048        17.346        .28668E-03   -1.5639    
   8  Prefactor     11.208        11.076        .29774E-03   -1.5641    
   9  Prefactor     .44409E-09    3.0333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .14105E-06    14.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-09    14.596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.6328        11.934        .32425E-03   -1.5646    
  13  norm          2.5301        3.4826        .64190E-03   -1.5676    
  14  norm          .55511E-10    1.2908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.1479        6.7351        .33016E-03   -1.5647    
  16  Prefactor     .90294        20.927        .44490E-03   -1.5689    
  17  Prefactor     56.646        36.308        .13280E-03   -1.5557    
  18  Prefactor     .12934E-07    9.9073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        2.3574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     27.796        20.002        .18944E-03   -1.5603    
  21  norm          .55430E-01    .68731        .22544E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.0156        4.9723        .58542E-03   -1.5673    
  23  Prefactor     5.2578        3.5365        .43803E-03   -1.5662    
  24  Prefactor     .30986E-06    19.858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .96373E-06    28.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .37192E-08    4.7989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.7616        3.2870        .46072E-03   -1.5664    
  28  Prefactor     4.4620        51.775        .45447E-03   -1.5666    
  29  Normalizat    .79259        .15754        .43504E-01   -1.0034    
  30  Prefactor     .99323        .17387        .46184E-01   -.92955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.68238e-07
Minuit parameter uncertainties:
  1  0.00406457
  2  0.0118609
  3  6.44734e-06
  4  16.1059
  5  3.93129
  6  15.5393
  7  17.3462
  8  11.0759
  9  7.31477e-05
  10  0.00290034
  11  0.0001826
  12  11.9335
  13  3.48263
  14  1.88299e-05
  15  6.73511
  16  8.69381
  17  36.3079
  18  0.000716414
  19  1.01564e-05
  20  20.0021
  21  0.390374
  22  4.97227
  23  3.53645
  24  0.00496116
  25  0.0105075
  26  0.000266296
  27  3.28704
  28  30.3991
  29  0.157629
  30  0.173972
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  5.551e-11  1.883e-05  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:  9.932e-01  1.740e-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.926e-01  1.576e-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: 1.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.94e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776557/likelihoodResults_688780801_689040001_4FGL_J2324.7-4041_daily_bin1734.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) = 6457.62519543
delta logL = -0.000639070213765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6457.62455936
delta logL = -2.99240764434e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74496E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    .30494       1.0000          .0000       5.0000    
     3 'Normalizat'    .79243       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99320       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=   6457.625     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      260 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .33307E-09    .37574E-02    .42118E-03** at limit **
   2  alpha         2.8829        3.4912        .50000        .95497E-09
   3  Normalizat    .79259        .31202E-03    .43511E-01   -.84585E-03
   4  Prefactor     .99323        .35820E-03    .46182E-01   -.86197E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.33067e-10
  alpha      = 2.88292
  Normalizat = 0.792591
  Prefactor  = 0.993231
 **********
 **   18 **HESSE 
 **********

 FCN=   6457.625     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      285 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .33307E-09    .94086        .11008E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.8829        3.3922        .20000        .15377    
   3  Normalizat    .79259        .48684E-02    .23356E-03   -1.0034    
   4  Prefactor     .99323        .55896E-02    .24064E-03   -.92955    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.05013e-09
Minuit parameter uncertainties:
  1  3.65497e-05
  2  50160.2
  3  0.00486838
  4  0.00558964
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776557': 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) = 6457.62455637
delta logL = -6.53926690575e-10

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  3.331e-10  3.655e-05  0.000e+00  1.000e+06 ( 1.000e-13)
419        alpha:  2.883e+00  5.016e+04  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:  9.932e-01  5.590e-03  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.926e-01  4.868e-03  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/776557/cmap_HighResolution_688780801_689040001_4FGL_J2324.7-4041_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.94e-05', job_status='DONE', photon_flux_upper_limit='1.82e-08', time_completed='2022-11-02 00:49:41.987321', job_id='776557', GAL2='0.99', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1667375381.99', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='-6.54e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1734' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:49:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 776557: <4FGL_J2324.7-4041_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:34 2022
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:35 2022
Terminated at Wed Nov  2 00:49:42 2022
Results reported at Wed Nov  2 00:49:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin1734 351.182 -40.6834 688780801 689040001 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 :                                   658.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             266.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            848 sec.

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

