/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 0 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 = 6613
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0218.9-2305_daily_bin609
RA = 34.731, Dec = -23.0986
tmin = 397180801, tmax = 397440001
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='303650', job_status='RUN', time_executed='2021-08-15 17:27:27.278960', time_epoch_executed='1629073647.28' WHERE source_name='4FGL J0218.9-2305' and cadence='daily' and bin_id='609'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303650

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303650/ft1_4FGL_J0218.9-2305_daily_bin609.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303650/ft2_4FGL_J0218.9-2305_daily_bin609.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303650/ft1_4FGL_J0218.9-2305_daily_bin609.fits outfile=/scratch/kocevski/303650/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin609.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=397180801.0 tmax=397440001.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 6.31
user 3.76
sys 2.49

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/303650/ft1_filtered_4FGL_J0218.9-2305_daily_bin609.fits" evtable="EVENTS" scfile=/scratch/kocevski/303650/ft2_4FGL_J0218.9-2305_daily_bin609.fits sctable="SC_DATA" outfile=/scratch/kocevski/303650/ltcube_397180801_397440001_4FGL_J0218.9-2305_daily_bin609.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/303650/ft2_4FGL_J0218.9-2305_daily_bin609.fits
.....................!
real 14.91
user 11.94
sys 2.93

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303650/ft1_filtered_4FGL_J0218.9-2305_daily_bin609.fits evtable="EVENTS" scfile=/scratch/kocevski/303650/ft2_4FGL_J0218.9-2305_daily_bin609.fits sctable="SC_DATA" expcube=/scratch/kocevski/303650/ltcube_397180801_397440001_4FGL_J0218.9-2305_daily_bin609.fits outfile=/scratch/kocevski/303650/expmap_397180801_397440001_4FGL_J0218.9-2305_daily_bin609.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/303650/ltcube_397180801_397440001_4FGL_J0218.9-2305_daily_bin609.fits
.....................!
real 195.45
user 185.96
sys 8.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_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/303650/ft1_filtered_4FGL_J0218.9-2305_daily_bin609.fits scfile=/scratch/kocevski/303650/ft2_4FGL_J0218.9-2305_daily_bin609.fits outfile=/scratch/kocevski/303650/cmap_397180801_397440001_4FGL_J0218.9-2305_daily_bin609.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 2.83
user 0.37
sys 2.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303650/ft1_filtered_4FGL_J0218.9-2305_daily_bin609.fits scfile=/scratch/kocevski/303650/ft2_4FGL_J0218.9-2305_daily_bin609.fits outfile=/scratch/kocevski/303650/cmap_HighResolution_397180801_397440001_4FGL_J0218.9-2305_daily_bin609.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 2.82
user 0.39
sys 2.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/303650/ft1_filtered_4FGL_J0218.9-2305_daily_bin609.fits evtable="EVENTS" scfile=/scratch/kocevski/303650/ft2_4FGL_J0218.9-2305_daily_bin609.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/303650/Model_4FGL_J0218.9-2305_daily_bin609.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/303650/ft1_filtered_4FGL_J0218.9-2305_daily_bin609.fits.....................!
real 118.46
user 112.67
sys 4.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6608       1.0000         .10000E-03   10000.    
     2 'norm      '    3.2462       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7197       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.376       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0045       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10333E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.546       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1586       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.4171       1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.457       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1151       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .72072       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=   5471.192     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2365 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6604        2.3897       -.49134E-06   -.15480E-03
   2  norm          3.2458        3.6261        .71294E-07   -.42720E-03
   3  Prefactor     .10000E-03    50.866       -.54406E-05** at limit **
   4  norm          .10000E-03    .89529       -.40686E-06** at limit **
   5  Prefactor     1.7197        3.4750        .60808E-06   -.57446E-03
   6  Prefactor     .10000E-03    10.293       -.21647E-05** at limit **
   7  Prefactor     11.376        6.8187       -.12592E-05    .82549E-04
   8  Prefactor     .10000E-03    3.2246       -.17781E-06** at limit **
   9  Prefactor     .10000E-03    11.447        .19343E-05** at limit **
  10  norm          .10000E-03    19.228       -.47061E-06** at limit **
  11  Prefactor     4.0037        6.0760       -.33001E-05   -.34993E-03
  12  Prefactor     .10000E-03    52.387        .59565E-06** at limit **
  13  Prefactor     .10000E-03    68.822        .83461E-05** at limit **
  14  Prefactor     22.543        24.962       -.20775E-05    .14825E-04
  15  Prefactor     3.1583        3.4212        .21483E-05   -.17060E-03
  16  Prefactor     .10000E-03    8.4651        .26025E-06** at limit **
  17  norm          8.4171        2.5191        .25433E-06    .18153E-03
  18  Prefactor     30.348        76.347       -.16822E-03    .18437E-04
  19  Prefactor     .10000E-03    3.1587       -.42949E-07** at limit **
  20  norm          .10000E-03    1.8970       -.79582E-07** at limit **
  21  Normalizat    1.1152        .17481        .32060E-05    .12519E-03
  22  Prefactor     .72057        .18681        .37803E-05    .13960E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.66044
  norm       = 3.24578
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.71971
  Prefactor  = 0.0001
  Prefactor  = 11.376
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.00365
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 22.5434
  Prefactor  = 3.15825
  Prefactor  = 0.0001
  norm       = 8.41715
  Prefactor  = 30.3483
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.11521
  Prefactor  = 0.720572
 **********
 **   18 **HESSE 
 **********

 FCN=   5471.192     FROM HESSE     STATUS=OK           340 CALLS     2705 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6604        2.3829        .86302E-04   -1.5325    
   2  norm          3.2458        3.6293        .13534E-03   -1.5348    
   3  Prefactor     .10000E-03    51.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.4769        .13514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7197        3.4473        .18939E-03   -1.5446    
   6  Prefactor     .10000E-03    10.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.376        6.8351        .11878E-03   -1.5033    
   8  Prefactor     .10000E-03    3.2360        .12970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    19.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0037        6.0622        .20153E-03   -1.5308    
  12  Prefactor     .10000E-03    52.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    69.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.543        24.955        .84358E-04   -1.4758    
  15  Prefactor     3.1583        3.4123        .13765E-03   -1.5353    
  16  Prefactor     .10000E-03    8.4684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.4171        2.5197        .61500E-04   -1.5128    
  18  Prefactor     30.348        76.455        .72600E-04   -1.4606    
  19  Prefactor     .10000E-03    3.1601        .12839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.9602        .19887E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1152        .20769        .20766E-03   -.89265    
  22  Prefactor     .72057        .22067        .28448E-03   -1.0273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.73128e-10
Minuit parameter uncertainties:
  1  2.38298
  2  3.62951
  3  0.000180067
  4  5.13214e-05
  5  3.44771
  6  1.48104e-05
  7  6.83552
  8  1.0336e-05
  9  1.65171e-05
  10  2.86848e-05
  11  6.06308
  12  8.67916e-05
  13  0.000507731
  14  24.967
  15  3.41254
  16  9.51905e-06
  17  2.51974
  18  76.7033
  19  3.96775e-06
  20  1.19651e-05
  21  0.207842
  22  0.220937
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.138e+01  6.836e+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.206e-01  2.209e-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.115e+00  2.078e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.39
Ra Dec: 34.731 -23.099
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 7.48e-08 +/- 4.49e-08
Energy Flux (Fixed Index): 1.96e-05 +/- 1.18e-05

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) = 5471.05224739
delta logL = 0.139501175509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5471.04323331
delta logL = 0.148515246228

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9734       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9061       1.0000          .0000       10.000    
     3 'Normalizat'    1.0998       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73414       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=   5471.043     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      262 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9788        103.58        .33450E-02    .18557E-03
   2  Index         2.9067        3.7503        .14287        .83105E-04
   3  Normalizat    1.0995        .71455E-01    .38010E-01    .11972E-05
   4  Prefactor     .73414        .82156E-01    .63766E-01    .16277E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.97881
  Index      = 2.90668
  Normalizat = 1.09954
  Prefactor  = 0.734137
 **********
 **   18 **HESSE 
 **********

 FCN=   5471.043     FROM HESSE     STATUS=OK            33 CALLS      295 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9788        7.7714        .11803E-03   -1.5109    
   2  Index         2.9067        .62728        .56199E-02   -.43197    
   3  Normalizat    1.0995        .19898        .20891E-03   -.89767    
   4  Prefactor     .73414        .22009        .28209E-03   -1.0220    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12584e-09
Minuit parameter uncertainties:
  1  7.77223
  2  0.629291
  3  0.199118
  4  0.22035
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303650': 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) = 5471.04322894
delta logL = 0.148519622097

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  8.979e+00  7.772e+00  1.000e-04  1.000e+04 ( 1.000e-12)
269        Index:  2.907e+00  6.293e-01  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.341e-01  2.204e-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.100e+00  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.70
Ra Dec: 34.731 -23.099
Photon Index (Free Index): 2.91 +/- 0.63
Photon Flux (Free Index): 8.55e-08 +/- 5.03e-08
Energy Flux (Free Index): 1.79e-05 +/- 1.09e-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/303650/cmap_HighResolution_397180801_397440001_4FGL_J0218.9-2305_daily_bin609.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.48e-08', energy_flux2='1.79e-05', photon_flux_error='4.49e-08', dlogl='1.49e-01', energy_flux='1.96e-05', photon_flux2='8.55e-08', job_status='DONE', time_completed='2021-08-15 17:38:33.033400', photon_index_error2='0.63', photon_index2='2.91', ts='4.39', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='1.09e-05', EG='1.12', time_epoch_completed='1629074313.03', return_code='0', job_id='303650', GAL2='0.73', EG2='1.10', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='5.03e-08', ts2='4.70', photon_index='2.60' WHERE bin_id='609' AND source_name='4FGL J0218.9-2305' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 17:38:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0010>
Subject: Job 303650: <4FGL_J0218.9-2305_daily_bin609> in cluster <slac> Done

Job <4FGL_J0218.9-2305_daily_bin609> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 15 17:25:31 2021
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 17:26:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 17:26:37 2021
Terminated at Sun Aug 15 17:38:34 2021
Results reported at Sun Aug 15 17:38:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_daily_bin609 34.731 -23.0986 397180801 397440001 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 :                                   697.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             342.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            783 sec.

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

