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


Performing analysis on: 4FGL_J2229.7-0832_daily_bin1006
RA = 337.426, Dec = -8.5447
tmin = 500083201, tmax = 500342401
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='312904', job_status='RUN', time_executed='2021-09-28 12:04:53.671393', time_epoch_executed='1632855893.67' WHERE source_name='4FGL J2229.7-0832' and cadence='daily' and bin_id='1006'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/312904

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/312904/ft1_4FGL_J2229.7-0832_daily_bin1006.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/312904/ft2_4FGL_J2229.7-0832_daily_bin1006.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/312904/ft1_4FGL_J2229.7-0832_daily_bin1006.fits outfile=/scratch/kocevski/312904/ft1_filteredMKT_4FGL_J2229.7-0832_daily_bin1006.fits ra=337.426 dec=-8.5447 rad=12.0 tmin=500083201.0 tmax=500342401.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 5.74
user 5.48
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/312904/ft1_filtered_4FGL_J2229.7-0832_daily_bin1006.fits" evtable="EVENTS" scfile=/scratch/kocevski/312904/ft2_4FGL_J2229.7-0832_daily_bin1006.fits sctable="SC_DATA" outfile=/scratch/kocevski/312904/ltcube_500083201_500342401_4FGL_J2229.7-0832_daily_bin1006.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/312904/ft2_4FGL_J2229.7-0832_daily_bin1006.fits
.....................!
real 12.47
user 12.12
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/312904/ft1_filtered_4FGL_J2229.7-0832_daily_bin1006.fits evtable="EVENTS" scfile=/scratch/kocevski/312904/ft2_4FGL_J2229.7-0832_daily_bin1006.fits sctable="SC_DATA" expcube=/scratch/kocevski/312904/ltcube_500083201_500342401_4FGL_J2229.7-0832_daily_bin1006.fits outfile=/scratch/kocevski/312904/expmap_500083201_500342401_4FGL_J2229.7-0832_daily_bin1006.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/312904/ltcube_500083201_500342401_4FGL_J2229.7-0832_daily_bin1006.fits
.....................!
real 190.82
user 185.25
sys 5.05

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/312904/ft1_filtered_4FGL_J2229.7-0832_daily_bin1006.fits scfile=/scratch/kocevski/312904/ft2_4FGL_J2229.7-0832_daily_bin1006.fits outfile=/scratch/kocevski/312904/cmap_500083201_500342401_4FGL_J2229.7-0832_daily_bin1006.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.55
user 0.38
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/312904/ft1_filtered_4FGL_J2229.7-0832_daily_bin1006.fits evtable="EVENTS" scfile=/scratch/kocevski/312904/ft2_4FGL_J2229.7-0832_daily_bin1006.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/312904/Model_4FGL_J2229.7-0832_daily_bin1006.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/312904/ft1_filtered_4FGL_J2229.7-0832_daily_bin1006.fits.....................!
real 62.39
user 60.70
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.088       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    58.608       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15971E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5948       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .20538E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    50.078       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.3550       1.0000         .10000E-03   10000.    
    11 'Prefactor '    59.956       1.0000         .10000E-03   10000.    
    12 'norm      '    2.4561       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .75925       1.0000         .10000E-03   10000.    
    15 'Prefactor '    115.08       1.0000         .10000E-03   10000.    
    16 'norm      '    4.2937       1.0000         .10000E-03   10000.    
    17 'Prefactor '    118.82       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11871E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.680       1.0000         .10000E-03   10000.    
    20 'norm      '    44.201       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3278       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98576       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=   5721.441     FROM MIGRAD    STATUS=CONVERGED    824 CALLS     3255 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    14.269        .36285E-03** at limit **
   2  Prefactor     25.081        11.777        .79976E-04   -.84580E-04
   3  Prefactor     .10000E-03    4.1222        .14990E-02** at limit **
   4  Prefactor     .10000E-03    12.212        .18142E-02** at limit **
   5  Prefactor     58.599        28.006        .52405E-04   -.27729E-03
   6  Prefactor     .10000E-03    61.785        .18142E-02** at limit **
   7  Prefactor     4.5881        16.627        .18778E-03    .13077E-04
   8  Prefactor     .10000E-03    20.169        .70917E-01** at limit **
   9  Prefactor     50.064        79.133        .56670E-04    .16049E-05
  10  Prefactor     7.3531        7.9068        .73946E-03   -.83547E-03
  11  Prefactor     59.937        61.876        .51816E-04    .25188E-04
  12  norm          2.4551        4.9917        .11260E-02    .19231E-03
  13  Prefactor     .10000E-03    63.582        .18142E-02** at limit **
  14  norm          .75894        1.0229        .98043E-03   -.21318E-02
  15  Prefactor     115.16        90.345        .37504E-04    .13198E-03
  16  norm          4.2875        6.4028        .10711E-03    .62326E-03
  17  Prefactor     118.67        92.894        .18458E-03    .73603E-04
  18  Prefactor     .10000E-03    22.601        .18142E-02** at limit **
  19  Prefactor     12.665        34.144        .11249E-03    .44972E-04
  20  norm          44.196        27.205        .60302E-04   -.13008E-04
  21  Normalizat    1.3285        .36314        .35086E-03   -.28647E-03
  22  Prefactor     .98537        .20303        .24617E-03   -.34807E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 25.0808
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 58.5991
  Prefactor  = 0.0001
  Prefactor  = 4.58813
  Prefactor  = 0.0001
  Prefactor  = 50.0642
  Prefactor  = 7.35309
  Prefactor  = 59.9366
  norm       = 2.45509
  Prefactor  = 0.0001
  norm       = 0.758939
  Prefactor  = 115.159
  norm       = 4.28745
  Prefactor  = 118.668
  Prefactor  = 0.000100001
  Prefactor  = 12.6655
  norm       = 44.1965
  Normalizat = 1.32853
  Prefactor  = 0.985369
 **********
 **   18 **HESSE 
 **********

 FCN=   5721.441     FROM HESSE     STATUS=OK           332 CALLS     3587 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.270        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     25.081        11.777        .31990E-05   -1.4706    
   3  Prefactor     .10000E-03    4.1223        .29980E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.213        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     58.599        28.005        .10481E-04   -1.4175    
   6  Prefactor     .10000E-03    61.816        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.5881        16.624        .75112E-05   -1.5280    
   8  Prefactor     .10000E-03    16.852        .79575E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     50.064        79.118        .11334E-04   -1.4292    
  10  Prefactor     7.3531        7.8887        .29578E-04   -1.5166    
  11  Prefactor     59.937        61.872        .10363E-04   -1.4158    
  12  norm          2.4551        4.9856        .45039E-04   -1.5395    
  13  Prefactor     .10000E-03    63.583        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .75894        1.0221        .39217E-04   -1.5534    
  15  Prefactor     115.16        90.351        .75009E-05   -1.3558    
  16  norm          4.2875        6.4027        .42843E-05   -1.5294    
  17  Prefactor     118.67        92.904        .73832E-05   -1.3525    
  18  Prefactor     .10000E-03    22.605        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.665        34.153        .44997E-05   -1.4996    
  20  norm          44.196        27.201        .24121E-05   -1.4377    
  21  Normalizat    1.3285        .36344        .70171E-04   -.82719    
  22  Prefactor     .98537        .20321        .49234E-04   -.93219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73098e-09
Minuit parameter uncertainties:
  1  6.40038e-06
  2  11.778
  3  2.68904e-06
  4  1.40284e-05
  5  28.0111
  6  0.000225974
  7  16.6406
  8  7.22753e-05
  9  79.2843
  10  7.88985
  11  61.9386
  12  4.98647
  13  8.71527e-05
  14  1.02213
  15  90.4595
  16  6.40374
  17  93.0179
  18  0.00026318
  19  34.2054
  20  27.2088
  21  0.364147
  22  0.203367
Done.

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

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  2.455e+00  4.986e+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:  9.854e-01  2.034e-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.329e+00  3.641e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/312904/likelihoodResults_500083201_500342401_4FGL_J2229.7-0832_daily_bin1006.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) = 5721.4072718
delta logL = 0.034012467112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5721.40598085
delta logL = 0.0353034180862

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5843       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9400       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3147       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99134       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=   5721.406     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      250 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5838        5.0287        .20628E-03   -.11684E-04
   2  alpha         2.9404        1.7699        .47073E-01   -.73588E-06
   3  Normalizat    1.3148        .32891        .35237E-03   -.26198E-04
   4  Prefactor     .99132        .20134        .24551E-03    .35841E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.58379
  alpha      = 2.94036
  Normalizat = 1.31476
  Prefactor  = 0.991323
 **********
 **   18 **HESSE 
 **********

 FCN=   5721.406     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5838        4.8431        .82513E-05   -1.5386    
   2  alpha         2.9404        1.7194        .18829E-02    .17707    
   3  Normalizat    1.3148        .32949        .14095E-04   -.83127    
   4  Prefactor     .99132        .20146        .98204E-05   -.93019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30623e-11
Minuit parameter uncertainties:
  1  4.84381
  2  1.90367
  3  0.330018
  4  0.20161
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/312904': 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) = 5721.40598081
delta logL = 0.0353034506461

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  2.584e+00  4.844e+00  1.000e-04  1.000e+04 ( 1.000e-11)
256        alpha:  2.940e+00  1.904e+00  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:  9.913e-01  2.016e-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.315e+00  3.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
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/312904/cmap_HighResolution_500083201_500342401_4FGL_J2229.7-0832_daily_bin1006.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-05', job_status='DONE', photon_flux_upper_limit='1.76e-07', time_completed='2021-09-28 12:15:38.775041', job_id='312904', GAL2='0.99', fit_tolerance='1e-08', EG2='1.31', EG='1.33', time_epoch_completed='1632856538.78', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.53e-02', ts2='0.38', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1006' AND source_name='4FGL J2229.7-0832' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 12:15:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 312904: <4FGL_J2229.7-0832_daily_bin1006> in cluster <slac> Done

Job <4FGL_J2229.7-0832_daily_bin1006> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Sep 28 12:00:53 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 12:00:54 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:00:54 2021
Terminated at Tue Sep 28 12:15:39 2021
Results reported at Tue Sep 28 12:15:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2229.7-0832_daily_bin1006 337.426 -8.5447 500083201 500342401 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 :                                   643.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            886 sec.

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

