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


Performing analysis on: 4FGL_J0228.0-3026_daily_bin218
RA = 37.014, Dec = -30.447
tmin = 295833601, tmax = 296092801
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='431098', job_status='RUN', time_executed='2021-08-16 00:04:43.579338', time_epoch_executed='1629097483.58' WHERE source_name='4FGL J0228.0-3026' and cadence='daily' and bin_id='218'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431098

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431098/ft1_4FGL_J0228.0-3026_daily_bin218.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431098/ft2_4FGL_J0228.0-3026_daily_bin218.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431098/ft1_4FGL_J0228.0-3026_daily_bin218.fits outfile=/scratch/kocevski/431098/ft1_filteredMKT_4FGL_J0228.0-3026_daily_bin218.fits ra=37.014 dec=-30.447 rad=12.0 tmin=295833601.0 tmax=296092801.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.08
user 2.16
sys 0.87

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431098/ft2_4FGL_J0228.0-3026_daily_bin218.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/431098/ft1_filteredMKT_4FGL_J0228.0-3026_daily_bin218.fits evtable="EVENTS" outfile="/scratch/kocevski/431098/ft1_filtered_4FGL_J0228.0-3026_daily_bin218.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.17
user 0.33
sys 0.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431098/ft1_filtered_4FGL_J0228.0-3026_daily_bin218.fits" evtable="EVENTS" scfile=/scratch/kocevski/431098/ft2_4FGL_J0228.0-3026_daily_bin218.fits sctable="SC_DATA" outfile=/scratch/kocevski/431098/ltcube_295833601_296092801_4FGL_J0228.0-3026_daily_bin218.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/431098/ft2_4FGL_J0228.0-3026_daily_bin218.fits
.....................!
real 14.32
user 13.21
sys 1.05

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431098/ft1_filtered_4FGL_J0228.0-3026_daily_bin218.fits evtable="EVENTS" scfile=/scratch/kocevski/431098/ft2_4FGL_J0228.0-3026_daily_bin218.fits sctable="SC_DATA" expcube=/scratch/kocevski/431098/ltcube_295833601_296092801_4FGL_J0228.0-3026_daily_bin218.fits outfile=/scratch/kocevski/431098/expmap_295833601_296092801_4FGL_J0228.0-3026_daily_bin218.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/431098/ltcube_295833601_296092801_4FGL_J0228.0-3026_daily_bin218.fits
.....................!
real 193.19
user 185.66
sys 6.39

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/431098/ft1_filtered_4FGL_J0228.0-3026_daily_bin218.fits scfile=/scratch/kocevski/431098/ft2_4FGL_J0228.0-3026_daily_bin218.fits outfile=/scratch/kocevski/431098/cmap_295833601_296092801_4FGL_J0228.0-3026_daily_bin218.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.21
user 0.37
sys 0.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431098/ft1_filtered_4FGL_J0228.0-3026_daily_bin218.fits scfile=/scratch/kocevski/431098/ft2_4FGL_J0228.0-3026_daily_bin218.fits outfile=/scratch/kocevski/431098/cmap_HighResolution_295833601_296092801_4FGL_J0228.0-3026_daily_bin218.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.20
user 0.39
sys 0.79

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/431098/ft1_filtered_4FGL_J0228.0-3026_daily_bin218.fits evtable="EVENTS" scfile=/scratch/kocevski/431098/ft2_4FGL_J0228.0-3026_daily_bin218.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/431098/Model_4FGL_J0228.0-3026_daily_bin218.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/431098/ft1_filtered_4FGL_J0228.0-3026_daily_bin218.fits.....................!
real 121.23
user 118.22
sys 2.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/431098/ft1_filtered_4FGL_J0228.0-3026_daily_bin218.fits', '/scratch/kocevski/431098/ft2_4FGL_J0228.0-3026_daily_bin218.fits', expMap='/scratch/kocevski/431098/expmap_295833601_296092801_4FGL_J0228.0-3026_daily_bin218.fits', expCube='/scratch/kocevski/431098/ltcube_295833601_296092801_4FGL_J0228.0-3026_daily_bin218.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/431098/Model_4FGL_J0228.0-3026_daily_bin218.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/431098/ft1_filtered_4FGL_J0228.0-3026_daily_bin218.fits
Spacecraft file(s): /scratch/kocevski/431098/ft2_4FGL_J0228.0-3026_daily_bin218.fits
Exposure map: /scratch/kocevski/431098/expmap_295833601_296092801_4FGL_J0228.0-3026_daily_bin218.fits
Exposure cube: /scratch/kocevski/431098/ltcube_295833601_296092801_4FGL_J0228.0-3026_daily_bin218.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/431098/Model_4FGL_J0228.0-3026_daily_bin218.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) = 5832.70029655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19838E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.5191       1.0000         .10000E-03   10000.    
     3 'Prefactor '    56.531       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.1941       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9023       1.0000         .10000E-03   10000.    
     8 'Prefactor '    57.191       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .52643       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    56.362       1.0000         .10000E-03   10000.    
    17 'norm      '    4.3513       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.8489       1.0000         .10000E-03   10000.    
    19 'norm      '    18.828       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .98250       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .88495       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5832.694     FROM MIGRAD    STATUS=CONVERGED    450 CALLS     2213 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.4073       -.30232E-07** at limit **
   2  norm          2.5189        2.5431       -.16857E-06   -.33609E-03
   3  Prefactor     56.533        35.644        .11623E-05   -.37978E-04
   4  Prefactor     9.1908        13.322        .19220E-05   -.14034E-03
   5  Prefactor     .10000E-03    8.8716       -.61553E-06** at limit **
   6  Prefactor     .10000E-03    2.1972        .30545E-07** at limit **
   7  Prefactor     2.9020        3.9608       -.64407E-07   -.30557E-03
   8  Prefactor     57.190        58.911       -.16127E-05    .21307E-04
   9  Prefactor     .10000E-03    12.706        .22202E-05** at limit **
  10  norm          .52665        1.5103       -.74553E-06   -.13486E-02
  11  Prefactor     .10000E-03    14.779       -.41859E-05** at limit **
  12  Prefactor     .10000E-03    7.0579       -.12651E-06** at limit **
  13  Prefactor     .10000E-03    16.175        .21088E-05** at limit **
  14  Prefactor     .10000E-03    1.1289        .28415E-07** at limit **
  15  Prefactor     .10000E-03    106.36       -.27077E-06** at limit **
  16  Prefactor     56.353        42.232       -.66146E-05    .17667E-03
  17  norm          4.3513        2.2984        .57010E-07   -.81944E-04
  18  Prefactor     6.8483        8.8535        .65698E-06   -.12942E-05
  19  norm          18.828        5.5878        .26392E-06   -.74929E-04
  20  Normalizat    .98268        .15954        .91321E-06    .20577E-04
  21  Prefactor     .88473        .17862       -.22582E-06    .79998E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 2.51887
  Prefactor  = 56.5327
  Prefactor  = 9.19081
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.90196
  Prefactor  = 57.1898
  Prefactor  = 0.0001
  norm       = 0.526647
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 56.3529
  norm       = 4.35127
  Prefactor  = 6.84833
  norm       = 18.8284
  Normalizat = 0.982684
  Prefactor  = 0.884735
 **********
 **   18 **HESSE 
 **********

 FCN=   5832.694     FROM HESSE     STATUS=OK           315 CALLS     2528 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.4911        .17590E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.5189        2.5456        .11713E-03   -1.5391    
   3  Prefactor     56.533        35.596        .53354E-04   -1.4203    
   4  Prefactor     9.1908        13.234        .13218E-03   -1.5102    
   5  Prefactor     .10000E-03    8.9826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.2227        .11050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.9020        3.9560        .17193E-03   -1.5367    
   8  Prefactor     57.190        58.982        .53047E-04   -1.4194    
   9  Prefactor     .10000E-03    12.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .52665        1.5839        .16135E-03   -1.5563    
  11  Prefactor     .10000E-03    14.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.0601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.1340        .79239E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    106.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     56.353        41.582        .53433E-04   -1.4205    
  17  norm          4.3513        2.2942        .79881E-04   -1.5291    
  18  Prefactor     6.8483        8.8345        .15331E-03   -1.5185    
  19  norm          18.828        5.5754        .92303E-04   -1.4840    
  20  Normalizat    .98268        .18819        .21637E-03   -.93613    
  21  Prefactor     .88473        .21006        .26242E-03   -.96677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2741e-09
Minuit parameter uncertainties:
  1  0.000139106
  2  2.54567
  3  35.6091
  4  13.2378
  5  3.51213e-06
  6  3.10414e-07
  7  3.95636
  8  59.0425
  9  6.32738e-05
  10  1.584
  11  0.000157414
  12  1.35476e-05
  13  6.76107e-05
  14  3.10555e-07
  15  2.21131e-05
  16  41.6039
  17  2.29428
  18  8.83616
  19  5.57552
  20  0.188316
  21  0.210256
Done.

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

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  1.000e-04  6.327e-05  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:  8.847e-01  2.103e-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:  9.827e-01  1.883e-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: 3.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431098/likelihoodResults_295833601_296092801_4FGL_J0228.0-3026_daily_bin218.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) = 5832.69436626
delta logL = -0.000375584211724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5832.69399038
delta logL = 2.99651219393e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1530       1.0000          .0000       10.000    
     3 'Normalizat'    .98268       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88474       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5832.694     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      237 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10238E-03    7.0105        .18142E-01** at limit **
   2  Index         2.0806        5.5672        .50000        .22195E-04
   3  Normalizat    .98269        .25823E-02    .21637E-03   -.15830E-03
   4  Prefactor     .88473        .30029E-02    .26242E-03   -.31420E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102382
  Index      = 2.0806
  Normalizat = 0.982687
  Prefactor  = 0.88473
 **********
 **   18 **HESSE 
 **********

 FCN=   5832.694     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      266 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10238E-03    48.984        .29357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0806        6.0107        .50000       -.62350    
   3  Normalizat    .98269        .68409E-02    .43275E-04   -.93613    
   4  Prefactor     .88473        .79553E-02    .52483E-04   -.96677    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.67341e-09
Minuit parameter uncertainties:
  1  0.0216196
  2  131.994
  3  0.00684087
  4  0.00795531
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431098': 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) = 5832.69399003
delta logL = 6.48056811769e-07

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  1.024e-04  2.162e-02  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.081e+00  1.320e+02  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:  8.847e-01  7.955e-03  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:  9.827e-01  6.841e-03  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/431098/cmap_HighResolution_295833601_296092801_4FGL_J0228.0-3026_daily_bin218.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.70e-03', job_status='DONE', photon_flux_upper_limit='3.55e-08', time_completed='2021-08-16 00:15:56.754330', job_id='431098', GAL2='0.88', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1629098156.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='6.48e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='218' AND source_name='4FGL J0228.0-3026' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 16 00:15:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 431098: <4FGL_J0228.0-3026_daily_bin218> in cluster <slac> Done

Job <4FGL_J0228.0-3026_daily_bin218> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Aug 16 00:00:59 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 16 00:02:07 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:02:07 2021
Terminated at Mon Aug 16 00:15:57 2021
Results reported at Mon Aug 16 00:15:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0228.0-3026_daily_bin218 37.014 -30.447 295833601 296092801 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 :                                   672.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            898 sec.

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

