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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1669
RA = 351.17, Dec = 31.2573
tmin = 671932801, tmax = 672192001
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='693477', job_status='RUN', time_executed='2022-04-21 00:41:00.048962', time_epoch_executed='1650526860.05' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/693477

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/693477/ft1_4FGL_J2324.6+3115_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/693477/ft2_4FGL_J2324.6+3115_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/693477/ft1_4FGL_J2324.6+3115_daily_bin1669.fits outfile=/scratch/kocevski/693477/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1669.fits ra=351.17 dec=31.2573 rad=12.0 tmin=671932801.0 tmax=672192001.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.74
user 3.50
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/693477/ft2_4FGL_J2324.6+3115_daily_bin1669.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/693477/ft2_4FGL_J2324.6+3115_daily_bin1669.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/693477/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1669.fits evtable="EVENTS" outfile="/scratch/kocevski/693477/ft1_filtered_4FGL_J2324.6+3115_daily_bin1669.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 892

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/693477/ft1_filtered_4FGL_J2324.6+3115_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/693477/ft2_4FGL_J2324.6+3115_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/693477/ltcube_671932801_672192001_4FGL_J2324.6+3115_daily_bin1669.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/693477/ft2_4FGL_J2324.6+3115_daily_bin1669.fits
.....................!
real 12.18
user 11.79
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/693477/ft1_filtered_4FGL_J2324.6+3115_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/693477/ft2_4FGL_J2324.6+3115_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/693477/ltcube_671932801_672192001_4FGL_J2324.6+3115_daily_bin1669.fits outfile=/scratch/kocevski/693477/expmap_671932801_672192001_4FGL_J2324.6+3115_daily_bin1669.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/693477/ltcube_671932801_672192001_4FGL_J2324.6+3115_daily_bin1669.fits
.....................!
real 190.13
user 184.75
sys 4.97

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

Setting source of interest to:
4FGL J2324.6+3115 @ 351.17 31.2573

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/693477/ft1_filtered_4FGL_J2324.6+3115_daily_bin1669.fits scfile=/scratch/kocevski/693477/ft2_4FGL_J2324.6+3115_daily_bin1669.fits outfile=/scratch/kocevski/693477/cmap_671932801_672192001_4FGL_J2324.6+3115_daily_bin1669.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.17 yref=31.2573 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/693477/ft1_filtered_4FGL_J2324.6+3115_daily_bin1669.fits scfile=/scratch/kocevski/693477/ft2_4FGL_J2324.6+3115_daily_bin1669.fits outfile=/scratch/kocevski/693477/cmap_HighResolution_671932801_672192001_4FGL_J2324.6+3115_daily_bin1669.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.17 yref=31.2573 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/693477/ft1_filtered_4FGL_J2324.6+3115_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/693477/ft2_4FGL_J2324.6+3115_daily_bin1669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/693477/Model_4FGL_J2324.6+3115_daily_bin1669.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/693477/ft1_filtered_4FGL_J2324.6+3115_daily_bin1669.fits.....................!
real 107.54
user 106.03
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/693477/ft1_filtered_4FGL_J2324.6+3115_daily_bin1669.fits', '/scratch/kocevski/693477/ft2_4FGL_J2324.6+3115_daily_bin1669.fits', expMap='/scratch/kocevski/693477/expmap_671932801_672192001_4FGL_J2324.6+3115_daily_bin1669.fits', expCube='/scratch/kocevski/693477/ltcube_671932801_672192001_4FGL_J2324.6+3115_daily_bin1669.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/693477/Model_4FGL_J2324.6+3115_daily_bin1669.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.6+3115'

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.967e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/693477/ft1_filtered_4FGL_J2324.6+3115_daily_bin1669.fits
Spacecraft file(s): /scratch/kocevski/693477/ft2_4FGL_J2324.6+3115_daily_bin1669.fits
Exposure map: /scratch/kocevski/693477/expmap_671932801_672192001_4FGL_J2324.6+3115_daily_bin1669.fits
Exposure cube: /scratch/kocevski/693477/ltcube_671932801_672192001_4FGL_J2324.6+3115_daily_bin1669.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/693477/Model_4FGL_J2324.6+3115_daily_bin1669.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) = 9730.88159675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.873       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10940E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.9039       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.7072       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.4878       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.1205       1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.496       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.345       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.3410       1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .36670       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    69.449       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.6076       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1320       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98284       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9730.876     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2550 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.871        13.809       -.48790E-06   -.39100E-04
   2  Prefactor     .10001E-03    14.548       -.18269E-05** at limit **
   3  norm          2.9039        1.4226        .60731E-07   -.13479E-03
   4  Prefactor     .10000E-03    18.169       -.49595E-07** at limit **
   5  Prefactor     9.7065        21.496        .48966E-06   -.12225E-04
   6  Prefactor     .10000E-03    39.643       -.26283E-06** at limit **
   7  Prefactor     6.4871        4.7071       -.16852E-07   -.12872E-03
   8  Prefactor     .10000E-03    7.7150        .23395E-06** at limit **
   9  Prefactor     .10000E-03    11.345        .55448E-08** at limit **
  10  norm          1.1203        1.5712        .22387E-06   -.15773E-03
  11  Prefactor     20.502        22.939        .25555E-06   -.99189E-04
  12  Prefactor     23.349        12.577        .24887E-06   -.10816E-03
  13  Prefactor     9.3249        27.148        .21500E-05    .54827E-05
  14  norm          .10000E-03    1.4864       -.19795E-06** at limit **
  15  norm          .10000E-03    3.3885        .17938E-07** at limit **
  16  Prefactor     .10000E-03    11.066       -.83821E-06** at limit **
  17  norm          .36024        1.3367       -.41507E-06   -.20425E-03
  18  Prefactor     .10000E-03    4.4123        .81251E-07** at limit **
  19  Prefactor     69.456        46.203       -.78048E-06   -.46681E-03
  20  Prefactor     .10000E-03    18.849       -.57746E-07** at limit **
  21  Prefactor     1.6067        4.7116        .49601E-05   -.94555E-03
  22  Normalizat    1.1318        .19974       -.42305E-05   -.11146E-02
  23  Prefactor     .98296        .93802E-01    .88506E-06   -.12828E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 11.8713
  Prefactor  = 0.000100009
  norm       = 2.90393
  Prefactor  = 0.0001
  Prefactor  = 9.70646
  Prefactor  = 0.0001
  Prefactor  = 6.48709
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.12033
  Prefactor  = 20.502
  Prefactor  = 23.349
  Prefactor  = 9.32491
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.360239
  Prefactor  = 0.0001
  Prefactor  = 69.4565
  Prefactor  = 0.0001
  Prefactor  = 1.60668
  Normalizat = 1.13185
  Prefactor  = 0.982957
 **********
 **   18 **HESSE 
 **********

 FCN=   9730.876     FROM HESSE     STATUS=OK           368 CALLS     2918 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.871        13.840        .58129E-03   -1.5019    
   2  Prefactor     .10001E-03    15.220        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.9039        1.4182        .75189E-04   -1.5367    
   4  Prefactor     .10000E-03    18.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.7065        21.465        .12862E-03   -1.5085    
   6  Prefactor     .10000E-03    40.698        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.4871        4.7089        .15756E-03   -1.5199    
   8  Prefactor     .10000E-03    7.8276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1203        1.5524        .13671E-03   -1.5496    
  11  Prefactor     20.502        22.962        .88470E-04   -1.4802    
  12  Prefactor     23.349        12.484        .82903E-04   -1.4741    
  13  Prefactor     9.3249        27.292        .13113E-03   -1.5097    
  14  norm          .10000E-03    1.4927        .11750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.3950        .17734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .36024        4.0277        .20464E-02   -1.5588    
  18  Prefactor     .10000E-03    4.4157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     69.456        46.767        .48167E-04   -1.4039    
  20  Prefactor     .10000E-03    18.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.6067        4.9133        .16708E-02   -1.5454    
  22  Normalizat    1.1318        .23402        .35105E-03   -.88736    
  23  Prefactor     .98296        .10956        .18095E-03   -.93300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09704e-08
Minuit parameter uncertainties:
  1  13.8437
  2  0.000720588
  3  1.41817
  4  4.53032e-05
  5  21.4817
  6  0.000209336
  7  4.70912
  8  4.82159e-05
  9  1.21701e-05
  10  1.55241
  11  22.9722
  12  12.4855
  13  27.3285
  14  1.81172e-05
  15  3.52246e-06
  16  0.000168263
  17  2.40896
  18  1.33687e-05
  19  46.7914
  20  0.000129859
  21  4.91455
  22  0.234239
  23  0.109584
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  1.683e-04  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.830e-01  1.096e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.132e+00  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/693477/likelihoodResults_671932801_672192001_4FGL_J2324.6+3115_daily_bin1669.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) = 9730.87644986
delta logL = -0.000427351955295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9730.8760225
delta logL = 9.3368726084e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8834       1.0000          .0000       10.000    
     3 'Normalizat'    1.1318       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98296       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9730.789     FROM MIGRAD    STATUS=FAILED       176 CALLS      332 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70892E-02    .97764        .43738E-02    .16921E-01
   2  Index         8.7471        5.3261        .50000       -.12684E-03
   3  Normalizat    1.1033        .12453        .35105E-03   -.31076E-03
   4  Prefactor     .99172        .37511E-01    .18095E-03   -.10613E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9730.789     FROM SIMPLEX   STATUS=UNCHANGED     77 CALLS      409 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70892E-02    .97764        .57867E-04    .16921E-01
   2  Index         8.7471        5.3261        .13260E-01   -.12684E-03
   3  Normalizat    1.1033        .12453        .55760E-04   -.31076E-03
   4  Prefactor     .99172        .37511E-01    .18156E-04   -.10613E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9730.789     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      442 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70885E-02    2.1437        .16411E-03    .74636E-02
   2  Index         8.7471        5.0252        .51001E-02   -.18203E-04
   3  Normalizat    1.1033        .16185        .14042E-04   -.12792E-03
   4  Prefactor     .99172        .75068E-01    .36189E-04   -.75458E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00708853
  Index      = 8.74714
  Normalizat = 1.10326
  Prefactor  = 0.991716
 **********
 **   18 **HESSE 
 **********

 FCN=   9730.789     FROM HESSE     STATUS=OK            25 CALLS      467 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70885E-02    .73460        .65646E-05   -1.5691    
   2  Index         8.7471        8.8329        .20401E-03    2.2944    
   3  Normalizat    1.1033        .22995        .28084E-05   -.89647    
   4  Prefactor     .99172        .10885        .72378E-05   -.93006    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.73242e-10
Minuit parameter uncertainties:
  1  0.143303
  2  15.0139
  3  0.230155
  4  0.108878
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/693477': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9730.78858709
delta logL = 0.0874354188072

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  7.089e-03  1.433e-01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  8.747e+00  1.501e+01  0.000e+00  1.000e+01 (-1.000e+00)
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.917e-01  1.089e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.103e+00  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.170 31.257

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/693477/cmap_HighResolution_671932801_672192001_4FGL_J2324.6+3115_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.09e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2022-04-21 00:55:36.361571', job_id='693477', GAL2='0.99', fit_tolerance='1e-08', EG2='1.10', EG='1.13', time_epoch_completed='1650527736.36', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='8.74e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='1669' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:55:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 693477: <4FGL_J2324.6+3115_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1669> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Apr 21 00:40:16 2022
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:40:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:40:17 2022
Terminated at Thu Apr 21 00:55:37 2022
Results reported at Thu Apr 21 00:55:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1669 351.17 31.2573 671932801 672192001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.6+3115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   878.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             357.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            921 sec.

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

