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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1751
RA = 351.19, Dec = 8.0282
tmin = 693187201, tmax = 693446401
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='90094', job_status='RUN', time_executed='2022-12-23 01:34:05.790797', time_epoch_executed='1671788045.79' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90094

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90094/ft1_4FGL_J2324.7+0801_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90094/ft2_4FGL_J2324.7+0801_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90094/ft1_4FGL_J2324.7+0801_daily_bin1751.fits outfile=/scratch/kocevski/90094/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1751.fits ra=351.19 dec=8.0282 rad=12.0 tmin=693187201.0 tmax=693446401.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.63
user 3.40
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/90094/ft2_4FGL_J2324.7+0801_daily_bin1751.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/90094/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/90094/ft1_filtered_4FGL_J2324.7+0801_daily_bin1751.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 742

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90094/ft1_filtered_4FGL_J2324.7+0801_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/90094/ft2_4FGL_J2324.7+0801_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/90094/ltcube_693187201_693446401_4FGL_J2324.7+0801_daily_bin1751.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/90094/ft2_4FGL_J2324.7+0801_daily_bin1751.fits
.....................!
real 12.09
user 11.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90094/ft1_filtered_4FGL_J2324.7+0801_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/90094/ft2_4FGL_J2324.7+0801_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/90094/ltcube_693187201_693446401_4FGL_J2324.7+0801_daily_bin1751.fits outfile=/scratch/kocevski/90094/expmap_693187201_693446401_4FGL_J2324.7+0801_daily_bin1751.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/90094/ltcube_693187201_693446401_4FGL_J2324.7+0801_daily_bin1751.fits
.....................!
real 190.84
user 185.11
sys 5.40

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/90094/ft1_filtered_4FGL_J2324.7+0801_daily_bin1751.fits scfile=/scratch/kocevski/90094/ft2_4FGL_J2324.7+0801_daily_bin1751.fits outfile=/scratch/kocevski/90094/cmap_693187201_693446401_4FGL_J2324.7+0801_daily_bin1751.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90094/ft1_filtered_4FGL_J2324.7+0801_daily_bin1751.fits scfile=/scratch/kocevski/90094/ft2_4FGL_J2324.7+0801_daily_bin1751.fits outfile=/scratch/kocevski/90094/cmap_HighResolution_693187201_693446401_4FGL_J2324.7+0801_daily_bin1751.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90094/ft1_filtered_4FGL_J2324.7+0801_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/90094/ft2_4FGL_J2324.7+0801_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90094/Model_4FGL_J2324.7+0801_daily_bin1751.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/90094/ft1_filtered_4FGL_J2324.7+0801_daily_bin1751.fits.....................!
real 86.33
user 84.86
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/90094/ft1_filtered_4FGL_J2324.7+0801_daily_bin1751.fits', '/scratch/kocevski/90094/ft2_4FGL_J2324.7+0801_daily_bin1751.fits', expMap='/scratch/kocevski/90094/expmap_693187201_693446401_4FGL_J2324.7+0801_daily_bin1751.fits', expCube='/scratch/kocevski/90094/ltcube_693187201_693446401_4FGL_J2324.7+0801_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/90094/Model_4FGL_J2324.7+0801_daily_bin1751.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/90094/ft1_filtered_4FGL_J2324.7+0801_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/90094/ft2_4FGL_J2324.7+0801_daily_bin1751.fits
Exposure map: /scratch/kocevski/90094/expmap_693187201_693446401_4FGL_J2324.7+0801_daily_bin1751.fits
Exposure cube: /scratch/kocevski/90094/ltcube_693187201_693446401_4FGL_J2324.7+0801_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/90094/Model_4FGL_J2324.7+0801_daily_bin1751.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) = 8202.95869041

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0739       1.0000         .10000E-03   10000.    
     2 'norm      '    8.0150       1.0000          .0000       .10000E+07
     3 'Prefactor '    29.327       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.037       1.0000          .0000       .10000E+07
     5 'Prefactor '    27.382       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.4391       1.0000          .0000       .10000E+07
     7 'norm      '     .0000       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81435E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6489       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19040E-07   1.0000          .0000       .10000E+07
    11 'norm      '    31.782       1.0000          .0000       .10000E+07
    12 'Prefactor '    11.167       1.0000          .0000       .10000E+07
    13 'Prefactor '    16.798       1.0000          .0000       .10000E+07
    14 'norm      '    12.238       1.0000          .0000       .10000E+07
    15 'norm      '    66.796       1.0000          .0000       .10000E+07
    16 'Prefactor '    .35139E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .31641E-08   1.0000          .0000       .10000E+07
    18 'Prefactor '    6.0194       1.0000          .0000       .10000E+07
    19 'Prefactor '    .66613E-09   1.0000          .0000       .10000E+07
    20 'Normalizat'    .89249       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0284       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=   8202.828     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1938 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0739        .28920        .95029E-07    .79678E-03
   2  norm          8.0162        7.6796       -.76758E-07    .37723E-01
   3  Prefactor     29.359        1.1920       -.12526E-08   -.89686E-02
   4  Prefactor     15.035        6.8372       -.56329E-07   -.92226E-01
   5  Prefactor     27.383        1.9418        .12395E-07    .21340E-02
   6  Prefactor     5.4392        7.0219        .11494E-07    .42000E-02
   7  norm           .0000        .60459       -.23458E-06** at limit **
   8  Prefactor     .35805E-07    11.291       -.11363E-06** at limit **
   9  Prefactor     2.6476        1.7746        .54202E-08   -.63801E-02
  10  Prefactor     .27534E-07    22.491        .99108E-06** at limit **
  11  norm          31.776        7.9025       -.36323E-07   -.10312    
  12  Prefactor     11.171        8.9060        .55897E-07    .38601E-01
  13  Prefactor     16.797        3.8145        .15048E-07   -.26218E-01
  14  norm          12.238        2.3560        .22366E-07    .12455E-01
  15  norm          66.795        27.257        .78213E-07   -.53178E-01
  16  Prefactor     .55511E-10    3.4144        .16477E-08** at limit **
  17  Prefactor     .41855E-07    9.3955       -.23136E-06** at limit **
  18  Prefactor     6.0199        1.6697        .21360E-07    .73927E-02
  19  Prefactor     .44409E-09    4.0433       -.39744E-07** at limit **
  20  Normalizat    .89225        .23917        .87174E-05    .63542E-04
  21  Prefactor     1.0286        .14729       -.33768E-05    .54353E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.07389
  norm       = 8.01616
  Prefactor  = 29.3588
  Prefactor  = 15.035
  Prefactor  = 27.3833
  Prefactor  = 5.43921
  norm       = 0
  Prefactor  = 3.58047e-08
  Prefactor  = 2.64764
  Prefactor  = 2.75335e-08
  norm       = 31.776
  Prefactor  = 11.171
  Prefactor  = 16.7975
  norm       = 12.2381
  norm       = 66.7955
  Prefactor  = 5.55112e-11
  Prefactor  = 4.18554e-08
  Prefactor  = 6.01988
  Prefactor  = 4.44089e-10
  Normalizat = 0.892247
  Prefactor  = 1.02859
 **********
 **   18 **HESSE 
 **********

 FCN=   8202.828     FROM HESSE     STATUS=OK           367 CALLS     2305 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0739        .29137        .39345E-02   -1.5420    
   2  norm          8.0162        10.897        .35392E-03   -1.5651    
   3  Prefactor     29.359        51.894        .18469E-03   -1.5600    
   4  Prefactor     15.035        9.3814        .25802E-03   -1.5630    
   5  Prefactor     27.383        22.538        .19114E-03   -1.5603    
   6  Prefactor     5.4392        7.4151        .43062E-03   -1.5661    
   7  norm           .0000        .58764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .35805E-07    11.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.6476        23.892        .62612E-03   -1.5675    
  10  Prefactor     .27534E-07    22.574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          31.776        16.634        .17741E-03   -1.5595    
  12  Prefactor     11.171        11.509        .29954E-03   -1.5641    
  13  Prefactor     16.797        28.538        .24410E-03   -1.5626    
  14  norm          12.238        19.479        .28609E-03   -1.5638    
  15  norm          66.795        30.177        .12236E-03   -1.5545    
  16  Prefactor     .55511E-10    3.4050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41855E-07    9.7050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.0199        17.261        .40901E-03   -1.5659    
  19  Prefactor     .44409E-09    4.0432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .89225        .21945        .83725E-01   -.96733    
  21  Prefactor     1.0286        .13029        .41384E-01   -.91782    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85492e-07
Minuit parameter uncertainties:
  1  0.291371
  2  10.8971
  3  51.8949
  4  9.38137
  5  22.538
  6  7.4151
  7  5.35954e-06
  8  0.00129063
  9  15.907
  10  0.00157722
  11  16.634
  12  11.5086
  13  28.5384
  14  19.4786
  15  30.1772
  16  3.25148e-05
  17  0.00127506
  18  17.2611
  19  8.44047e-05
  20  0.219673
  21  0.130325
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.580e-08  1.291e-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.029e+00  1.303e-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:  8.922e-01  2.197e-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: 9.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/90094/likelihoodResults_693187201_693446401_4FGL_J2324.7+0801_daily_bin1751.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) = 8202.87052939
delta logL = -0.0427507501536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8202.82777938
delta logL = -7.41567419027e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79884E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.7052       1.0000          .0000       10.000    
     3 'Normalizat'    .89238       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0286       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8202.828     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      220 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.7731        .42118E-03** at limit **
   2  Index         1.2826        .75823        .10846E-05     .0000    
   3  Normalizat    .89225        1.2280       -.58280E-05    .21589E-05
   4  Prefactor     1.0286        1.2212        .35301E-05    .52456E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.28263
  Normalizat = 0.892246
  Prefactor  = 1.02859
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8202.828     FROM HESSE     STATUS=FAILED         9 CALLS      229 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.7731        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12331        1.2562        .10846E-05   -.83825    
   3  Normalizat    .89225        1.2280       -.58280E-05   -.96733    
   4  Prefactor     1.0286        1.2212        .35301E-05   -.91782    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.14808e-12
Minuit parameter uncertainties:
  1  7.47114e-06
  2  0.764885
  3  1.27005
  4  1.25679
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90094': 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): 101
logL (Free Index) = 8202.82777864
delta logL = 1.54250301421e-09

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  7.471e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  1.283e+00  7.649e-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.029e+00  1.257e+00  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:  8.922e-01  1.270e+00  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/90094/cmap_HighResolution_693187201_693446401_4FGL_J2324.7+0801_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.59e-03', job_status='DONE', photon_flux_upper_limit='9.94e-08', time_completed='2022-12-23 01:45:09.804838', job_id='90094', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1671788709.8', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.54e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1751' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:45:09 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 90094: <4FGL_J2324.7+0801_daily_bin1751> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 01:30:23 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:30:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:30:24 2022
Terminated at Fri Dec 23 01:45:10 2022
Results reported at Fri Dec 23 01:45:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1751 351.19 8.0282 693187201 693446401 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 :                                   666.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             239.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            887 sec.

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

