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/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache us/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 131 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 = 7436
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0218.9-2305_daily_bin1727
RA = 34.731, Dec = -23.0986
tmin = 686966401, tmax = 687225601
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='204920', job_status='RUN', time_executed='2022-10-12 00:09:41.605637', time_epoch_executed='1665558581.61' WHERE source_name='4FGL J0218.9-2305' and cadence='daily' and bin_id='1727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/204920

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/204920/ft1_4FGL_J0218.9-2305_daily_bin1727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/204920/ft2_4FGL_J0218.9-2305_daily_bin1727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/204920/ft1_4FGL_J0218.9-2305_daily_bin1727.fits outfile=/scratch/kocevski/204920/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin1727.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=686966401.0 tmax=687225601.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 4.19
user 2.72
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/204920/ft2_4FGL_J0218.9-2305_daily_bin1727.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/204920/ft2_4FGL_J0218.9-2305_daily_bin1727.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/204920/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin1727.fits evtable="EVENTS" outfile="/scratch/kocevski/204920/ft1_filtered_4FGL_J0218.9-2305_daily_bin1727.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 1.37
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 321

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/204920/ft1_filtered_4FGL_J0218.9-2305_daily_bin1727.fits" evtable="EVENTS" scfile=/scratch/kocevski/204920/ft2_4FGL_J0218.9-2305_daily_bin1727.fits sctable="SC_DATA" outfile=/scratch/kocevski/204920/ltcube_686966401_687225601_4FGL_J0218.9-2305_daily_bin1727.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/204920/ft2_4FGL_J0218.9-2305_daily_bin1727.fits
.....................!
real 17.40
user 15.88
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/204920/ft1_filtered_4FGL_J0218.9-2305_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/204920/ft2_4FGL_J0218.9-2305_daily_bin1727.fits sctable="SC_DATA" expcube=/scratch/kocevski/204920/ltcube_686966401_687225601_4FGL_J0218.9-2305_daily_bin1727.fits outfile=/scratch/kocevski/204920/expmap_686966401_687225601_4FGL_J0218.9-2305_daily_bin1727.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/204920/ltcube_686966401_687225601_4FGL_J0218.9-2305_daily_bin1727.fits
.....................!
real 196.58
user 187.65
sys 5.20

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 178 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0218.9-2305 @ 34.731 -23.0986

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/204920/ft1_filtered_4FGL_J0218.9-2305_daily_bin1727.fits scfile=/scratch/kocevski/204920/ft2_4FGL_J0218.9-2305_daily_bin1727.fits outfile=/scratch/kocevski/204920/cmap_686966401_687225601_4FGL_J0218.9-2305_daily_bin1727.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=34.731 yref=-23.0986 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.72
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/204920/ft1_filtered_4FGL_J0218.9-2305_daily_bin1727.fits scfile=/scratch/kocevski/204920/ft2_4FGL_J0218.9-2305_daily_bin1727.fits outfile=/scratch/kocevski/204920/cmap_HighResolution_686966401_687225601_4FGL_J0218.9-2305_daily_bin1727.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=34.731 yref=-23.0986 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.75
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/204920/ft1_filtered_4FGL_J0218.9-2305_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/204920/ft2_4FGL_J0218.9-2305_daily_bin1727.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/204920/Model_4FGL_J0218.9-2305_daily_bin1727.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/204920/ft1_filtered_4FGL_J0218.9-2305_daily_bin1727.fits.....................!
real 78.14
user 76.56
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/204920/ft1_filtered_4FGL_J0218.9-2305_daily_bin1727.fits', '/scratch/kocevski/204920/ft2_4FGL_J0218.9-2305_daily_bin1727.fits', expMap='/scratch/kocevski/204920/expmap_686966401_687225601_4FGL_J0218.9-2305_daily_bin1727.fits', expCube='/scratch/kocevski/204920/ltcube_686966401_687225601_4FGL_J0218.9-2305_daily_bin1727.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/204920/Model_4FGL_J0218.9-2305_daily_bin1727.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0218.9-2305'

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.106e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  2.603e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/204920/ft1_filtered_4FGL_J0218.9-2305_daily_bin1727.fits
Spacecraft file(s): /scratch/kocevski/204920/ft2_4FGL_J0218.9-2305_daily_bin1727.fits
Exposure map: /scratch/kocevski/204920/expmap_686966401_687225601_4FGL_J0218.9-2305_daily_bin1727.fits
Exposure cube: /scratch/kocevski/204920/ltcube_686966401_687225601_4FGL_J0218.9-2305_daily_bin1727.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/204920/Model_4FGL_J0218.9-2305_daily_bin1727.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) = 3753.91608768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .45519E-08   1.0000          .0000       .10000E+07
     2 'norm      '    8.4659       1.0000          .0000       .10000E+07
     3 'Prefactor '    10.956       1.0000          .0000       .10000E+07
     4 'norm      '    3.7629       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13441E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.9165       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20888E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15177E-03   1.0000          .0000       .10000E+07
     9 'norm      '    65.950       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11915E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .43665E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    73.761       1.0000          .0000       .10000E+07
    13 'Prefactor '    37.996       1.0000          .0000       .10000E+07
    14 'Prefactor '    .88113E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .59614E-03   1.0000          .0000       .10000E+07
    16 'norm      '    10.684       1.0000          .0000       .10000E+07
    17 'Normalizat'    .80224       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1976       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3753.781     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1342 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .77668       -.24109E-07** at limit **
   2  norm          8.4652        4.7600        .59683E-07   -.54766E-03
   3  Prefactor     15.679        64.524       -.14124E-05   -.11857E-01
   4  norm          3.8066        4.0976        .40341E-06    .69645E-04
   5  Prefactor      .0000        4.4352        .54717E-06** at limit **
   6  Prefactor     9.5552        20.708        .12852E-05    .88442E-01
   7  Prefactor      .0000        2.7007       -.20773E-06** at limit **
   8  Prefactor     .24283E-05    59.725       -.84705E-05** at limit **
   9  norm          64.133        15.724       -.49214E-07    .11608    
  10  Prefactor      .0000        12.535        .21652E-06** at limit **
  11  Prefactor     .11102E-08    20.760       -.17672E-06** at limit **
  12  Prefactor     76.974        29.007       -.36171E-06    .28073    
  13  Prefactor     42.121        38.874        .11355E-05   -.11719    
  14  Prefactor      .0000        1.1886       -.92565E-07** at limit **
  15  norm           .0000        3.7504        .84326E-06** at limit **
  16  norm          10.704        4.5650       -.23440E-06    .68686E-03
  17  Normalizat    .79398        .26169       -.23628E-04   -.34993E-04
  18  Prefactor     1.2000        .27702        .12606E-04   -.16168E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 8.4652
  Prefactor  = 15.6791
  norm       = 3.80657
  Prefactor  = 0
  Prefactor  = 9.55515
  Prefactor  = 0
  Prefactor  = 2.42834e-06
  norm       = 64.133
  Prefactor  = 0
  Prefactor  = 1.11022e-09
  Prefactor  = 76.9741
  Prefactor  = 42.1209
  Prefactor  = 0
  norm       = 0
  norm       = 10.7043
  Normalizat = 0.793983
  Prefactor  = 1.20005
 **********
 **   18 **HESSE 
 **********

 FCN=   3753.781     FROM HESSE     STATUS=OK           278 CALLS     1620 TOTAL
                     EDM=   .51E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .77929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.4652        4.7556        .34429E-03   -1.5650    
   3  Prefactor     15.679        74.786        .30244E-03   -1.5629    
   4  norm          3.8066        4.1132        .52021E-03   -1.5669    
   5  Prefactor      .0000        4.4625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.5552        22.249        .31796E-03   -1.5646    
   7  Prefactor      .0000        2.7065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .24283E-05    60.250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          64.133        73.290        .12315E-03   -1.5548    
  10  Prefactor      .0000        12.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-08    20.745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     76.974        50.922        .11644E-03   -1.5532    
  13  Prefactor     42.121        42.043        .16225E-03   -1.5578    
  14  Prefactor      .0000        1.1928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        3.6473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.704        4.5734        .30628E-03   -1.5643    
  17  Normalizat    .79398        .22336        .43639E-01   -1.0029    
  18  Prefactor     1.2000        .23568        .55779E-01   -.86330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.08568e-06
Minuit parameter uncertainties:
  1  1.07082e-06
  2  4.75559
  3  68.4875
  4  4.11323
  5  1.58754e-05
  6  22.2495
  7  5.11784e-06
  8  0.0241918
  9  73.2913
  10  2.6659e-05
  11  0.000304427
  12  50.9227
  13  42.0436
  14  8.66621e-07
  15  1.72279e-07
  16  4.57342
  17  0.223615
  18  0.235886
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  5.118e-06  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  2.603e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.200e+00  2.359e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  7.940e-01  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 34.731 -23.099
Photon Flux Upper Limit: 8.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/204920/likelihoodResults_686966401_687225601_4FGL_J0218.9-2305_daily_bin1727.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) = 3753.78454223
delta logL = -0.00306847555021

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3753.78147482
delta logL = -1.07252981252e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   3753.781     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      248 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5253        .42118E-03** at limit **
   2  Index         3.3126        1.5093        .18199E-03     .0000    
   3  Normalizat    .79399        1.1329       -.15749E-04    .44819E-04
   4  Prefactor     1.2000        1.1032       -.10383E-04   -.49517E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.31258
  Normalizat = 0.793985
  Prefactor  = 1.20005
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3753.781     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2296        2.1721        .18199E-03   -.34424    
   3  Normalizat    .79399        1.1329       -.15749E-04   -1.0029    
   4  Prefactor     1.2000        1.1032       -.10383E-04   -.86330    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.75508e-11
Minuit parameter uncertainties:
  1  1.82623e-06
  2  1.53649
  3  1.16953
  4  1.12552
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/204920': 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) = 3753.78147375
delta logL = -3.00133251585e-11

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.826e-06  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  3.313e+00  1.536e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.200e+00  1.126e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  7.940e-01  1.170e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 34.731 -23.099

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/204920/cmap_HighResolution_686966401_687225601_4FGL_J0218.9-2305_daily_bin1727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.42e-08', time_completed='2022-10-12 00:18:00.532809', job_id='204920', GAL2='1.20', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1665559080.53', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='-3.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1727' AND source_name='4FGL J0218.9-2305' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:18:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0129>
Subject: Job 204920: <4FGL_J0218.9-2305_daily_bin1727> in cluster <slac> Done

Job <4FGL_J0218.9-2305_daily_bin1727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Oct 12 00:05:40 2022
Job was executed on host(s) <bullet0129>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:05:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:05:47 2022
Terminated at Wed Oct 12 00:18:01 2022
Results reported at Wed Oct 12 00:18:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_daily_bin1727 34.731 -23.0986 686966401 687225601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0218.9-2305 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   491.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            741 sec.

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

