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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin1737
RA = 351.182, Dec = -40.6834
tmin = 689558401, tmax = 689817601
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='164306', job_status='RUN', time_executed='2022-11-11 01:03:30.530451', time_epoch_executed='1668157410.53' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='1737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164306

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164306/ft1_4FGL_J2324.7-4041_daily_bin1737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164306/ft2_4FGL_J2324.7-4041_daily_bin1737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164306/ft1_4FGL_J2324.7-4041_daily_bin1737.fits outfile=/scratch/kocevski/164306/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1737.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=689558401.0 tmax=689817601.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.76
user 3.50
sys 0.22

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

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

Number of photons that the gtmktime cut: 650

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/164306/ft1_filtered_4FGL_J2324.7-4041_daily_bin1737.fits" evtable="EVENTS" scfile=/scratch/kocevski/164306/ft2_4FGL_J2324.7-4041_daily_bin1737.fits sctable="SC_DATA" outfile=/scratch/kocevski/164306/ltcube_689558401_689817601_4FGL_J2324.7-4041_daily_bin1737.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/164306/ft2_4FGL_J2324.7-4041_daily_bin1737.fits
.....................!
real 16.03
user 15.54
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164306/ft1_filtered_4FGL_J2324.7-4041_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/164306/ft2_4FGL_J2324.7-4041_daily_bin1737.fits sctable="SC_DATA" expcube=/scratch/kocevski/164306/ltcube_689558401_689817601_4FGL_J2324.7-4041_daily_bin1737.fits outfile=/scratch/kocevski/164306/expmap_689558401_689817601_4FGL_J2324.7-4041_daily_bin1737.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/164306/ltcube_689558401_689817601_4FGL_J2324.7-4041_daily_bin1737.fits
.....................!
real 192.91
user 186.63
sys 5.52

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/164306/ft1_filtered_4FGL_J2324.7-4041_daily_bin1737.fits scfile=/scratch/kocevski/164306/ft2_4FGL_J2324.7-4041_daily_bin1737.fits outfile=/scratch/kocevski/164306/cmap_689558401_689817601_4FGL_J2324.7-4041_daily_bin1737.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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164306/ft1_filtered_4FGL_J2324.7-4041_daily_bin1737.fits scfile=/scratch/kocevski/164306/ft2_4FGL_J2324.7-4041_daily_bin1737.fits outfile=/scratch/kocevski/164306/cmap_HighResolution_689558401_689817601_4FGL_J2324.7-4041_daily_bin1737.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.57
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/164306/ft1_filtered_4FGL_J2324.7-4041_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/164306/ft2_4FGL_J2324.7-4041_daily_bin1737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/164306/Model_4FGL_J2324.7-4041_daily_bin1737.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/164306/ft1_filtered_4FGL_J2324.7-4041_daily_bin1737.fits.....................!
real 50.20
user 48.74
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14340E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .46851E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.6938       1.0000          .0000       .10000E+07
     4 'Prefactor '    .30863E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .23814E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .36832E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17947E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.4737       1.0000          .0000       .10000E+07
     9 'Prefactor '    .50082E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    15.917       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11596E-02   1.0000          .0000       .10000E+07
    12 'norm      '    9.0235       1.0000          .0000       .10000E+07
    13 'norm      '    .14474E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .59824E-04   1.0000          .0000       .10000E+07
    15 'norm      '    2.7252       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.9968       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.6491       1.0000          .0000       .10000E+07
    18 'Prefactor '    .45741E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .76885E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .37966E-01   1.0000          .0000       .10000E+07
    21 'norm      '    1.4983       1.0000          .0000       .10000E+07
    22 'norm      '    .10430E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .38129E-05   1.0000          .0000       .10000E+07
    24 'Prefactor '    .11422E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .10245E-01   1.0000          .0000       .10000E+07
    26 'Prefactor '    10.685       1.0000          .0000       .10000E+07
    27 'Prefactor '    4.9108       1.0000          .0000       .10000E+07
    28 'Prefactor '    27.168       1.0000          .0000       .10000E+07
    29 'Normalizat'    .93870       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .76616       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=   7025.077     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2209 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14655E-07    40.890        .19791E-06** at limit **
   2  Prefactor     .53846E-08    5.9949       -.51805E-06** at limit **
   3  Prefactor     3.6765        3.3373       -.25997E-07   -.43435E-02
   4  Prefactor     .16653E-09    .77423       -.10999E-07** at limit **
   5  Prefactor     .32196E-08    3.6971        .92124E-06** at limit **
   6  Prefactor     .15815E-06    2.5886       -.63814E-06** at limit **
   7  Prefactor     .55511E-09    3.5035        .50302E-06** at limit **
   8  Prefactor     7.4802        7.3455       -.11945E-05   -.20258E-01
   9  Prefactor     .55511E-10    3.3212       -.48784E-07** at limit **
  10  Prefactor     14.936        7.1950        .87273E-06   -.73867E-01
  11  Prefactor      .0000        2.3898       -.33630E-06** at limit **
  12  norm          9.0185        2.5080       -.45914E-07    .17417E-01
  13  norm           .0000        1.9619       -.79250E-08** at limit **
  14  norm          .55511E-10    1.0421       -.35495E-07** at limit **
  15  norm          2.7225        3.0221       -.44377E-08   -.59572E-03
  16  Prefactor     5.9892        3.9677       -.77111E-07   -.85238E-02
  17  Prefactor     3.6397        5.4215        .12169E-05   -.13838E-01
  18  Prefactor     .14139E-06    10.884       -.11423E-05** at limit **
  19  norm          .55511E-10    1.0700        .41816E-10** at limit **
  20  Prefactor     .10214E-07    34.220       -.89710E-06** at limit **
  21  norm          1.4992        .82004       -.13867E-07   -.10447E-01
  22  norm          .73275E-08    3.2355       -.10763E-05** at limit **
  23  Prefactor     .55511E-10    .82877        .25957E-07** at limit **
  24  Prefactor     .11069E-06    9.9034        .12560E-05** at limit **
  25  Prefactor     .12496E-06    22.429        .78837E-06** at limit **
  26  Prefactor     10.673        4.8586       -.13274E-07   -.46165E-02
  27  Prefactor     4.9052        3.1302        .34066E-08    .18679E-02
  28  Prefactor     28.434        9.4186        .19656E-06   -.38227E-01
  29  Normalizat    .93875        .16427        .65318E-06   -.80123E-03
  30  Prefactor     .76630        .18082       -.61360E-06   -.52822E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46549e-08
  Prefactor  = 5.38458e-09
  Prefactor  = 3.6765
  Prefactor  = 1.66533e-10
  Prefactor  = 3.21965e-09
  Prefactor  = 1.58151e-07
  Prefactor  = 5.55112e-10
  Prefactor  = 7.48023
  Prefactor  = 5.55112e-11
  Prefactor  = 14.9365
  Prefactor  = 0
  norm       = 9.01853
  norm       = 0
  norm       = 5.55112e-11
  norm       = 2.72247
  Prefactor  = 5.98915
  Prefactor  = 3.6397
  Prefactor  = 1.41387e-07
  norm       = 5.55112e-11
  Prefactor  = 1.02141e-08
  norm       = 1.49918
  norm       = 7.32747e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 1.10689e-07
  Prefactor  = 1.24956e-07
  Prefactor  = 10.6725
  Prefactor  = 4.90523
  Prefactor  = 28.4337
  Normalizat = 0.938752
  Prefactor  = 0.766303
 **********
 **   18 **HESSE 
 **********

 FCN=   7025.077     FROM HESSE     STATUS=OK           656 CALLS     2865 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14655E-07    45.075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .53846E-08    6.0536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.6765        3.3531        .52524E-03   -1.5670    
   4  Prefactor     .16653E-09    48.237        .16405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .32196E-08    4.8296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .15815E-06    11.157        .85869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-09    3.5866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.4802        7.5387        .36662E-03   -1.5653    
   9  Prefactor     .55511E-10    3.3430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.936        27.214        .25078E-03   -1.5631    
  11  Prefactor      .0000        4.4780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.0185        8.2878        .33341E-03   -1.5648    
  13  norm           .0000        1.9629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    1.0429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.7225        3.0247        .61661E-03   -1.5675    
  16  Prefactor     5.9892        4.1652        .40979E-03   -1.5659    
  17  Prefactor     3.6397        25.218        .52858E-03   -1.5670    
  18  Prefactor     .14139E-06    11.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .55511E-10    1.0685        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10214E-07    4.2163        .89307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.4992        .82939        .87470E-03   -1.5683    
  22  norm          .73275E-08    4.5848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .55511E-10    .82810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11069E-06    10.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .12496E-06    22.801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     10.673        4.9234        .30626E-03   -1.5643    
  27  Prefactor     4.9052        3.1291        .45364E-03   -1.5664    
  28  Prefactor     28.434        33.297        .19189E-03   -1.5601    
  29  Normalizat    .93875        .13869        .45394E-01   -.95112    
  30  Prefactor     .76630        .15152        .43275E-01   -1.0098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30722e-07
Minuit parameter uncertainties:
  1  0.00162419
  2  0.000360583
  3  3.35307
  4  0.000171474
  5  0.000249059
  6  0.00265662
  7  9.02627e-05
  8  7.53868
  9  2.15566e-05
  10  27.2145
  11  4.66531e-06
  12  8.28782
  13  1.374e-05
  14  1.44214e-05
  15  3.02473
  16  4.16519
  17  19.161
  18  0.00255208
  19  1.53784e-05
  20  0.000414505
  21  0.829387
  22  0.000366547
  23  1.00634e-05
  24  0.00214097
  25  0.00337619
  26  4.92342
  27  3.12906
  28  33.2973
  29  0.138741
  30  0.151601
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  5.551e-11  1.442e-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:  7.663e-01  1.516e-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.388e-01  1.387e-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.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/164306/likelihoodResults_689558401_689817601_4FGL_J2324.7-4041_daily_bin1737.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) = 7025.07757926
delta logL = -0.000915403045838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7025.07666586
delta logL = -1.9975932446e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13701E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .80734       1.0000          .0000       5.0000    
     3 'Normalizat'    .93896       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76603       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=   7025.077     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      233 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .15489E-01    .42118E-03** at limit **
   2  alpha         1.6119        2.5180        .51000        .26750E-10
   3  Normalizat    .93875        .39370E-03    .45397E-01   -.12035E-03
   4  Prefactor     .76630        .44345E-03    .43273E-01    .21456E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 1.61192
  Normalizat = 0.938753
  Prefactor  = 0.766304
 **********
 **   18 **HESSE 
 **********

 FCN=   7025.077     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .81E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .81630E-01    .83804E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6119        2.5559        .50000       -.36316    
   3  Normalizat    .93875        .90306E-03    .20449E-03   -.95111    
   4  Prefactor     .76630        .10172E-02    .25120E-03   -1.0098    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.08727e-12
Minuit parameter uncertainties:
  1  5.15757e-06
  2  32896.7
  3  0.000903056
  4  0.00101716
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164306': 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) = 7025.07666386
delta logL = 1.80079950951e-10

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  5.551e-11  5.158e-06  0.000e+00  1.000e+06 ( 1.000e-13)
419        alpha:  1.612e+00  3.290e+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:  7.663e-01  1.017e-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:  9.388e-01  9.031e-04  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/164306/cmap_HighResolution_689558401_689817601_4FGL_J2324.7-4041_daily_bin1737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-05', job_status='DONE', photon_flux_upper_limit='1.46e-08', time_completed='2022-11-11 01:15:47.719795', job_id='164306', GAL2='0.77', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1668158147.72', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.80e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1737' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Nov 11 01:15:47 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 164306: <4FGL_J2324.7-4041_daily_bin1737> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin1737> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Nov 11 01:00:23 2022
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Nov 11 01:00:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Nov 11 01:00:46 2022
Terminated at Fri Nov 11 01:15:48 2022
Results reported at Fri Nov 11 01:15:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin1737 351.182 -40.6834 689558401 689817601 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 :                                   738.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            925 sec.

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

