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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin1696
RA = 351.182, Dec = -40.6834
tmin = 678931201, tmax = 679190401
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='794167', job_status='RUN', time_executed='2022-07-11 00:38:46.903478', time_epoch_executed='1657525126.9' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794167

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794167/ft1_4FGL_J2324.7-4041_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794167/ft2_4FGL_J2324.7-4041_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794167/ft1_4FGL_J2324.7-4041_daily_bin1696.fits outfile=/scratch/kocevski/794167/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1696.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=678931201.0 tmax=679190401.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.58
user 3.32
sys 0.21

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

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

Number of photons that the gtmktime cut: 466

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794167/ft1_filtered_4FGL_J2324.7-4041_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/794167/ft2_4FGL_J2324.7-4041_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/794167/ltcube_678931201_679190401_4FGL_J2324.7-4041_daily_bin1696.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/794167/ft2_4FGL_J2324.7-4041_daily_bin1696.fits
.....................!
real 11.89
user 11.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794167/ft1_filtered_4FGL_J2324.7-4041_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794167/ft2_4FGL_J2324.7-4041_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/794167/ltcube_678931201_679190401_4FGL_J2324.7-4041_daily_bin1696.fits outfile=/scratch/kocevski/794167/expmap_678931201_679190401_4FGL_J2324.7-4041_daily_bin1696.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/794167/ltcube_678931201_679190401_4FGL_J2324.7-4041_daily_bin1696.fits
.....................!
real 190.56
user 185.36
sys 4.87

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/794167/ft1_filtered_4FGL_J2324.7-4041_daily_bin1696.fits scfile=/scratch/kocevski/794167/ft2_4FGL_J2324.7-4041_daily_bin1696.fits outfile=/scratch/kocevski/794167/cmap_678931201_679190401_4FGL_J2324.7-4041_daily_bin1696.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794167/ft1_filtered_4FGL_J2324.7-4041_daily_bin1696.fits scfile=/scratch/kocevski/794167/ft2_4FGL_J2324.7-4041_daily_bin1696.fits outfile=/scratch/kocevski/794167/cmap_HighResolution_678931201_679190401_4FGL_J2324.7-4041_daily_bin1696.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794167/ft1_filtered_4FGL_J2324.7-4041_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794167/ft2_4FGL_J2324.7-4041_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794167/Model_4FGL_J2324.7-4041_daily_bin1696.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/794167/ft1_filtered_4FGL_J2324.7-4041_daily_bin1696.fits.....................!
real 40.50
user 39.26
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    101.87       1.0000         .10000E-03   10000.    
     2 'Prefactor '    38.121       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    111.15       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.6222       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.3067       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .18702E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5976       1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.276       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    11.341       1.0000         .10000E-03   10000.    
    15 'norm      '    14.279       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    13.301       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.0054       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    64.319       1.0000         .10000E-03   10000.    
    21 'norm      '    1.6240       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .40191E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .11031E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .21788E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    8.8848       1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.4698       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .37787       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=   5115.283     FROM MIGRAD    STATUS=CONVERGED    837 CALLS     4342 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     101.94        80.007       -.91074E-06   -.13597E-03
   2  Prefactor     38.117        30.660       -.66911E-06   -.13398E-03
   3  Prefactor     .10000E-03    7.6381        .23613E-08** at limit **
   4  Prefactor     .10000E-03    1.8152        .24032E-07** at limit **
   5  Prefactor     111.17        67.760       -.53268E-06   -.36500E-04
   6  Prefactor     2.6276        9.0625        .18578E-05   -.75910E-04
   7  Prefactor     .10000E-03    6.8594        .32814E-07** at limit **
   8  Prefactor     7.3172        23.056        .13929E-06    .30358E-07
   9  Prefactor     .10001E-03    9.4487        .28111E-06** at limit **
  10  Prefactor     1.6014        7.6272        .34219E-05   -.12919E-03
  11  Prefactor     28.278        28.039       -.11421E-06   -.45505E-05
  12  Prefactor     .10000E-03    27.671        .54119E-06** at limit **
  13  Prefactor     .10000E-03    13.715        .32641E-06** at limit **
  14  norm          11.342        10.663        .18518E-07   -.37385E-04
  15  norm          14.271        8.7145       -.10680E-06   -.74624E-04
  16  norm          .10000E-03    1.4302        .15424E-07** at limit **
  17  norm          13.305        9.2628        .20888E-06    .29757E-04
  18  Prefactor     8.9937        7.7321       -.20065E-05   -.62273E-03
  19  Prefactor     .10000E-03    16.335        .55899E-07** at limit **
  20  Prefactor     64.371        59.877       -.67871E-06   -.11071E-03
  21  norm          1.6244        2.2479        .42001E-07    .14147E-05
  22  Prefactor     .10003E-03    13.041        .45072E-05** at limit **
  23  norm          .10000E-03    .64705        .20860E-06** at limit **
  24  norm          .10000E-03    1.1557        .36657E-07** at limit **
  25  Prefactor     .10000E-03    1.4652        .69362E-07** at limit **
  26  Prefactor     .10000E-03    29.452        .25060E-06** at limit **
  27  Prefactor     .10000E-03    13.631        .40073E-07** at limit **
  28  Prefactor     .10000E-03    1.1598       -.75425E-09** at limit **
  29  Prefactor     .10008E-03    3.2293        .10962E-05** at limit **
  30  Prefactor     8.8887        21.053        .22502E-06    .34502E-07
  31  Normalizat    1.4691        .20846       -.87248E-06   -.38523E-03
  32  Prefactor     .37831        .21239       -.10870E-05    .42787E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 101.942
  Prefactor  = 38.1175
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 111.168
  Prefactor  = 2.62763
  Prefactor  = 0.0001
  Prefactor  = 7.31716
  Prefactor  = 0.000100007
  Prefactor  = 1.60138
  Prefactor  = 28.2775
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.3415
  norm       = 14.2708
  norm       = 0.0001
  norm       = 13.305
  Prefactor  = 8.99371
  Prefactor  = 0.0001
  Prefactor  = 64.3713
  norm       = 1.6244
  Prefactor  = 0.000100033
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100078
  Prefactor  = 8.88874
  Normalizat = 1.46911
  Prefactor  = 0.378311
 **********
 **   18 **HESSE 
 **********

 FCN=   5115.283     FROM HESSE     STATUS=OK           657 CALLS     4999 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     101.94        79.933        .19917E-03   -1.3685    
   2  Prefactor     38.117        28.866        .64915E-04   -1.4472    
   3  Prefactor     .10000E-03    7.6409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.8238        .94041E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     111.17        67.707        .19077E-03   -1.3595    
   6  Prefactor     2.6276        9.0415        .12593E-02   -1.5384    
   7  Prefactor     .10000E-03    6.8622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.3172        23.039        .14838E-03   -1.5167    
   9  Prefactor     .10001E-03    87.152        .42185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6014        7.7793        .16775E-02   -1.5455    
  11  Prefactor     28.278        28.027        .75341E-04   -1.4644    
  12  Prefactor     .10000E-03    27.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.342        10.659        .11896E-03   -1.5034    
  15  norm          14.271        8.6223        .10600E-03   -1.4952    
  16  norm          .10000E-03    1.4305        .83526E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          13.305        9.2602        .10983E-03   -1.4978    
  18  Prefactor     8.9937        7.7106        .13356E-03   -1.5108    
  19  Prefactor     .10000E-03    16.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     64.371        59.863        .50039E-04   -1.4102    
  21  norm          1.6244        2.2273        .12243E-03   -1.5453    
  22  Prefactor     .10003E-03    56.357        .43455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.1462        .10926E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    1.1589        .75080E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    1.4751        .84525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    29.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    13.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    1.1608        .75222E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10008E-03    30.202        .22325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     8.8887        21.042        .13447E-03   -1.5112    
  31  Normalizat    1.4691        .23183        .19844E-03   -.78650    
  32  Prefactor     .37831        .23151        .38772E-03   -1.1793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26262e-09
Minuit parameter uncertainties:
  1  80.0176
  2  28.8767
  3  4.2084e-06
  4  2.62508e-06
  5  67.7539
  6  9.04621
  7  2.23676e-06
  8  23.0673
  9  0.00158879
  10  7.06034
  11  28.0399
  12  8.06641e-05
  13  3.44232e-05
  14  10.661
  15  8.62302
  16  6.46606e-07
  17  9.2612
  18  7.71146
  19  2.41114e-05
  20  59.919
  21  2.22738
  22  0.00271566
  23  1.58717e-05
  24  6.14128e-07
  25  4.1587e-06
  26  0.000113498
  27  8.62053e-06
  28  1.3062e-06
  29  0.00307346
  30  21.0594
  31  0.231995
  32  0.232079
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  6.466e-07  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:  3.783e-01  2.321e-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.469e+00  2.320e-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.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.45e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/794167/likelihoodResults_678931201_679190401_4FGL_J2324.7-4041_daily_bin1696.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) = 5115.28263298
delta logL = -4.34694811702e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5115.2826322
delta logL = 3.46138222085e-07

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.5932       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4690       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .37837       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=   5115.283     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      249 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    83.093        .84588E-02** at limit **
   2  alpha         1.2723        2.9774        .18096       -.63452E-08
   3  Normalizat    1.4691        .34365E-01    .19844E-03   -.17326E-03
   4  Prefactor     .37830        .36202E-01    .38771E-03   -.77500E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.27231
  Normalizat = 1.46912
  Prefactor  = 0.378305
 **********
 **   18 **HESSE 
 **********

 FCN=   5115.283     FROM HESSE     STATUS=OK            23 CALLS      272 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.5984        .88251E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2723        2.9258        .72384E-02   -.51333    
   3  Normalizat    1.4691        .21877        .39688E-04   -.78650    
   4  Prefactor     .37830        .23006        .15508E-04   -1.1793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2178e-11
Minuit parameter uncertainties:
  1  8.86131e-06
  2  128.546
  3  0.218909
  4  0.23062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794167': 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) = 5115.28262891
delta logL = 3.63435992767e-06

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  8.861e-06  1.000e-04  1.000e+04 ( 1.000e-13)
419        alpha:  1.272e+00  1.285e+02  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:  3.783e-01  2.306e-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.469e+00  2.189e-01  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/794167/cmap_HighResolution_678931201_679190401_4FGL_J2324.7-4041_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-05', job_status='DONE', photon_flux_upper_limit='2.05e-08', time_completed='2022-07-11 00:51:50.310123', job_id='794167', GAL2='0.38', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1657525910.31', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.38', dlogl='3.63e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1696' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:51:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 794167: <4FGL_J2324.7-4041_daily_bin1696> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:35:29 2022
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:35:31 2022
Terminated at Mon Jul 11 00:51:51 2022
Results reported at Mon Jul 11 00:51:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin1696 351.182 -40.6834 678931201 679190401 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 :                                   785.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            982 sec.

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

