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


Performing analysis on: 4FGL_J0229.5-3644_daily_bin1396
RA = 37.3877, Dec = -36.7388
tmin = 601171201, tmax = 601430401
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='472538', job_status='RUN', time_executed='2021-08-16 02:23:07.863319', time_epoch_executed='1629105787.86' WHERE source_name='4FGL J0229.5-3644' and cadence='daily' and bin_id='1396'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/472538

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/472538/ft1_4FGL_J0229.5-3644_daily_bin1396.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/472538/ft2_4FGL_J0229.5-3644_daily_bin1396.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/472538/ft1_4FGL_J0229.5-3644_daily_bin1396.fits outfile=/scratch/kocevski/472538/ft1_filteredMKT_4FGL_J0229.5-3644_daily_bin1396.fits ra=37.3877 dec=-36.7388 rad=12.0 tmin=601171201.0 tmax=601430401.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 4.43
user 3.56
sys 0.82

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/472538/ft2_4FGL_J0229.5-3644_daily_bin1396.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/472538/ft2_4FGL_J0229.5-3644_daily_bin1396.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/472538/ft1_filteredMKT_4FGL_J0229.5-3644_daily_bin1396.fits evtable="EVENTS" outfile="/scratch/kocevski/472538/ft1_filtered_4FGL_J0229.5-3644_daily_bin1396.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 1.19
user 0.34
sys 0.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/472538/ft1_filtered_4FGL_J0229.5-3644_daily_bin1396.fits" evtable="EVENTS" scfile=/scratch/kocevski/472538/ft2_4FGL_J0229.5-3644_daily_bin1396.fits sctable="SC_DATA" outfile=/scratch/kocevski/472538/ltcube_601171201_601430401_4FGL_J0229.5-3644_daily_bin1396.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/472538/ft2_4FGL_J0229.5-3644_daily_bin1396.fits
.....................!
real 14.73
user 13.58
sys 1.06

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/472538/ft1_filtered_4FGL_J0229.5-3644_daily_bin1396.fits evtable="EVENTS" scfile=/scratch/kocevski/472538/ft2_4FGL_J0229.5-3644_daily_bin1396.fits sctable="SC_DATA" expcube=/scratch/kocevski/472538/ltcube_601171201_601430401_4FGL_J0229.5-3644_daily_bin1396.fits outfile=/scratch/kocevski/472538/expmap_601171201_601430401_4FGL_J0229.5-3644_daily_bin1396.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/472538/ltcube_601171201_601430401_4FGL_J0229.5-3644_daily_bin1396.fits
.....................!
real 192.27
user 186.09
sys 5.43

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 178 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0229.5-3644 @ 37.3877 -36.7388

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/472538/ft1_filtered_4FGL_J0229.5-3644_daily_bin1396.fits scfile=/scratch/kocevski/472538/ft2_4FGL_J0229.5-3644_daily_bin1396.fits outfile=/scratch/kocevski/472538/cmap_601171201_601430401_4FGL_J0229.5-3644_daily_bin1396.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=37.3877 yref=-36.7388 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 1.21
user 0.37
sys 0.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/472538/ft1_filtered_4FGL_J0229.5-3644_daily_bin1396.fits scfile=/scratch/kocevski/472538/ft2_4FGL_J0229.5-3644_daily_bin1396.fits outfile=/scratch/kocevski/472538/cmap_HighResolution_601171201_601430401_4FGL_J0229.5-3644_daily_bin1396.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=37.3877 yref=-36.7388 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 1.22
user 0.40
sys 0.80

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/472538/ft1_filtered_4FGL_J0229.5-3644_daily_bin1396.fits evtable="EVENTS" scfile=/scratch/kocevski/472538/ft2_4FGL_J0229.5-3644_daily_bin1396.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/472538/Model_4FGL_J0229.5-3644_daily_bin1396.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/472538/ft1_filtered_4FGL_J0229.5-3644_daily_bin1396.fits.....................!
real 106.82
user 104.32
sys 2.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/472538/ft1_filtered_4FGL_J0229.5-3644_daily_bin1396.fits', '/scratch/kocevski/472538/ft2_4FGL_J0229.5-3644_daily_bin1396.fits', expMap='/scratch/kocevski/472538/expmap_601171201_601430401_4FGL_J0229.5-3644_daily_bin1396.fits', expCube='/scratch/kocevski/472538/ltcube_601171201_601430401_4FGL_J0229.5-3644_daily_bin1396.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/472538/Model_4FGL_J0229.5-3644_daily_bin1396.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0229.5-3644'

4FGL J0229.5-3644
   Spectrum: LogParabola
291         norm:  2.041e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.463e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.286e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  3.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/472538/ft1_filtered_4FGL_J0229.5-3644_daily_bin1396.fits
Spacecraft file(s): /scratch/kocevski/472538/ft2_4FGL_J0229.5-3644_daily_bin1396.fits
Exposure map: /scratch/kocevski/472538/expmap_601171201_601430401_4FGL_J0229.5-3644_daily_bin1396.fits
Exposure cube: /scratch/kocevski/472538/ltcube_601171201_601430401_4FGL_J0229.5-3644_daily_bin1396.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/472538/Model_4FGL_J0229.5-3644_daily_bin1396.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) = 5081.05394352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8480       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.7890       1.0000         .10000E-03   10000.    
     3 'norm      '    2.1540       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.514       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3161       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.274       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.650       1.0000         .10000E-03   10000.    
    10 'norm      '    .11294       1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.318       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9553       1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.6827       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .67090E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.717       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3539       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .39274       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5081.009     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2136 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7706        48.721       -.27257E-05   -.99731E-05
   2  Prefactor     5.7883        3.9573        .35094E-06    .28980E-03
   3  norm          2.1692        8.5623       -.36697E-05   -.31917E-03
   4  Prefactor     .10000E-03    7.7320       -.14352E-06** at limit **
   5  Prefactor     25.421        47.135        .26830E-05   -.84180E-04
   6  Prefactor     .10000E-03    6.5924        .25175E-06** at limit **
   7  Prefactor     2.3222        42.747       -.17499E-05   -.83935E-05
   8  Prefactor     18.269        19.673        .31242E-06    .43110E-04
   9  Prefactor     13.642        46.816       -.28998E-05   -.24851E-04
  10  norm          .98269E-01    1.2709       -.20714E-06    .17961E-03
  11  Prefactor     22.314        15.431       -.18715E-06    .23928E-04
  12  Prefactor     .10000E-03    39.830       -.33772E-06** at limit **
  13  Prefactor     .10000E-03    8.9411        .99282E-07** at limit **
  14  Prefactor     .10000E-03    13.329        .57742E-07** at limit **
  15  Prefactor     2.9551        3.2327        .88091E-06    .39599E-03
  16  norm          .10000E-03    .38612        .11397E-06** at limit **
  17  Prefactor     .10000E-03    173.35        .46506E-05** at limit **
  18  Prefactor     9.6671        26.311       -.69897E-07   -.38982E-04
  19  Prefactor     .10045E-03    10.658        .26851E-05** at limit **
  20  Prefactor     20.715        14.818       -.13148E-06    .12503E-04
  21  Normalizat    1.3540        .18442        .27928E-05   -.21282E-04
  22  Prefactor     .39273        .19383       -.46349E-05   -.19485E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.77056
  Prefactor  = 5.78827
  norm       = 2.16925
  Prefactor  = 0.0001
  Prefactor  = 25.4207
  Prefactor  = 0.0001
  Prefactor  = 2.3222
  Prefactor  = 18.2693
  Prefactor  = 13.6417
  norm       = 0.0982694
  Prefactor  = 22.3144
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.95513
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 9.66714
  Prefactor  = 0.000100445
  Prefactor  = 20.7153
  Normalizat = 1.35399
  Prefactor  = 0.392726
 **********
 **   18 **HESSE 
 **********

 FCN=   5081.009     FROM HESSE     STATUS=OK           354 CALLS     2490 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7706        48.597        .18270E-03   -1.5271    
   2  Prefactor     5.7883        3.9613        .55717E-03   -1.5227    
   3  norm          2.1692        8.5311        .27571E-03   -1.5413    
   4  Prefactor     .10000E-03    7.7854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.421        46.744        .79307E-04   -1.4699    
   6  Prefactor     .10000E-03    6.7653        .35719E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.3222        39.488        .26956E-03   -1.5403    
   8  Prefactor     18.269        19.117        .93691E-04   -1.4853    
   9  Prefactor     13.642        46.804        .10841E-03   -1.4969    
  10  norm          .98269E-01    12.494        .14977E-02   -1.5645    
  11  Prefactor     22.314        15.200        .84786E-04   -1.4763    
  12  Prefactor     .10000E-03    40.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.9508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9551        3.2319        .64525E-03   -1.5364    
  16  norm          .10000E-03    .61766        .85123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    173.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.6671        26.197        .12878E-03   -1.5086    
  19  Prefactor     .10045E-03    55.193        .39060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     20.715        14.820        .87998E-04   -1.4797    
  21  Normalizat    1.3540        .19408        .17927E-03   -.81969    
  22  Prefactor     .39273        .20299        .34440E-03   -1.1718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.19364e-09
Minuit parameter uncertainties:
  1  30.4841
  2  3.96149
  3  8.53584
  4  1.48602e-05
  5  46.8115
  6  1.03861e-06
  7  19.1665
  8  19.1232
  9  46.9301
  10  2.21542
  11  15.2027
  12  3.27597e-05
  13  1.97707e-06
  14  2.28873e-06
  15  3.23207
  16  3.47169e-06
  17  0.00155772
  18  26.2283
  19  0.009926
  20  14.8223
  21  0.194186
  22  0.203365
Done.

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

Extracting fit parameters...

4FGL J0229.5-3644
   Spectrum: LogParabola
291         norm:  9.827e-02  2.215e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.463e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.286e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  3.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  3.927e-01  2.034e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.354e+00  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 37.388 -36.739
Photon Flux Upper Limit: 7.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.08e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/472538/likelihoodResults_601171201_601430401_4FGL_J0229.5-3644_daily_bin1396.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5080.9953812
delta logL = 0.0135356759065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5080.96938784
delta logL = 0.0395290343031

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5080.969     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      223 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .52575        3.3245        .11379E-01    .13060E-02
   2  alpha         1.8380        1.5300        .43140       -.24513E-04
   3  Normalizat    1.3572        .16785        .31854E-01    .83284E-05
   4  Prefactor     .38443        .18926        .78554E-01    .17841E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.525755
  alpha      = 1.83799
  Normalizat = 1.35716
  Prefactor  = 0.384425
 **********
 **   18 **HESSE 
 **********

 FCN=   5080.969     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .52575        1.9608        .18143E-03   -1.5563    
   2  alpha         1.8380        1.4493        .35449E-01   -.26800    
   3  Normalizat    1.3572        .18100        .17909E-03   -.81876    
   4  Prefactor     .38443        .19927        .34797E-03   -1.1761    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56287e-11
Minuit parameter uncertainties:
  1  1.961
  2  1.55486
  3  0.181088
  4  0.19963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/472538': 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) = 5080.9693876
delta logL = 0.0395292776284

Extracting fit parameters...

4FGL J0229.5-3644
   Spectrum: LogParabola
291         norm:  5.258e-01  1.961e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  1.838e+00  1.555e+00  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  1.286e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  3.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  3.844e-01  1.996e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.357e+00  1.811e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 37.388 -36.739

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/472538/cmap_HighResolution_601171201_601430401_4FGL_J0229.5-3644_daily_bin1396.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.08e-05', job_status='DONE', photon_flux_upper_limit='7.87e-08', time_completed='2021-08-16 02:34:02.419171', job_id='472538', GAL2='0.38', fit_tolerance='1e-08', EG2='1.36', EG='1.35', time_epoch_completed='1629106442.42', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.39', dlogl='3.95e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1396' AND source_name='4FGL J0229.5-3644' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 16 02:34:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 472538: <4FGL_J0229.5-3644_daily_bin1396> in cluster <slac> Done

Job <4FGL_J0229.5-3644_daily_bin1396> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Aug 16 02:20:19 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 16 02:22:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 16 02:22:44 2021
Terminated at Mon Aug 16 02:34:03 2021
Results reported at Mon Aug 16 02:34:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0229.5-3644_daily_bin1396 37.3877 -36.7388 601171201 601430401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0229.5-3644 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   655.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             388.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            824 sec.

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

