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


Performing analysis on: 4FGL_J0218.9-2305_daily_bin1710
RA = 34.731, Dec = -23.0986
tmin = 682560001, tmax = 682819201
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='3011', job_status='RUN', time_executed='2022-09-16 10:26:20.883225', time_epoch_executed='1663349180.88' WHERE source_name='4FGL J0218.9-2305' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/3011

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/3011/ft1_4FGL_J0218.9-2305_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/3011/ft2_4FGL_J0218.9-2305_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/3011/ft1_4FGL_J0218.9-2305_daily_bin1710.fits outfile=/scratch/kocevski/3011/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin1710.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=682560001.0 tmax=682819201.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.69
user 3.44
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/3011/ft2_4FGL_J0218.9-2305_daily_bin1710.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/3011/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/3011/ft1_filtered_4FGL_J0218.9-2305_daily_bin1710.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.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 369

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/3011/ft1_filtered_4FGL_J0218.9-2305_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/3011/ft2_4FGL_J0218.9-2305_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/3011/ltcube_682560001_682819201_4FGL_J0218.9-2305_daily_bin1710.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/3011/ft2_4FGL_J0218.9-2305_daily_bin1710.fits
.....................!
real 13.47
user 13.05
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/3011/ft1_filtered_4FGL_J0218.9-2305_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/3011/ft2_4FGL_J0218.9-2305_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/3011/ltcube_682560001_682819201_4FGL_J0218.9-2305_daily_bin1710.fits outfile=/scratch/kocevski/3011/expmap_682560001_682819201_4FGL_J0218.9-2305_daily_bin1710.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/3011/ltcube_682560001_682819201_4FGL_J0218.9-2305_daily_bin1710.fits
.....................!
real 191.27
user 185.87
sys 4.92

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/3011/ft1_filtered_4FGL_J0218.9-2305_daily_bin1710.fits scfile=/scratch/kocevski/3011/ft2_4FGL_J0218.9-2305_daily_bin1710.fits outfile=/scratch/kocevski/3011/cmap_682560001_682819201_4FGL_J0218.9-2305_daily_bin1710.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.51
user 0.36
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/3011/ft1_filtered_4FGL_J0218.9-2305_daily_bin1710.fits scfile=/scratch/kocevski/3011/ft2_4FGL_J0218.9-2305_daily_bin1710.fits outfile=/scratch/kocevski/3011/cmap_HighResolution_682560001_682819201_4FGL_J0218.9-2305_daily_bin1710.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/3011/ft1_filtered_4FGL_J0218.9-2305_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/3011/ft2_4FGL_J0218.9-2305_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/3011/Model_4FGL_J0218.9-2305_daily_bin1710.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/3011/ft1_filtered_4FGL_J0218.9-2305_daily_bin1710.fits.....................!
real 85.79
user 84.24
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7899       1.0000          .0000       .10000E+07
     2 'norm      '    .79275       1.0000          .0000       .10000E+07
     3 'Prefactor '    .23944       1.0000          .0000       .10000E+07
     4 'norm      '    .77383E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .84632E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .70528E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.6942       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42722E-02   1.0000          .0000       .10000E+07
     9 'norm      '    44.782       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11006       1.0000          .0000       .10000E+07
    11 'Prefactor '    17.126       1.0000          .0000       .10000E+07
    12 'Prefactor '    254.39       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.5788       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.8877       1.0000          .0000       .10000E+07
    15 'norm      '    .16154E-07   1.0000          .0000       .10000E+07
    16 'norm      '    1.2533       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4220       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .40635       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=   4155.539     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1996 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7856        2.8612        .14148E-06    .34440E-03
   2  norm          .82079        3.8002       -.80021E-07   -.79806E-04
   3  Prefactor      .0000        26.066       -.40727E-06** at limit **
   4  norm           .0000        1.0051        .14990E-06** at limit **
   5  Prefactor      .0000        2.2603        .19788E-06** at limit **
   6  Prefactor      .0000        8.9915       -.72650E-07** at limit **
   7  Prefactor     4.6775        6.9521       -.36170E-06   -.15864E-05
   8  Prefactor     .91038E-08    72.529       -.24225E-05** at limit **
   9  norm          45.296        54.783       -.86771E-06    .23521E-01
  10  Prefactor     .12514        45.416       -.94249E-06** at limit **
  11  Prefactor     16.535        52.823        .65108E-06   -.22566E-01
  12  Prefactor     254.06        21.760        .11015E-06    .29160    
  13  Prefactor     3.9157        51.990       -.89081E-06   -.10509E-02
  14  Prefactor     5.8569        4.7832       -.13973E-06   -.54751E-03
  15  norm           .0000        .63484       -.20327E-06** at limit **
  16  norm          1.2484        2.9352       -.31631E-06   -.31714E-03
  17  Normalizat    1.4218        .24039        .36983E-05   -.18370E-04
  18  Prefactor     .40650        .24255       -.36858E-05   -.98925E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.78562
  norm       = 0.82079
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.6775
  Prefactor  = 9.10383e-09
  norm       = 45.2959
  Prefactor  = 0.125135
  Prefactor  = 16.5354
  Prefactor  = 254.057
  Prefactor  = 3.91566
  Prefactor  = 5.85687
  norm       = 0
  norm       = 1.24838
  Normalizat = 1.42178
  Prefactor  = 0.406502
 **********
 **   18 **HESSE 
 **********

 FCN=   4155.539     FROM HESSE     STATUS=OK           290 CALLS     2286 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7856        2.8952        .78153E-03   -1.5681    
   2  norm          .82079        3.8327        .53477E-03   -1.5690    
   3  Prefactor      .0000        26.041        .11112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.0044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.2613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        8.9986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.6775        6.9713        .46422E-03   -1.5665    
   8  Prefactor     .91038E-08    70.224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          45.296        56.350        .14945E-03   -1.5573    
  10  Prefactor     .12514        4.1024        .74079E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.535        53.769        .24175E-03   -1.5627    
  12  Prefactor     254.06        96.626        .62706E-04   -1.5389    
  13  Prefactor     3.9157        51.658        .53395E-03   -1.5668    
  14  Prefactor     5.8569        4.8251        .41363E-03   -1.5660    
  15  norm           .0000        .63361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2484        2.9893        .99778E-03   -1.5686    
  17  Normalizat    1.4218        .22029        .30916E-01   -.80001    
  18  Prefactor     .40650        .22416        .81210E-01   -1.1648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04144e-06
Minuit parameter uncertainties:
  1  2.8952
  2  3.54732
  3  7.54328e-06
  4  1.0947e-06
  5  1.88064e-06
  6  3.10022e-06
  7  6.97134
  8  0.00160061
  9  56.3507
  10  1.43298
  11  53.7707
  12  96.6264
  13  28.4449
  14  4.82512
  15  1.15798e-06
  16  2.98932
  17  0.220437
  18  0.224645
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  4.677e+00  6.971e+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

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  4.065e-01  2.246e-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:  1.422e+00  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.63
Ra Dec: 34.731 -23.099
Photon Flux Upper Limit: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/3011/likelihoodResults_682560001_682819201_4FGL_J0218.9-2305_daily_bin1710.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) = 4155.18997909
delta logL = 0.349434857606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4155.17993165
delta logL = 0.359482292828

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4155.180     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      275 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8281        6.5112        .99342E-05   -.15404E-02
   2  Index         3.5926        1.6202        .73769E-02   -.20274E-04
   3  Normalizat    1.3764        .24007        .19464E-03   -.58473E-03
   4  Prefactor     .43872        .24689        .34705E-03   -.21706E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.82808
  Index      = 3.59258
  Normalizat = 1.37643
  Prefactor  = 0.438723
 **********
 **   18 **HESSE 
 **********

 FCN=   4155.180     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8281        5.1320        .39737E-06   -1.5674    
   2  Index         3.5926        1.2842        .29507E-03   -.28534    
   3  Normalizat    1.3764        .24019        .38927E-04   -.81313    
   4  Prefactor     .43872        .24673        .13882E-04   -1.1488    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35201e-10
Minuit parameter uncertainties:
  1  5.13202
  2  1.30005
  3  0.240389
  4  0.247335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/3011': 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) = 4155.17993163
delta logL = 0.35948231273

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  2.828e+00  5.132e+00  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  3.593e+00  1.300e+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:  4.387e-01  2.473e-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:  1.376e+00  2.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.39
Ra Dec: 34.731 -23.099
Photon Index (Free Index): 3.59 +/- 1.30
Photon Flux (Free Index): 6.77e-08 +/- 7.05e-08
Energy Flux (Free Index): 1.10e-05 +/- 1.10e-05

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/3011/cmap_HighResolution_682560001_682819201_4FGL_J0218.9-2305_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', comment='SUCCESS', energy_flux2='1.10e-05', dlogl='3.59e-01', photon_flux2='6.77e-08', job_status='DONE', time_completed='2022-09-16 10:35:17.455316', photon_index_error2='1.30', photon_index2='3.59', ts='0.63', fit_tolerance='1e-08', GAL='0.41', photon_index_error='0.00', photon_flux_upper_limit='1.37e-07', energy_flux_error2='1.10e-05', EG='1.42', time_epoch_completed='1663349717.46', return_code='0', job_id='3011', GAL2='0.44', EG2='1.38', return_code2='0', photon_flux_error2='7.05e-08', ts2='1.39', photon_index='2.60' WHERE bin_id='1710' AND source_name='4FGL J0218.9-2305' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:35:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 3011: <4FGL_J0218.9-2305_daily_bin1710> in cluster <slac> Done

Job <4FGL_J0218.9-2305_daily_bin1710> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 10:21:29 2022
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 10:24:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 10:24:52 2022
Terminated at Fri Sep 16 10:35:18 2022
Results reported at Fri Sep 16 10:35:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_daily_bin1710 34.731 -23.0986 682560001 682819201 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 :                                   538.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             312.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   625 sec.
    Turnaround time :                            829 sec.

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

