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


Performing analysis on: 4FGL_J1223.5+0818_daily_bin1778
RA = 185.883, Dec = 8.3017
tmin = 700185601, tmax = 700444801
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='961012', job_status='RUN', time_executed='2023-03-14 00:51:38.451914', time_epoch_executed='1678780298.45' WHERE source_name='4FGL J1223.5+0818' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/961012

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/961012/ft1_4FGL_J1223.5+0818_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/961012/ft2_4FGL_J1223.5+0818_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/961012/ft1_4FGL_J1223.5+0818_daily_bin1778.fits outfile=/scratch/kocevski/961012/ft1_filteredMKT_4FGL_J1223.5+0818_daily_bin1778.fits ra=185.883 dec=8.3017 rad=12.0 tmin=700185601.0 tmax=700444801.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.96
user 3.71
sys 0.21

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

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

Number of photons that the gtmktime cut: 550

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/961012/ft1_filtered_4FGL_J1223.5+0818_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/961012/ft2_4FGL_J1223.5+0818_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/961012/ltcube_700185601_700444801_4FGL_J1223.5+0818_daily_bin1778.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/961012/ft2_4FGL_J1223.5+0818_daily_bin1778.fits
.....................!
real 12.58
user 12.19
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/961012/ft1_filtered_4FGL_J1223.5+0818_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/961012/ft2_4FGL_J1223.5+0818_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/961012/ltcube_700185601_700444801_4FGL_J1223.5+0818_daily_bin1778.fits outfile=/scratch/kocevski/961012/expmap_700185601_700444801_4FGL_J1223.5+0818_daily_bin1778.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/961012/ltcube_700185601_700444801_4FGL_J1223.5+0818_daily_bin1778.fits
.....................!
real 191.87
user 186.15
sys 5.35

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/961012/ft1_filtered_4FGL_J1223.5+0818_daily_bin1778.fits scfile=/scratch/kocevski/961012/ft2_4FGL_J1223.5+0818_daily_bin1778.fits outfile=/scratch/kocevski/961012/cmap_700185601_700444801_4FGL_J1223.5+0818_daily_bin1778.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/961012/ft1_filtered_4FGL_J1223.5+0818_daily_bin1778.fits scfile=/scratch/kocevski/961012/ft2_4FGL_J1223.5+0818_daily_bin1778.fits outfile=/scratch/kocevski/961012/cmap_HighResolution_700185601_700444801_4FGL_J1223.5+0818_daily_bin1778.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/961012/ft1_filtered_4FGL_J1223.5+0818_daily_bin1778.fits', '/scratch/kocevski/961012/ft2_4FGL_J1223.5+0818_daily_bin1778.fits', expMap='/scratch/kocevski/961012/expmap_700185601_700444801_4FGL_J1223.5+0818_daily_bin1778.fits', expCube='/scratch/kocevski/961012/ltcube_700185601_700444801_4FGL_J1223.5+0818_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/961012/Model_4FGL_J1223.5+0818_daily_bin1778.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/961012/ft1_filtered_4FGL_J1223.5+0818_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/961012/ft2_4FGL_J1223.5+0818_daily_bin1778.fits
Exposure map: /scratch/kocevski/961012/expmap_700185601_700444801_4FGL_J1223.5+0818_daily_bin1778.fits
Exposure cube: /scratch/kocevski/961012/ltcube_700185601_700444801_4FGL_J1223.5+0818_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/961012/Model_4FGL_J1223.5+0818_daily_bin1778.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) = 6168.01907662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14940       1.0000          .0000       .10000E+07
     2 'Prefactor '    .23281E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .44516E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    21.530       1.0000          .0000       .10000E+07
     5 'Prefactor '    .97877E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    55.987       1.0000          .0000       .10000E+07
     7 'Prefactor '    .72186E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .47459E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .57832E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .17387E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .31001       1.0000          .0000       .10000E+07
    12 'norm      '    .99920E-09   1.0000          .0000       .10000E+07
    13 'norm      '    2.0361       1.0000          .0000       .10000E+07
    14 'Prefactor '    7.2660       1.0000          .0000       .10000E+07
    15 'norm      '    94.214       1.0000          .0000       .10000E+07
    16 'norm      '    .84377E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    12.950       1.0000          .0000       .10000E+07
    18 'Prefactor '    .48887       1.0000          .0000       .10000E+07
    19 'norm      '    3.6355       1.0000          .0000       .10000E+07
    20 'Prefactor '    7.3602       1.0000          .0000       .10000E+07
    21 'Prefactor '    .31618E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    4.8830       1.0000          .0000       .10000E+07
    23 'Normalizat'    .85799       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0863       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=   6168.014     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2095 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82101E-07    23.786       -.45045E-05** at limit **
   2  Prefactor     .33307E-09    2.7157        .18223E-06** at limit **
   3  Prefactor      .0000        3.4683        .25842E-06** at limit **
   4  Prefactor     21.562        2.4589       -.19840E-06    .63006E-01
   5  Prefactor     .60951E-07    1.4274        .83726E-06** at limit **
   6  Prefactor     55.971        2.9558       -.16382E-06    .14541    
   7  Prefactor     .68279E-08    23.463        .65585E-06** at limit **
   8  Prefactor     .44409E-08    11.897       -.44348E-06** at limit **
   9  Prefactor      .0000        .74831       -.30984E-08** at limit **
  10  Prefactor     .55511E-10    12.943        .56659E-06** at limit **
  11  Prefactor     .27297        4.3183       -.18564E-05   -.12647E-01
  12  norm           .0000        .57498       -.47117E-06** at limit **
  13  norm          2.0385        3.1379        .35823E-06    .13990E-02
  14  Prefactor     7.2806        1.0722        .41262E-08    .15311E-02
  15  norm          94.120        1.7524        .66927E-07   -.94774E-01
  16  norm           .0000        3.4084       -.23402E-06** at limit **
  17  Prefactor     12.945        4.8026       -.62132E-06   -.13268E-01
  18  Prefactor     .48640        1.2128       -.59908E-06   -.52761E-02
  19  norm          3.6341        1.7330        .42412E-07   -.54591E-02
  20  Prefactor     7.4604        6.9639        .44504E-07    .42806E-02
  21  Prefactor     .55511E-10    4.5657        .18268E-06** at limit **
  22  Prefactor     4.8889        3.5037       -.72162E-06    .89846E-02
  23  Normalizat    .85800        .22586        .95168E-05   -.11546E-03
  24  Prefactor     1.0863        .19527       -.90289E-05   -.12002E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.2101e-08
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 21.5617
  Prefactor  = 6.09512e-08
  Prefactor  = 55.9712
  Prefactor  = 6.82787e-09
  Prefactor  = 4.44089e-09
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0.272966
  norm       = 0
  norm       = 2.03847
  Prefactor  = 7.28064
  norm       = 94.12
  norm       = 0
  Prefactor  = 12.9451
  Prefactor  = 0.486398
  norm       = 3.63406
  Prefactor  = 7.46039
  Prefactor  = 5.55112e-11
  Prefactor  = 4.88895
  Normalizat = 0.858
  Prefactor  = 1.08627
 **********
 **   18 **HESSE 
 **********

 FCN=   6168.014     FROM HESSE     STATUS=OK           459 CALLS     2554 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82101E-07    46.697        .12756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33307E-09    2.7295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        3.5508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.562        23.106        .21558E-03   -1.5615    
   5  Prefactor     .60951E-07    39.786        .13987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     55.971        43.481        .13365E-03   -1.5558    
   7  Prefactor     .68279E-08    23.761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .44409E-08    2.4719        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        .74694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    12.870        .17215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .27297        4.9134        .60184E-02   -1.5698    
  12  norm           .0000        .57483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.0385        3.5320        .72454E-03   -1.5679    
  14  Prefactor     7.2806        19.723        .37187E-03   -1.5654    
  15  norm          94.120        52.228        .10303E-03   -1.5514    
  16  norm           .0000        .19980        .26752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.945        10.365        .27810E-03   -1.5636    
  18  Prefactor     .48640        13.049        .79837E-03   -1.5694    
  19  norm          3.6341        1.7485        .52960E-03   -1.5670    
  20  Prefactor     7.4604        7.1440        .36946E-03   -1.5653    
  21  Prefactor     .55511E-10    4.6724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.8889        11.739        .45496E-03   -1.5664    
  23  Normalizat    .85800        .20485        .64809E-01   -.97952    
  24  Prefactor     1.0863        .16816        .38134E-01   -.89906    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38272e-06
Minuit parameter uncertainties:
  1  0.00391655
  2  5.94411e-05
  3  1.73467e-05
  4  23.1063
  5  0.00311498
  6  43.4814
  7  0.000805417
  8  0.000208967
  9  8.16601e-06
  10  5.16988e-05
  11  2.3162
  12  2.52731e-06
  13  3.53197
  14  19.7232
  15  52.2287
  16  2.45877e-07
  17  10.3655
  18  5.0387
  19  1.74847
  20  7.14404
  21  3.16682e-05
  22  11.7388
  23  0.205032
  24  0.168241
Done.

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

Extracting fit parameters...

4FGL J1223.5+0818
   Spectrum: PowerLaw
320    Prefactor:  7.281e+00  1.972e+01  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.086e+00  1.682e-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.580e-01  2.050e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/961012/likelihoodResults_700185601_700444801_4FGL_J1223.5+0818_daily_bin1778.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) = 6167.75788584
delta logL = 0.256280979705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6167.74939553
delta logL = 0.26477128098

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6167.749     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      270 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0982        152.26        .57422E-03    .36532E-02
   2  Index         2.8045        3.5136        .11268        .14693E-03
   3  Normalizat    .83849        .58575E-01    .65469E-01    .92357E-05
   4  Prefactor     1.0937        .47254E-01    .37809E-01   -.14370E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.09819
  Index      = 2.80453
  Normalizat = 0.838493
  Prefactor  = 1.09369
 **********
 **   18 **HESSE 
 **********

 FCN=   6167.749     FROM HESSE     STATUS=OK            33 CALLS      303 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0982        32.488        .19060E-04   -1.5673    
   2  Index         2.8045        2.4112        .69233E-02   -.45459    
   3  Normalizat    .83849        .22722        .28962E-03   -.98656    
   4  Prefactor     1.0937        .19673        .22469E-03   -.89669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1627e-07
Minuit parameter uncertainties:
  1  20.0655
  2  2.5452
  3  0.227482
  4  0.196865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/961012': 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) = 6167.74938903
delta logL = 0.264777785957

Extracting fit parameters...

4FGL J1223.5+0818
   Spectrum: PowerLaw
320    Prefactor:  3.098e+00  2.007e+01  0.000e+00  1.000e+06 ( 1.000e-14)
321        Index:  2.805e+00  2.545e+00  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.094e+00  1.969e-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.385e-01  2.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.18
Ra Dec: 185.883 8.302

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/961012/cmap_HighResolution_700185601_700444801_4FGL_J1223.5+0818_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-03', job_status='DONE', photon_flux_upper_limit='5.65e-08', time_completed='2023-03-14 01:02:15.572066', job_id='961012', GAL2='1.09', fit_tolerance='1e-08', EG2='0.84', EG='0.86', time_epoch_completed='1678780935.57', return_code2='0', ts='0.18', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.65e-01', ts2='0.73', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1778' AND source_name='4FGL J1223.5+0818' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:02:15 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 961012: <4FGL_J1223.5+0818_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1223.5+0818_daily_bin1778> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 00:50:27 2023
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:50:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:50:28 2023
Terminated at Tue Mar 14 01:02:16 2023
Results reported at Tue Mar 14 01:02:16 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1223.5+0818_daily_bin1778 185.883 8.3017 700185601 700444801 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 :                                   636.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            709 sec.

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

