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


Performing analysis on: 4FGL_J0218.9-2305_daily_bin1708
RA = 34.731, Dec = -23.0986
tmin = 682041601, tmax = 682300801
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='3008', job_status='RUN', time_executed='2022-09-16 10:28:15.928198', time_epoch_executed='1663349295.93' WHERE source_name='4FGL J0218.9-2305' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/3008

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/3008/ft1_4FGL_J0218.9-2305_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/3008/ft2_4FGL_J0218.9-2305_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/3008/ft1_4FGL_J0218.9-2305_daily_bin1708.fits outfile=/scratch/kocevski/3008/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin1708.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=682041601.0 tmax=682300801.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.05
user 3.80
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/3008/ft2_4FGL_J0218.9-2305_daily_bin1708.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/3008/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/3008/ft1_filtered_4FGL_J0218.9-2305_daily_bin1708.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.54
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 343

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/3008/ft1_filtered_4FGL_J0218.9-2305_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/3008/ft2_4FGL_J0218.9-2305_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/3008/ltcube_682041601_682300801_4FGL_J0218.9-2305_daily_bin1708.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/3008/ft2_4FGL_J0218.9-2305_daily_bin1708.fits
.....................!
real 15.47
user 15.07
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/3008/ft1_filtered_4FGL_J0218.9-2305_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/3008/ft2_4FGL_J0218.9-2305_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/3008/ltcube_682041601_682300801_4FGL_J0218.9-2305_daily_bin1708.fits outfile=/scratch/kocevski/3008/expmap_682041601_682300801_4FGL_J0218.9-2305_daily_bin1708.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/3008/ltcube_682041601_682300801_4FGL_J0218.9-2305_daily_bin1708.fits
.....................!
real 193.16
user 187.62
sys 4.89

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/3008/ft1_filtered_4FGL_J0218.9-2305_daily_bin1708.fits scfile=/scratch/kocevski/3008/ft2_4FGL_J0218.9-2305_daily_bin1708.fits outfile=/scratch/kocevski/3008/cmap_682041601_682300801_4FGL_J0218.9-2305_daily_bin1708.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.59
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/3008/ft1_filtered_4FGL_J0218.9-2305_daily_bin1708.fits scfile=/scratch/kocevski/3008/ft2_4FGL_J0218.9-2305_daily_bin1708.fits outfile=/scratch/kocevski/3008/cmap_HighResolution_682041601_682300801_4FGL_J0218.9-2305_daily_bin1708.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.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/3008/ft1_filtered_4FGL_J0218.9-2305_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/3008/ft2_4FGL_J0218.9-2305_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/3008/Model_4FGL_J0218.9-2305_daily_bin1708.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/3008/ft1_filtered_4FGL_J0218.9-2305_daily_bin1708.fits.....................!
real 80.43
user 78.84
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61562E-07   1.0000          .0000       .10000E+07
     2 'norm      '    4.9541       1.0000          .0000       .10000E+07
     3 'Prefactor '    40.562       1.0000          .0000       .10000E+07
     4 'norm      '    6.2454       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13500E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.4789       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20472E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    18.600       1.0000          .0000       .10000E+07
     9 'norm      '    .40142E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .47032E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11688E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    127.92       1.0000          .0000       .10000E+07
    13 'Prefactor '    33.424       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39707       1.0000          .0000       .10000E+07
    15 'norm      '    .56395       1.0000          .0000       .10000E+07
    16 'norm      '    2.3607       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0278       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .74179       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=   3914.472     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1359 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1766        .17644E-06** at limit **
   2  norm          4.9512        4.0148       -.40028E-07   -.10927E-02
   3  Prefactor     41.101        36.395       -.11042E-05    .60104E-01
   4  norm          6.2318        2.9364       -.20719E-07    .22648E-03
   5  Prefactor      .0000        3.1099       -.32385E-06** at limit **
   6  Prefactor     8.1624        15.870       -.33921E-06   -.23865E-02
   7  Prefactor      .0000        9.6247       -.10138E-06** at limit **
   8  Prefactor     18.922        10.845       -.79893E-06   -.14199E-02
   9  norm           .0000        22.831        .46362E-06** at limit **
  10  Prefactor      .0000        3.5371       -.54087E-07** at limit **
  11  Prefactor     .72164E-09    30.717        .40724E-06** at limit **
  12  Prefactor     124.87        85.380       -.62913E-06   -.45015E-03
  13  Prefactor     33.745        20.905       -.67435E-06   -.95321E-01
  14  Prefactor     .49106        23.140        .18412E-05    .57832E-03
  15  norm          .56434        1.0860        .20951E-06   -.19441E-02
  16  norm          2.3604        2.1705        .33005E-06   -.22960E-02
  17  Normalizat    1.0292        .24187        .16120E-05   -.60080E-04
  18  Prefactor     .74056        .25663        .12915E-04   -.72882E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 4.9512
  Prefactor  = 41.1011
  norm       = 6.23178
  Prefactor  = 0
  Prefactor  = 8.16243
  Prefactor  = 0
  Prefactor  = 18.9222
  norm       = 0
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 124.871
  Prefactor  = 33.7449
  Prefactor  = 0.491059
  norm       = 0.564342
  norm       = 2.3604
  Normalizat = 1.02916
  Prefactor  = 0.740561
 **********
 **   18 **HESSE 
 **********

 FCN=   3914.472     FROM HESSE     STATUS=OK           288 CALLS     1647 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.9512        4.0181        .45161E-03   -1.5663    
   3  Prefactor     41.101        42.596        .15703E-03   -1.5580    
   4  norm          6.2318        2.9327        .40144E-03   -1.5658    
   5  Prefactor      .0000        3.1135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1624        15.969        .34403E-03   -1.5651    
   7  Prefactor      .0000        9.4919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.922        10.848        .23196E-03   -1.5621    
   9  norm           .0000        22.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        3.5490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .72164E-09    30.762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     124.87        87.515        .88421E-04   -1.5484    
  13  Prefactor     33.745        39.139        .17299E-03   -1.5592    
  14  Prefactor     .49106        8.1072        .49546E-02   -1.5694    
  15  norm          .56434        1.2921        .20388E-02   -1.5693    
  16  norm          2.3604        2.1637        .66673E-03   -1.5677    
  17  Normalizat    1.0292        .20315        .42389E-01   -.92060    
  18  Prefactor     .74056        .21593        .62510E-01   -1.0196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6466e-07
Minuit parameter uncertainties:
  1  3.68019e-06
  2  4.0181
  3  42.5963
  4  2.93267
  5  1.00558e-05
  6  15.9691
  7  1.81321e-07
  8  10.848
  9  3.33468e-05
  10  7.58346e-06
  11  0.00029868
  12  87.5161
  13  39.1397
  14  3.99055
  15  1.29209
  16  2.1637
  17  0.203303
  18  0.216172
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.813e-07  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:  7.406e-01  2.162e-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.029e+00  2.033e-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: 9.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/3008/likelihoodResults_682041601_682300801_4FGL_J0218.9-2305_daily_bin1708.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) = 3914.47854036
delta logL = -0.00656871844831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3914.47197509
delta logL = -3.44851696354e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44120E-04   1.0000          .0000       .10000E+07
     2 'Index     '    3.1650       1.0000          .0000       10.000    
     3 'Normalizat'    1.0288       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74089       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=   3914.472     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      272 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    7.6420        .42118E-03** at limit **
   2  Index         1.6650        5.2116        .50000       -.12506E-09
   3  Normalizat    1.0292        .79440E-02    .42282E-01   -.64517E-03
   4  Prefactor     .74057        .87288E-02    .62510E-01   -.21662E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 1.66502
  Normalizat = 1.02915
  Prefactor  = 0.740567
 **********
 **   18 **HESSE 
 **********

 FCN=   3914.472     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      303 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    72.793        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6650        8.9478        .50000       -.73017    
   3  Normalizat    1.0292        .25104E-01    .21794E-03   -.92060    
   4  Prefactor     .74057        .27553E-01    .27651E-03   -1.0196    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.08674e-09
Minuit parameter uncertainties:
  1  0.000196144
  2  317834
  3  0.0251041
  4  0.0275535
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/3008': 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) = 3914.47197164
delta logL = -5.17047737958e-10

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.110e-10  1.961e-04  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  1.665e+00  3.178e+05  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:  7.406e-01  2.755e-02  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.029e+00  2.510e-02  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/3008/cmap_HighResolution_682041601_682300801_4FGL_J0218.9-2305_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-03', job_status='DONE', photon_flux_upper_limit='9.09e-08', time_completed='2022-09-16 10:36:37.704354', job_id='3008', GAL2='0.74', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1663349797.7', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-5.17e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1708' AND source_name='4FGL J0218.9-2305' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:36:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 3008: <4FGL_J0218.9-2305_daily_bin1708> in cluster <slac> Done

Job <4FGL_J0218.9-2305_daily_bin1708> 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) <bullet0274>, 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:36:38 2022
Results reported at Fri Sep 16 10:36:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_daily_bin1708 34.731 -23.0986 682041601 682300801 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 :                                   502.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   706 sec.
    Turnaround time :                            909 sec.

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

