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 84 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7682
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0228.0-3026_daily_bin1764
RA = 37.014, Dec = -30.447
tmin = 696556801, tmax = 696816001
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='434390', job_status='RUN', time_executed='2023-01-31 00:09:39.114081', time_epoch_executed='1675152579.11' WHERE source_name='4FGL J0228.0-3026' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434390

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434390/ft1_4FGL_J0228.0-3026_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434390/ft2_4FGL_J0228.0-3026_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434390/ft1_4FGL_J0228.0-3026_daily_bin1764.fits outfile=/scratch/kocevski/434390/ft1_filteredMKT_4FGL_J0228.0-3026_daily_bin1764.fits ra=37.014 dec=-30.447 rad=12.0 tmin=696556801.0 tmax=696816001.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.76
user 3.48
sys 0.23

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

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

Number of photons that the gtmktime cut: 382

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434390/ft1_filtered_4FGL_J0228.0-3026_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/434390/ft2_4FGL_J0228.0-3026_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/434390/ltcube_696556801_696816001_4FGL_J0228.0-3026_daily_bin1764.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/434390/ft2_4FGL_J0228.0-3026_daily_bin1764.fits
.....................!
real 14.59
user 14.11
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434390/ft1_filtered_4FGL_J0228.0-3026_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434390/ft2_4FGL_J0228.0-3026_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/434390/ltcube_696556801_696816001_4FGL_J0228.0-3026_daily_bin1764.fits outfile=/scratch/kocevski/434390/expmap_696556801_696816001_4FGL_J0228.0-3026_daily_bin1764.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/434390/ltcube_696556801_696816001_4FGL_J0228.0-3026_daily_bin1764.fits
.....................!
real 193.34
user 188.19
sys 4.69

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_8years/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/434390/ft1_filtered_4FGL_J0228.0-3026_daily_bin1764.fits scfile=/scratch/kocevski/434390/ft2_4FGL_J0228.0-3026_daily_bin1764.fits outfile=/scratch/kocevski/434390/cmap_696556801_696816001_4FGL_J0228.0-3026_daily_bin1764.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434390/ft1_filtered_4FGL_J0228.0-3026_daily_bin1764.fits scfile=/scratch/kocevski/434390/ft2_4FGL_J0228.0-3026_daily_bin1764.fits outfile=/scratch/kocevski/434390/cmap_HighResolution_696556801_696816001_4FGL_J0228.0-3026_daily_bin1764.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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434390/ft1_filtered_4FGL_J0228.0-3026_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434390/ft2_4FGL_J0228.0-3026_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434390/Model_4FGL_J0228.0-3026_daily_bin1764.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/434390/ft1_filtered_4FGL_J0228.0-3026_daily_bin1764.fits.....................!
real 86.99
user 85.06
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/434390/ft1_filtered_4FGL_J0228.0-3026_daily_bin1764.fits', '/scratch/kocevski/434390/ft2_4FGL_J0228.0-3026_daily_bin1764.fits', expMap='/scratch/kocevski/434390/expmap_696556801_696816001_4FGL_J0228.0-3026_daily_bin1764.fits', expCube='/scratch/kocevski/434390/ltcube_696556801_696816001_4FGL_J0228.0-3026_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/434390/Model_4FGL_J0228.0-3026_daily_bin1764.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  0.000e+00  1.000e+06 ( 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/434390/ft1_filtered_4FGL_J0228.0-3026_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/434390/ft2_4FGL_J0228.0-3026_daily_bin1764.fits
Exposure map: /scratch/kocevski/434390/expmap_696556801_696816001_4FGL_J0228.0-3026_daily_bin1764.fits
Exposure cube: /scratch/kocevski/434390/ltcube_696556801_696816001_4FGL_J0228.0-3026_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/434390/Model_4FGL_J0228.0-3026_daily_bin1764.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) = 4378.25582944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5601       1.0000          .0000       .10000E+07
     2 'norm      '    .15382E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .19449E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .28382E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    12.882       1.0000          .0000       .10000E+07
     6 'Prefactor '    .48301E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.8167       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12355E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    87.836       1.0000          .0000       .10000E+07
    10 'norm      '    .87616E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    13.181       1.0000          .0000       .10000E+07
    12 'Prefactor '    .48257E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    38.383       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.0799       1.0000          .0000       .10000E+07
    15 'norm      '    2.1073       1.0000          .0000       .10000E+07
    16 'norm      '    3.7127       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0014       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .65622       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=   4378.243     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1329 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5379        5.6022       -.64704E-08   -.52084E-03
   2  norm           .0000        .82707       -.11889E-07** at limit **
   3  Prefactor     .11102E-09    15.961        .72280E-07** at limit **
   4  Prefactor     .21094E-08    20.958       -.10656E-05** at limit **
   5  Prefactor     12.901        10.053       -.13414E-06   -.18649E-04
   6  Prefactor     .12768E-08    3.7750        .13762E-06** at limit **
   7  Prefactor     5.9107        7.0559       -.10353E-05    .42096E-02
   8  Prefactor     .18430E-06    36.692       -.17188E-06** at limit **
   9  Prefactor     88.059        16.259        .68701E-07   -.26749    
  10  norm          .74892E-03    2.5117       -.20058E-06** at limit **
  11  Prefactor     13.304        17.754       -.10057E-06   -.12563E-01
  12  Prefactor     .74385E-08    10.694       -.42948E-06** at limit **
  13  Prefactor     39.340        36.172        .18323E-06    .79954E-01
  14  Prefactor     1.0823        2.6449        .97076E-07   -.50704E-03
  15  norm          2.1079        1.8445       -.48987E-07    .50078E-03
  16  norm          3.7127        3.1698        .77298E-07   -.13954E-02
  17  Normalizat    1.0007        .19453        .21290E-05   -.16492E-03
  18  Prefactor     .65621        .21426        .93508E-05   -.14955E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.5379
  norm       = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 2.10942e-09
  Prefactor  = 12.9007
  Prefactor  = 1.27676e-09
  Prefactor  = 5.91071
  Prefactor  = 1.84297e-07
  Prefactor  = 88.0587
  norm       = 0.000748921
  Prefactor  = 13.3036
  Prefactor  = 7.43849e-09
  Prefactor  = 39.3395
  Prefactor  = 1.08234
  norm       = 2.10791
  norm       = 3.71267
  Normalizat = 1.00068
  Prefactor  = 0.656213
 **********
 **   18 **HESSE 
 **********

 FCN=   4378.243     FROM HESSE     STATUS=OK           284 CALLS     1613 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5379        5.5964        .36450E-03   -1.5653    
   2  norm           .0000        .82629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    15.965        .17073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .21094E-08    20.620        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.901        10.062        .27883E-03   -1.5636    
   6  Prefactor     .12768E-08    3.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.9107        7.0786        .41618E-03   -1.5659    
   8  Prefactor     .18430E-06    36.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     88.059        64.302        .10671E-03   -1.5520    
  10  norm          .74892E-03    2.1802        .42118E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.304        17.943        .27564E-03   -1.5635    
  12  Prefactor     .74385E-08    10.700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     39.340        37.374        .16143E-03   -1.5583    
  14  Prefactor     1.0823        3.0936        .38047E-02   -1.5687    
  15  norm          2.1079        1.8579        .71047E-03   -1.5679    
  16  norm          3.7127        3.1775        .52385E-03   -1.5669    
  17  Normalizat    1.0007        .16433        .46184E-01   -.93008    
  18  Prefactor     .65621        .18006        .60124E-01   -1.0527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5888e-06
Minuit parameter uncertainties:
  1  5.59641
  2  2.04522e-06
  3  7.55394e-05
  4  0.000419286
  5  10.0622
  6  0.000138815
  7  7.07863
  8  0.00520511
  9  64.3024
  10  0.0808156
  11  17.9435
  12  0.000565141
  13  37.3745
  14  3.09362
  15  1.85789
  16  3.17754
  17  0.164411
  18  0.180222
Done.

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

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  8.806e+01  6.430e+01  0.000e+00  1.000e+06 ( 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:  6.562e-01  1.802e-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.001e+00  1.644e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.85
Ra Dec: 37.014 -30.447
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 5.03e-08 +/- 3.67e-08
Energy Flux (Fixed Index): 2.27e-05 +/- 1.66e-05

TS (Fixed Index): 2.85
Ra Dec: 37.014 -30.447
Photon Flux Upper Limit: 1.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434390/likelihoodResults_696556801_696816001_4FGL_J0228.0-3026_daily_bin1764.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) = 4377.78913429
delta logL = 0.453991446526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4377.78302449
delta logL = 0.460101237165

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.847       1.0000          .0000       .10000E+07
     2 'Index     '    2.7248       1.0000          .0000       10.000    
     3 'Normalizat'    .97294       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67492       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=   4377.783     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      292 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.850        64.542        .63373E-05   -.25294E-03
   2  Index         2.7248        .71950        .34438E-02    .48368E-03
   3  Normalizat    .97297        .19356        .19901E-03    .45759E-04
   4  Prefactor     .67484        .21344        .26221E-03    .61957E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.8501
  Index      = 2.72476
  Normalizat = 0.972974
  Prefactor  = 0.674837
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.850        54.946        .25349E-06   -1.5582    
   2  Index         2.7248        .61274        .68876E-03   -.47243    
   3  Normalizat    .97297        .19329        .79602E-05   -.93941    
   4  Prefactor     .67484        .21317        .10489E-04   -1.0452    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06954e-11
Minuit parameter uncertainties:
  1  54.9465
  2  0.614696
  3  0.193433
  4  0.213424
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434390': 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) = 4377.78302433
delta logL = 0.4601014058

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  3.985e+01  5.495e+01  0.000e+00  1.000e+06 ( 1.000e-14)
271        Index:  2.725e+00  6.147e-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:  6.748e-01  2.134e-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.730e-01  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.78
Ra Dec: 37.014 -30.447
Photon Index (Free Index): 2.72 +/- 0.61
Photon Flux (Free Index): 7.58e-08 +/- 5.10e-08
Energy Flux (Free Index): 1.79e-05 +/- 1.19e-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/434390/cmap_HighResolution_696556801_696816001_4FGL_J0228.0-3026_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.62e-03', comment='SUCCESS', photon_flux='5.03e-08', energy_flux2='1.79e-05', photon_flux_error='3.67e-08', dlogl='4.60e-01', energy_flux='2.27e-05', photon_flux2='7.58e-08', job_status='DONE', time_completed='2023-01-31 00:18:07.298483', photon_index_error2='0.61', photon_index2='2.72', ts='2.85', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='1.19e-05', EG='1.00', time_epoch_completed='1675153087.3', return_code='0', job_id='434390', GAL2='0.67', EG2='0.97', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='5.10e-08', ts2='3.78', photon_index='2.20' WHERE bin_id='1764' AND source_name='4FGL J0228.0-3026' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:18:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 434390: <4FGL_J0228.0-3026_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0228.0-3026_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 00:04:52 2023
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:07:59 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:07:59 2023
Terminated at Tue Jan 31 00:18:08 2023
Results reported at Tue Jan 31 00:18:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0228.0-3026_daily_bin1764 37.014 -30.447 696556801 696816001 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 :                                   508.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             312.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            796 sec.

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

