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


Performing analysis on: 4FGL_J2229.7-0832_daily_bin1701
RA = 337.426, Dec = -8.5447
tmin = 680227201, tmax = 680486401
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='192070', job_status='RUN', time_executed='2022-07-26 02:16:37.241138', time_epoch_executed='1658826997.24' WHERE source_name='4FGL J2229.7-0832' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192070

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192070/ft1_4FGL_J2229.7-0832_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192070/ft2_4FGL_J2229.7-0832_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192070/ft1_4FGL_J2229.7-0832_daily_bin1701.fits outfile=/scratch/kocevski/192070/ft1_filteredMKT_4FGL_J2229.7-0832_daily_bin1701.fits ra=337.426 dec=-8.5447 rad=12.0 tmin=680227201.0 tmax=680486401.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 2.90
user 2.67
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/192070/ft2_4FGL_J2229.7-0832_daily_bin1701.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/192070/ft1_filteredMKT_4FGL_J2229.7-0832_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/192070/ft1_filtered_4FGL_J2229.7-0832_daily_bin1701.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 126

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/192070/ft1_filtered_4FGL_J2229.7-0832_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/192070/ft2_4FGL_J2229.7-0832_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/192070/ltcube_680227201_680486401_4FGL_J2229.7-0832_daily_bin1701.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/192070/ft2_4FGL_J2229.7-0832_daily_bin1701.fits
.....................!
real 16.74
user 16.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192070/ft1_filtered_4FGL_J2229.7-0832_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192070/ft2_4FGL_J2229.7-0832_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/192070/ltcube_680227201_680486401_4FGL_J2229.7-0832_daily_bin1701.fits outfile=/scratch/kocevski/192070/expmap_680227201_680486401_4FGL_J2229.7-0832_daily_bin1701.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/192070/ltcube_680227201_680486401_4FGL_J2229.7-0832_daily_bin1701.fits
.....................!
real 193.87
user 187.48
sys 5.79

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/192070/ft1_filtered_4FGL_J2229.7-0832_daily_bin1701.fits scfile=/scratch/kocevski/192070/ft2_4FGL_J2229.7-0832_daily_bin1701.fits outfile=/scratch/kocevski/192070/cmap_680227201_680486401_4FGL_J2229.7-0832_daily_bin1701.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/192070/ft1_filtered_4FGL_J2229.7-0832_daily_bin1701.fits scfile=/scratch/kocevski/192070/ft2_4FGL_J2229.7-0832_daily_bin1701.fits outfile=/scratch/kocevski/192070/cmap_HighResolution_680227201_680486401_4FGL_J2229.7-0832_daily_bin1701.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/192070/ft1_filtered_4FGL_J2229.7-0832_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192070/ft2_4FGL_J2229.7-0832_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192070/Model_4FGL_J2229.7-0832_daily_bin1701.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/192070/ft1_filtered_4FGL_J2229.7-0832_daily_bin1701.fits.....................!
real 24.65
user 23.30
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10476E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    87.610       1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.179       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10264E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13399E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.334       1.0000         .10000E-03   10000.    
     9 'Prefactor '    245.67       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.614       1.0000         .10000E-03   10000.    
    12 'norm      '    .14409E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .33563E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2350       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10467E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.1184       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    46.285       1.0000         .10000E-03   10000.    
    20 'norm      '    13.326       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10002E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2212       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.

 FCN=   1559.910     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2342 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    67.121        .57941E-07** at limit **
   2  Prefactor     .10000E-03    27.284       -.24529E-06** at limit **
   3  Prefactor     .10000E-03    22.067        .13216E-06** at limit **
   4  Prefactor     87.624        151.68       -.16895E-06    .43197E-04
   5  Prefactor     24.202        30.208        .48925E-07    .66483E-04
   6  Prefactor     .10000E-03    22.469        .91334E-07** at limit **
   7  Prefactor     .10000E-03    73.174       -.36924E-06** at limit **
   8  Prefactor     33.300        36.475        .26625E-06    .16162E-03
   9  Prefactor     245.44        289.06       -.60740E-06    .26926E-04
  10  Prefactor     .10000E-03    7.4995       -.11239E-05** at limit **
  11  Prefactor     23.774        292.16       -.27119E-05    .31969E-04
  12  norm          .10000E-03    8.1463       -.11589E-05** at limit **
  13  Prefactor     .10000E-03    460.38       -.39703E-05** at limit **
  14  norm          1.2328        1.9332        .57923E-06   -.81739E-03
  15  Prefactor     .10000E-03    40.795       -.15416E-06** at limit **
  16  norm          3.1189        2.4487        .16796E-06    .50782E-04
  17  Prefactor     .10000E-03    69.177       -.27282E-06** at limit **
  18  Prefactor     .10000E-03    8.1858       -.37489E-07** at limit **
  19  Prefactor     46.276        28.634        .29081E-06    .85874E-04
  20  norm          13.316        16.102        .13959E-06    .13830E-03
  21  Normalizat    .10000E-01    .26905       -.19176E-04** at limit **
  22  Prefactor     1.2213        .14943        .26100E-05    .47533E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 87.6236
  Prefactor  = 24.2017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.3002
  Prefactor  = 245.443
  Prefactor  = 0.000100001
  Prefactor  = 23.7739
  norm       = 0.000100001
  Prefactor  = 0.000100003
  norm       = 1.23277
  Prefactor  = 0.0001
  norm       = 3.11892
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.2758
  norm       = 13.3157
  Normalizat = 0.01
  Prefactor  = 1.22131
 **********
 **   18 **HESSE 
 **********

 FCN=   1559.910     FROM HESSE     STATUS=OK           328 CALLS     2670 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    67.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    22.093        .18123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     87.624        151.62        .42924E-04   -1.3833    
   5  Prefactor     24.202        30.225        .81462E-04   -1.4724    
   6  Prefactor     .10000E-03    22.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    73.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     33.300        36.617        .69405E-04   -1.4553    
   9  Prefactor     245.44        288.15        .12920E-03   -1.2562    
  10  Prefactor     .10000E-03    7.4150        .10470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     23.774        287.32        .82430E-04   -1.4732    
  12  norm          .10000E-03    8.0782        .10919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    459.93        .21342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2328        1.8439        .31611E-03   -1.5486    
  15  Prefactor     .10000E-03    40.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.1189        2.4457        .51575E-04   -1.5355    
  17  Prefactor     .10000E-03    69.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.1892        .11038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     46.276        28.653        .58935E-04   -1.4346    
  20  norm          13.316        16.141        .10972E-03   -1.4978    
  21  Normalizat    .10000E-01    .47977        .11680E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.2213        .15710        .16083E-03   -.85678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11663e-09
Minuit parameter uncertainties:
  1  2.01283e-05
  2  5.00262e-05
  3  1.93516e-05
  4  152.294
  5  30.2443
  6  2.62432e-05
  7  6.76233e-06
  8  36.6416
  9  289.845
  10  0.000166531
  11  166.301
  12  0.000196937
  13  0.00247615
  14  1.84398
  15  6.00793e-05
  16  2.44575
  17  1.62506e-05
  18  9.31842e-06
  19  28.6617
  20  16.1466
  21  5.67464e-06
  22  0.15716
Done.

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

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  1.000e-04  1.969e-04  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:  1.221e+00  1.572e-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.000e-02  5.675e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/192070/likelihoodResults_680227201_680486401_4FGL_J2229.7-0832_daily_bin1701.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): 102
logL (Free Index) = 1559.9105142
delta logL = -0.000596889964299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1559.90991698
delta logL = 3.31304590873e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5100       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2213       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=   1559.613     FROM MIGRAD    STATUS=CONVERGED    143 CALLS      301 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4321        4.2600        .11605E-01    .14027E-03
   2  alpha         5.0000        4.9853        .50000    ** at limit **
   3  Normalizat    .10000E-01    .29299        .11668E-01** at limit **
   4  Prefactor     1.2002        .13973        .16083E-03    .14791E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.43208
  alpha      = 5
  Normalizat = 0.01
  Prefactor  = 1.20019
 **********
 **   18 **HESSE 
 **********

 FCN=   1559.613     FROM HESSE     STATUS=OK            27 CALLS      328 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4321        2.1561        .69525E-04   -1.5469    
   2  alpha         5.0000        4.2714        .65217E-01    7.8540    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .10000E-01    .29313        .23336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2002        .13819        .64333E-05   -.86325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06852e-12
Minuit parameter uncertainties:
  1  2.15623
  2  4.46785e-06
  3  5.93296e-07
  4  0.138232
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192070': 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) = 1559.61309641
delta logL = 0.296820904317

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  1.432e+00  2.156e+00  1.000e-04  1.000e+04 ( 1.000e-11)
256        alpha:  5.000e+00  4.468e-06  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:  1.200e+00  1.382e-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.000e-02  5.933e-07  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/192070/cmap_HighResolution_680227201_680486401_4FGL_J2229.7-0832_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.96e-05', job_status='DONE', photon_flux_upper_limit='3.01e-07', time_completed='2022-07-26 02:23:02.867936', job_id='192070', GAL2='1.20', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1658827382.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='2.97e-01', ts2='0.61', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1701' AND source_name='4FGL J2229.7-0832' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:23:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 192070: <4FGL_J2229.7-0832_daily_bin1701> in cluster <slac> Done

Job <4FGL_J2229.7-0832_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 02:10:27 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:12:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:12:37 2022
Terminated at Tue Jul 26 02:23:03 2022
Results reported at Tue Jul 26 02:23:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2229.7-0832_daily_bin1701 337.426 -8.5447 680227201 680486401 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 :                                   388.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   626 sec.
    Turnaround time :                            756 sec.

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

