aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 38 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 = 17046
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0218.9-2305_weekly_bin604
RA = 34.731, Dec = -23.0986
tmin = 604281601, tmax = 604886401
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='464501', job_status='RUN', time_executed='2021-07-04 14:22:38.807078', time_epoch_executed='1625433758.81' WHERE source_name='4FGL J0218.9-2305' and cadence='weekly' and bin_id='604'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/464501

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/464501/ft1_4FGL_J0218.9-2305_weekly_bin604.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/464501/ft2_4FGL_J0218.9-2305_weekly_bin604.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/464501/ft1_4FGL_J0218.9-2305_weekly_bin604.fits outfile=/scratch/kocevski/464501/ft1_filteredMKT_4FGL_J0218.9-2305_weekly_bin604.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=604281601.0 tmax=604886401.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 8.33
user 7.63
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/464501/ft2_4FGL_J0218.9-2305_weekly_bin604.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/464501/ft1_filteredMKT_4FGL_J0218.9-2305_weekly_bin604.fits evtable="EVENTS" outfile="/scratch/kocevski/464501/ft1_filtered_4FGL_J0218.9-2305_weekly_bin604.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.27
user 0.37
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/464501/ft1_filtered_4FGL_J0218.9-2305_weekly_bin604.fits" evtable="EVENTS" scfile=/scratch/kocevski/464501/ft2_4FGL_J0218.9-2305_weekly_bin604.fits sctable="SC_DATA" outfile=/scratch/kocevski/464501/ltcube_604281601_604886401_4FGL_J0218.9-2305_weekly_bin604.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/464501/ft2_4FGL_J0218.9-2305_weekly_bin604.fits
.....................!
real 26.73
user 25.92
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/464501/ft1_filtered_4FGL_J0218.9-2305_weekly_bin604.fits evtable="EVENTS" scfile=/scratch/kocevski/464501/ft2_4FGL_J0218.9-2305_weekly_bin604.fits sctable="SC_DATA" expcube=/scratch/kocevski/464501/ltcube_604281601_604886401_4FGL_J0218.9-2305_weekly_bin604.fits outfile=/scratch/kocevski/464501/expmap_604281601_604886401_4FGL_J0218.9-2305_weekly_bin604.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/464501/ltcube_604281601_604886401_4FGL_J0218.9-2305_weekly_bin604.fits
.....................!
real 195.24
user 185.66
sys 5.08

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/464501/ft1_filtered_4FGL_J0218.9-2305_weekly_bin604.fits scfile=/scratch/kocevski/464501/ft2_4FGL_J0218.9-2305_weekly_bin604.fits outfile=/scratch/kocevski/464501/cmap_604281601_604886401_4FGL_J0218.9-2305_weekly_bin604.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.89
user 0.40
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/464501/ft1_filtered_4FGL_J0218.9-2305_weekly_bin604.fits scfile=/scratch/kocevski/464501/ft2_4FGL_J0218.9-2305_weekly_bin604.fits outfile=/scratch/kocevski/464501/cmap_HighResolution_604281601_604886401_4FGL_J0218.9-2305_weekly_bin604.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 1.11
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/464501/ft1_filtered_4FGL_J0218.9-2305_weekly_bin604.fits evtable="EVENTS" scfile=/scratch/kocevski/464501/ft2_4FGL_J0218.9-2305_weekly_bin604.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/464501/Model_4FGL_J0218.9-2305_weekly_bin604.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/464501/ft1_filtered_4FGL_J0218.9-2305_weekly_bin604.fits....................!
real 146.77
user 138.37
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30106       1.0000         .10000E-03   10000.    
     2 'norm      '    .42117       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.850       1.0000         .10000E-03   10000.    
     4 'norm      '    2.5475       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.6997       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.1361       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4459       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10250E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    11.953       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .62189E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.4383       1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.954       1.0000         .10000E-03   10000.    
    14 'Prefactor '    65.321       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.2798       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.3374       1.0000         .10000E-03   10000.    
    17 'norm      '    4.3707       1.0000         .10000E-03   10000.    
    18 'Prefactor '    72.758       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .16466E-01   1.0000         .10000E-03   10000.    
    20 'norm      '    .57868       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0042       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .75399       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=   7238.835     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     2467 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29558        3.2347       -.60473E-06   -.10267E-03
   2  norm          .42598        2.5681        .11451E-05   -.31581E-03
   3  Prefactor     13.844        15.034        .26833E-04    .66054E-02
   4  norm          2.5490        1.8262        .31135E-07   -.11033E-02
   5  Prefactor     .10000E-03    1.1364        .30437E-06** at limit **
   6  Prefactor     5.6990        7.1274        .10093E-04    .36242E-03
   7  Prefactor     4.1394        5.1584       -.14445E-04   -.48822E-03
   8  Prefactor     4.4521        4.9333        .33976E-05   -.40959E-03
   9  Prefactor     .10000E-03    5.6932       -.74556E-06** at limit **
  10  norm          11.982        12.585       -.22807E-04    .22714E-02
  11  Prefactor     .10000E-03    39.564       -.33108E-06** at limit **
  12  Prefactor     3.4168        5.2507        .14024E-04   -.11689E-02
  13  Prefactor     29.967        2.7062        .25802E-05   -.17062E-02
  14  Prefactor     65.252        10.991        .25404E-05   -.66076E-02
  15  Prefactor     1.2811        3.7050       -.35042E-06   -.52941E-03
  16  Prefactor     9.3243        7.7488        .16893E-04   -.35471E-02
  17  norm          4.3710        2.0137       -.22967E-06   -.72632E-04
  18  Prefactor     72.770        2.3754        .13175E-05   -.25404E-02
  19  Prefactor     .10902E-03    336.59       -.87947E-04** at limit **
  20  norm          .57772        1.1948       -.52729E-06   -.25174E-03
  21  Normalizat    1.0040        .17441        .18942E-05   -.36472E-03
  22  Prefactor     .75428        .17770       -.45684E-05   -.38318E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.295579
  norm       = 0.425975
  Prefactor  = 13.844
  norm       = 2.54896
  Prefactor  = 0.0001
  Prefactor  = 5.69903
  Prefactor  = 4.13938
  Prefactor  = 4.45211
  Prefactor  = 0.000100001
  norm       = 11.982
  Prefactor  = 0.000100001
  Prefactor  = 3.41681
  Prefactor  = 29.9667
  Prefactor  = 65.2516
  Prefactor  = 1.28109
  Prefactor  = 9.32431
  norm       = 4.37098
  Prefactor  = 72.7703
  Prefactor  = 0.000109023
  norm       = 0.577723
  Normalizat = 1.00402
  Prefactor  = 0.754275
 **********
 **   18 **HESSE 
 **********

 FCN=   7238.835     FROM HESSE     STATUS=OK           420 CALLS     2887 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29558        1.1423        .44150E-01   -1.5599    
   2  norm          .42598        1.6333        .35589E-01   -1.5577    
   3  Prefactor     13.844        18.521        .26906E-02   -1.4964    
   4  norm          2.5490        1.8399        .63959E-02   -1.5389    
   5  Prefactor     .10000E-03    1.1295        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.6990        7.1456        .42062E-02   -1.5230    
   7  Prefactor     4.1394        5.2111        .49550E-02   -1.5301    
   8  Prefactor     4.4521        5.2455        .47744E-02   -1.5286    
   9  Prefactor     .10000E-03    5.6921        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.982        24.687        .28967E-02   -1.5016    
  11  Prefactor     .10000E-03    2.7540        .75652E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4168        46.769        .54532E-02   -1.5338    
  13  Prefactor     29.967        53.142        .18301E-02   -1.4613    
  14  Prefactor     65.252        35.576        .12414E-02   -1.4091    
  15  Prefactor     1.2811        3.8255        .98107E-02   -1.5482    
  16  Prefactor     9.3243        40.304        .32788E-02   -1.5097    
  17  norm          4.3710        2.0327        .48164E-02   -1.5290    
  18  Prefactor     72.770        92.191        .11767E-02   -1.4000    
  19  Prefactor     .10902E-03    8.4292        .91051E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .57772        1.5013        .31622E-01   -1.5556    
  21  Normalizat    1.0040        .15357        .46220E-01   -.92896    
  22  Prefactor     .75428        .15266        .43115E-01   -1.0144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.01784e-07
Minuit parameter uncertainties:
  1  1.14239
  2  1.63345
  3  18.5287
  4  1.83997
  5  9.89847e-06
  6  7.14664
  7  5.21167
  8  5.24601
  9  0.000117895
  10  24.7084
  11  9.59119e-05
  12  25.3061
  13  53.2265
  14  35.5877
  15  3.82622
  16  38.8156
  17  2.03275
  18  92.3728
  19  0.0174442
  20  1.50138
  21  0.153636
  22  0.15275
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  7.543e-01  1.527e-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.004e+00  1.536e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/464501/likelihoodResults_604281601_604886401_4FGL_J0218.9-2305_weekly_bin604.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) = 7238.383694
delta logL = 0.451182308692

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7238.38305503
delta logL = 0.451821279673

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7810       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5322       1.0000          .0000       10.000    
     3 'Normalizat'    .96503       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78170       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=   7238.383     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      304 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7808        4.8951        .11057E-03   -.13850E-03
   2  Index         3.5323        1.2650        .80940E-02    .46044E-03
   3  Normalizat    .96503        .17178        .21958E-03   -.24542E-03
   4  Prefactor     .78171        .18016        .26020E-03   -.17175E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.78084
  Index      = 3.53234
  Normalizat = 0.965033
  Prefactor  = 0.781714
 **********
 **   18 **HESSE 
 **********

 FCN=   7238.383     FROM HESSE     STATUS=OK            25 CALLS      329 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7808        4.0640        .44227E-05   -1.5374    
   2  Index         3.5323        1.0523        .16188E-02   -.29792    
   3  Normalizat    .96503        .17192        .43916E-04   -.94211    
   4  Prefactor     .78171        .18010        .10408E-04   -1.0041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.8356e-11
Minuit parameter uncertainties:
  1  4.06438
  2  1.06101
  3  0.17202
  4  0.180239
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/464501': 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) = 7238.38305497
delta logL = 0.451821332351

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  2.781e+00  4.064e+00  1.000e-04  1.000e+04 ( 1.000e-12)
269        Index:  3.532e+00  1.061e+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:  7.817e-01  1.802e-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.650e-01  1.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.84
Ra Dec: 34.731 -23.099
Photon Index (Free Index): 3.53 +/- 1.06
Photon Flux (Free Index): 6.12e-08 +/- 5.49e-08
Energy Flux (Free Index): 1.01e-05 +/- 8.58e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/464501/cmap_HighResolution_604281601_604886401_4FGL_J0218.9-2305_weekly_bin604.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.82e-03', comment='SUCCESS', energy_flux2='1.01e-05', dlogl='4.52e-01', photon_flux2='6.12e-08', job_status='DONE', time_completed='2021-07-04 14:37:08.650206', photon_index_error2='1.06', photon_index2='3.53', ts='0.86', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='9.99e-08', energy_flux_error2='8.58e-06', EG='1.00', time_epoch_completed='1625434628.65', return_code='0', job_id='464501', GAL2='0.78', EG2='0.97', return_code2='0', photon_flux_error2='5.49e-08', ts2='1.84', photon_index='2.60' WHERE bin_id='604' AND source_name='4FGL J0218.9-2305' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul  4 14:37:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 464501: <4FGL_J0218.9-2305_weekly_bin604> in cluster <slac> Done

Job <4FGL_J0218.9-2305_weekly_bin604> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jul  4 14:20:45 2021
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul  4 14:20:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul  4 14:20:46 2021
Terminated at Sun Jul  4 14:37:18 2021
Results reported at Sun Jul  4 14:37:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_weekly_bin604 34.731 -23.0986 604281601 604886401 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 :                                   820.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             307.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   991 sec.
    Turnaround time :                            993 sec.

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

