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


Performing analysis on: 4FGL_J0228.0-3026_daily_bin419
RA = 37.014, Dec = -30.447
tmin = 347932801, tmax = 348192001
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='432329', job_status='RUN', time_executed='2021-08-16 00:09:01.582897', time_epoch_executed='1629097741.58' WHERE source_name='4FGL J0228.0-3026' and cadence='daily' and bin_id='419'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/432329

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/432329/ft1_4FGL_J0228.0-3026_daily_bin419.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/432329/ft2_4FGL_J0228.0-3026_daily_bin419.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/432329/ft1_4FGL_J0228.0-3026_daily_bin419.fits outfile=/scratch/kocevski/432329/ft1_filteredMKT_4FGL_J0228.0-3026_daily_bin419.fits ra=37.014 dec=-30.447 rad=12.0 tmin=347932801.0 tmax=348192001.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 5.08
user 3.20
sys 0.91

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/432329/ft2_4FGL_J0228.0-3026_daily_bin419.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/432329/ft2_4FGL_J0228.0-3026_daily_bin419.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/432329/ft1_filteredMKT_4FGL_J0228.0-3026_daily_bin419.fits evtable="EVENTS" outfile="/scratch/kocevski/432329/ft1_filtered_4FGL_J0228.0-3026_daily_bin419.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.24
user 0.34
sys 0.87

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/432329/ft1_filtered_4FGL_J0228.0-3026_daily_bin419.fits" evtable="EVENTS" scfile=/scratch/kocevski/432329/ft2_4FGL_J0228.0-3026_daily_bin419.fits sctable="SC_DATA" outfile=/scratch/kocevski/432329/ltcube_347932801_348192001_4FGL_J0228.0-3026_daily_bin419.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/432329/ft2_4FGL_J0228.0-3026_daily_bin419.fits
.....................!
real 15.71
user 14.00
sys 1.11

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/432329/ft1_filtered_4FGL_J0228.0-3026_daily_bin419.fits evtable="EVENTS" scfile=/scratch/kocevski/432329/ft2_4FGL_J0228.0-3026_daily_bin419.fits sctable="SC_DATA" expcube=/scratch/kocevski/432329/ltcube_347932801_348192001_4FGL_J0228.0-3026_daily_bin419.fits outfile=/scratch/kocevski/432329/expmap_347932801_348192001_4FGL_J0228.0-3026_daily_bin419.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/432329/ltcube_347932801_348192001_4FGL_J0228.0-3026_daily_bin419.fits
.....................!
real 191.99
user 185.92
sys 5.42

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 170 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 J0228.0-3026 @ 37.014 -30.447

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/432329/ft1_filtered_4FGL_J0228.0-3026_daily_bin419.fits scfile=/scratch/kocevski/432329/ft2_4FGL_J0228.0-3026_daily_bin419.fits outfile=/scratch/kocevski/432329/cmap_347932801_348192001_4FGL_J0228.0-3026_daily_bin419.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=37.014 yref=-30.447 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.81
user 0.38
sys 0.84

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/432329/ft1_filtered_4FGL_J0228.0-3026_daily_bin419.fits scfile=/scratch/kocevski/432329/ft2_4FGL_J0228.0-3026_daily_bin419.fits outfile=/scratch/kocevski/432329/cmap_HighResolution_347932801_348192001_4FGL_J0228.0-3026_daily_bin419.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=37.014 yref=-30.447 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.48
user 0.39
sys 0.85

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/432329/ft1_filtered_4FGL_J0228.0-3026_daily_bin419.fits evtable="EVENTS" scfile=/scratch/kocevski/432329/ft2_4FGL_J0228.0-3026_daily_bin419.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/432329/Model_4FGL_J0228.0-3026_daily_bin419.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/432329/ft1_filtered_4FGL_J0228.0-3026_daily_bin419.fits.....................!
real 73.78
user 70.23
sys 2.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/432329/ft1_filtered_4FGL_J0228.0-3026_daily_bin419.fits', '/scratch/kocevski/432329/ft2_4FGL_J0228.0-3026_daily_bin419.fits', expMap='/scratch/kocevski/432329/expmap_347932801_348192001_4FGL_J0228.0-3026_daily_bin419.fits', expCube='/scratch/kocevski/432329/ltcube_347932801_348192001_4FGL_J0228.0-3026_daily_bin419.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/432329/Model_4FGL_J0228.0-3026_daily_bin419.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0228.0-3026'

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  4.208e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.197e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/432329/ft1_filtered_4FGL_J0228.0-3026_daily_bin419.fits
Spacecraft file(s): /scratch/kocevski/432329/ft2_4FGL_J0228.0-3026_daily_bin419.fits
Exposure map: /scratch/kocevski/432329/expmap_347932801_348192001_4FGL_J0228.0-3026_daily_bin419.fits
Exposure cube: /scratch/kocevski/432329/ltcube_347932801_348192001_4FGL_J0228.0-3026_daily_bin419.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/432329/Model_4FGL_J0228.0-3026_daily_bin419.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) = 3382.35009801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23534E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.387       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .68570E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .64501E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5655       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10318E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    71.233       1.0000         .10000E-03   10000.    
    17 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .56637E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    7.8696       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2231       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76271       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3382.342     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1881 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10011E-03    5.3811       -.25050E-05** at limit **
   2  norm          .10000E-03    3.9248        .74243E-07** at limit **
   3  Prefactor     22.381        1.2055       -.47390E-06    .43003E-03
   4  Prefactor     .10000E-03    11.897        .16908E-05** at limit **
   5  Prefactor     .10000E-03    6.5108        .12936E-05** at limit **
   6  Prefactor     .10000E-03    7.2890        .11440E-05** at limit **
   7  Prefactor     .10311E-03    10.434        .17288E-04** at limit **
   8  Prefactor     .11553E-03    6.8180        .17376E-04** at limit **
   9  Prefactor     .10005E-03    33.159       -.12281E-05** at limit **
  10  norm          .10000E-03    1.4804        .25676E-06** at limit **
  11  Prefactor     .10000E-03    19.619       -.52518E-09** at limit **
  12  Prefactor     .10001E-03    53.167       -.44900E-04** at limit **
  13  Prefactor     .10002E-03    62.558        .49764E-04** at limit **
  14  Prefactor     5.5658        6.5598       -.14822E-04   -.27783E-02
  15  Prefactor     .18468E-03    68.520        .20140E-04** at limit **
  16  Prefactor     71.221        1.9068        .92688E-06   -.34805E-02
  17  norm          .10000E-03    2.1779       -.63384E-06** at limit **
  18  Prefactor     .15409E-03    319.30       -.44419E-04** at limit **
  19  norm          7.8693        4.3510       -.17357E-06   -.36617E-04
  20  Normalizat    1.2234        .24606       -.15898E-05    .53115E-04
  21  Prefactor     .76255        .26891        .29563E-05    .19636E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100114
  norm       = 0.0001
  Prefactor  = 22.3807
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000103106
  Prefactor  = 0.000115532
  Prefactor  = 0.000100045
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100012
  Prefactor  = 0.000100018
  Prefactor  = 5.56576
  Prefactor  = 0.000184678
  Prefactor  = 71.2211
  norm       = 0.0001
  Prefactor  = 0.000154094
  norm       = 7.86934
  Normalizat = 1.22338
  Prefactor  = 0.762551
 **********
 **   18 **HESSE 
 **********

 FCN=   3382.342     FROM HESSE     STATUS=OK           369 CALLS     2250 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10011E-03    4.4699        .71815E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.8485        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     22.381        45.541        .21164E-02   -1.4761    
   4  Prefactor     .10000E-03    11.860        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.5075        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.2002        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10311E-03    11.779        .61463E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11553E-03    276.63        .10513E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10005E-03    33.729        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.4630        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.818        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    62.091        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    73.427        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.5658        6.6702        .42574E-02   -1.5236    
  15  Prefactor     .18468E-03    272.15        .90712E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     71.221        71.427        .11891E-02   -1.4018    
  17  norm          .10000E-03    1.2395        .36711E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .15409E-03    19.739        .93024E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.8693        4.3685        .35734E-02   -1.5147    
  20  Normalizat    1.2234        .22358        .34347E-01   -.85883    
  21  Prefactor     .76255        .23363        .63430E-01   -1.0112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.13512e-07
Minuit parameter uncertainties:
  1  0.00142695
  2  3.0344e-05
  3  45.6117
  4  0.000218586
  5  6.84181e-05
  6  5.08372e-05
  7  0.0120997
  8  0.13171
  9  0.00247159
  10  2.13826e-05
  11  0.000618353
  12  0.00170485
  13  0.00229898
  14  6.67113
  15  0.305005
  16  71.5132
  17  1.51381e-05
  18  0.0653742
  19  4.36871
  20  0.223752
  21  0.233931
Done.

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

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  1.000e-04  2.472e-03  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.197e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  7.626e-01  2.339e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.223e+00  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 37.014 -30.447
Photon Flux Upper Limit: 8.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/432329/likelihoodResults_347932801_348192001_4FGL_J0228.0-3026_daily_bin419.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3382.34214068
delta logL = -0.000141057998917

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3382.34199961
delta logL = 1.14855538413e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1274       1.0000          .0000       10.000    
     3 'Normalizat'    1.2234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3382.342     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      233 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1696.1        .90712E-02** at limit **
   2  Index         2.1220        6.0572        .50000        .12816E-05
   3  Normalizat    1.2234        .41648E-01    .34341E-01   -.53987E-06
   4  Prefactor     .76255        .45378E-01    .63430E-01    .94098E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.12195
  Normalizat = 1.22338
  Prefactor  = 0.762552
 **********
 **   18 **HESSE 
 **********

 FCN=   3382.342     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      266 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7128.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1220        5.7890        .50000       -.61335    
   3  Normalizat    1.2234        .84228E-01    .20932E-03   -.85883    
   4  Prefactor     .76255        .91632E-01    .28059E-03   -1.0112    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.84447e-10
Minuit parameter uncertainties:
  1  0.000142743
  2  49.9468
  3  0.084237
  4  0.0916505
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/432329': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3382.3419996
delta logL = 2.42507667281e-08

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  1.000e-04  1.427e-04  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.122e+00  4.995e+01  0.000e+00  1.000e+01 (-1.000e+00)
272        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  7.626e-01  9.165e-02  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.223e+00  8.424e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 37.014 -30.447

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/432329/cmap_HighResolution_347932801_348192001_4FGL_J0228.0-3026_daily_bin419.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.49e-03', job_status='DONE', photon_flux_upper_limit='8.52e-08', time_completed='2021-08-16 00:17:56.770905', job_id='432329', GAL2='0.76', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1629098276.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.43e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='419' AND source_name='4FGL J0228.0-3026' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 16 00:17:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 432329: <4FGL_J0228.0-3026_daily_bin419> in cluster <slac> Done

Job <4FGL_J0228.0-3026_daily_bin419> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Aug 16 00:05:22 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 16 00:05:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 16 00:05:42 2021
Terminated at Mon Aug 16 00:17:59 2021
Results reported at Mon Aug 16 00:17:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0228.0-3026_daily_bin419 37.014 -30.447 347932801 348192001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0228.0-3026 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   520.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            757 sec.

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

