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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1780
RA = 351.19, Dec = 8.0282
tmin = 700704001, tmax = 700963201
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='80484', job_status='RUN', time_executed='2023-03-20 01:56:16.254189', time_epoch_executed='1679302576.25' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/80484

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/80484/ft1_4FGL_J2324.7+0801_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/80484/ft2_4FGL_J2324.7+0801_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/80484/ft1_4FGL_J2324.7+0801_daily_bin1780.fits outfile=/scratch/kocevski/80484/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1780.fits ra=351.19 dec=8.0282 rad=12.0 tmin=700704001.0 tmax=700963201.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.15
user 3.94
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/80484/ft2_4FGL_J2324.7+0801_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/80484/ft2_4FGL_J2324.7+0801_daily_bin1780.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/80484/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/80484/ft1_filtered_4FGL_J2324.7+0801_daily_bin1780.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 291

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/80484/ft1_filtered_4FGL_J2324.7+0801_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/80484/ft2_4FGL_J2324.7+0801_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/80484/ltcube_700704001_700963201_4FGL_J2324.7+0801_daily_bin1780.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/80484/ft2_4FGL_J2324.7+0801_daily_bin1780.fits
.....................!
real 11.90
user 11.57
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/80484/ft1_filtered_4FGL_J2324.7+0801_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/80484/ft2_4FGL_J2324.7+0801_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/80484/ltcube_700704001_700963201_4FGL_J2324.7+0801_daily_bin1780.fits outfile=/scratch/kocevski/80484/expmap_700704001_700963201_4FGL_J2324.7+0801_daily_bin1780.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/80484/ltcube_700704001_700963201_4FGL_J2324.7+0801_daily_bin1780.fits
.....................!
real 190.53
user 185.35
sys 4.86

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2324.7+0801 @ 351.19 8.0282

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/80484/ft1_filtered_4FGL_J2324.7+0801_daily_bin1780.fits scfile=/scratch/kocevski/80484/ft2_4FGL_J2324.7+0801_daily_bin1780.fits outfile=/scratch/kocevski/80484/cmap_700704001_700963201_4FGL_J2324.7+0801_daily_bin1780.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.19 yref=8.0282 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/80484/ft1_filtered_4FGL_J2324.7+0801_daily_bin1780.fits scfile=/scratch/kocevski/80484/ft2_4FGL_J2324.7+0801_daily_bin1780.fits outfile=/scratch/kocevski/80484/cmap_HighResolution_700704001_700963201_4FGL_J2324.7+0801_daily_bin1780.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.19 yref=8.0282 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.55
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/80484/ft1_filtered_4FGL_J2324.7+0801_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/80484/ft2_4FGL_J2324.7+0801_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/80484/Model_4FGL_J2324.7+0801_daily_bin1780.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/80484/ft1_filtered_4FGL_J2324.7+0801_daily_bin1780.fits.....................!
real 40.35
user 39.12
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/80484/ft1_filtered_4FGL_J2324.7+0801_daily_bin1780.fits', '/scratch/kocevski/80484/ft2_4FGL_J2324.7+0801_daily_bin1780.fits', expMap='/scratch/kocevski/80484/expmap_700704001_700963201_4FGL_J2324.7+0801_daily_bin1780.fits', expCube='/scratch/kocevski/80484/ltcube_700704001_700963201_4FGL_J2324.7+0801_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/80484/Model_4FGL_J2324.7+0801_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.7+0801'

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.182e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/80484/ft1_filtered_4FGL_J2324.7+0801_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/80484/ft2_4FGL_J2324.7+0801_daily_bin1780.fits
Exposure map: /scratch/kocevski/80484/expmap_700704001_700963201_4FGL_J2324.7+0801_daily_bin1780.fits
Exposure cube: /scratch/kocevski/80484/ltcube_700704001_700963201_4FGL_J2324.7+0801_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/80484/Model_4FGL_J2324.7+0801_daily_bin1780.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) = 3198.03710739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38570E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    .53900E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .60909E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    15.821       1.0000          .0000       .10000E+07
     5 'Prefactor '    .80995E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4228       1.0000          .0000       .10000E+07
     7 'norm      '    .29696       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12602E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    47.088       1.0000          .0000       .10000E+07
    10 'Prefactor '    83.410       1.0000          .0000       .10000E+07
    11 'norm      '    41.201       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.379       1.0000          .0000       .10000E+07
    13 'Prefactor '    64.284       1.0000          .0000       .10000E+07
    14 'norm      '    .34742E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .15724       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.739       1.0000          .0000       .10000E+07
    17 'Prefactor '    81.681       1.0000          .0000       .10000E+07
    18 'Prefactor '    .83737E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .89656E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    .43274       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2211       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3198.036     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     1391 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38634E-01    .11386        .13462E-06    .63420E-05
   2  norm          .22204E-09    9.9667        .27599E-05** at limit **
   3  Prefactor      .0000        44.000        .25556E-05** at limit **
   4  Prefactor     15.837        12.892       -.59527E-06   -.30080E-01
   5  Prefactor     .97145E-08    13.633        .14155E-06** at limit **
   6  Prefactor     3.3513        11.360        .16794E-05    .80211E-02
   7  norm          .29786        1.0734       -.16717E-06   -.17511E-03
   8  Prefactor     .15987E-07    16.383        .77412E-07** at limit **
   9  Prefactor     47.220        27.448       -.58785E-06   -.14927    
  10  Prefactor     82.609        89.047       -.27630E-06    .10509    
  11  norm          41.230        6.3133       -.88634E-07   -.83144E-01
  12  Prefactor     13.407        10.579        .22369E-06    .19611E-01
  13  Prefactor     64.074        28.663        .68115E-06   -.46058E-01
  14  norm          .52625E-07    25.189        .30913E-05** at limit **
  15  norm          .59397E-08    60.847        .18733E-05** at limit **
  16  Prefactor     15.636        10.267       -.37190E-06   -.20378E-02
  17  Prefactor     82.119        43.517       -.40642E-06    .19377    
  18  Prefactor     .94424E-07    28.034        .14159E-05** at limit **
  19  Prefactor      .0000        5.5887        .52612E-06** at limit **
  20  Normalizat    .43313        .36024        .26693E-04   -.56029E-05
  21  Prefactor     1.2212        .23515       -.12528E-04   -.18651E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0386337
  norm       = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 15.8366
  Prefactor  = 9.71445e-09
  Prefactor  = 3.35135
  norm       = 0.297857
  Prefactor  = 1.59872e-08
  Prefactor  = 47.2198
  Prefactor  = 82.6087
  norm       = 41.2301
  Prefactor  = 13.4074
  Prefactor  = 64.074
  norm       = 5.26246e-08
  norm       = 5.93969e-09
  Prefactor  = 15.6356
  Prefactor  = 82.1185
  Prefactor  = 9.44245e-08
  Prefactor  = 0
  Normalizat = 0.433126
  Prefactor  = 1.22122
 **********
 **   18 **HESSE 
 **********

 FCN=   3198.036     FROM HESSE     STATUS=OK           357 CALLS     1748 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38634E-01    .11922        .71909E-02   -1.5669    
   2  norm          .22204E-09    9.9685        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        43.718        .15130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.837        13.003        .25154E-03   -1.5628    
   5  Prefactor     .97145E-08    13.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.3513        11.940        .54651E-03   -1.5671    
   7  norm          .29786        1.0732        .25138E-02   -1.5697    
   8  Prefactor     .15987E-07    16.416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     47.220        36.931        .14574E-03   -1.5571    
  10  Prefactor     82.609        107.73        .10950E-03   -1.5526    
  11  norm          41.230        19.681        .15581E-03   -1.5580    
  12  Prefactor     13.407        11.577        .27358E-03   -1.5635    
  13  Prefactor     64.074        45.983        .12473E-03   -1.5548    
  14  norm          .52625E-07    25.364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .59397E-08    60.371        .12592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.636        10.375        .25220E-03   -1.5629    
  17  Prefactor     82.119        66.031        .11065E-03   -1.5527    
  18  Prefactor     .94424E-07    28.088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        5.5875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .43313        .36712        .10618       -1.1562    
  21  Prefactor     1.2212        .22874        .34150E-01   -.85681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01132e-06
Minuit parameter uncertainties:
  1  0.119222
  2  9.27979e-05
  3  5.27773e-05
  4  13.0034
  5  0.000729542
  6  11.9399
  7  1.07317
  8  0.00102501
  9  36.9317
  10  107.736
  11  19.6808
  12  11.5767
  13  45.9835
  14  0.0023104
  15  0.00119706
  16  10.375
  17  66.0314
  18  0.00325711
  19  2.31732e-06
  20  0.369186
  21  0.228929
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.599e-08  1.025e-03  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.221e+00  2.289e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  4.331e-01  3.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.62e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.23e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/80484/likelihoodResults_700704001_700963201_4FGL_J2324.7+0801_daily_bin1780.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) = 3198.06613469
delta logL = -0.029717652918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3198.03641754
delta logL = -5.03357568959e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30113E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.4520       1.0000          .0000       10.000    
     3 'Normalizat'    .43292       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2214       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3198.036     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      239 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94369E-08    72.223        .42118E-03** at limit **
   2  Index         3.0340        7.3460        .50000        .40700E-08
   3  Normalizat    .43313        .25587E-01    .10618        .26055E-03
   4  Prefactor     1.2212        .16781E-01    .34143E-01    .50296E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4369e-09
  Index      = 3.03401
  Normalizat = 0.433129
  Prefactor  = 1.22122
 **********
 **   18 **HESSE 
 **********

 FCN=   3198.036     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      270 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94369E-08    937.84        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0340        6.6318        .50000       -.40411    
   3  Normalizat    .43313        .11384        .47061E-03   -1.1562    
   4  Prefactor     1.2212        .74897E-01    .18909E-03   -.85681    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.0131e-07
Minuit parameter uncertainties:
  1  0.00595168
  2  54.7063
  3  0.113898
  4  0.0749036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/80484': 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) = 3198.03641704
delta logL = -4.23824531026e-10

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  9.437e-09  5.952e-03  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  3.034e+00  5.471e+01  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.221e+00  7.490e-02  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  4.331e-01  1.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.190 8.028

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/80484/cmap_HighResolution_700704001_700963201_4FGL_J2324.7+0801_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', job_status='DONE', photon_flux_upper_limit='1.62e-07', time_completed='2023-03-20 02:03:27.785287', job_id='80484', GAL2='1.22', fit_tolerance='1e-08', EG2='0.43', EG='0.43', time_epoch_completed='1679303007.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='-4.24e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1780' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 02:03:27 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 80484: <4FGL_J2324.7+0801_daily_bin1780> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1780> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Mar 20 01:55:19 2023
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:55:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:55:20 2023
Terminated at Mon Mar 20 02:03:28 2023
Results reported at Mon Mar 20 02:03:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1780 351.19 8.0282 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.7+0801 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   434.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             248.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   488 sec.
    Turnaround time :                            489 sec.

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

