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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin1677
RA = 351.182, Dec = -40.6834
tmin = 674006401, tmax = 674265601
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='171956', job_status='RUN', time_executed='2022-05-15 01:12:10.971951', time_epoch_executed='1652602330.97' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='1677'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/171956

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/171956/ft1_4FGL_J2324.7-4041_daily_bin1677.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/171956/ft2_4FGL_J2324.7-4041_daily_bin1677.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/171956/ft1_4FGL_J2324.7-4041_daily_bin1677.fits outfile=/scratch/kocevski/171956/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1677.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=674006401.0 tmax=674265601.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 4.64
user 4.36
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/171956/ft2_4FGL_J2324.7-4041_daily_bin1677.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/171956/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1677.fits evtable="EVENTS" outfile="/scratch/kocevski/171956/ft1_filtered_4FGL_J2324.7-4041_daily_bin1677.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.55
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 437

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/171956/ft1_filtered_4FGL_J2324.7-4041_daily_bin1677.fits" evtable="EVENTS" scfile=/scratch/kocevski/171956/ft2_4FGL_J2324.7-4041_daily_bin1677.fits sctable="SC_DATA" outfile=/scratch/kocevski/171956/ltcube_674006401_674265601_4FGL_J2324.7-4041_daily_bin1677.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/171956/ft2_4FGL_J2324.7-4041_daily_bin1677.fits
.....................!
real 13.78
user 13.38
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/171956/ft1_filtered_4FGL_J2324.7-4041_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/171956/ft2_4FGL_J2324.7-4041_daily_bin1677.fits sctable="SC_DATA" expcube=/scratch/kocevski/171956/ltcube_674006401_674265601_4FGL_J2324.7-4041_daily_bin1677.fits outfile=/scratch/kocevski/171956/expmap_674006401_674265601_4FGL_J2324.7-4041_daily_bin1677.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/171956/ltcube_674006401_674265601_4FGL_J2324.7-4041_daily_bin1677.fits
.....................!
real 193.81
user 187.63
sys 4.94

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/171956/ft1_filtered_4FGL_J2324.7-4041_daily_bin1677.fits scfile=/scratch/kocevski/171956/ft2_4FGL_J2324.7-4041_daily_bin1677.fits outfile=/scratch/kocevski/171956/cmap_674006401_674265601_4FGL_J2324.7-4041_daily_bin1677.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/171956/ft1_filtered_4FGL_J2324.7-4041_daily_bin1677.fits scfile=/scratch/kocevski/171956/ft2_4FGL_J2324.7-4041_daily_bin1677.fits outfile=/scratch/kocevski/171956/cmap_HighResolution_674006401_674265601_4FGL_J2324.7-4041_daily_bin1677.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.329       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.2855       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10373E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.534       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.911       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10818E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    47.237       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.1900       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.6235       1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.375       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.328       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10609E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    15.764       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10640E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    56.860       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .16207E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    19.412       1.0000         .10000E-03   10000.    
    23 'norm      '    .64856       1.0000         .10000E-03   10000.    
    24 'norm      '    .10399E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.8335       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    16.801       1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.9698       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.6478       1.0000         .10000E-03   10000.    
    30 'Prefactor '    16.041       1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.0698       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .86073       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=   4848.384     FROM MIGRAD    STATUS=CONVERGED    816 CALLS     4370 TOTAL
                     EDM=   .78E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.230        69.026        .17305E-04    .81632E-05
   2  Prefactor     6.2863        24.616       -.55650E-06    .27002E-05
   3  Prefactor     .10000E-03    24.670        .19196E-05** at limit **
   4  Prefactor     .10000E-03    1.9715       -.15195E-07** at limit **
   5  Prefactor     .10000E-03    50.039        .23784E-05** at limit **
   6  Prefactor     12.537        8.9370        .12393E-06   -.51363E-05
   7  Prefactor     28.913        21.603        .99466E-07   -.93522E-06
   8  Prefactor     .10000E-03    12.753       -.21643E-06** at limit **
   9  Prefactor     47.248        18.681        .27874E-07   -.52423E-05
  10  Prefactor     9.1884        8.2095        .21022E-06   -.65388E-05
  11  Prefactor     6.6256        34.341       -.94318E-07   -.70323E-06
  12  Prefactor     31.405        43.949       -.35418E-05   -.12752E-04
  13  Prefactor     32.337        19.399       -.79468E-07   -.93969E-05
  14  norm          .10000E-03    3.8072       -.27878E-07** at limit **
  15  norm          .10000E-03    5.0820       -.17584E-06** at limit **
  16  norm          .10000E-03    3.1817        .35978E-06** at limit **
  17  norm          15.765        9.9407        .18203E-06   -.46369E-06
  18  Prefactor     .10000E-03    5.9404        .41027E-07** at limit **
  19  Prefactor     56.887        39.286       -.21008E-05   -.79996E-04
  20  Prefactor     .10000E-03    37.546       -.35244E-05** at limit **
  21  norm          .10000E-03    4.2924        .10859E-05** at limit **
  22  Prefactor     19.416        16.714        .13904E-06   -.14662E-04
  23  norm          .64874        1.4424        .12795E-06   -.97559E-05
  24  norm          .10000E-03    2.5939        .18978E-06** at limit **
  25  Prefactor     1.8342        6.0412        .55416E-06   -.10119E-04
  26  Prefactor     .10000E-03    28.612       -.91134E-06** at limit **
  27  Prefactor     16.788        44.072        .22441E-05    .34959E-05
  28  Prefactor     4.9723        8.2868        .13863E-05   -.56344E-04
  29  Prefactor     1.6472        4.3790        .24245E-05   -.19404E-03
  30  Prefactor     16.042        42.843       -.79465E-06   -.18504E-05
  31  Normalizat    1.0693        .21899       -.16245E-05    .42306E-05
  32  Prefactor     .86122        .22296        .29102E-06   -.38625E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.23
  Prefactor  = 6.28628
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.537
  Prefactor  = 28.9131
  Prefactor  = 0.0001
  Prefactor  = 47.2481
  Prefactor  = 9.18837
  Prefactor  = 6.62558
  Prefactor  = 31.4052
  Prefactor  = 32.3372
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 15.7653
  Prefactor  = 0.0001
  Prefactor  = 56.8871
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.4163
  norm       = 0.648736
  norm       = 0.0001
  Prefactor  = 1.83418
  Prefactor  = 0.0001
  Prefactor  = 16.7879
  Prefactor  = 4.97227
  Prefactor  = 1.64721
  Prefactor  = 16.0418
  Normalizat = 1.06935
  Prefactor  = 0.861222
 **********
 **   18 **HESSE 
 **********

 FCN=   4848.384     FROM HESSE     STATUS=OK           663 CALLS     5033 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.230        68.808        .82931E-04   -1.4744    
   2  Prefactor     6.2863        24.628        .16011E-03   -1.5206    
   3  Prefactor     .10000E-03    24.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.9912        .95446E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    50.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.537        8.9402        .11315E-03   -1.5000    
   7  Prefactor     28.913        21.606        .74511E-04   -1.4632    
   8  Prefactor     .10000E-03    12.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     47.248        18.702        .58341E-04   -1.4332    
  10  Prefactor     9.1884        8.2104        .13221E-03   -1.5102    
  11  Prefactor     6.6256        34.399        .15592E-03   -1.5193    
  12  Prefactor     31.405        43.940        .71533E-04   -1.4587    
  13  Prefactor     32.337        19.181        .70473E-04   -1.4570    
  14  norm          .10000E-03    3.8076        .13269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.1083        .15313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.1913        .12121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          15.765        9.9458        .10088E-03   -1.4914    
  18  Prefactor     .10000E-03    5.9857        .16477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     56.887        39.299        .53200E-04   -1.4198    
  20  Prefactor     .10000E-03    37.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    4.3656        .28062E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     19.416        16.534        .90906E-04   -1.4826    
  23  norm          .64874        1.3333        .10406E-03   -1.5547    
  24  norm          .10000E-03    2.6138        .10941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.8342        5.8095        .26561E-03   -1.5437    
  26  Prefactor     .10000E-03    28.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     16.788        44.113        .97713E-04   -1.4888    
  28  Prefactor     4.9723        8.2746        .90199E-03   -1.5262    
  29  Prefactor     1.6472        4.4013        .10671E-02   -1.5451    
  30  Prefactor     16.042        42.789        .10000E-03   -1.4907    
  31  Normalizat    1.0693        .26027        .24021E-03   -.90742    
  32  Prefactor     .86122        .26478        .28774E-03   -.97510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33342e-10
Minuit parameter uncertainties:
  1  69.0441
  2  24.6681
  3  1.69953e-05
  4  1.71523e-06
  5  3.6796e-05
  6  8.94117
  7  21.6114
  8  6.90666e-06
  9  18.7045
  10  8.2114
  11  30.2209
  12  43.9848
  13  19.1851
  14  6.66354e-07
  15  7.63737e-07
  16  1.76233e-05
  17  9.94683
  18  7.89136e-06
  19  39.3172
  20  2.27862e-05
  21  5.54026e-05
  22  16.538
  23  1.3334
  24  8.04698e-06
  25  5.81133
  26  5.18265e-05
  27  44.1985
  28  8.27655
  29  4.40212
  30  42.8707
  31  0.260582
  32  0.265176
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  1.762e-05  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.612e-01  2.652e-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.069e+00  2.606e-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: 3.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.56e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/171956/likelihoodResults_674006401_674265601_4FGL_J2324.7-4041_daily_bin1677.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): 0
logL (Free Index) = 4848.38565352
delta logL = -0.00146738500007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4848.38417794
delta logL = 8.19480919745e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11957E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5613       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86129       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=   4848.384     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      260 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .20067        .47048E-01** at limit **
   2  alpha         2.5693        3.2834        .41167       -.47441E-05
   3  Normalizat    1.0693        .21267E-02    .39416E-01    .12241E-04
   4  Prefactor     .86122        .23237E-02    .65052E-01    .16999E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.56925
  Normalizat = 1.06934
  Prefactor  = 0.861223
 **********
 **   18 **HESSE 
 **********

 FCN=   4848.384     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      295 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    88.801        .13912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5693        3.0883        .50000        .27704E-01
   3  Normalizat    1.0693        .16392E-01    .24021E-03   -.90742    
   4  Prefactor     .86122        .17890E-01    .28774E-03   -.97510    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19108e-07
Minuit parameter uncertainties:
  1  3.04654e-05
  2  187.189
  3  0.0163924
  4  0.0178905
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/171956': 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) = 4848.38417667
delta logL = 9.46246473177e-06

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  3.047e-05  1.000e-04  1.000e+04 ( 1.000e-13)
419        alpha:  2.569e+00  1.872e+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:  8.612e-01  1.789e-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:  1.069e+00  1.639e-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/171956/cmap_HighResolution_674006401_674265601_4FGL_J2324.7-4041_daily_bin1677.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.56e-05', job_status='DONE', photon_flux_upper_limit='3.49e-08', time_completed='2022-05-15 01:25:17.502015', job_id='171956', GAL2='0.86', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1652603117.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='9.46e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1677' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 15 01:25:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 171956: <4FGL_J2324.7-4041_daily_bin1677> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin1677> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun May 15 01:10:23 2022
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun May 15 01:11:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun May 15 01:11:25 2022
Terminated at Sun May 15 01:25:18 2022
Results reported at Sun May 15 01:25:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin1677 351.182 -40.6834 674006401 674265601 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 :                                   787.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            895 sec.

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

