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


Performing analysis on: 4FGL_J2229.7-0832_daily_bin1211
RA = 337.426, Dec = -8.5447
tmin = 553219201, tmax = 553478401
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='314168', job_status='RUN', time_executed='2021-09-28 12:09:17.405174', time_epoch_executed='1632856157.41' WHERE source_name='4FGL J2229.7-0832' and cadence='daily' and bin_id='1211'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/314168

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/314168/ft1_4FGL_J2229.7-0832_daily_bin1211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/314168/ft2_4FGL_J2229.7-0832_daily_bin1211.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/314168/ft1_4FGL_J2229.7-0832_daily_bin1211.fits outfile=/scratch/kocevski/314168/ft1_filteredMKT_4FGL_J2229.7-0832_daily_bin1211.fits ra=337.426 dec=-8.5447 rad=12.0 tmin=553219201.0 tmax=553478401.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.73
user 2.52
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/314168/ft1_filtered_4FGL_J2229.7-0832_daily_bin1211.fits" evtable="EVENTS" scfile=/scratch/kocevski/314168/ft2_4FGL_J2229.7-0832_daily_bin1211.fits sctable="SC_DATA" outfile=/scratch/kocevski/314168/ltcube_553219201_553478401_4FGL_J2229.7-0832_daily_bin1211.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/314168/ft2_4FGL_J2229.7-0832_daily_bin1211.fits
.....................!
real 12.85
user 12.50
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/314168/ft1_filtered_4FGL_J2229.7-0832_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/314168/ft2_4FGL_J2229.7-0832_daily_bin1211.fits sctable="SC_DATA" expcube=/scratch/kocevski/314168/ltcube_553219201_553478401_4FGL_J2229.7-0832_daily_bin1211.fits outfile=/scratch/kocevski/314168/expmap_553219201_553478401_4FGL_J2229.7-0832_daily_bin1211.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/314168/ltcube_553219201_553478401_4FGL_J2229.7-0832_daily_bin1211.fits
.....................!
real 190.10
user 184.84
sys 4.75

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/314168/ft1_filtered_4FGL_J2229.7-0832_daily_bin1211.fits scfile=/scratch/kocevski/314168/ft2_4FGL_J2229.7-0832_daily_bin1211.fits outfile=/scratch/kocevski/314168/cmap_553219201_553478401_4FGL_J2229.7-0832_daily_bin1211.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/314168/ft1_filtered_4FGL_J2229.7-0832_daily_bin1211.fits scfile=/scratch/kocevski/314168/ft2_4FGL_J2229.7-0832_daily_bin1211.fits outfile=/scratch/kocevski/314168/cmap_HighResolution_553219201_553478401_4FGL_J2229.7-0832_daily_bin1211.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/314168/ft1_filtered_4FGL_J2229.7-0832_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/314168/ft2_4FGL_J2229.7-0832_daily_bin1211.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/314168/Model_4FGL_J2229.7-0832_daily_bin1211.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/314168/ft1_filtered_4FGL_J2229.7-0832_daily_bin1211.fits.....................!
real 41.38
user 40.10
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18964E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .22353E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    56.646       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.104       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .93329       1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.919       1.0000         .10000E-03   10000.    
    12 'norm      '    15.768       1.0000         .10000E-03   10000.    
    13 'Prefactor '    68.800       1.0000         .10000E-03   10000.    
    14 'norm      '    2.0866       1.0000         .10000E-03   10000.    
    15 'Prefactor '    56.946       1.0000         .10000E-03   10000.    
    16 'norm      '    .13953E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    134.08       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.060       1.0000         .10000E-03   10000.    
    20 'norm      '    14.215       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .32287       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.4014       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=   3757.464     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2520 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10007E-03    86.960        .26347E-05** at limit **
   2  Prefactor     .10015E-03    72.415       -.33891E-05** at limit **
   3  Prefactor     .10000E-03    8.4312       -.19934E-06** at limit **
   4  Prefactor     56.654        50.868        .11864E-05    .14398E-04
   5  Prefactor     .10000E-03    9.0601        .54579E-07** at limit **
   6  Prefactor     .10000E-03    10.721       -.10423E-06** at limit **
   7  Prefactor     11.108        17.097        .37850E-06    .73575E-05
   8  Prefactor     .10000E-03    12.641        .94342E-07** at limit **
   9  Prefactor     .10000E-03    68.784        .10834E-06** at limit **
  10  Prefactor     .91013        6.4732        .27653E-06    .15174E-03
  11  Prefactor     39.913        82.585        .11748E-05   -.28961E-05
  12  norm          15.763        8.5191       -.99258E-06    .32535E-04
  13  Prefactor     68.704        135.39        .42180E-05   -.21080E-05
  14  norm          2.0869        1.5644       -.71068E-08   -.10605E-04
  15  Prefactor     56.990        33.929        .45475E-06    .12940E-04
  16  norm          .10000E-03    1.6798       -.24199E-06** at limit **
  17  Prefactor     134.09        69.319        .58575E-06    .43424E-05
  18  Prefactor     .10000E-03    5.4718        .38240E-07** at limit **
  19  Prefactor     16.062        16.749       -.17445E-06   -.43852E-05
  20  norm          14.216        22.060        .34658E-07   -.13233E-04
  21  Normalizat    .32312        .43719        .91695E-06    .43289E-04
  22  Prefactor     1.4012        .26357       -.12712E-05    .64827E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100068
  Prefactor  = 0.000100152
  Prefactor  = 0.0001
  Prefactor  = 56.6545
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.1082
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.91013
  Prefactor  = 39.9127
  norm       = 15.7634
  Prefactor  = 68.704
  norm       = 2.08688
  Prefactor  = 56.9898
  norm       = 0.0001
  Prefactor  = 134.094
  Prefactor  = 0.0001
  Prefactor  = 16.0618
  norm       = 14.2156
  Normalizat = 0.323115
  Prefactor  = 1.40121
 **********
 **   18 **HESSE 
 **********

 FCN=   3757.464     FROM HESSE     STATUS=OK           354 CALLS     2874 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10007E-03    130.94        .50863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10015E-03    152.90        .47016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.4331        .17382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     56.654        49.987        .53300E-04   -1.4201    
   5  Prefactor     .10000E-03    9.0684        .18022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.108        17.021        .12023E-03   -1.5041    
   8  Prefactor     .10000E-03    12.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    68.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .91013        19.494        .26390E-02   -1.5517    
  11  Prefactor     39.913        82.088        .63441E-04   -1.4444    
  12  norm          15.763        8.6237        .10086E-03   -1.4914    
  13  Prefactor     68.704        135.48        .24196E-03   -1.4048    
  14  norm          2.0869        1.5514        .62177E-04   -1.5419    
  15  Prefactor     56.990        34.322        .53160E-04   -1.4197    
  16  norm          .10000E-03    5.8352        .13367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     134.09        69.268        .34778E-04   -1.3387    
  18  Prefactor     .10000E-03    5.4763        .14004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     16.062        16.663        .99941E-04   -1.4906    
  20  norm          14.216        21.449        .10623E-03   -1.4954    
  21  Normalizat    .32312        .36226        .55958E-03   -1.2148    
  22  Prefactor     1.4012        .23694        .19434E-03   -.80345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72213e-09
Minuit parameter uncertainties:
  1  0.00600042
  2  0.00967917
  3  3.93087e-06
  4  50.0244
  5  3.45945e-06
  6  4.43639e-06
  7  17.0282
  8  1.64708e-05
  9  5.73742e-05
  10  8.42695
  11  82.3219
  12  8.62441
  13  136.099
  14  1.55141
  15  34.3343
  16  1.11666e-05
  17  69.3101
  18  9.70459e-07
  19  16.6679
  20  21.4609
  21  0.364922
  22  0.237123
Done.

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

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  1.576e+01  8.624e+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:  1.401e+00  2.371e-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:  3.231e-01  3.649e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.41
Ra Dec: 337.426 -8.545
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 1.93e-07 +/- 1.06e-07
Energy Flux (Fixed Index): 5.11e-05 +/- 2.80e-05

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) = 3757.29298651
delta logL = 0.170581223616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3757.2789341
delta logL = 0.184633626649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.482       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8825       1.0000          .0000       5.0000    
     3 'Normalizat'    .26303       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4308       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=   3757.279     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      263 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.483        8.3388        .10179E-03   -.15420E-02
   2  alpha         2.8823        .73112        .14004E-01   -.12042E-03
   3  Normalizat    .26325        .35395        .61639E-03    .81614E-05
   4  Prefactor     1.4307        .24165        .19259E-03    .10077E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.4827
  alpha      = 2.8823
  Normalizat = 0.263252
  Prefactor  = 1.43066
 **********
 **   18 **HESSE 
 **********

 FCN=   3757.279     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.483        8.1975        .20358E-04   -1.4921    
   2  alpha         2.8823        .71870        .56014E-03    .15352    
   3  Normalizat    .26325        .35353        .24656E-04   -1.2510    
   4  Prefactor     1.4307        .24119        .38517E-04   -.79501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35984e-09
Minuit parameter uncertainties:
  1  8.1981
  2  0.729243
  3  0.356592
  4  0.24138
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/314168': 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) = 3757.27893388
delta logL = 0.184633850411

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  1.548e+01  8.198e+00  1.000e-04  1.000e+04 ( 1.000e-11)
256        alpha:  2.882e+00  7.292e-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:  1.431e+00  2.414e-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:  2.633e-01  3.566e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.93
Ra Dec: 337.426 -8.545
Photon Index (Free Index): 2.88 +/- 0.73
Photon Flux (Free Index): 2.42e-07 +/- 1.33e-07
Energy Flux (Free Index): 5.03e-05 +/- 2.46e-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/314168/cmap_HighResolution_553219201_553478401_4FGL_J2229.7-0832_daily_bin1211.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.93e-07', energy_flux2='5.03e-05', photon_flux_error='1.06e-07', dlogl='1.85e-01', energy_flux='5.11e-05', photon_flux2='2.42e-07', job_status='DONE', time_completed='2021-09-28 12:16:55.041272', photon_index_error2='0.73', photon_index2='2.88', ts='6.41', fit_tolerance='1e-08', GAL='1.40', photon_index_error='0.00', energy_flux_error2='2.46e-05', EG='0.32', time_epoch_completed='1632856615.04', return_code='0', job_id='314168', GAL2='1.43', EG2='0.26', return_code2='0', energy_flux_error='2.80e-05', photon_flux_error2='1.33e-07', ts2='6.93', photon_index='2.47' WHERE bin_id='1211' AND source_name='4FGL J2229.7-0832' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 12:16:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 314168: <4FGL_J2229.7-0832_daily_bin1211> in cluster <slac> Done

Job <4FGL_J2229.7-0832_daily_bin1211> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 12:05:23 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 12:05:25 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:25 2021
Terminated at Tue Sep 28 12:16:55 2021
Results reported at Tue Sep 28 12:16:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2229.7-0832_daily_bin1211 337.426 -8.5447 553219201 553478401 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 :                                   457.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            692 sec.

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

