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 14 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0218.9-2305_daily_bin1679
RA = 34.731, Dec = -23.0986
tmin = 674524801, tmax = 674784001
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='424883', job_status='RUN', time_executed='2022-05-21 00:09:15.691141', time_epoch_executed='1653116955.69' WHERE source_name='4FGL J0218.9-2305' and cadence='daily' and bin_id='1679'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424883

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424883/ft1_4FGL_J0218.9-2305_daily_bin1679.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424883/ft2_4FGL_J0218.9-2305_daily_bin1679.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424883/ft1_4FGL_J0218.9-2305_daily_bin1679.fits outfile=/scratch/kocevski/424883/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin1679.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=674524801.0 tmax=674784001.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.65
user 3.35
sys 0.22

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

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

Number of photons that the gtmktime cut: 550

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/424883/ft1_filtered_4FGL_J0218.9-2305_daily_bin1679.fits" evtable="EVENTS" scfile=/scratch/kocevski/424883/ft2_4FGL_J0218.9-2305_daily_bin1679.fits sctable="SC_DATA" outfile=/scratch/kocevski/424883/ltcube_674524801_674784001_4FGL_J0218.9-2305_daily_bin1679.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/424883/ft2_4FGL_J0218.9-2305_daily_bin1679.fits
.....................!
real 15.44
user 14.97
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424883/ft1_filtered_4FGL_J0218.9-2305_daily_bin1679.fits evtable="EVENTS" scfile=/scratch/kocevski/424883/ft2_4FGL_J0218.9-2305_daily_bin1679.fits sctable="SC_DATA" expcube=/scratch/kocevski/424883/ltcube_674524801_674784001_4FGL_J0218.9-2305_daily_bin1679.fits outfile=/scratch/kocevski/424883/expmap_674524801_674784001_4FGL_J0218.9-2305_daily_bin1679.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/424883/ltcube_674524801_674784001_4FGL_J0218.9-2305_daily_bin1679.fits
.....................!
real 192.50
user 187.06
sys 4.93

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_archive_v18/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/424883/ft1_filtered_4FGL_J0218.9-2305_daily_bin1679.fits scfile=/scratch/kocevski/424883/ft2_4FGL_J0218.9-2305_daily_bin1679.fits outfile=/scratch/kocevski/424883/cmap_674524801_674784001_4FGL_J0218.9-2305_daily_bin1679.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.57
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424883/ft1_filtered_4FGL_J0218.9-2305_daily_bin1679.fits scfile=/scratch/kocevski/424883/ft2_4FGL_J0218.9-2305_daily_bin1679.fits outfile=/scratch/kocevski/424883/cmap_HighResolution_674524801_674784001_4FGL_J0218.9-2305_daily_bin1679.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/424883/ft1_filtered_4FGL_J0218.9-2305_daily_bin1679.fits evtable="EVENTS" scfile=/scratch/kocevski/424883/ft2_4FGL_J0218.9-2305_daily_bin1679.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/424883/Model_4FGL_J0218.9-2305_daily_bin1679.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/424883/ft1_filtered_4FGL_J0218.9-2305_daily_bin1679.fits.....................!
real 121.74
user 119.61
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/424883/ft1_filtered_4FGL_J0218.9-2305_daily_bin1679.fits', '/scratch/kocevski/424883/ft2_4FGL_J0218.9-2305_daily_bin1679.fits', expMap='/scratch/kocevski/424883/expmap_674524801_674784001_4FGL_J0218.9-2305_daily_bin1679.fits', expCube='/scratch/kocevski/424883/ltcube_674524801_674784001_4FGL_J0218.9-2305_daily_bin1679.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/424883/Model_4FGL_J0218.9-2305_daily_bin1679.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  1.000e-04  1.000e+04 ( 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/424883/ft1_filtered_4FGL_J0218.9-2305_daily_bin1679.fits
Spacecraft file(s): /scratch/kocevski/424883/ft2_4FGL_J0218.9-2305_daily_bin1679.fits
Exposure map: /scratch/kocevski/424883/expmap_674524801_674784001_4FGL_J0218.9-2305_daily_bin1679.fits
Exposure cube: /scratch/kocevski/424883/ltcube_674524801_674784001_4FGL_J0218.9-2305_daily_bin1679.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/424883/Model_4FGL_J0218.9-2305_daily_bin1679.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) = 5951.83249488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    21.598       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.712       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .21126E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .28695E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    100.48       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.910       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.626       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6871       1.0000         .10000E-03   10000.    
    18 'Prefactor '    88.276       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.7258       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .90597       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85732       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.

 FCN=   5951.794     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2394 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .55652        .93692E-07** at limit **
   2  norm          .10000E-03    1.1592        .19563E-06** at limit **
   3  Prefactor     .10000E-03    10.128        .32658E-07** at limit **
   4  norm          21.598        3.5226        .10170E-07    .11081E-03
   5  Prefactor     .10000E-03    1.4266       -.46145E-07** at limit **
   6  Prefactor     12.711        9.8295        .23870E-07   -.53685E-05
   7  Prefactor     .10000E-03    2.2760        .60321E-07** at limit **
   8  Prefactor     .10000E-03    5.6860       -.26703E-05** at limit **
   9  Prefactor     .10000E-03    67.909       -.24228E-05** at limit **
  10  norm          100.40        62.208        .20151E-06    .83604E-05
  11  Prefactor     .10000E-03    3.8910        .24493E-06** at limit **
  12  Prefactor     25.916        46.429       -.87960E-07    .96014E-05
  13  Prefactor     .10000E-03    16.312        .15053E-06** at limit **
  14  Prefactor     .10000E-03    10.687        .51890E-07** at limit **
  15  Prefactor     .10000E-03    1.2332        .89858E-07** at limit **
  16  Prefactor     17.621        31.263       -.53814E-07   -.63789E-05
  17  norm          1.6870        1.4175        .50708E-07    .32550E-05
  18  Prefactor     88.276        69.351        .63390E-07    .78641E-06
  19  Prefactor     5.7260        6.9548        .41937E-06   -.29841E-05
  20  norm          .10000E-03    .62100        .19010E-07** at limit **
  21  Normalizat    .90600        .15331        .41312E-08   -.80010E-05
  22  Prefactor     .85729        .17233       -.55649E-06    .17268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 21.5981
  Prefactor  = 0.0001
  Prefactor  = 12.7111
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 100.405
  Prefactor  = 0.0001
  Prefactor  = 25.9158
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.6208
  norm       = 1.68699
  Prefactor  = 88.2763
  Prefactor  = 5.72596
  norm       = 0.0001
  Normalizat = 0.906003
  Prefactor  = 0.857285
 **********
 **   18 **HESSE 
 **********

 FCN=   5951.794     FROM HESSE     STATUS=OK           336 CALLS     2730 TOTAL
                     EDM=   .59E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .56284        .56203E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.1819        .81118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          21.598        3.5314        .55572E-04   -1.4778    
   5  Prefactor     .10000E-03    1.4322        .89976E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.711        9.8352        .11235E-03   -1.4995    
   7  Prefactor     .10000E-03    2.2946        .11362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.6717        .17892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    68.974        .21408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          100.40        62.299        .20054E-03   -1.3701    
  11  Prefactor     .10000E-03    4.0064        .29717E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.916        46.418        .78699E-04   -1.4689    
  13  Prefactor     .10000E-03    16.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.2405        .83675E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.621        31.353        .95399E-04   -1.4868    
  17  norm          1.6870        1.4049        .80867E-04   -1.5448    
  18  Prefactor     88.276        69.386        .42763E-04   -1.3826    
  19  Prefactor     5.7260        6.9502        .83929E-03   -1.5229    
  20  norm          .10000E-03    .62456        .59368E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90600        .17935        .22206E-03   -.96250    
  22  Prefactor     .85729        .20045        .26025E-03   -.97650    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85642e-12
Minuit parameter uncertainties:
  1  2.18147e-07
  2  6.43058e-07
  3  3.45697e-06
  4  3.53142
  5  5.2968e-07
  6  9.83643
  7  1.42206e-06
  8  7.1694e-06
  9  9.75419e-05
  10  62.3391
  11  1.87279e-06
  12  46.4827
  13  8.40637e-06
  14  3.82921e-06
  15  5.41209e-07
  16  31.3823
  17  1.40494
  18  69.4496
  19  6.95118
  20  4.9811e-08
  21  0.179465
  22  0.200622DDone.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.422e-06  1.000e-04  1.000e+04 ( 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.573e-01  2.006e-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:  9.060e-01  1.795e-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: 6.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/424883/likelihoodResults_674524801_674784001_4FGL_J0218.9-2305_daily_bin1679.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) = 5951.79614838
delta logL = -0.00207482520636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5951.79407348
delta logL = 7.6925061876e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5888       1.0000          .0000       10.000    
     3 'Normalizat'    .90603       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85729       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=   5951.794     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      246 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.883        .11458E-01** at limit **
   2  Index         2.1991        7.8349        .50000       -.17200E-05
   3  Normalizat    .90600        .93615E-02    .22206E-03    .16449E-03
   4  Prefactor     .85729        .10760E-01    .26025E-03    .16845E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.19906
  Normalizat = 0.906003
  Prefactor  = 0.857285
 **********
 **   18 **HESSE 
 **********

 FCN=   5951.794     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      273 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    167.31        .12129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1991        8.2712        .50000       -.59461    
   3  Normalizat    .90600        .32547E-01    .88825E-05   -.96249    
   4  Prefactor     .85729        .37411E-01    .10410E-04   -.97650    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.05591e-07
Minuit parameter uncertainties:
  1  0.000143077
  2  716.695
  3  0.0325482
  4  0.0374122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424883': 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) = 5951.79407088
delta logL = 2.66912229563e-06

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.431e-04  1.000e-04  1.000e+04 ( 1.000e-12)
269        Index:  2.199e+00  7.167e+02  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.573e-01  3.741e-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:  9.060e-01  3.255e-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/424883/cmap_HighResolution_674524801_674784001_4FGL_J0218.9-2305_daily_bin1679.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.01e-08', time_completed='2022-05-21 00:21:12.695100', job_id='424883', GAL2='0.86', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1653117672.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='2.67e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1679' AND source_name='4FGL J0218.9-2305' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 21 00:21:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 424826: <4FGL_J0218.9-2305_daily_bin1679> in cluster <slac> Done

Job <4FGL_J0218.9-2305_daily_bin1679> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat May 21 00:05:14 2022
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat May 21 00:08:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat May 21 00:08:22 2022
Terminated at Sat May 21 00:20:59 2022
Results reported at Sat May 21 00:20:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_daily_bin1679 34.731 -23.0986 674524801 674784001 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 :                                   723.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             356.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            945 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 424883: <4FGL_J0218.9-2305_daily_bin1679> in cluster <slac> Done

Job <4FGL_J0218.9-2305_daily_bin1679> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat May 21 00:05:17 2022
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat May 21 00:08:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat May 21 00:08:46 2022
Terminated at Sat May 21 00:21:13 2022
Results reported at Sat May 21 00:21:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_daily_bin1679 34.731 -23.0986 674524801 674784001 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 :                                   714.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             346.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            956 sec.

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

