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


Performing analysis on: 4FGL_J0218.9-2305_daily_bin253
RA = 34.731, Dec = -23.0986
tmin = 304905601, tmax = 305164801
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='302184', job_status='RUN', time_executed='2021-08-15 17:24:49.103870', time_epoch_executed='1629073489.1' WHERE source_name='4FGL J0218.9-2305' and cadence='daily' and bin_id='253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/302184

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/302184/ft1_4FGL_J0218.9-2305_daily_bin253.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/302184/ft2_4FGL_J0218.9-2305_daily_bin253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/302184/ft1_4FGL_J0218.9-2305_daily_bin253.fits outfile=/scratch/kocevski/302184/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin253.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=304905601.0 tmax=305164801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.92
user 3.29
sys 1.52

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/302184/ft1_filtered_4FGL_J0218.9-2305_daily_bin253.fits" evtable="EVENTS" scfile=/scratch/kocevski/302184/ft2_4FGL_J0218.9-2305_daily_bin253.fits sctable="SC_DATA" outfile=/scratch/kocevski/302184/ltcube_304905601_305164801_4FGL_J0218.9-2305_daily_bin253.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/302184/ft2_4FGL_J0218.9-2305_daily_bin253.fits
.....................!
real 14.90
user 12.86
sys 1.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/302184/ft1_filtered_4FGL_J0218.9-2305_daily_bin253.fits evtable="EVENTS" scfile=/scratch/kocevski/302184/ft2_4FGL_J0218.9-2305_daily_bin253.fits sctable="SC_DATA" expcube=/scratch/kocevski/302184/ltcube_304905601_305164801_4FGL_J0218.9-2305_daily_bin253.fits outfile=/scratch/kocevski/302184/expmap_304905601_305164801_4FGL_J0218.9-2305_daily_bin253.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/302184/ltcube_304905601_305164801_4FGL_J0218.9-2305_daily_bin253.fits
.....................!
real 193.03
user 185.72
sys 6.49

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/302184/ft1_filtered_4FGL_J0218.9-2305_daily_bin253.fits scfile=/scratch/kocevski/302184/ft2_4FGL_J0218.9-2305_daily_bin253.fits outfile=/scratch/kocevski/302184/cmap_304905601_305164801_4FGL_J0218.9-2305_daily_bin253.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.89
user 0.39
sys 1.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/302184/ft1_filtered_4FGL_J0218.9-2305_daily_bin253.fits scfile=/scratch/kocevski/302184/ft2_4FGL_J0218.9-2305_daily_bin253.fits outfile=/scratch/kocevski/302184/cmap_HighResolution_304905601_305164801_4FGL_J0218.9-2305_daily_bin253.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.84
user 0.39
sys 1.42

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/302184/ft1_filtered_4FGL_J0218.9-2305_daily_bin253.fits evtable="EVENTS" scfile=/scratch/kocevski/302184/ft2_4FGL_J0218.9-2305_daily_bin253.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/302184/Model_4FGL_J0218.9-2305_daily_bin253.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/302184/ft1_filtered_4FGL_J0218.9-2305_daily_bin253.fits.....................!
real 120.05
user 116.45
sys 3.08

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7721       1.0000         .10000E-03   10000.    
     2 'norm      '    1.7800       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.4697       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6358       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6832       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.263       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.6268       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12658E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.1298       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86469       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95377       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=   5758.501     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2124 TOTAL
                     EDM=   .76E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7720        1.6852        .15091E-06    .71519E-05
   2  norm          1.7798        1.9474       -.10933E-06   -.30482E-04
   3  Prefactor     .10000E-03    16.465        .13953E-05** at limit **
   4  norm          3.4696        1.7883        .43258E-07    .10810E-04
   5  Prefactor     4.6356        4.1939       -.60109E-07   -.61022E-05
   6  Prefactor     .10000E-03    6.1243       -.42294E-06** at limit **
   7  Prefactor     2.6826        .90291        .11112E-07   -.47474E-03
   8  Prefactor     .10000E-03    4.3200        .57094E-06** at limit **
   9  Prefactor     .10000E-03    7.9890       -.48016E-06** at limit **
  10  norm          .10000E-03    19.788       -.44468E-05** at limit **
  11  Prefactor     15.263        7.2214       -.26851E-08   -.82064E-04
  12  Prefactor     .10000E-03    105.53       -.15595E-05** at limit **
  13  Prefactor     .10000E-03    21.065        .32392E-05** at limit **
  14  Prefactor     .10000E-03    21.271        .41395E-05** at limit **
  15  Prefactor     .10000E-03    1.9814       -.12272E-06** at limit **
  16  Prefactor     .10000E-03    23.263       -.79897E-06** at limit **
  17  norm          7.6268        2.4603       -.10271E-06    .49381E-05
  18  Prefactor     .10000E-03    318.42       -.10853E-04** at limit **
  19  Prefactor     .10000E-03    8.5980       -.66760E-06** at limit **
  20  norm          5.1299        3.2497        .21361E-06    .78983E-05
  21  Normalizat    .86474        .15609        .24682E-06    .17006E-04
  22  Prefactor     .95376        .17842       -.82675E-07    .36916E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.77197
  norm       = 1.77982
  Prefactor  = 0.0001
  norm       = 3.46963
  Prefactor  = 4.63563
  Prefactor  = 0.0001
  Prefactor  = 2.68257
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.2627
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.62677
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.12992
  Normalizat = 0.864739
  Prefactor  = 0.953759
 **********
 **   18 **HESSE 
 **********

 FCN=   5758.501     FROM HESSE     STATUS=OK           342 CALLS     2466 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7720        1.6763        .91624E-04   -1.5442    
   2  norm          1.7798        1.9390        .10602E-03   -1.5441    
   3  Prefactor     .10000E-03    16.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.4696        1.7854        .69900E-04   -1.5335    
   5  Prefactor     4.6356        4.1912        .14306E-03   -1.5277    
   6  Prefactor     .10000E-03    6.1639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6826        5.3303        .11480E-02   -1.5380    
   8  Prefactor     .10000E-03    4.3424        .15396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.9906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    19.823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.263        7.2674        .51260E-03   -1.4926    
  12  Prefactor     .10000E-03    106.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    21.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.8547        .20629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    23.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.6268        2.4620        .64488E-04   -1.5156    
  18  Prefactor     .10000E-03    320.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.6478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.1299        3.2502        .10529E-03   -1.5255    
  21  Normalizat    .86474        .18537        .22325E-03   -.97710    
  22  Prefactor     .95376        .20983        .24949E-03   -.94287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47285e-10
Minuit parameter uncertainties:
  1  1.67632
  2  1.93905
  3  1.53351e-06
  4  1.78541
  5  4.19148
  6  1.42283e-06
  7  5.3312
  8  9.08977e-07
  9  2.4095e-07
  10  2.72745e-06
  11  7.26784
  12  7.76315e-06
  13  1.69071e-06
  14  8.27732e-06
  15  0.000112678
  16  3.85379e-06
  17  2.462
  18  0.000172788
  19  1.43912e-06
  20  3.25034
  21  0.185506
  22  0.210009
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  2.683e+00  5.331e+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:  9.538e-01  2.100e-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:  8.647e-01  1.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/302184/likelihoodResults_304905601_305164801_4FGL_J0218.9-2305_daily_bin253.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) = 5758.49456156
delta logL = 0.00621778053028

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5758.49207671
delta logL = 0.00870263231536

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2959       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7843       1.0000          .0000       10.000    
     3 'Normalizat'    .86218       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95642       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=   5758.492     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      204 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2898        170.04        .67718E-02    .69381E-03
   2  Index         2.7859        6.0262        .22650        .56079E-04
   3  Normalizat    .86230        .39810E-01    .44416E-01    .87803E-05
   4  Prefactor     .95631        .48367E-01    .45720E-01    .78597E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.28979
  Index      = 2.78585
  Normalizat = 0.862303
  Prefactor  = 0.956315
 **********
 **   18 **HESSE 
 **********

 FCN=   5758.492     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2898        6.7420        .20687E-03   -1.5405    
   2  Index         2.7859        1.6966        .13141E-01   -.45875    
   3  Normalizat    .86230        .18054        .22353E-03   -.97798    
   4  Prefactor     .95631        .20994        .24920E-03   -.94200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17915e-11
Minuit parameter uncertainties:
  1  6.74424
  2  1.73993
  3  0.180666
  4  0.210114
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/302184': 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) = 5758.49207578
delta logL = 0.00870355925144

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  2.290e+00  6.744e+00  1.000e-04  1.000e+04 ( 1.000e-12)
269        Index:  2.786e+00  1.740e+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:  9.563e-01  2.101e-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:  8.623e-01  1.807e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
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/302184/cmap_HighResolution_304905601_305164801_4FGL_J0218.9-2305_daily_bin253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.42e-03', job_status='DONE', photon_flux_upper_limit='9.48e-08', time_completed='2021-08-15 17:36:29.682775', job_id='302184', GAL2='0.96', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1629074189.68', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.70e-03', ts2='0.32', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='253' AND source_name='4FGL J0218.9-2305' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 17:36:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0119>
Subject: Job 302184: <4FGL_J0218.9-2305_daily_bin253> in cluster <slac> Done

Job <4FGL_J0218.9-2305_daily_bin253> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Aug 15 17:20:55 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 17:22:16 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:22:16 2021
Terminated at Sun Aug 15 17:36:30 2021
Results reported at Sun Aug 15 17:36:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_daily_bin253 34.731 -23.0986 304905601 305164801 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 :                                   715.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            935 sec.

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

