aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 235 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 = 7463
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0228.0-3026_daily_bin1684
RA = 37.014, Dec = -30.447
tmin = 675820801, tmax = 676080001
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='181101', job_status='RUN', time_executed='2022-06-05 00:11:36.371574', time_epoch_executed='1654413096.37' WHERE source_name='4FGL J0228.0-3026' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/181101

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/181101/ft1_4FGL_J0228.0-3026_daily_bin1684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/181101/ft2_4FGL_J0228.0-3026_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/181101/ft1_4FGL_J0228.0-3026_daily_bin1684.fits outfile=/scratch/kocevski/181101/ft1_filteredMKT_4FGL_J0228.0-3026_daily_bin1684.fits ra=37.014 dec=-30.447 rad=12.0 tmin=675820801.0 tmax=676080001.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.46
user 4.24
sys 0.20

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

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

Number of photons that the gtmktime cut: 522

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/181101/ft1_filtered_4FGL_J0228.0-3026_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/181101/ft2_4FGL_J0228.0-3026_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/181101/ltcube_675820801_676080001_4FGL_J0228.0-3026_daily_bin1684.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/181101/ft2_4FGL_J0228.0-3026_daily_bin1684.fits
.....................!
real 14.39
user 13.93
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/181101/ft1_filtered_4FGL_J0228.0-3026_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/181101/ft2_4FGL_J0228.0-3026_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/181101/ltcube_675820801_676080001_4FGL_J0228.0-3026_daily_bin1684.fits outfile=/scratch/kocevski/181101/expmap_675820801_676080001_4FGL_J0228.0-3026_daily_bin1684.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/181101/ltcube_675820801_676080001_4FGL_J0228.0-3026_daily_bin1684.fits
.....................!
real 192.78
user 188.28
sys 4.12

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/181101/ft1_filtered_4FGL_J0228.0-3026_daily_bin1684.fits scfile=/scratch/kocevski/181101/ft2_4FGL_J0228.0-3026_daily_bin1684.fits outfile=/scratch/kocevski/181101/cmap_675820801_676080001_4FGL_J0228.0-3026_daily_bin1684.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 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/181101/ft1_filtered_4FGL_J0228.0-3026_daily_bin1684.fits scfile=/scratch/kocevski/181101/ft2_4FGL_J0228.0-3026_daily_bin1684.fits outfile=/scratch/kocevski/181101/cmap_HighResolution_675820801_676080001_4FGL_J0228.0-3026_daily_bin1684.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 0.59
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/181101/ft1_filtered_4FGL_J0228.0-3026_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/181101/ft2_4FGL_J0228.0-3026_daily_bin1684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/181101/Model_4FGL_J0228.0-3026_daily_bin1684.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/181101/ft1_filtered_4FGL_J0228.0-3026_daily_bin1684.fits.....................!
real 110.61
user 109.05
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3570       1.0000         .10000E-03   10000.    
     2 'norm      '    .15177E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3749       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.689       1.0000         .10000E-03   10000.    
     9 'Prefactor '    189.18       1.0000         .10000E-03   10000.    
    10 'norm      '    2.2463       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.9208       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.1331       1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.421       1.0000         .10000E-03   10000.    
    19 'norm      '    1.6151       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .64508       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1263       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=   5813.801     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     1904 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3567        3.1805        .12737E-06   -.28059E-04
   2  norm          .10001E-03    1.0323        .51347E-06** at limit **
   3  Prefactor     .10000E-03    37.768        .21475E-05** at limit **
   4  Prefactor     .10000E-03    7.0584        .65646E-06** at limit **
   5  Prefactor     .10000E-03    4.3667        .30153E-06** at limit **
   6  Prefactor     3.3760        4.7349        .67031E-06    .12336E-04
   7  Prefactor     .10000E-03    2.6904        .39323E-06** at limit **
   8  Prefactor     30.679        33.757        .46309E-06   -.49490E-05
   9  Prefactor     189.18        60.535        .10080E-06   -.30732E-04
  10  norm          2.2455        1.8972       -.10798E-06   -.74889E-04
  11  Prefactor     .10000E-03    4.7132       -.37170E-06** at limit **
  12  Prefactor     .10000E-03    16.911        .70209E-06** at limit **
  13  Prefactor     .10000E-03    71.396       -.18200E-05** at limit **
  14  Prefactor     .10000E-03    1.3527        .16012E-06** at limit **
  15  Prefactor     3.4086        6318.4       -.99988E-04    .14177E-05
  16  Prefactor     .10000E-03    45.406       -.32906E-06** at limit **
  17  norm          3.1334        1.9575        .13589E-06    .20704E-04
  18  Prefactor     22.427        14.895        .44404E-06    .15707E-05
  19  norm          1.6151        1.6554        .38063E-08   -.28780E-05
  20  Normalizat    .64518        .15044       -.29021E-05   -.23590E-03
  21  Prefactor     1.1262        .17626        .97451E-06   -.35599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.35667
  norm       = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.37599
  Prefactor  = 0.0001
  Prefactor  = 30.6789
  Prefactor  = 189.177
  norm       = 2.24547
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.40858
  Prefactor  = 0.0001
  norm       = 3.13341
  Prefactor  = 22.4266
  norm       = 1.61511
  Normalizat = 0.645176
  Prefactor  = 1.1262
 **********
 **   18 **HESSE 
 **********

 FCN=   5813.801     FROM HESSE     STATUS=OK           319 CALLS     2223 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3567        3.1808        .11211E-03   -1.5290    
   2  norm          .10001E-03    6.0843        .14671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    38.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.1971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.3945        .15561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.3760        4.7366        .18543E-03   -1.5340    
   7  Prefactor     .10000E-03    2.7181        .12217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.679        33.759        .72326E-04   -1.4600    
   9  Prefactor     189.18        60.538        .14681E-03   -1.2948    
  10  norm          2.2455        1.8865        .92371E-04   -1.5408    
  11  Prefactor     .10000E-03    4.7132        .16165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    71.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.3626        .86627E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.4086        6346.3        .20374E-02   -1.5339    
  16  Prefactor     .10000E-03    45.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.1334        1.9541        .80552E-04   -1.5354    
  18  Prefactor     22.427        14.907        .84592E-04   -1.4760    
  19  norm          1.6151        1.6670        .96506E-04   -1.5454    
  20  Normalizat    .64518        .17020        .23752E-03   -1.0610    
  21  Prefactor     1.1262        .20137        .22195E-03   -.88634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03064e-09
Minuit parameter uncertainties:
  1  3.18095
  2  0.00036281
  3  0.00010519
  4  2.70482e-05
  5  7.70926e-06
  6  4.7371
  7  9.36735e-06
  8  33.7803
  9  60.5577
  10  1.88651
  11  1.01058e-06
  12  5.05371e-05
  13  0.000103375
  14  3.90837e-06
  15  208.371
  16  0.000136243
  17  1.95415
  18  14.9095
  19  1.66709
  20  0.170338
  21  0.201505
Done.

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

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  1.892e+02  6.056e+01  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:  1.126e+00  2.015e-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:  6.452e-01  1.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 31.91
Ra Dec: 37.014 -30.447
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 1.08e-07 +/- 3.46e-08
Energy Flux (Fixed Index): 4.88e-05 +/- 1.56e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5813.35406045
delta logL = 0.446531318638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5813.35338537
delta logL = 0.447206394694

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    258.23       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9591       1.0000          .0000       10.000    
     3 'Normalizat'    .66502       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1126       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=   5813.353     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      292 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     258.08        110.53        .12610E-03    .18031E-06
   2  Index         1.9587        .25169        .33222E-02    .52564E-03
   3  Normalizat    .66527        .16681        .23433E-03    .21493E-04
   4  Prefactor     1.1125        .20045        .22322E-03   -.28520E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 258.081
  Index      = 1.95866
  Normalizat = 0.665274
  Prefactor  = 1.11247
 **********
 **   18 **HESSE 
 **********

 FCN=   5813.353     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     258.08        108.49        .50439E-05   -1.2481    
   2  Index         1.9587        .24698        .66443E-03   -.65388    
   3  Normalizat    .66527        .16694        .93731E-05   -1.0528    
   4  Prefactor     1.1125        .20065        .89290E-05   -.89069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02572e-11
Minuit parameter uncertainties:
  1  108.579
  2  0.247137
  3  0.167067
  4  0.200787
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/181101': 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) = 5813.35337795
delta logL = 0.447213818025

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  2.581e+02  1.086e+02  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  1.959e+00  2.471e-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:  1.112e+00  2.008e-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:  6.653e-01  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 32.70
Ra Dec: 37.014 -30.447
Photon Index (Free Index): 1.96 +/- 0.25
Photon Flux (Free Index): 9.05e-08 +/- 3.63e-08
Energy Flux (Free Index): 6.94e-05 +/- 3.71e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/181101/cmap_HighResolution_675820801_676080001_4FGL_J0228.0-3026_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-07', energy_flux2='6.94e-05', photon_flux_error='3.46e-08', dlogl='4.47e-01', energy_flux='4.88e-05', photon_flux2='9.05e-08', job_status='DONE', time_completed='2022-06-05 00:21:22.583408', photon_index_error2='0.25', photon_index2='1.96', ts='31.91', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='3.71e-05', EG='0.65', time_epoch_completed='1654413682.58', return_code='0', job_id='181101', GAL2='1.11', EG2='0.67', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='3.63e-08', ts2='32.70', photon_index='2.20' WHERE bin_id='1684' AND source_name='4FGL J0228.0-3026' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:21:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 181101: <4FGL_J0228.0-3026_daily_bin1684> in cluster <slac> Done

Job <4FGL_J0228.0-3026_daily_bin1684> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jun  5 00:04:59 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:07:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun  5 00:07:32 2022
Terminated at Sun Jun  5 00:21:23 2022
Results reported at Sun Jun  5 00:21:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0228.0-3026_daily_bin1684 37.014 -30.447 675820801 676080001 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 :                                   588.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            984 sec.

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

