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


Performing analysis on: 4FGL_J2229.7-0832_daily_bin1697
RA = 337.426, Dec = -8.5447
tmin = 679190401, tmax = 679449601
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='857690', job_status='RUN', time_executed='2022-07-14 00:37:30.751294', time_epoch_executed='1657784250.75' WHERE source_name='4FGL J2229.7-0832' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857690

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857690/ft1_4FGL_J2229.7-0832_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857690/ft2_4FGL_J2229.7-0832_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857690/ft1_4FGL_J2229.7-0832_daily_bin1697.fits outfile=/scratch/kocevski/857690/ft1_filteredMKT_4FGL_J2229.7-0832_daily_bin1697.fits ra=337.426 dec=-8.5447 rad=12.0 tmin=679190401.0 tmax=679449601.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.43
user 3.20
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/857690/ft2_4FGL_J2229.7-0832_daily_bin1697.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/857690/ft1_filteredMKT_4FGL_J2229.7-0832_daily_bin1697.fits evtable="EVENTS" outfile="/scratch/kocevski/857690/ft1_filtered_4FGL_J2229.7-0832_daily_bin1697.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 547

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857690/ft1_filtered_4FGL_J2229.7-0832_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857690/ft2_4FGL_J2229.7-0832_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857690/ltcube_679190401_679449601_4FGL_J2229.7-0832_daily_bin1697.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/857690/ft2_4FGL_J2229.7-0832_daily_bin1697.fits
.....................!
real 11.81
user 11.45
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857690/ft1_filtered_4FGL_J2229.7-0832_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857690/ft2_4FGL_J2229.7-0832_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857690/ltcube_679190401_679449601_4FGL_J2229.7-0832_daily_bin1697.fits outfile=/scratch/kocevski/857690/expmap_679190401_679449601_4FGL_J2229.7-0832_daily_bin1697.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/857690/ltcube_679190401_679449601_4FGL_J2229.7-0832_daily_bin1697.fits
.....................!
real 190.66
user 186.05
sys 4.27

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/857690/ft1_filtered_4FGL_J2229.7-0832_daily_bin1697.fits scfile=/scratch/kocevski/857690/ft2_4FGL_J2229.7-0832_daily_bin1697.fits outfile=/scratch/kocevski/857690/cmap_679190401_679449601_4FGL_J2229.7-0832_daily_bin1697.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857690/ft1_filtered_4FGL_J2229.7-0832_daily_bin1697.fits scfile=/scratch/kocevski/857690/ft2_4FGL_J2229.7-0832_daily_bin1697.fits outfile=/scratch/kocevski/857690/cmap_HighResolution_679190401_679449601_4FGL_J2229.7-0832_daily_bin1697.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/857690/ft1_filtered_4FGL_J2229.7-0832_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857690/ft2_4FGL_J2229.7-0832_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857690/Model_4FGL_J2229.7-0832_daily_bin1697.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/857690/ft1_filtered_4FGL_J2229.7-0832_daily_bin1697.fits.....................!
real 57.95
user 56.61
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/857690/ft1_filtered_4FGL_J2229.7-0832_daily_bin1697.fits', '/scratch/kocevski/857690/ft2_4FGL_J2229.7-0832_daily_bin1697.fits', expMap='/scratch/kocevski/857690/expmap_679190401_679449601_4FGL_J2229.7-0832_daily_bin1697.fits', expCube='/scratch/kocevski/857690/ltcube_679190401_679449601_4FGL_J2229.7-0832_daily_bin1697.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/857690/Model_4FGL_J2229.7-0832_daily_bin1697.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/857690/ft1_filtered_4FGL_J2229.7-0832_daily_bin1697.fits
Spacecraft file(s): /scratch/kocevski/857690/ft2_4FGL_J2229.7-0832_daily_bin1697.fits
Exposure map: /scratch/kocevski/857690/expmap_679190401_679449601_4FGL_J2229.7-0832_daily_bin1697.fits
Exposure cube: /scratch/kocevski/857690/ltcube_679190401_679449601_4FGL_J2229.7-0832_daily_bin1697.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/857690/Model_4FGL_J2229.7-0832_daily_bin1697.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) = 6152.20431399

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9243       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.806       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.2449       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .35429E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    85.443       1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.224       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.014       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.4824       1.0000         .10000E-03   10000.    
    13 'Prefactor '    64.888       1.0000         .10000E-03   10000.    
    14 'norm      '    2.9187       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.5326       1.0000         .10000E-03   10000.    
    16 'norm      '    .52568       1.0000         .10000E-03   10000.    
    17 'Prefactor '    39.355       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.940       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.0283       1.0000         .10000E-03   10000.    
    20 'norm      '    22.919       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77663       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86846       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=   6152.182     FROM MIGRAD    STATUS=CONVERGED    830 CALLS     3119 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.3549        .14027E-02** at limit **
   2  Prefactor     2.9225        6.6576        .23756E-03   -.10840E-03
   3  Prefactor     12.811        12.865        .11194E-03   -.51595E-04
   4  Prefactor     5.2431        17.200        .17551E-03   -.38864E-06
   5  Prefactor     .10000E-03    182.93        .54780E-02** at limit **
   6  Prefactor     .10000E-03    26.304        .18142E-02** at limit **
   7  Prefactor     85.444        20.546        .43460E-04   -.40599E-04
   8  Prefactor     27.226        12.767        .76781E-04   -.18538E-03
   9  Prefactor     17.852        87.508        .94365E-04   -.24095E-06
  10  Prefactor     .10000E-03    2.3335        .11617E-02** at limit **
  11  Prefactor     .10000E-03    21.977        .18142E-02** at limit **
  12  norm          1.4818        2.4666        .15397E-03   -.31234E-03
  13  Prefactor     64.888        57.052        .49820E-04   -.29802E-04
  14  norm          2.9187        1.1882        .51335E-04   -.14085E-03
  15  Prefactor     4.5127        76.732        .18909E-03   -.96195E-05
  16  norm          .52668        4.0935        .11321E-03    .49610E-04
  17  Prefactor     39.337        42.875        .63893E-04    .39857E-04
  18  Prefactor     17.938        12.644        .94561E-04    .17072E-04
  19  Prefactor     4.0278        6.5374        .20092E-03   -.49794E-04
  20  norm          22.917        13.432        .83670E-04   -.76634E-04
  21  Normalizat    .77705        .25412        .32254E-03   -.15245E-03
  22  Prefactor     .86834        .15807        .20166E-03    .14785E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 2.92252
  Prefactor  = 12.8106
  Prefactor  = 5.24308
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 85.444
  Prefactor  = 27.2258
  Prefactor  = 17.852
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.48183
  Prefactor  = 64.8883
  norm       = 2.91873
  Prefactor  = 4.51267
  norm       = 0.526685
  Prefactor  = 39.3369
  Prefactor  = 17.9383
  Prefactor  = 4.02778
  norm       = 22.9171
  Normalizat = 0.77705
  Prefactor  = 0.868338
 **********
 **   18 **HESSE 
 **********

 FCN=   6152.182     FROM HESSE     STATUS=OK           322 CALLS     3441 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.3549        .28054E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.9225        6.6562        .95022E-05   -1.5366    
   3  Prefactor     12.811        12.858        .44774E-05   -1.4992    
   4  Prefactor     5.2431        17.198        .70205E-05   -1.5250    
   5  Prefactor     .10000E-03    190.01        .21912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    26.314        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     85.444        20.545        .86920E-05   -1.3857    
   8  Prefactor     27.226        12.766        .30712E-05   -1.4664    
   9  Prefactor     17.852        87.455        .37746E-05   -1.4863    
  10  Prefactor     .10000E-03    2.3339        .23234E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.977        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4818        2.4663        .61587E-05   -1.5465    
  13  Prefactor     64.888        57.052        .99640E-05   -1.4095    
  14  norm          2.9187        1.1879        .20534E-05   -1.5366    
  15  Prefactor     4.5127        74.355        .75638E-05   -1.5283    
  16  norm          .52668        3.9619        .45282E-05   -1.5563    
  17  Prefactor     39.337        42.839        .25557E-05   -1.4453    
  18  Prefactor     17.938        12.644        .37824E-05   -1.4861    
  19  Prefactor     4.0278        6.5373        .80366E-05   -1.5307    
  20  norm          22.917        13.432        .33468E-05   -1.4750    
  21  Normalizat    .77705        .25407        .12901E-04   -1.0093    
  22  Prefactor     .86834        .15808        .40332E-04   -.97256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69641e-10
Minuit parameter uncertainties:
  1  1.18305e-05
  2  6.65792
  3  12.8606
  4  17.2146
  5  0.000763258
  6  9.21972e-05
  7  20.5467
  8  12.7677
  9  79.2119
  10  1.40688e-05
  11  1.82754e-05
  12  2.46644
  13  57.1004
  14  1.18789
  15  36.689
  16  2.88907
  17  42.8726
  18  12.646
  19  6.53845
  20  13.434
  21  0.254461
  22  0.158166
Done.

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

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  1.482e+00  2.466e+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

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  8.683e-01  1.582e-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:  7.771e-01  2.545e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.54
Ra Dec: 337.426 -8.545
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/857690/likelihoodResults_679190401_679449601_4FGL_J2229.7-0832_daily_bin1697.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) = 6151.648502
delta logL = 0.53336430983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6151.62061816
delta logL = 0.56124815055

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1102       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4470       1.0000          .0000       5.0000    
     3 'Normalizat'    .79380       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85806       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.

 FCN=   6151.621     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1101        1.3118        .11209E-01    .25353E-02
   2  alpha         1.4470        .47046        .44459        .16879E-05
   3  Normalizat    .79380        .19731        .72163E-01   -.13089E-04
   4  Prefactor     .85807        .13072        .44468E-01    .26607E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11013
  alpha      = 1.44705
  Normalizat = 0.7938
  Prefactor  = 0.858068
 **********
 **   18 **HESSE 
 **********

 FCN=   6151.621     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1101        1.6432        .93496E-04   -1.5497    
   2  alpha         1.4470        .74315        .15739E-01   -.43475    
   3  Normalizat    .79380        .23012        .31936E-03   -1.0030    
   4  Prefactor     .85807        .15274        .20260E-03   -.97622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1084e-09
Minuit parameter uncertainties:
  1  1.64327
  2  0.757147
  3  0.230404
  4  0.152811
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857690': 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) = 6151.62061815
delta logL = 0.561248162227

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  1.110e+00  1.643e+00  1.000e-04  1.000e+04 ( 1.000e-11)
256        alpha:  1.447e+00  7.571e-01  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:  8.581e-01  1.528e-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:  7.938e-01  2.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.67
Ra Dec: 337.426 -8.545
Photon Index (Free Index): 1.45 +/- 0.76
Photon Flux (Free Index): 1.09e-08 +/- 1.49e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.94e-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/857690/cmap_HighResolution_679190401_679449601_4FGL_J2229.7-0832_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.70e-05', comment='SUCCESS', energy_flux2='1.28e-05', dlogl='5.61e-01', photon_flux2='1.09e-08', job_status='DONE', time_completed='2022-07-14 00:48:05.067351', photon_index_error2='0.76', photon_index2='1.45', ts='0.54', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='1.94e-05', EG='0.78', time_epoch_completed='1657784885.07', return_code='0', job_id='857690', GAL2='0.86', EG2='0.79', return_code2='0', photon_flux_error2='1.49e-08', ts2='1.67', photon_index='2.47' WHERE bin_id='1697' AND source_name='4FGL J2229.7-0832' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:48:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 857690: <4FGL_J2229.7-0832_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2229.7-0832_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:35:51 2022
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:35:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:35:52 2022
Terminated at Thu Jul 14 00:48:05 2022
Results reported at Thu Jul 14 00:48:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2229.7-0832_daily_bin1697 337.426 -8.5447 679190401 679449601 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 :                                   636.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             303.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            734 sec.

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

