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


Performing analysis on: 4FGL_J0218.9-2305_daily_bin1764
RA = 34.731, Dec = -23.0986
tmin = 696556801, tmax = 696816001
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='434366', job_status='RUN', time_executed='2023-01-31 00:09:55.724647', time_epoch_executed='1675152595.72' WHERE source_name='4FGL J0218.9-2305' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434366

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434366/ft1_4FGL_J0218.9-2305_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434366/ft2_4FGL_J0218.9-2305_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434366/ft1_4FGL_J0218.9-2305_daily_bin1764.fits outfile=/scratch/kocevski/434366/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin1764.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=696556801.0 tmax=696816001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.74
user 3.47
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434366/ft2_4FGL_J0218.9-2305_daily_bin1764.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/434366/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/434366/ft1_filtered_4FGL_J0218.9-2305_daily_bin1764.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.56
user 0.31
sys 0.18

Number of photons that the gtmktime cut: 374

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434366/ft1_filtered_4FGL_J0218.9-2305_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/434366/ft2_4FGL_J0218.9-2305_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/434366/ltcube_696556801_696816001_4FGL_J0218.9-2305_daily_bin1764.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/434366/ft2_4FGL_J0218.9-2305_daily_bin1764.fits
.....................!
real 15.03
user 14.62
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434366/ft1_filtered_4FGL_J0218.9-2305_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434366/ft2_4FGL_J0218.9-2305_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/434366/ltcube_696556801_696816001_4FGL_J0218.9-2305_daily_bin1764.fits outfile=/scratch/kocevski/434366/expmap_696556801_696816001_4FGL_J0218.9-2305_daily_bin1764.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/434366/ltcube_696556801_696816001_4FGL_J0218.9-2305_daily_bin1764.fits
.....................!
real 191.94
user 185.94
sys 5.62

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/434366/ft1_filtered_4FGL_J0218.9-2305_daily_bin1764.fits scfile=/scratch/kocevski/434366/ft2_4FGL_J0218.9-2305_daily_bin1764.fits outfile=/scratch/kocevski/434366/cmap_696556801_696816001_4FGL_J0218.9-2305_daily_bin1764.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434366/ft1_filtered_4FGL_J0218.9-2305_daily_bin1764.fits scfile=/scratch/kocevski/434366/ft2_4FGL_J0218.9-2305_daily_bin1764.fits outfile=/scratch/kocevski/434366/cmap_HighResolution_696556801_696816001_4FGL_J0218.9-2305_daily_bin1764.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434366/ft1_filtered_4FGL_J0218.9-2305_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434366/ft2_4FGL_J0218.9-2305_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434366/Model_4FGL_J0218.9-2305_daily_bin1764.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/434366/ft1_filtered_4FGL_J0218.9-2305_daily_bin1764.fits.....................!
real 87.91
user 85.87
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/434366/ft1_filtered_4FGL_J0218.9-2305_daily_bin1764.fits', '/scratch/kocevski/434366/ft2_4FGL_J0218.9-2305_daily_bin1764.fits', expMap='/scratch/kocevski/434366/expmap_696556801_696816001_4FGL_J0218.9-2305_daily_bin1764.fits', expCube='/scratch/kocevski/434366/ltcube_696556801_696816001_4FGL_J0218.9-2305_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/434366/Model_4FGL_J0218.9-2305_daily_bin1764.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/434366/ft1_filtered_4FGL_J0218.9-2305_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/434366/ft2_4FGL_J0218.9-2305_daily_bin1764.fits
Exposure map: /scratch/kocevski/434366/expmap_696556801_696816001_4FGL_J0218.9-2305_daily_bin1764.fits
Exposure cube: /scratch/kocevski/434366/ltcube_696556801_696816001_4FGL_J0218.9-2305_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/434366/Model_4FGL_J0218.9-2305_daily_bin1764.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) = 4287.22463945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1035       1.0000          .0000       .10000E+07
     2 'norm      '    .26246E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .75940E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .52384E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.4584       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.130       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11122E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .25824E-02   1.0000          .0000       .10000E+07
     9 'norm      '    73.431       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.0352       1.0000          .0000       .10000E+07
    11 'Prefactor '    .36788E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    79.556       1.0000          .0000       .10000E+07
    13 'Prefactor '    .15081E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .84284       1.0000          .0000       .10000E+07
    15 'norm      '    2.1120       1.0000          .0000       .10000E+07
    16 'norm      '    3.7673       1.0000          .0000       .10000E+07
    17 'Normalizat'    .87094       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .81583       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=   4287.219     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1317 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1043        1.7145        .20719E-06   -.11807E-03
   2  norm          .11102E-09    .79279        .57557E-06** at limit **
   3  Prefactor     .49960E-09    16.477        .14086E-05** at limit **
   4  norm          .61062E-09    2.4105        .17152E-05** at limit **
   5  Prefactor     1.4559        3.4463       -.53104E-06    .27245E-02
   6  Prefactor     13.128        10.261       -.45595E-05    .38863E-02
   7  Prefactor     .41078E-08    3.6870       -.73702E-06** at limit **
   8  Prefactor     .35527E-08    5.1478        .16896E-06** at limit **
   9  norm          74.163        45.943       -.11182E-04    .48933E-03
  10  Prefactor     6.0314        7.1149       -.31370E-06    .47809E-02
  11  Prefactor      .0000        12.748        .26835E-05** at limit **
  12  Prefactor     80.796        61.787        .19089E-04    .20379E-02
  13  Prefactor     .11102E-09    10.668        .13073E-05** at limit **
  14  Prefactor     .84016        2.5229       -.11624E-05    .70977E-02
  15  norm          2.1143        1.8884       -.26820E-06    .13120E-01
  16  norm          3.7671        3.2797        .47774E-06   -.23804E-02
  17  Normalizat    .87048        .19834       -.21141E-04    .31745E-03
  18  Prefactor     .81566        .22021        .41506E-04    .50486E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.10433
  norm       = 1.11022e-10
  Prefactor  = 4.996e-10
  norm       = 6.10623e-10
  Prefactor  = 1.45592
  Prefactor  = 13.1284
  Prefactor  = 4.10783e-09
  Prefactor  = 3.55271e-09
  norm       = 74.1634
  Prefactor  = 6.03137
  Prefactor  = 0
  Prefactor  = 80.7961
  Prefactor  = 1.11022e-10
  Prefactor  = 0.84016
  norm       = 2.11433
  norm       = 3.76705
  Normalizat = 0.870476
  Prefactor  = 0.815661
 **********
 **   18 **HESSE 
 **********

 FCN=   4287.219     FROM HESSE     STATUS=OK           280 CALLS     1597 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1043        1.7130        .71121E-03   -1.5679    
   2  norm          .11102E-09    .79296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .49960E-09    16.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .61062E-09    2.3708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.4559        3.4946        .89088E-03   -1.5684    
   6  Prefactor     13.128        10.256        .27617E-03   -1.5635    
   7  Prefactor     .41078E-08    3.6764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .35527E-08    5.1165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          74.163        45.929        .11670E-03   -1.5536    
  10  Prefactor     6.0314        7.1060        .40847E-03   -1.5659    
  11  Prefactor      .0000        12.738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     80.796        61.773        .11212E-03   -1.5528    
  13  Prefactor     .11102E-09    10.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .84016        2.5411        .49795E-03   -1.5690    
  15  norm          2.1143        1.8992        .70957E-03   -1.5679    
  16  norm          3.7671        3.2822        .51989E-03   -1.5669    
  17  Normalizat    .87048        .16834        .44529E-01   -.97505    
  18  Prefactor     .81566        .18723        .43923E-01   -.99154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.20953e-09
Minuit parameter uncertainties:
  1  1.71301
  2  1.80193e-05
  3  0.000179337
  4  7.75489e-05
  5  3.49464
  6  10.2557
  7  0.000245074
  8  0.000268713
  9  45.9297
  10  7.10597
  11  3.42776e-05
  12  61.7738
  13  6.46605e-05
  14  2.54109
  15  1.89923
  16  3.28223
  17  0.168445
  18  0.187372
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  4.108e-09  2.451e-04  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:  8.157e-01  1.874e-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:  8.705e-01  1.684e-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: 7.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434366/likelihoodResults_696556801_696816001_4FGL_J0218.9-2305_daily_bin1764.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) = 4287.21972216
delta logL = -0.00107953339193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4287.21864274
delta logL = -1.10522705654e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44797E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.2430       1.0000          .0000       10.000    
     3 'Normalizat'    .87051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81566       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.

 FCN=   4287.219     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      266 TOTAL
                     EDM=   .68E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    .19812E-01    .42118E-03** at limit **
   2  Index         3.1357        6.5559        .50000        .13642E-09
   3  Normalizat    .87048        .33636E-03    .44524E-01   -.58860E-03
   4  Prefactor     .81566        .37984E-03    .43921E-01   -.35784E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 3.13567
  Normalizat = 0.870476
  Prefactor  = 0.815658
 **********
 **   18 **HESSE 
 **********

 FCN=   4287.219     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      295 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    .11133        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1357        6.7660        .50000       -.38210    
   3  Normalizat    .87048        .79204E-03    .21111E-03   -.97505    
   4  Prefactor     .81566        .89444E-03    .24413E-03   -.99154    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.82792e-12
Minuit parameter uncertainties:
  1  9.97309e-06
  2  10228.4
  3  0.000792038
  4  0.000894437
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434366': 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) = 4287.21864263
delta logL = 5.79348125029e-10

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  2.220e-10  9.973e-06  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  3.136e+00  1.023e+04  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:  8.157e-01  8.944e-04  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:  8.705e-01  7.920e-04  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/434366/cmap_HighResolution_696556801_696816001_4FGL_J0218.9-2305_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.53e-03', job_status='DONE', photon_flux_upper_limit='7.07e-08', time_completed='2023-01-31 00:18:31.036095', job_id='434366', GAL2='0.82', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1675153111.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='5.79e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1764' AND source_name='4FGL J0218.9-2305' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:18:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 434366: <4FGL_J0218.9-2305_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0218.9-2305_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 00:04:50 2023
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:07:46 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:07:46 2023
Terminated at Tue Jan 31 00:18:32 2023
Results reported at Tue Jan 31 00:18:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_daily_bin1764 34.731 -23.0986 696556801 696816001 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 :                                   514.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            822 sec.

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

