aklog: All mechanisms failed to produce tokens for cell slac.stanford.edu
/nfs/farm/g/glast/g/L/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 65 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 = 7477
number of fields = 31
RA_SUN column already exists. File wDone.


Performing anDone.


Performing analysis on: 4FGL_J0228.0-3026_daily_bin1669
RA = 37.014, Dec = -30.447
tmin = 671932801, tmax = 672192001
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='681027', job_status='RUN', time_executed='2022-04-21 00:08:02.700576', time_epoch_executed='1650524882.7' WHERE source_name='4FGL J0228.0-3026' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/681027

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/681027/ft1_4FGL_J0228.0-3026_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/681027/ft2_4FGL_J0228.0-3026_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/681027/ft1_4FGL_J0228.0-3026_daily_bin1669.fits outfile=/scratch/kocevski/681027/ft1_filteredMKT_4FGL_J0228.0-3026_daily_bin1669.fits ra=37.014 dec=-30.447 rad=12.0 tmin=671932801.0 tmax=672192001.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.05
user 3.52
sys 0.21

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

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

Number of photons that the gtmktime cut: 426

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/681027/ft1_filtered_4FGL_J0228.0-3026_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/681027/ft2_4FGL_J0228.0-3026_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/681027/ltcube_671932801_672192001_4FGL_J0228.0-3026_daily_bin1669.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/681027/ft2_4FGL_J0228.0-3026_daily_bin1669.fits
.....................!
real 12.72
user 11.85
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/681027/ft1_filtered_4FGL_J0228.0-3026_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/681027/ft2_4FGL_J0228.0-3026_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/681027/ltcube_671932801_672192001_4FGL_J0228.0-3026_daily_bin1669.fits outfile=/scratch/kocevski/681027/expmap_671932801_672192001_4FGL_J0228.0-3026_daily_bin1669.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/681027/ltcube_671932801_672192001_4FGL_J0228.0-3026_daily_bin1669.fits
.....................!
real 191.89
user 186.16
sys 5.23

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/681027/ft1_filtered_4FGL_J0228.0-3026_daily_bin1669.fits scfile=/scratch/kocevski/681027/ft2_4FGL_J0228.0-3026_daily_bin1669.fits outfile=/scratch/kocevski/681027/cmap_671932801_672192001_4FGL_J0228.0-3026_daily_bin1669.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/681027/ft1_filtered_4FGL_J0228.0-3026_daily_bin1669.fits scfile=/scratch/kocevski/681027/ft2_4FGL_J0228.0-3026_daily_bin1669.fits outfile=/scratch/kocevski/681027/cmap_HighResolution_671932801_672192001_4FGL_J0228.0-3026_daily_bin1669.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/681027/ft1_filtered_4FGL_J0228.0-3026_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/681027/ft2_4FGL_J0228.0-3026_daily_bin1669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/681027/Model_4FGL_J0228.0-3026_daily_bin1669.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/681027/ft1_filtered_4FGL_J0228.0-3026_daily_bin1669.fits.....................!
real 97.52
user 96.14
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1114       1.0000         .10000E-03   10000.    
     2 'norm      '    1.8148       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1457       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.317       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    95.233       1.0000         .10000E-03   10000.    
     9 'Prefactor '    48.335       1.0000         .10000E-03   10000.    
    10 'norm      '    2.2975       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.690       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    159.07       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .69985E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    1.0801       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.006       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3038       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .58568       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=   4697.508     FROM MIGRAD    STATUS=CONVERGED     88 CALLS     2004 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1116        4.6979        .88115E-06    .69856E-03
   2  norm          1.8148        2.0449        .31966E-06   -.19467E-04
   3  Prefactor     .10000E-03    37.777       -.16966E-05** at limit **
   4  Prefactor     4.1438        6.4667        .77028E-05    .24502E-02
   5  Prefactor     21.322        1.1828       -.23473E-06    .26219E-02
   6  Prefactor     .10000E-03    2.1702        .43071E-06** at limit **
   7  Prefactor     .10000E-03    2.9000        .97120E-07** at limit **
   8  Prefactor     94.928        36.172        .12609E-06    .26507E-01
   9  Prefactor     48.684        41.215       -.12585E-05    .19227E-01
  10  norm          2.2966        3.0254        .33795E-07   -.44205E-04
  11  Prefactor     .10000E-03    7.4063        .56309E-06** at limit **
  12  Prefactor     .10000E-03    14.248       -.88053E-06** at limit **
  13  Prefactor     39.652        4.6380        .12845E-07    .24510E-02
  14  Prefactor     .10000E-03    1.2555       -.11975E-06** at limit **
  15  Prefactor     159.06        1.4535       -.72230E-08    .22317E-02
  16  Prefactor     .34495E-03    63.874        .11144E-05** at limit **
  17  norm          1.0803        1.4445       -.78508E-06   -.62978E-04
  18  Prefactor     14.006        1.0420       -.19174E-06    .13035E-02
  19  norm          .10000E-03    2.0147        .18406E-06** at limit **
  20  Normalizat    1.3039        .21401       -.15327E-04   -.10136E-03
  21  Prefactor     .58552        .23292        .50571E-05   -.53426E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.1116
  norm       = 1.81478
  Prefactor  = 0.000100001
  Prefactor  = 4.1438
  Prefactor  = 21.3222
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 94.9278
  Prefactor  = 48.6839
  norm       = 2.29658
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.6517
  Prefactor  = 0.0001
  Prefactor  = 159.064
  Prefactor  = 0.000344948
  norm       = 1.08025
  Prefactor  = 14.0061
  norm       = 0.0001
  Normalizat = 1.30391
  Prefactor  = 0.585523
 **********
 **   18 **HESSE 
 **********

 FCN=   4697.508     FROM HESSE     STATUS=OK           365 CALLS     2369 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1116        4.7079        .35193E-02   -1.5138    
   2  norm          1.8148        2.0580        .77516E-02   -1.5439    
   3  Prefactor     .10000E-03    37.605        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1438        6.4925        .49491E-02   -1.5301    
   5  Prefactor     21.322        14.248        .21688E-02   -1.4784    
   6  Prefactor     .10000E-03    2.1630        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.8758        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     94.928        71.681        .10297E-02   -1.3756    
   9  Prefactor     48.684        51.067        .14419E-02   -1.4311    
  10  norm          2.2966        3.2199        .67692E-02   -1.5405    
  11  Prefactor     .10000E-03    7.4044        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.230        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     39.652        81.022        .15906E-02   -1.4448    
  14  Prefactor     .10000E-03    1.2514        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     159.06        258.33        .79926E-03   -1.3179    
  16  Prefactor     .34495E-03    51.724        .12530       -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0803        1.6189        .21484E-01   -1.5500    
  18  Prefactor     14.006        12.661        .26756E-02   -1.4959    
  19  norm          .10000E-03    1.9710        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3039        .19352        .32736E-01   -.83450    
  21  Prefactor     .58552        .20636        .71209E-01   -1.0820    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52245e-06
Minuit parameter uncertainties:
  1  4.70809
  2  2.05808
  3  0.000419375
  4  6.49357
  5  14.2504
  6  1.83685e-07
  7  5.76641e-07
  8  71.7469
  9  51.1128
  10  3.22014
  11  1.25518e-06
  12  3.59802e-05
  13  81.2482
  14  3.29394e-07
  15  260.206
  16  0.225313
  17  1.61894
  18  12.6629
  19  7.20766e-07
  20  0.193Done.

MINUIT ReturDone.

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

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  4.868e+01  5.111e+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:  5.855e-01  2.066e-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.304e+00  1.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.28
Ra Dec: 37.014 -30.447
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 2.78e-08 +/- 2.92e-08
Energy Flux (Fixed Index): 1.26e-05 +/- 1.32e-05

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

Saving results to:
/scratch/kocevski/681027/likelihoodResults_671932801_672192001_4FGL_J0228.0-3026_daily_bin1669.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) = 4697.47341359
delta logL = 0.0344971438972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4697.46985319
delta logL = 0.0380575480367

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    62.685       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0300       1.0000          .0000       10.000    
     3 'Normalizat'    1.3079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58188       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=   4697.470     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      255 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     62.685        5821.8        .12671E-02    .21823E-03
   2  Index         2.0299        5.8945        .13300        .76111E-04
   3  Normalizat    1.3084        .83564E-01    .32665E-01   -.27378E-04
   4  Prefactor     .58133        .86418E-01    .71437E-01    .35406E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 62.6846
  Index      = 2.0299
  Normalizat = 1.30836
  Prefactor  = 0.581326
 **********
 **   18 **HESSE 
 **********

 FCN=   4697.470     FROM HESSE     STATUS=OK            29 CALLS      284 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     62.685        82.387        .50683E-04   -1.4123    
   2  Index         2.0299        .60761        .66461E-02   -.63605    
   3  Normalizat    1.3084        .21030        .19891E-03   -.83317    
   4  Prefactor     .58133        .23257        .31622E-03   -1.0838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36748e-09
Minuit parameter uncertainties:
  1  82.5377
  2  0.609941
  3  0.210434
  4  0.232959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/681027': 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) = 4697.46985032
delta logL = 0.0380604118527

Extracting fit parameters...

4FGL J0228.0-3026
   Spectrum: PowerLaw
270    Prefactor:  6.268e+01  8.254e+01  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.030e+00  6.099e-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:  5.813e-01  2.330e-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.308e+00  2.104e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.35
Ra Dec: 37.014 -30.447
Photon Index (Free Index): 2.03 +/- 0.61
Photon Flux (Free Index): 2.53e-08 +/- 2.80e-08
Energy Flux (Free Index): 1.63e-05 +/- 2.38e-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/681027/cmap_HighResolution_671932801_672192001_4FGL_J0228.0-3026_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.24e-03', comment='SUCCESS', photon_flux='2.78e-08', energy_flux2='1.63e-05', photon_flux_error='2.92e-08', dlogl='3.81e-02', energy_flux='1.26e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2022-04-21 00:17:48.692923', photon_index_error2='0.61', photon_index2='2.03', ts='1.28', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', photon_flux_upper_limit='9.50e-08', energy_flux_error2='2.38e-05', EG='1.30', time_epoch_completed='1650525468.69', return_code='0', job_id='681027', GAL2='0.58', EG2='1.31', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='2.80e-08', ts2='1.35', photon_index='2.20' WHERE bin_id='1669' AND source_name='4FGL J0228.0-3026' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:17:48 PDT 2022

------------------------------------------
Sender: LSF System <lsf@bullet0004>
Subject: Job 681073: <4FGL_J0228.0-3026_daily_bin1669> in cluster <slac> Done

Job <4FGL_J0228.0-3026_daily_bin1669> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Apr 21 00:05:35 2022
Job was executed on host(s) <bullet0004>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:05:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:05:41 2022
Terminated at Thu Apr 21 00:17:36 2022
Results reported at Thu Apr 21 00:17:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0228.0-3026_daily_bin1669 37.014 -30.447 671932801 672192001 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 :                                   606.26 sec.
    Max Memory :                                 765 MB
    Average Memory :                             342.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            721 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 681027: <4FGL_J0228.0-3026_daily_bin1669> in cluster <slac> Done

Job <4FGL_J0228.0-3026_daily_bin1669> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Apr 21 00:05:33 2022
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:05:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:05:39 2022
Terminated at Thu Apr 21 00:17:49 2022
Results reported at Thu Apr 21 00:17:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0228.0-3026_daily_bin1669 37.014 -30.447 671932801 672192001 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 :                                   586.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            736 sec.

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

