/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 213 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 = 7406
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0218.9-2305_daily_bin219
RA = 34.731, Dec = -23.0986
tmin = 296092801, tmax = 296352001
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='302144', job_status='RUN', time_executed='2021-08-15 17:25:46.664584', time_epoch_executed='1629073546.66' WHERE source_name='4FGL J0218.9-2305' and cadence='daily' and bin_id='219'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/302144

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/302144/ft1_4FGL_J0218.9-2305_daily_bin219.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/302144/ft2_4FGL_J0218.9-2305_daily_bin219.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/302144/ft1_4FGL_J0218.9-2305_daily_bin219.fits outfile=/scratch/kocevski/302144/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin219.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=296092801.0 tmax=296352001.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.44
user 2.24
sys 1.07

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/302144/ft1_filtered_4FGL_J0218.9-2305_daily_bin219.fits" evtable="EVENTS" scfile=/scratch/kocevski/302144/ft2_4FGL_J0218.9-2305_daily_bin219.fits sctable="SC_DATA" outfile=/scratch/kocevski/302144/ltcube_296092801_296352001_4FGL_J0218.9-2305_daily_bin219.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/302144/ft2_4FGL_J0218.9-2305_daily_bin219.fits
.....................!
real 14.51
user 13.05
sys 1.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/302144/ft1_filtered_4FGL_J0218.9-2305_daily_bin219.fits evtable="EVENTS" scfile=/scratch/kocevski/302144/ft2_4FGL_J0218.9-2305_daily_bin219.fits sctable="SC_DATA" expcube=/scratch/kocevski/302144/ltcube_296092801_296352001_4FGL_J0218.9-2305_daily_bin219.fits outfile=/scratch/kocevski/302144/expmap_296092801_296352001_4FGL_J0218.9-2305_daily_bin219.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/302144/ltcube_296092801_296352001_4FGL_J0218.9-2305_daily_bin219.fits
.....................!
real 195.28
user 187.30
sys 6.24

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/302144/ft1_filtered_4FGL_J0218.9-2305_daily_bin219.fits scfile=/scratch/kocevski/302144/ft2_4FGL_J0218.9-2305_daily_bin219.fits outfile=/scratch/kocevski/302144/cmap_296092801_296352001_4FGL_J0218.9-2305_daily_bin219.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 1.51
user 0.38
sys 1.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/302144/ft1_filtered_4FGL_J0218.9-2305_daily_bin219.fits scfile=/scratch/kocevski/302144/ft2_4FGL_J0218.9-2305_daily_bin219.fits outfile=/scratch/kocevski/302144/cmap_HighResolution_296092801_296352001_4FGL_J0218.9-2305_daily_bin219.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.45
user 0.40
sys 1.03

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/302144/ft1_filtered_4FGL_J0218.9-2305_daily_bin219.fits evtable="EVENTS" scfile=/scratch/kocevski/302144/ft2_4FGL_J0218.9-2305_daily_bin219.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/302144/Model_4FGL_J0218.9-2305_daily_bin219.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/302144/ft1_filtered_4FGL_J0218.9-2305_daily_bin219.fits.....................!
real 109.41
user 106.55
sys 2.44

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.4321       1.0000         .10000E-03   10000.    
     3 'Prefactor '    92.521       1.0000         .10000E-03   10000.    
     4 'norm      '    .25604E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.3221       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.2884       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    75.607       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    39.776       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    55.357       1.0000         .10000E-03   10000.    
    17 'norm      '    6.9825       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .34682E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    18.453       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .64827       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2543       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=   5359.146     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2451 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0296        .36872E-07** at limit **
   2  norm          9.4335        3.9695        .12078E-06   -.18720E-03
   3  Prefactor     92.527        50.779        .44590E-05   -.99890E-05
   4  norm          .33821E-01    .90200        .19215E-06   -.13983E-02
   5  Prefactor     4.3229        4.8986       -.63156E-07   -.35196E-03
   6  Prefactor     .10000E-03    6.1936       -.28919E-07** at limit **
   7  Prefactor     3.2895        5.3809       -.56305E-06   -.58117E-03
   8  Prefactor     .10000E-03    11.580       -.63075E-07** at limit **
   9  Prefactor     .10000E-03    12.861       -.14107E-05** at limit **
  10  norm          .10000E-03    48.471        .65161E-05** at limit **
  11  Prefactor     .10000E-03    2.3128       -.13305E-06** at limit **
  12  Prefactor     75.628        47.979        .16753E-04   -.42931E-04
  13  Prefactor     .10000E-03    20.454        .20920E-05** at limit **
  14  Prefactor     39.794        37.836        .17348E-04   -.71459E-05
  15  Prefactor     .10000E-03    1.2748        .23339E-07** at limit **
  16  Prefactor     55.336        54.173       -.21957E-04   -.30423E-04
  17  norm          6.9828        2.4758        .81946E-07   -.74785E-04
  18  Prefactor     .10000E-03    66.387       -.24472E-05** at limit **
  19  Prefactor     .10005E-03    54.844        .14613E-05** at limit **
  20  norm          18.453        5.3955        .40461E-06    .25496E-05
  21  Normalizat    .64784        .18382       -.20286E-05   -.10942E-03
  22  Prefactor     1.2547        .20022       -.10607E-05   -.93054E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.43348
  Prefactor  = 92.5269
  norm       = 0.0338206
  Prefactor  = 4.32287
  Prefactor  = 0.0001
  Prefactor  = 3.28953
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 75.6282
  Prefactor  = 0.0001
  Prefactor  = 39.7937
  Prefactor  = 0.0001
  Prefactor  = 55.3357
  norm       = 6.98284
  Prefactor  = 0.0001
  Prefactor  = 0.00010005
  norm       = 18.4529
  Normalizat = 0.647842
  Prefactor  = 1.25468
 **********
 **   18 **HESSE 
 **********

 FCN=   5359.146     FROM HESSE     STATUS=OK           340 CALLS     2791 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0650        .14489E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.4335        3.9800        .89058E-04   -1.5094    
   3  Prefactor     92.527        50.814        .20890E-03   -1.3781    
   4  norm          .33821E-01    29.366        .13055E-02   -1.5671    
   5  Prefactor     4.3229        4.8935        .16512E-03   -1.5292    
   6  Prefactor     .10000E-03    6.2109        .17788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.2895        5.3821        .20548E-03   -1.5345    
   8  Prefactor     .10000E-03    11.949        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    48.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.3196        .10869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     75.628        47.934        .46178E-04   -1.3966    
  13  Prefactor     .10000E-03    20.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.794        37.840        .63555E-04   -1.4445    
  15  Prefactor     .10000E-03    1.2767        .80716E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     55.336        54.512        .53913E-04   -1.4219    
  17  norm          6.9828        2.4763        .65770E-04   -1.5179    
  18  Prefactor     .10000E-03    66.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10005E-03    56.883        .42655E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          18.453        5.3954        .88684E-04   -1.4849    
  21  Normalizat    .64784        .21960        .27862E-03   -1.0599    
  22  Prefactor     1.2547        .24040        .24034E-03   -.84665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29549e-08
Minuit parameter uncertainties:
  1  2.30602e-06
  2  3.98013
  3  50.8377
  4  1.9912
  5  4.89395
  6  1.03909e-05
  7  5.38285
  8  0.000274149
  9  2.27438e-06
  10  0.000638806
  11  1.97987e-05
  12  47.959
  13  8.2942e-07
  14  37.8627
  15  3.15255e-06
  16  54.5609
  17  2.47637
  18  3.44287e-05
  19  0.00338201
  20  5.39551
  21  0.2199
  22  0.24061
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  3.290e+00  5.383e+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:  1.255e+00  2.406e-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:  6.478e-01  2.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.46
Ra Dec: 34.731 -23.099
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/302144/likelihoodResults_296092801_296352001_4FGL_J0218.9-2305_daily_bin219.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) = 5359.13302282
delta logL = 0.0127453631949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5359.12512016
delta logL = 0.0206480167308

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4740       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9874       1.0000          .0000       10.000    
     3 'Normalizat'    .63920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2628       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=   5359.125     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      219 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4586        123.56        .64987E-02    .54036E-03
   2  Index         2.9902        6.1103        .22136        .56155E-04
   3  Normalizat    .63917        .47468E-01    .63374E-01    .21739E-04
   4  Prefactor     1.2629        .53362E-01    .54210E-01    .16070E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.4586
  Index      = 2.9902
  Normalizat = 0.63917
  Prefactor  = 1.2629
 **********
 **   18 **HESSE 
 **********

 FCN=   5359.125     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4586        13.334        .16856E-03   -1.5394    
   2  Index         2.9902        3.4152        .12995E-01   -.41366    
   3  Normalizat    .63917        .21684        .28039E-03   -1.0635    
   4  Prefactor     1.2629        .25040        .23968E-03   -.84417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78067e-08
Minuit parameter uncertainties:
  1  11.4551
  2  3.85475
  3  0.21713
  4  0.250634
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/302144': 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) = 5359.12511684
delta logL = 0.0206513400253

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  2.459e+00  1.146e+01  1.000e-04  1.000e+04 ( 1.000e-12)
269        Index:  2.990e+00  3.855e+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:  1.263e+00  2.506e-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:  6.392e-01  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.46
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/302144/cmap_HighResolution_296092801_296352001_4FGL_J0218.9-2305_daily_bin219.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.15e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-08-15 17:37:05.430400', job_id='302144', GAL2='1.26', fit_tolerance='1e-08', EG2='0.64', EG='0.65', time_epoch_completed='1629074225.43', return_code2='0', ts='0.46', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='2.07e-02', ts2='0.51', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='219' AND source_name='4FGL J0218.9-2305' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 17:37:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 302144: <4FGL_J0218.9-2305_daily_bin219> in cluster <slac> Done

Job <4FGL_J0218.9-2305_daily_bin219> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Aug 15 17:20:51 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 17:21:49 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:21:49 2021
Terminated at Sun Aug 15 17:37:06 2021
Results reported at Sun Aug 15 17:37:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_daily_bin219 34.731 -23.0986 296092801 296352001 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 :                                   690.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            975 sec.

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

