/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 216 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 = 7527
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2229.7-0832_daily_bin1246
RA = 337.426, Dec = -8.5447
tmin = 562291201, tmax = 562550401
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='314231', job_status='RUN', time_executed='2021-09-28 12:09:14.353866', time_epoch_executed='1632856154.35' WHERE source_name='4FGL J2229.7-0832' and cadence='daily' and bin_id='1246'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/314231

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/314231/ft1_4FGL_J2229.7-0832_daily_bin1246.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/314231/ft2_4FGL_J2229.7-0832_daily_bin1246.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/314231/ft1_4FGL_J2229.7-0832_daily_bin1246.fits outfile=/scratch/kocevski/314231/ft1_filteredMKT_4FGL_J2229.7-0832_daily_bin1246.fits ra=337.426 dec=-8.5447 rad=12.0 tmin=562291201.0 tmax=562550401.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.55
user 3.34
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/314231/ft2_4FGL_J2229.7-0832_daily_bin1246.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/314231/ft1_filteredMKT_4FGL_J2229.7-0832_daily_bin1246.fits evtable="EVENTS" outfile="/scratch/kocevski/314231/ft1_filtered_4FGL_J2229.7-0832_daily_bin1246.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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/314231/ft1_filtered_4FGL_J2229.7-0832_daily_bin1246.fits" evtable="EVENTS" scfile=/scratch/kocevski/314231/ft2_4FGL_J2229.7-0832_daily_bin1246.fits sctable="SC_DATA" outfile=/scratch/kocevski/314231/ltcube_562291201_562550401_4FGL_J2229.7-0832_daily_bin1246.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/314231/ft2_4FGL_J2229.7-0832_daily_bin1246.fits
.....................!
real 13.06
user 12.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/314231/ft1_filtered_4FGL_J2229.7-0832_daily_bin1246.fits evtable="EVENTS" scfile=/scratch/kocevski/314231/ft2_4FGL_J2229.7-0832_daily_bin1246.fits sctable="SC_DATA" expcube=/scratch/kocevski/314231/ltcube_562291201_562550401_4FGL_J2229.7-0832_daily_bin1246.fits outfile=/scratch/kocevski/314231/expmap_562291201_562550401_4FGL_J2229.7-0832_daily_bin1246.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/314231/ltcube_562291201_562550401_4FGL_J2229.7-0832_daily_bin1246.fits
.....................!
real 189.25
user 184.83
sys 4.11

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/314231/ft1_filtered_4FGL_J2229.7-0832_daily_bin1246.fits scfile=/scratch/kocevski/314231/ft2_4FGL_J2229.7-0832_daily_bin1246.fits outfile=/scratch/kocevski/314231/cmap_562291201_562550401_4FGL_J2229.7-0832_daily_bin1246.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/314231/ft1_filtered_4FGL_J2229.7-0832_daily_bin1246.fits scfile=/scratch/kocevski/314231/ft2_4FGL_J2229.7-0832_daily_bin1246.fits outfile=/scratch/kocevski/314231/cmap_HighResolution_562291201_562550401_4FGL_J2229.7-0832_daily_bin1246.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.41
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/314231/ft1_filtered_4FGL_J2229.7-0832_daily_bin1246.fits evtable="EVENTS" scfile=/scratch/kocevski/314231/ft2_4FGL_J2229.7-0832_daily_bin1246.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/314231/Model_4FGL_J2229.7-0832_daily_bin1246.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/314231/ft1_filtered_4FGL_J2229.7-0832_daily_bin1246.fits..............!
real 15.10
user 13.84
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/314231/ft1_filtered_4FGL_J2229.7-0832_daily_bin1246.fits', '/scratch/kocevski/314231/ft2_4FGL_J2229.7-0832_daily_bin1246.fits', expMap='/scratch/kocevski/314231/expmap_562291201_562550401_4FGL_J2229.7-0832_daily_bin1246.fits', expCube='/scratch/kocevski/314231/ltcube_562291201_562550401_4FGL_J2229.7-0832_daily_bin1246.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/314231/Model_4FGL_J2229.7-0832_daily_bin1246.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/314231/ft1_filtered_4FGL_J2229.7-0832_daily_bin1246.fits
Spacecraft file(s): /scratch/kocevski/314231/ft2_4FGL_J2229.7-0832_daily_bin1246.fits
Exposure map: /scratch/kocevski/314231/expmap_562291201_562550401_4FGL_J2229.7-0832_daily_bin1246.fits
Exposure cube: /scratch/kocevski/314231/ltcube_562291201_562550401_4FGL_J2229.7-0832_daily_bin1246.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/314231/Model_4FGL_J2229.7-0832_daily_bin1246.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 199.232537431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 197.502473789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8855       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2023       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .41708E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.7985       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15685E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .81470E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1838       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19390E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.2391       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10298E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.4227       1.0000         .10000E-03   10000.    
    12 'norm      '    .25976       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.8661       1.0000         .10000E-03   10000.    
    14 'norm      '    1.8541       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8935       1.0000         .10000E-03   10000.    
    16 'norm      '    .64542E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.9985       1.0000         .10000E-03   10000.    
    18 'Prefactor '    149.19       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.2894       1.0000         .10000E-03   10000.    
    20 'norm      '    .54053E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    .63179       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   197.4874     FROM MIGRAD    STATUS=CONVERGED    129 CALLS      240 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8855        1.0404         .0000         .0000    
   2  Prefactor     3.2023        1.0127         .0000         .0000    
   3  Prefactor     .10000E-03    .21296        .19143E-04** at limit **
   4  Prefactor     6.7985        1.0027         .0000         .0000    
   5  Prefactor     .10000E-03    .26100       -.18693E-05** at limit **
   6  Prefactor     .10000E-03    .21265        .34498E-05** at limit **
   7  Prefactor     3.1838        1.0129         .0000         .0000    
   8  Prefactor     .10000E-03    .20792        .22910E-05** at limit **
   9  Prefactor     6.7461        .90661       -.29567E-05    .66224E-02
  10  Prefactor     .10000E-03    .20571       -.13191E-06** at limit **
  11  Prefactor     6.4227        1.0031         .0000         .0000    
  12  norm          .10000E-03    .26251        .52324E-06** at limit **
  13  Prefactor     .10000E-03    .65812E-01    .91358E-05** at limit **
  14  norm          1.8541        1.0420         .0000         .0000    
  15  Prefactor     .39318E-03    .51659E-01   -.17651E-04** at limit **
  16  norm          .10000E-03    .27627       -.37195E-05** at limit **
  17  Prefactor     .59466E-03    .35932E-01   -.25397E-04** at limit **
  18  Prefactor     145.62        .98815       -.13219E-05   -.75873E-02
  19  Prefactor     2.2894        1.0261         .0000         .0000    
  20  norm          .10000E-03    .27874        .18229E-05** at limit **
  21  Normalizat    .10000E-01    .25505       -.23434E-04** at limit **
  22  Prefactor     .63205        .98077       -.36502E-05    .15586E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.88546
  Prefactor  = 3.20229
  Prefactor  = 0.0001
  Prefactor  = 6.79846
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.18385
  Prefactor  = 0.0001
  Prefactor  = 6.7461
  Prefactor  = 0.0001
  Prefactor  = 6.42266
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.8541
  Prefactor  = 0.000393177
  norm       = 0.0001
  Prefactor  = 0.000594655
  Prefactor  = 145.616
  Prefactor  = 2.28936
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.632053
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   197.4874     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          570.90        568.87         .0000       -1.5433    
   2  Prefactor     3.2023        1.0127         .0000       -1.5350    
   3  Prefactor     .10000E-03    .21296        .19143E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.7985        1.0027         .0000       -1.5186    
   5  Prefactor     .10000E-03    .26100       -.18693E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .21265        .34498E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.1838        1.0129         .0000       -1.5351    
   8  Prefactor     .10000E-03    .20792        .22910E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.7461        .90661       -.29567E-05   -1.5188    
  10  Prefactor     .10000E-03    .20571       -.13191E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.4227        1.0031         .0000       -1.5201    
  12  norm          .10000E-03    .26251        .52324E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    .65812E-01    .91358E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.8541        1.0420         .0000       -1.5436    
  15  Prefactor     .39318E-03    .51659E-01   -.17651E-04   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .27627       -.37195E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .59466E-03    .35932E-01   -.25397E-04   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     145.62        .98815       -.13219E-05   -1.3289    
  19  Prefactor     2.2894        1.0261         .0000       -1.5405    
  20  norm          .10000E-03    .27874        .18229E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .10000E-01    .25505       -.23434E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .63205        .98077       -.36502E-05   -1.0625    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.56894e-10
Minuit parameter uncertainties:
  1  1.04038
  2  1.01274
  3  1.53647e-06
  4  1.00273
  5  4.59434e-07
  6  8.3606e-07
  7  1.01289
  8  1.22917e-06
  9  0.906612
  10  3.81232e-07
  11  1.00306
  12  2.61811e-07
  13  1.05174e-05
  14  1.04198
  15  0.0077834
  16  1.53397e-06
  17  0.00843182
  18  0.98815
  19  1.0261
  20  5.59737e-07
  21  1.33244e-07
  22  1.00948
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 197.487385145

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  1.000e-04  2.618e-07  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:  6.321e-01  1.009e+00  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  1.332e-07  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.52e-06 ph cm-2 s-1
Energy Flux Upper Limit: 9.30e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/314231/likelihoodResults_562291201_562550401_4FGL_J2229.7-0832_daily_bin1246.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) = 197.487482819
delta logL = -9.76733463176e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 197.487385656
delta logL = -5.11048313001e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10225E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8427       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63205       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=   197.4874     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      270 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6797.7        .79472E-02** at limit **
   2  alpha         2.5769        3.6953        .20000       -.73381E-08
   3  Normalizat    .10000E-01    .48555E-01    .41840E-03** at limit **
   4  Prefactor     .63205        .90196E-01    .11272E-03    .13521E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  alpha      = 2.57688
  Normalizat = 0.01
  Prefactor  = 0.632053
 **********
 **   18 **HESSE 
 **********

 FCN=   197.4874     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    48.617        .95878E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5769        3.4528        .80000E-02    .30757E-01
   3  Normalizat    .10000E-01    .23626        .83679E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .63205        .19941        .45090E-05   -1.0625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.89572e-11
Minuit parameter uncertainties:
  1  0.000719417
  2  1258.17
  3  1.97244e-07
  4  0.199635
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/314231': 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) = 197.487385141
delta logL = 3.738051646e-09

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  1.000e-04  7.194e-04  1.000e-04  1.000e+04 ( 1.000e-11)
256        alpha:  2.577e+00  1.258e+03  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:  6.321e-01  1.996e-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  1.972e-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/314231/cmap_HighResolution_562291201_562550401_4FGL_J2229.7-0832_daily_bin1246.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.30e-04', job_status='DONE', photon_flux_upper_limit='3.52e-06', time_completed='2021-09-28 12:14:30.213177', job_id='314231', GAL2='0.63', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632856470.21', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.63', dlogl='3.74e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1246' AND source_name='4FGL J2229.7-0832' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 12:14:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 314231: <4FGL_J2229.7-0832_daily_bin1246> in cluster <slac> Done

Job <4FGL_J2229.7-0832_daily_bin1246> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 12:05:28 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 12:05:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 12:05:30 2021
Terminated at Tue Sep 28 12:14:31 2021
Results reported at Tue Sep 28 12:14:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2229.7-0832_daily_bin1246 337.426 -8.5447 562291201 562550401 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 :                                   315.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             399.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   540 sec.
    Turnaround time :                            543 sec.

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

