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


Performing analysis on: 4FGL_J2229.7-0832_daily_bin1241
RA = 337.426, Dec = -8.5447
tmin = 560995201, tmax = 561254401
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='314223', job_status='RUN', time_executed='2021-09-28 12:05:44.387432', time_epoch_executed='1632855944.39' WHERE source_name='4FGL J2229.7-0832' and cadence='daily' and bin_id='1241'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/314223

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/314223/ft1_4FGL_J2229.7-0832_daily_bin1241.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/314223/ft2_4FGL_J2229.7-0832_daily_bin1241.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/314223/ft1_4FGL_J2229.7-0832_daily_bin1241.fits outfile=/scratch/kocevski/314223/ft1_filteredMKT_4FGL_J2229.7-0832_daily_bin1241.fits ra=337.426 dec=-8.5447 rad=12.0 tmin=560995201.0 tmax=561254401.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.80
user 3.59
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/314223/ft1_filtered_4FGL_J2229.7-0832_daily_bin1241.fits" evtable="EVENTS" scfile=/scratch/kocevski/314223/ft2_4FGL_J2229.7-0832_daily_bin1241.fits sctable="SC_DATA" outfile=/scratch/kocevski/314223/ltcube_560995201_561254401_4FGL_J2229.7-0832_daily_bin1241.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/314223/ft2_4FGL_J2229.7-0832_daily_bin1241.fits
.....................!
real 11.56
user 11.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/314223/ft1_filtered_4FGL_J2229.7-0832_daily_bin1241.fits evtable="EVENTS" scfile=/scratch/kocevski/314223/ft2_4FGL_J2229.7-0832_daily_bin1241.fits sctable="SC_DATA" expcube=/scratch/kocevski/314223/ltcube_560995201_561254401_4FGL_J2229.7-0832_daily_bin1241.fits outfile=/scratch/kocevski/314223/expmap_560995201_561254401_4FGL_J2229.7-0832_daily_bin1241.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/314223/ltcube_560995201_561254401_4FGL_J2229.7-0832_daily_bin1241.fits
.....................!
real 190.84
user 185.42
sys 5.09

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/314223/ft1_filtered_4FGL_J2229.7-0832_daily_bin1241.fits scfile=/scratch/kocevski/314223/ft2_4FGL_J2229.7-0832_daily_bin1241.fits outfile=/scratch/kocevski/314223/cmap_560995201_561254401_4FGL_J2229.7-0832_daily_bin1241.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/314223/ft1_filtered_4FGL_J2229.7-0832_daily_bin1241.fits scfile=/scratch/kocevski/314223/ft2_4FGL_J2229.7-0832_daily_bin1241.fits outfile=/scratch/kocevski/314223/cmap_HighResolution_560995201_561254401_4FGL_J2229.7-0832_daily_bin1241.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/314223/ft1_filtered_4FGL_J2229.7-0832_daily_bin1241.fits evtable="EVENTS" scfile=/scratch/kocevski/314223/ft2_4FGL_J2229.7-0832_daily_bin1241.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/314223/Model_4FGL_J2229.7-0832_daily_bin1241.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/314223/ft1_filtered_4FGL_J2229.7-0832_daily_bin1241.fits.....................!
real 92.91
user 91.57
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4845       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.2593       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .92758E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.016       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10451E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3044       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .43299       1.0000         .10000E-03   10000.    
    13 'Prefactor '    58.898       1.0000         .10000E-03   10000.    
    14 'norm      '    1.7612       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .35765E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.9870       1.0000         .10000E-03   10000.    
    17 'Prefactor '    61.077       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.4429       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .13453E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0727       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82302       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=   10906.65     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2540 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4847        3.6652        .35679E-07    .38877E-06
   2  Prefactor     .10000E-03    2.6417       -.55486E-07** at limit **
   3  Prefactor     8.2543        9.0893        .21200E-06   -.14904E-04
   4  Prefactor     .10000E-03    3.3859       -.28591E-07** at limit **
   5  Prefactor     .10000E-03    28.381        .11935E-05** at limit **
   6  Prefactor     .10000E-03    9.6399        .56186E-07** at limit **
   7  Prefactor     16.019        9.6354        .10984E-05    .95547E-04
   8  Prefactor     .10000E-03    3.9921       -.82564E-07** at limit **
   9  Prefactor     .10000E-03    106.74        .70432E-06** at limit **
  10  Prefactor     1.3037        2.6320        .96602E-06    .12150E-03
  11  Prefactor     .10000E-03    14.369        .26734E-07** at limit **
  12  norm          .43219        1.1565        .91070E-06   -.75044E-04
  13  Prefactor     58.952        46.414        .21185E-05    .22038E-03
  14  norm          1.7614        .61456        .56936E-08   -.30204E-03
  15  Prefactor     .10006E-03    5.8715       -.21176E-06** at limit **
  16  norm          1.9889        .97818       -.78154E-07   -.30613E-03
  17  Prefactor     61.078        25.780       -.23800E-06   -.10654E-03
  18  Prefactor     5.4430        5.9365        .16558E-06   -.19935E-04
  19  Prefactor     .10000E-03    7.2447        .39505E-07** at limit **
  20  norm          .10027E-03    2.9255       -.10019E-05** at limit **
  21  Normalizat    1.0725        .14704       -.12798E-05   -.16823E-03
  22  Prefactor     .82312        .96745E-01   -.52340E-07   -.26093E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.48466
  Prefactor  = 0.0001
  Prefactor  = 8.25426
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 16.0185
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.30372
  Prefactor  = 0.0001
  norm       = 0.43219
  Prefactor  = 58.9515
  norm       = 1.7614
  Prefactor  = 0.000100056
  norm       = 1.98894
  Prefactor  = 61.0783
  Prefactor  = 5.44298
  Prefactor  = 0.0001
  norm       = 0.000100269
  Normalizat = 1.07254
  Prefactor  = 0.823117
 **********
 **   18 **HESSE 
 **********

 FCN=   10906.65     FROM HESSE     STATUS=OK           354 CALLS     2894 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4847        3.6621        .20018E-03   -1.5335    
   2  Prefactor     .10000E-03    2.7114        .33126E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.2543        9.0456        .13950E-03   -1.5133    
   4  Prefactor     .10000E-03    3.4009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    29.138        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    65.340        .62203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.019        9.6502        .50040E-03   -1.4907    
   8  Prefactor     .10000E-03    4.0445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    109.48        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.3037        2.5951        .22709E-03   -1.5480    
  11  Prefactor     .10000E-03    14.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .43219        1.1738        .16861E-02   -1.5576    
  13  Prefactor     58.952        47.629        .52277E-04   -1.4171    
  14  norm          1.7614        .61115        .46315E-04   -1.5443    
  15  Prefactor     .10006E-03    22.847        .39004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.9889        .90588        .54521E-04   -1.5426    
  17  Prefactor     61.078        25.148        .51341E-04   -1.4143    
  18  Prefactor     5.4430        5.9337        .17223E-03   -1.5241    
  19  Prefactor     .10000E-03    7.4854        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10027E-03    29.763        .32988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0725        .17566        .26662E-03   -.90638    
  22  Prefactor     .82312        .11593        .20487E-03   -.98882    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.26962e-08
Minuit parameter uncertainties:
  1  3.66235
  2  9.66592e-07
  3  9.04709
  4  1.06058e-06
  5  0.000243408
  6  0.000731266
  7  9.65116
  8  8.41957e-06
  9  0.000194086
  10  2.5953
  11  1.0481e-05
  12  1.1739
  13  47.6597
  14  0.611151
  15  0.00225723
  16  0.90589
  17  25.1526
  18  5.93437
  19  2.61337e-05
  20  0.00566088
  21  0.175759
  22  0.115966
Done.

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

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  4.322e-01  1.174e+00  1.000e-04  1.000e+04 ( 1.000e-11)
256        alpha:  2.473e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
257         beta:  9.910e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  3.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  8.231e-01  1.160e-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.073e+00  1.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 337.426 -8.545
Photon Flux Upper Limit: 5.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/314223/likelihoodResults_560995201_561254401_4FGL_J2229.7-0832_daily_bin1241.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) = 10906.2498406
delta logL = 0.39583495678

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10906.2460039
delta logL = 0.399671589992

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38809       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3750       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0804       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81750       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10906.25     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      226 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38793        .90551        .22264E-01    .10715E-02
   2  alpha         1.3736        .62838        .48299       -.72371E-04
   3  Normalizat    1.0798        .13952        .60101E-01    .36991E-04
   4  Prefactor     .81790        .95748E-01    .43945E-01    .28717E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.387929
  alpha      = 1.37365
  Normalizat = 1.07985
  Prefactor  = 0.817901
 **********
 **   18 **HESSE 
 **********

 FCN=   10906.25     FROM HESSE     STATUS=OK            35 CALLS      261 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38793        .74033        .12208E-02   -1.5583    
   2  alpha         1.3736        .89626        .24045E-01   -.46737    
   3  Normalizat    1.0798        .16602        .26581E-03   -.90402    
   4  Prefactor     .81790        .11395        .20539E-03   -.99072    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75326e-11
Minuit parameter uncertainties:
  1  0.740344
  2  0.922289
  3  0.166104
  4  0.113986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/314223': 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) = 10906.245996
delta logL = 0.399679563996

Extracting fit parameters...

4FGL J2229.7-0832
   Spectrum: LogParabola
255         norm:  3.879e-01  7.403e-01  1.000e-04  1.000e+04 ( 1.000e-11)
256        alpha:  1.374e+00  9.223e-01  0.000e+00  5.000e+00 ( 1.000e+00)
257         beta:  9.910e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  3.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  8.179e-01  1.140e-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.080e+00  1.661e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
Ra Dec: 337.426 -8.545

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/314223/cmap_HighResolution_560995201_561254401_4FGL_J2229.7-0832_daily_bin1241.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-05', job_status='DONE', photon_flux_upper_limit='5.00e-08', time_completed='2021-09-28 12:19:55.964416', job_id='314223', GAL2='0.82', fit_tolerance='1e-08', EG2='1.08', EG='1.07', time_epoch_completed='1632856795.96', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='4.00e-01', ts2='0.98', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1241' AND source_name='4FGL J2229.7-0832' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 12:19:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 314223: <4FGL_J2229.7-0832_daily_bin1241> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2229.7-0832_daily_bin1241 337.426 -8.5447 560995201 561254401 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 :                                   850.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            869 sec.

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

