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


Performing analysis on: 4FGL_J1218.5-0119_daily_bin1771
RA = 184.639, Dec = -1.327
tmin = 698371201, tmax = 698630401
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='547555', job_status='RUN', time_executed='2023-02-21 00:53:28.111971', time_epoch_executed='1676969608.11' WHERE source_name='4FGL J1218.5-0119' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/547555

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/547555/ft1_4FGL_J1218.5-0119_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/547555/ft2_4FGL_J1218.5-0119_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/547555/ft1_4FGL_J1218.5-0119_daily_bin1771.fits outfile=/scratch/kocevski/547555/ft1_filteredMKT_4FGL_J1218.5-0119_daily_bin1771.fits ra=184.639 dec=-1.327 rad=12.0 tmin=698371201.0 tmax=698630401.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.33
user 2.90
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/547555/ft2_4FGL_J1218.5-0119_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/547555/ft2_4FGL_J1218.5-0119_daily_bin1771.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/547555/ft1_filteredMKT_4FGL_J1218.5-0119_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/547555/ft1_filtered_4FGL_J1218.5-0119_daily_bin1771.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.59
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 179

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/547555/ft1_filtered_4FGL_J1218.5-0119_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/547555/ft2_4FGL_J1218.5-0119_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/547555/ltcube_698371201_698630401_4FGL_J1218.5-0119_daily_bin1771.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/547555/ft2_4FGL_J1218.5-0119_daily_bin1771.fits
.....................!
real 12.51
user 12.12
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/547555/ft1_filtered_4FGL_J1218.5-0119_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/547555/ft2_4FGL_J1218.5-0119_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/547555/ltcube_698371201_698630401_4FGL_J1218.5-0119_daily_bin1771.fits outfile=/scratch/kocevski/547555/expmap_698371201_698630401_4FGL_J1218.5-0119_daily_bin1771.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/547555/ltcube_698371201_698630401_4FGL_J1218.5-0119_daily_bin1771.fits
.....................!
real 191.50
user 186.55
sys 4.22

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

Setting source of interest to:
4FGL J1218.5-0119 @ 184.639 -1.327

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/547555/ft1_filtered_4FGL_J1218.5-0119_daily_bin1771.fits scfile=/scratch/kocevski/547555/ft2_4FGL_J1218.5-0119_daily_bin1771.fits outfile=/scratch/kocevski/547555/cmap_698371201_698630401_4FGL_J1218.5-0119_daily_bin1771.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=184.639 yref=-1.327 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/547555/ft1_filtered_4FGL_J1218.5-0119_daily_bin1771.fits scfile=/scratch/kocevski/547555/ft2_4FGL_J1218.5-0119_daily_bin1771.fits outfile=/scratch/kocevski/547555/cmap_HighResolution_698371201_698630401_4FGL_J1218.5-0119_daily_bin1771.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=184.639 yref=-1.327 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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/547555/ft1_filtered_4FGL_J1218.5-0119_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/547555/ft2_4FGL_J1218.5-0119_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/547555/Model_4FGL_J1218.5-0119_daily_bin1771.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/547555/ft1_filtered_4FGL_J1218.5-0119_daily_bin1771.fits.......................!
real 26.96
user 25.72
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/547555/ft1_filtered_4FGL_J1218.5-0119_daily_bin1771.fits', '/scratch/kocevski/547555/ft2_4FGL_J1218.5-0119_daily_bin1771.fits', expMap='/scratch/kocevski/547555/expmap_698371201_698630401_4FGL_J1218.5-0119_daily_bin1771.fits', expCube='/scratch/kocevski/547555/ltcube_698371201_698630401_4FGL_J1218.5-0119_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/547555/Model_4FGL_J1218.5-0119_daily_bin1771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1218.5-0119'

4FGL J1218.5-0119
   Spectrum: LogParabola
335         norm:  1.397e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
336        alpha:  2.022e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
337         beta:  9.844e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
338           Eb:  1.224e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/547555/ft1_filtered_4FGL_J1218.5-0119_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/547555/ft2_4FGL_J1218.5-0119_daily_bin1771.fits
Exposure map: /scratch/kocevski/547555/expmap_698371201_698630401_4FGL_J1218.5-0119_daily_bin1771.fits
Exposure cube: /scratch/kocevski/547555/ltcube_698371201_698630401_4FGL_J1218.5-0119_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/547555/Model_4FGL_J1218.5-0119_daily_bin1771.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) = 2055.69977287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2055.63105238

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25673E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.7623       1.0000          .0000       .10000E+07
     3 'norm      '    .12173E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.7580       1.0000          .0000       .10000E+07
     5 'Prefactor '    .22510E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.8093       1.0000          .0000       .10000E+07
     7 'Prefactor '    .59945E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11361E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.798       1.0000          .0000       .10000E+07
    10 'Prefactor '    .56761       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21960E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .43938E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.549       1.0000          .0000       .10000E+07
    14 'norm      '    .58168E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .14991E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    65.256       1.0000          .0000       .10000E+07
    17 'norm      '    19.663       1.0000          .0000       .10000E+07
    18 'norm      '    .14249E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .73167E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    8.9022       1.0000          .0000       .10000E+07
    21 'norm      '    .81981       1.0000          .0000       .10000E+07
    22 'Prefactor '    18.475       1.0000          .0000       .10000E+07
    23 'Prefactor '    .29956E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .11873E-01   1.0000          .0000       .10000E+07
    25 'norm      '    .96199       1.0000          .0000       .10000E+07
    26 'Prefactor '    .37347E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.6033       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .70163       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2055.621     FROM MIGRAD    STATUS=CONVERGED    231 CALLS     2554 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16043E-07    13.487       -.23468E-07** at limit **
   2  Prefactor     3.6283        13.066        .32188E-06    .18484E-01
   3  norm          .49960E-09    6.3417        .99981E-07** at limit **
   4  Prefactor     4.7716        7.0866        .44629E-06    .13667E-02
   5  Prefactor     .29421E-08    42.706       -.45196E-06** at limit **
   6  Prefactor     6.6506        25.428        .67554E-06   -.78094E-01
   7  Prefactor     .48761E-06    15.430        .42086E-06** at limit **
   8  Prefactor     .97700E-08    12.614       -.16167E-07** at limit **
   9  Prefactor     49.493        24.460       -.18506E-06   -.10140    
  10  Prefactor     .84784E-03    63.040        .93850E-06** at limit **
  11  Prefactor     .11102E-09    23.088       -.45984E-06** at limit **
  12  Prefactor     .55511E-10    56.880       -.17527E-07** at limit **
  13  Prefactor     18.418        20.402        .84275E-07   -.70279E-01
  14  norm          .52736E-08    12.196        .17310E-06** at limit **
  15  norm          .55511E-10    10.604        .24602E-06** at limit **
  16  Prefactor     72.720        115.55        .85485E-06    .28327E-01
  17  norm          25.728        75.142       -.58649E-06    .21185E-01
  18  norm           .0000        1.2196        .49342E-07** at limit **
  19  Prefactor     .44409E-09    74.169        .46062E-06** at limit **
  20  Prefactor     8.8137        17.730       -.48582E-07   -.60490E-01
  21  norm          .81080        3.1643       -.27577E-06   -.29789E-02
  22  Prefactor     18.396        12.048        .54885E-08   -.68841E-01
  23  Prefactor     .77716E-09    53.259       -.12332E-05** at limit **
  24  norm          .47801E-06    16.385       -.23028E-07** at limit **
  25  norm          .96441        .42526        .76537E-09   -.21789E-02
  26  Prefactor     .47422E-04    117.58        .76646E-06** at limit **
  27  Normalizat    1.5980        .46616       -.11836E-04   -.37997E-04
  28  Prefactor     .70101        .29767        .77544E-05   -.46256E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60427e-08
  Prefactor  = 3.62831
  norm       = 4.996e-10
  Prefactor  = 4.77157
  Prefactor  = 2.94209e-09
  Prefactor  = 6.65061
  Prefactor  = 4.8761e-07
  Prefactor  = 9.76996e-09
  Prefactor  = 49.4929
  Prefactor  = 0.00084784
  Prefactor  = 1.11022e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 18.4179
  norm       = 5.27356e-09
  norm       = 5.55112e-11
  Prefactor  = 72.7203
  norm       = 25.7282
  norm       = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 8.8137
  norm       = 0.810796
  Prefactor  = 18.3958
  Prefactor  = 7.77156e-10
  norm       = 4.78007e-07
  norm       = 0.964413
  Prefactor  = 4.74224e-05
  Normalizat = 1.598
  Prefactor  = 0.701011
 **********
 **   18 **HESSE 
 **********

 FCN=   2055.621     FROM HESSE     STATUS=NOT POSDEF   575 CALLS     3129 TOTAL
                     EDM=   .81E+00    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16043E-07    12.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.6283        1099.1        .61214E-03   -1.5670    
   3  norm          .49960E-09    5.8553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.7716        11.686        .46103E-03   -1.5664    
   5  Prefactor     .29421E-08    39.282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.6506        .64029E+06    .41645E-03   -1.5656    
   7  Prefactor     .48761E-06    15.250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .97700E-08    11.656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.493        68.762        .14619E-03   -1.5567    
  10  Prefactor     .84784E-03    2342.7        .72181E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    21.377        .16911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    60.692        .15791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.418        19.877        .23228E-03   -1.5622    
  14  norm          .52736E-08    11.310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    20.083        .17392E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     72.720        218.94        .12380E-03   -1.5537    
  17  norm          25.728        79.964        .22559E-03   -1.5607    
  18  norm           .0000        1.1115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .44409E-09    43.696        .10305E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.8137        71.234        .33569E-03   -1.5649    
  21  norm          .81080        13.952        .51470E-03   -1.5690    
  22  Prefactor     18.396        49.506        .23274E-03   -1.5622    
  23  Prefactor     .77716E-09    49.322        .16453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .47801E-06    15.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .96441        .93860        .42415E-04   -1.5688    
  26  Prefactor     .47422E-04    125.61        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.5980        2.6708        .63642E-01   -.75061    
  28  Prefactor     .70101        .26894        .42423E-01   -1.0349    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 0.80658
Minuit parameter uncertainties:
  1  0.000896715
  2  126.322
  3  0.000105417
  4  11.6859
  5  0.000681637
  6  29541
  7  0.00545377
  8  0.000675288
  9  68.7627
  10  2.81979
  11  0.000101031
  12  0.000123151
  13  19.8773
  14  0.00048734
  15  6.82717e-05
  16  218.963
  17  79.9668
  18  2.41199e-06
  19  0.000285036
  20  50.1142
  21  6.72666
  22  49.5066
  23  0.000395085
  24  0.00538567
  25  0.938598
  26  0.154363
  27  2.99547
  28  0.269439
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2055.62118906

Extracting fit parameters...

4FGL J1218.5-0119
   Spectrum: LogParabola
335         norm:  5.274e-09  4.873e-04  0.000e+00  1.000e+06 ( 1.000e-12)
336        alpha:  2.022e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
337         beta:  9.844e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
338           Eb:  1.224e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  7.010e-01  2.694e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  1.598e+00  2.995e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 184.639 -1.327
Photon Flux Upper Limit: 1.98e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/547555/likelihoodResults_698371201_698630401_4FGL_J1218.5-0119_daily_bin1771.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) = 2055.62131808
delta logL = -0.000129024348553

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 2055.62118906
delta logL = 2.23735696636e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '     .0000       1.0000          .0000       .10000E+07
     2 'alpha     '    1.3617       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5980       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70101       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2055.621     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      252 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        6.6895        .42118E-03** at limit **
   2  alpha         2.4721        1.1664       -.32197E-05     .0000    
   3  Normalizat    1.5980        1.0408       -.18023E-04    .11528E-03
   4  Prefactor     .70101        1.0507        .30947E-04    .12824E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.4721
  Normalizat = 1.598
  Prefactor  = 0.701011
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2055.621     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        6.6895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2553        1.2200       -.32197E-05   -.11161E-01
   3  Normalizat    1.5980        1.0408       -.18023E-04   -.75061    
   4  Prefactor     .70101        1.0507        .30947E-04   -1.0349    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.97621e-11
Minuit parameter uncertainties:
  1  1.27452e-05
  2  1.21346
  3  1.05543
  4  1.08292
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/547555': 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) = 2055.62118906
delta logL = 1.93267624127e-10

Extracting fit parameters...

4FGL J1218.5-0119
   Spectrum: LogParabola
335         norm:  0.000e+00  1.275e-05  0.000e+00  1.000e+06 ( 1.000e-12)
336        alpha:  2.472e+00  1.213e+00  0.000e+00  5.000e+00 ( 1.000e+00)
337         beta:  9.844e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
338           Eb:  1.224e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  7.010e-01  1.083e+00  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  1.598e+00  1.055e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 184.639 -1.327

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/547555/cmap_HighResolution_698371201_698630401_4FGL_J1218.5-0119_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-04', job_status='DONE', photon_flux_upper_limit='1.98e-07', time_completed='2023-02-21 01:00:49.498770', job_id='547555', GAL2='0.70', fit_tolerance='1e-08', EG2='1.60', EG='1.60', time_epoch_completed='1676970049.5', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='102', GAL='0.70', dlogl='1.93e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1771' AND source_name='4FGL J1218.5-0119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:00:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 547555: <4FGL_J1218.5-0119_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1218.5-0119_daily_bin1771> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 00:50:18 2023
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:50:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:50:18 2023
Terminated at Tue Feb 21 01:00:50 2023
Results reported at Tue Feb 21 01:00:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1218.5-0119_daily_bin1771 184.639 -1.327 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1218.5-0119 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   442.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             229.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            632 sec.

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

