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


Performing analysis on: 4FGL_J2229.7-0832_daily_bin1695
RA = 337.426, Dec = -8.5447
tmin = 678672001, tmax = 678931201
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='731220', job_status='RUN', time_executed='2022-07-08 00:36:05.905286', time_epoch_executed='1657265765.91' WHERE source_name='4FGL J2229.7-0832' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731220

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731220/ft1_4FGL_J2229.7-0832_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731220/ft2_4FGL_J2229.7-0832_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731220/ft1_4FGL_J2229.7-0832_daily_bin1695.fits outfile=/scratch/kocevski/731220/ft1_filteredMKT_4FGL_J2229.7-0832_daily_bin1695.fits ra=337.426 dec=-8.5447 rad=12.0 tmin=678672001.0 tmax=678931201.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.63
user 3.41
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/731220/ft2_4FGL_J2229.7-0832_daily_bin1695.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/731220/ft2_4FGL_J2229.7-0832_daily_bin1695.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/731220/ft1_filteredMKT_4FGL_J2229.7-0832_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/731220/ft1_filtered_4FGL_J2229.7-0832_daily_bin1695.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.51
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 447

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/731220/ft1_filtered_4FGL_J2229.7-0832_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/731220/ft2_4FGL_J2229.7-0832_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/731220/ltcube_678672001_678931201_4FGL_J2229.7-0832_daily_bin1695.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/731220/ft2_4FGL_J2229.7-0832_daily_bin1695.fits
.....................!
real 12.07
user 11.66
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731220/ft1_filtered_4FGL_J2229.7-0832_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731220/ft2_4FGL_J2229.7-0832_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/731220/ltcube_678672001_678931201_4FGL_J2229.7-0832_daily_bin1695.fits outfile=/scratch/kocevski/731220/expmap_678672001_678931201_4FGL_J2229.7-0832_daily_bin1695.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/731220/ltcube_678672001_678931201_4FGL_J2229.7-0832_daily_bin1695.fits
.....................!
real 193.19
user 187.34
sys 5.46

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
Added 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2229.7-0832 @ 337.426 -8.5447

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/731220/ft1_filtered_4FGL_J2229.7-0832_daily_bin1695.fits scfile=/scratch/kocevski/731220/ft2_4FGL_J2229.7-0832_daily_bin1695.fits outfile=/scratch/kocevski/731220/cmap_678672001_678931201_4FGL_J2229.7-0832_daily_bin1695.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=337.426 yref=-8.5447 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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/731220/ft1_filtered_4FGL_J2229.7-0832_daily_bin1695.fits scfile=/scratch/kocevski/731220/ft2_4FGL_J2229.7-0832_daily_bin1695.fits outfile=/scratch/kocevski/731220/cmap_HighResolution_678672001_678931201_4FGL_J2229.7-0832_daily_bin1695.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=337.426 yref=-8.5447 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/731220/ft1_filtered_4FGL_J2229.7-0832_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731220/ft2_4FGL_J2229.7-0832_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/731220/Model_4FGL_J2229.7-0832_daily_bin1695.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 GAL_V02
Working on...
/scratch/kocevski/731220/ft1_filtered_4FGL_J2229.7-0832_daily_bin1695.fits.....................!
real 50.86
user 49.49
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/731220/ft1_filtered_4FGL_J2229.7-0832_daily_bin1695.fits', '/scratch/kocevski/731220/ft2_4FGL_J2229.7-0832_daily_bin1695.fits', expMap='/scratch/kocevski/731220/expmap_678672001_678931201_4FGL_J2229.7-0832_daily_bin1695.fits', expCube='/scratch/kocevski/731220/ltcube_678672001_678931201_4FGL_J2229.7-0832_daily_bin1695.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/731220/Model_4FGL_J2229.7-0832_daily_bin1695.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2229.7-0832'

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  8.119e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
256        alpha:  2.473e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
257         beta:  9.910e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  3.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/731220/ft1_filtered_4FGL_J2229.7-0832_daily_bin1695.fits
Spacecraft file(s): /scratch/kocevski/731220/ft2_4FGL_J2229.7-0832_daily_bin1695.fits
Exposure map: /scratch/kocevski/731220/expmap_678672001_678931201_4FGL_J2229.7-0832_daily_bin1695.fits
Exposure cube: /scratch/kocevski/731220/ltcube_678672001_678931201_4FGL_J2229.7-0832_daily_bin1695.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/731220/Model_4FGL_J2229.7-0832_daily_bin1695.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) = 5050.42375648

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10583E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15146       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.832       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.184       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.283       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    67.927       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    184.32       1.0000         .10000E-03   10000.    
    14 'norm      '    .52674       1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.621       1.0000         .10000E-03   10000.    
    16 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .30257       1.0000         .10000E-03   10000.    
    20 'norm      '    8.7944       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0320       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78485       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+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=   5050.418     FROM MIGRAD    STATUS=CONVERGED    848 CALLS     2797 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.2152        .14216E-02** at limit **
   2  Prefactor     .10008E-03    36.352        .29140E-02** at limit **
   3  Prefactor     .12442        10.230        .68259E-01    .29763E-03
   4  Prefactor     12.838        21.256        .11182E-03   -.48497E-04
   5  Prefactor     .10000E-03    9.1528        .18142E-02** at limit **
   6  Prefactor     14.190        17.909        .10635E-03    .28649E-04
   7  Prefactor     .10000E-03    21.518        .36285E-03** at limit **
   8  Prefactor     13.285        11.155        .10990E-03   -.16344E-03
   9  Prefactor     .10000E-03    78.711        .18142E-02** at limit **
  10  Prefactor     .10000E-03    2.3549        .10588E-02** at limit **
  11  Prefactor     67.917        66.663        .48700E-04    .31188E-04
  12  norm          .10000E-03    2.1495        .10054E-02** at limit **
  13  Prefactor     184.30        102.32        .14869E-03    .33106E-04
  14  norm          .52684        .82571        .85187E-03    .24054E-03
  15  Prefactor     22.612        15.878        .84217E-04    .22746E-03
  16  norm          .10000E-03    .72331        .99026E-03** at limit **
  17  Prefactor     .10000E-03    26.151        .18142E-02** at limit **
  18  Prefactor     .10000E-03    4.3127        .14402E-02** at limit **
  19  Prefactor     .28609        103.49        .37985E-02    .44715E-04
  20  norm          8.7937        8.9148        .13516E-03    .48785E-05
  21  Normalizat    1.0320        .25504        .26587E-03   -.34209E-04
  22  Prefactor     .78487        .16061        .19799E-03   -.57764E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100077
  Prefactor  = 0.124424
  Prefactor  = 12.8382
  Prefactor  = 0.0001
  Prefactor  = 14.1901
  Prefactor  = 0.0001
  Prefactor  = 13.2853
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 67.9172
  norm       = 0.0001
  Prefactor  = 184.298
  norm       = 0.526841
  Prefactor  = 22.6119
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.286093
  norm       = 8.79368
  Normalizat = 1.03205
  Prefactor  = 0.78487
 **********
 **   18 **HESSE 
 **********

 FCN=   5050.418     FROM HESSE     STATUS=OK           334 CALLS     3131 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.2157        .28431E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10008E-03    36.706        .58279E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12442        9.6487        .71760E-01   -1.5637    
   4  Prefactor     12.838        21.249        .44728E-05   -1.4991    
   5  Prefactor     .10000E-03    9.1544        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.190        17.907        .42540E-05   -1.4954    
   7  Prefactor     .10000E-03    21.519        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.285        11.151        .43962E-05   -1.4979    
   9  Prefactor     .10000E-03    78.716        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.3551        .21177E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     67.917        66.639        .97401E-05   -1.4058    
  12  norm          .10000E-03    2.1501        .20109E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     184.30        102.31        .59477E-05   -1.2984    
  14  norm          .52684        .82457        .34075E-04   -1.5563    
  15  Prefactor     22.612        15.848        .33687E-05   -1.4757    
  16  norm          .10000E-03    .72333        .19805E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    26.153        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.3129        .28804E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .28609        104.31        .15194E-03   -1.5601    
  20  norm          8.7937        8.9140        .54065E-05   -1.5115    
  21  Normalizat    1.0320        .25410        .10635E-04   -.91964    
  22  Prefactor     .78487        .16056        .79197E-05   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05357e-09
Minuit parameter uncertainties:
  1  1.40014e-06
  2  0.0033622
  3  2.19086
  4  21.2618
  5  7.06202e-05
  6  17.9141
  7  0.000177554
  8  11.1523
  9  0.000607908
  10  4.74201e-05
  11  66.7124
  12  6.4913e-05
  13  102.412
  14  0.824588
  15  15.851
  16  1.65981e-05
  17  0.000166373
  18  4.87112e-07
  19  10.9429
  20  8.91539
  21  0.254402
  22  0.16066
Done.

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

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  1.000e-04  6.491e-05  1.000e-04  1.000e+04 ( 1.000e-11)
256        alpha:  2.473e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
257         beta:  9.910e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  3.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  7.849e-01  1.607e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.032e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 337.426 -8.545
Photon Flux Upper Limit: 8.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/731220/likelihoodResults_678672001_678931201_4FGL_J2229.7-0832_daily_bin1695.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) = 5050.42026006
delta logL = -0.00221721695743

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5050.41804298
delta logL = -1.31932210934e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4694       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0320       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78491       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+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=   5050.418     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      234 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.9383        .10060E-02** at limit **
   2  alpha         2.3698        3.7281        .16462       -.12386E-06
   3  Normalizat    1.0320        .23812        .26587E-03   -.18986E-04
   4  Prefactor     .78487        .15768        .19799E-03   -.18432E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.3698
  Normalizat = 1.03205
  Prefactor  = 0.78487
 **********
 **   18 **HESSE 
 **********

 FCN=   5050.418     FROM HESSE     STATUS=OK            25 CALLS      259 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.1709        .20120E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3698        3.1264        .32924E-01   -.52104E-01
   3  Normalizat    1.0320        .23836        .10635E-04   -.91964    
   4  Prefactor     .78487        .15784        .79197E-05   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.31992e-12
Minuit parameter uncertainties:
  1  1.12195e-05
  2  163.116
  3  0.238609
  4  0.157934
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731220': 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) = 5050.41804265
delta logL = 1.93379491975e-07

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  1.000e-04  1.122e-05  1.000e-04  1.000e+04 ( 1.000e-11)
256        alpha:  2.370e+00  1.631e+02  0.000e+00  5.000e+00 ( 1.000e+00)
257         beta:  9.910e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  3.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  7.849e-01  1.579e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.032e+00  2.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 337.426 -8.545

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/731220/cmap_HighResolution_678672001_678931201_4FGL_J2229.7-0832_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.27e-05', job_status='DONE', photon_flux_upper_limit='8.59e-08', time_completed='2022-07-08 00:45:28.641987', job_id='731220', GAL2='0.78', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1657266328.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.93e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1695' AND source_name='4FGL J2229.7-0832' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:45:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 731220: <4FGL_J2229.7-0832_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2229.7-0832_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 00:35:20 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:35:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:35:21 2022
Terminated at Fri Jul  8 00:45:29 2022
Results reported at Fri Jul  8 00:45:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2229.7-0832_daily_bin1695 337.426 -8.5447 678672001 678931201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2229.7-0832 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   565.07 sec.
    Max Memory :                                 1124 MB
    Average Memory :                             283.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   607 sec.
    Turnaround time :                            609 sec.

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

