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


Performing analysis on: 4FGL_J1223.5+0818_daily_bin1760
RA = 185.883, Dec = 8.3017
tmin = 695520001, tmax = 695779201
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='736259', job_status='RUN', time_executed='2023-01-19 00:52:37.571983', time_epoch_executed='1674118357.57' WHERE source_name='4FGL J1223.5+0818' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/736259

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/736259/ft1_4FGL_J1223.5+0818_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/736259/ft2_4FGL_J1223.5+0818_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/736259/ft1_4FGL_J1223.5+0818_daily_bin1760.fits outfile=/scratch/kocevski/736259/ft1_filteredMKT_4FGL_J1223.5+0818_daily_bin1760.fits ra=185.883 dec=8.3017 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.45
user 2.20
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/736259/ft2_4FGL_J1223.5+0818_daily_bin1760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/736259/ft2_4FGL_J1223.5+0818_daily_bin1760.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/736259/ft1_filteredMKT_4FGL_J1223.5+0818_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/736259/ft1_filtered_4FGL_J1223.5+0818_daily_bin1760.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.15

Number of photons that the gtmktime cut: 813

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/736259/ft1_filtered_4FGL_J1223.5+0818_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/736259/ft2_4FGL_J1223.5+0818_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/736259/ltcube_695520001_695779201_4FGL_J1223.5+0818_daily_bin1760.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/736259/ft2_4FGL_J1223.5+0818_daily_bin1760.fits
.....................!
real 17.76
user 17.29
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/736259/ft1_filtered_4FGL_J1223.5+0818_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/736259/ft2_4FGL_J1223.5+0818_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/736259/ltcube_695520001_695779201_4FGL_J1223.5+0818_daily_bin1760.fits outfile=/scratch/kocevski/736259/expmap_695520001_695779201_4FGL_J1223.5+0818_daily_bin1760.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/736259/ltcube_695520001_695779201_4FGL_J1223.5+0818_daily_bin1760.fits
.....................!
real 195.54
user 189.28
sys 5.51

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

Setting source of interest to:
4FGL J1223.5+0818 @ 185.883 8.3017

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/736259/ft1_filtered_4FGL_J1223.5+0818_daily_bin1760.fits scfile=/scratch/kocevski/736259/ft2_4FGL_J1223.5+0818_daily_bin1760.fits outfile=/scratch/kocevski/736259/cmap_695520001_695779201_4FGL_J1223.5+0818_daily_bin1760.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=185.883 yref=8.3017 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/736259/ft1_filtered_4FGL_J1223.5+0818_daily_bin1760.fits scfile=/scratch/kocevski/736259/ft2_4FGL_J1223.5+0818_daily_bin1760.fits outfile=/scratch/kocevski/736259/cmap_HighResolution_695520001_695779201_4FGL_J1223.5+0818_daily_bin1760.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=185.883 yref=8.3017 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.58
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/736259/ft1_filtered_4FGL_J1223.5+0818_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/736259/ft2_4FGL_J1223.5+0818_daily_bin1760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/736259/Model_4FGL_J1223.5+0818_daily_bin1760.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/736259/ft1_filtered_4FGL_J1223.5+0818_daily_bin1760.fits.....................!
real 71.00
user 68.66
sys 1.50

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/736259/ft1_filtered_4FGL_J1223.5+0818_daily_bin1760.fits', '/scratch/kocevski/736259/ft2_4FGL_J1223.5+0818_daily_bin1760.fits', expMap='/scratch/kocevski/736259/expmap_695520001_695779201_4FGL_J1223.5+0818_daily_bin1760.fits', expCube='/scratch/kocevski/736259/ltcube_695520001_695779201_4FGL_J1223.5+0818_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/736259/Model_4FGL_J1223.5+0818_daily_bin1760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1223.5+0818'

4FGL J1223.5+0818
   Spectrum: PowerLaw
320    Prefactor:  2.243e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
321        Index:  1.922e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
322        Scale:  3.064e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/736259/ft1_filtered_4FGL_J1223.5+0818_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/736259/ft2_4FGL_J1223.5+0818_daily_bin1760.fits
Exposure map: /scratch/kocevski/736259/expmap_695520001_695779201_4FGL_J1223.5+0818_daily_bin1760.fits
Exposure cube: /scratch/kocevski/736259/ltcube_695520001_695779201_4FGL_J1223.5+0818_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/736259/Model_4FGL_J1223.5+0818_daily_bin1760.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) = 8995.71418476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24072       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25389E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18088E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .29049E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    63.244       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.4674       1.0000          .0000       .10000E+07
     7 'Prefactor '    .98280E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .28659E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.4034       1.0000          .0000       .10000E+07
    10 'Prefactor '    .29243E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .56293E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .74385E-08   1.0000          .0000       .10000E+07
    13 'norm      '    5.7299       1.0000          .0000       .10000E+07
    14 'Prefactor '    .36395E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .28979E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .56452       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.2031       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17697E-03   1.0000          .0000       .10000E+07
    19 'norm      '    2.1168       1.0000          .0000       .10000E+07
    20 'Prefactor '    20.163       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.3212       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.4208       1.0000          .0000       .10000E+07
    23 'Normalizat'    .84922       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1407       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8995.703     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     1982 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33495E-05    3.0823       -.61239E-07** at limit **
   2  Prefactor     .55511E-09    4.1720        .84723E-07** at limit **
   3  Prefactor      .0000        3.7114        .70644E-07** at limit **
   4  Prefactor     .60507E-08    22.627        .46662E-06** at limit **
   5  Prefactor     64.547        68.918        .40146E-06   -.11460E-02
   6  Prefactor     4.4825        1.1958        .41826E-08   -.63617E-04
   7  Prefactor     .16653E-09    5.7891        .25251E-07** at limit **
   8  Prefactor      .0000        1.0653       -.28947E-07** at limit **
   9  Prefactor     1.4039        1.6136       -.58324E-07   -.23626E-02
  10  Prefactor     .12990E-07    8.1256       -.61198E-07** at limit **
  11  Prefactor     .11102E-09    3.2417        .30396E-07** at limit **
  12  norm           .0000        .81943        .74598E-07** at limit **
  13  norm          5.7299        2.8633        .16996E-08    .12390E-02
  14  Prefactor     .60951E-07    17.518        .52065E-06** at limit **
  15  norm          .18763E-07    15.511        .24448E-06** at limit **
  16  norm          .56499        .37534        .12692E-07    .57503E-02
  17  Prefactor     1.2026        3.9632       -.24786E-07   -.62400E-04
  18  Prefactor      .0000        2.9112       -.33193E-07** at limit **
  19  norm          2.1157        1.2415        .37563E-07    .47641E-02
  20  Prefactor     20.120        7.7695       -.94124E-08    .18910E-02
  21  Prefactor     5.2868        7.3028        .28803E-07   -.41457E-01
  22  Prefactor     1.4428        6.9497        .19834E-08    .27598E-01
  23  Normalizat    .84908        .19009        .78948E-06    .55141E-04
  24  Prefactor     1.1407        .15988       -.77044E-06    .39076E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.34954e-06
  Prefactor  = 5.55112e-10
  Prefactor  = 0
  Prefactor  = 6.05072e-09
  Prefactor  = 64.5469
  Prefactor  = 4.48251
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 1.40388
  Prefactor  = 1.29896e-08
  Prefactor  = 1.11022e-10
  norm       = 0
  norm       = 5.7299
  Prefactor  = 6.09512e-08
  norm       = 1.87628e-08
  norm       = 0.564986
  Prefactor  = 1.20262
  Prefactor  = 0
  norm       = 2.11569
  Prefactor  = 20.1198
  Prefactor  = 5.28676
  Prefactor  = 1.44276
  Normalizat = 0.849076
  Prefactor  = 1.14066
 **********
 **   18 **HESSE 
 **********

 FCN=   8995.703     FROM HESSE     STATUS=OK           443 CALLS     2425 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33495E-05    58.708        .11092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-09    4.1548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        3.7047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .60507E-08    22.526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     64.547        68.831        .12575E-03   -1.5547    
   6  Prefactor     4.4825        26.065        .47615E-03   -1.5666    
   7  Prefactor     .16653E-09    5.7910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.0588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.4039        1.6302        .91516E-03   -1.5684    
  10  Prefactor     .12990E-07    8.4180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    3.2379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .81053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.7299        2.8896        .41937E-03   -1.5660    
  14  Prefactor     .60951E-07    17.799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .18763E-07    15.585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .56499        .38824        .72468E-03   -1.5693    
  17  Prefactor     1.2026        4.0273        .10336E-02   -1.5686    
  18  Prefactor      .0000        2.9079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.1157        1.2537        .70866E-03   -1.5679    
  20  Prefactor     20.120        7.7737        .22277E-03   -1.5618    
  21  Prefactor     5.2868        10.921        .43545E-03   -1.5662    
  22  Prefactor     1.4428        23.238        .90721E-03   -1.5684    
  23  Normalizat    .84908        .16459        .64294E-01   -.98273    
  24  Prefactor     1.1407        .13714        .36211E-01   -.88177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36221e-07
Minuit parameter uncertainties:
  1  0.0280463
  2  9.44836e-05
  3  1.53989e-05
  4  0.000738849
  5  68.8323
  6  21.6185
  7  5.73567e-05
  8  2.12054e-06
  9  1.63016
  10  0.000660675
  11  3.82798e-05
  12  4.8633e-06
  13  2.88965
  14  0.00208282
  15  0.00108203
  16  0.388241
  17  4.02735
  18  2.38327e-06
  19  1.25369
  20  7.77368
  21  10.9207
  22  11.5806
  23  0.164687
  24  0.137183
Done.

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

Extracting fit parameters...

4FGL J1223.5+0818
   Spectrum: PowerLaw
320    Prefactor:  6.095e-08  2.083e-03  0.000e+00  1.000e+06 ( 1.000e-14)
321        Index:  1.922e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
322        Scale:  3.064e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  1.141e+00  1.372e-01  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  8.491e-01  1.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 185.883 8.302
Photon Flux Upper Limit: 3.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/736259/likelihoodResults_695520001_695779201_4FGL_J1223.5+0818_daily_bin1760.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) = 8995.73101994
delta logL = -0.027536766891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8995.7034904
delta logL = -7.22483673599e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8995.703     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      194 TOTAL
                     EDM=   .26E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    15.504        .45133E-06** at limit **
   2  Index         2.2064        6.0669       -.29490E-04    .36572E-11
   3  Normalizat    .84908        .17703        .44171E-05    .52017E-04
   4  Prefactor     1.1407        .15742       -.25408E-05    .63468E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.20643
  Normalizat = 0.849076
  Prefactor  = 1.14066
 **********
 **   18 **HESSE 
 **********

 FCN=   8995.703     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      227 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    397.77        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2064        7.8511        .44410       -.59283    
   3  Normalizat    .84908        .19801E-01    .64294E-01   -.98273    
   4  Prefactor     1.1407        .17676E-01    .36203E-01   -.88177    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.47186e-11
Minuit parameter uncertainties:
  1  0.000229126
  2  21.0222
  3  0.0198008
  4  0.0176761
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/736259': 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) = 8995.70348317
delta logL = 1.70985003933e-09

Extracting fit parameters...

4FGL J1223.5+0818
   Spectrum: PowerLaw
320    Prefactor:  5.551e-11  2.291e-04  0.000e+00  1.000e+06 ( 1.000e-14)
321        Index:  2.206e+00  2.102e+01  0.000e+00  1.000e+01 (-1.000e+00)
322        Scale:  3.064e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  1.141e+00  1.768e-02  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  8.491e-01  1.980e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 185.883 8.302

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/736259/cmap_HighResolution_695520001_695779201_4FGL_J1223.5+0818_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.82e-03', job_status='DONE', photon_flux_upper_limit='3.78e-08', time_completed='2023-01-19 01:05:18.661763', job_id='736259', GAL2='1.14', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1674119118.66', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.71e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1760' AND source_name='4FGL J1223.5+0818' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:05:18 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 736259: <4FGL_J1223.5+0818_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1223.5+0818_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 00:50:15 2023
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:51:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:51:22 2023
Terminated at Thu Jan 19 01:05:19 2023
Results reported at Thu Jan 19 01:05:19 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1223.5+0818_daily_bin1760 185.883 8.3017 695520001 695779201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1223.5+0818 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   761.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             352.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            904 sec.

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

