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


Performing analysis on: 4FGL_J0629.3-1959_daily_bin1158
RA = 97.3478, Dec = -19.9999
tmin = 539481601, tmax = 539740801
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='458566', job_status='RUN', time_executed='2021-08-25 06:27:48.476426', time_epoch_executed='1629898068.48' WHERE source_name='4FGL J0629.3-1959' and cadence='daily' and bin_id='1158'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/458566

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/458566/ft1_4FGL_J0629.3-1959_daily_bin1158.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/458566/ft2_4FGL_J0629.3-1959_daily_bin1158.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/458566/ft1_4FGL_J0629.3-1959_daily_bin1158.fits outfile=/scratch/kocevski/458566/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1158.fits ra=97.3478 dec=-19.9999 rad=12.0 tmin=539481601.0 tmax=539740801.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.91
user 4.89
sys 0.88

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/458566/ft2_4FGL_J0629.3-1959_daily_bin1158.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/458566/ft2_4FGL_J0629.3-1959_daily_bin1158.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/458566/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1158.fits evtable="EVENTS" outfile="/scratch/kocevski/458566/ft1_filtered_4FGL_J0629.3-1959_daily_bin1158.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.26
user 0.34
sys 0.79

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/458566/ft1_filtered_4FGL_J0629.3-1959_daily_bin1158.fits" evtable="EVENTS" scfile=/scratch/kocevski/458566/ft2_4FGL_J0629.3-1959_daily_bin1158.fits sctable="SC_DATA" outfile=/scratch/kocevski/458566/ltcube_539481601_539740801_4FGL_J0629.3-1959_daily_bin1158.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/458566/ft2_4FGL_J0629.3-1959_daily_bin1158.fits
.....................!
real 13.50
user 12.05
sys 1.06

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/458566/ft1_filtered_4FGL_J0629.3-1959_daily_bin1158.fits evtable="EVENTS" scfile=/scratch/kocevski/458566/ft2_4FGL_J0629.3-1959_daily_bin1158.fits sctable="SC_DATA" expcube=/scratch/kocevski/458566/ltcube_539481601_539740801_4FGL_J0629.3-1959_daily_bin1158.fits outfile=/scratch/kocevski/458566/expmap_539481601_539740801_4FGL_J0629.3-1959_daily_bin1158.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/458566/ltcube_539481601_539740801_4FGL_J0629.3-1959_daily_bin1158.fits
.....................!
real 192.02
user 186.24
sys 5.36

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 153 point sources and 0 extended sources

Setting source of interest to:
4FGL J0629.3-1959 @ 97.3478 -19.9999

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/458566/ft1_filtered_4FGL_J0629.3-1959_daily_bin1158.fits scfile=/scratch/kocevski/458566/ft2_4FGL_J0629.3-1959_daily_bin1158.fits outfile=/scratch/kocevski/458566/cmap_539481601_539740801_4FGL_J0629.3-1959_daily_bin1158.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=97.3478 yref=-19.9999 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.17
user 0.38
sys 0.78

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/458566/ft1_filtered_4FGL_J0629.3-1959_daily_bin1158.fits scfile=/scratch/kocevski/458566/ft2_4FGL_J0629.3-1959_daily_bin1158.fits outfile=/scratch/kocevski/458566/cmap_HighResolution_539481601_539740801_4FGL_J0629.3-1959_daily_bin1158.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=97.3478 yref=-19.9999 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.18
user 0.39
sys 0.78

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/458566/ft1_filtered_4FGL_J0629.3-1959_daily_bin1158.fits evtable="EVENTS" scfile=/scratch/kocevski/458566/ft2_4FGL_J0629.3-1959_daily_bin1158.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/458566/Model_4FGL_J0629.3-1959_daily_bin1158.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/458566/ft1_filtered_4FGL_J0629.3-1959_daily_bin1158.fits.....................!
real 114.58
user 112.22
sys 2.04

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/458566/ft1_filtered_4FGL_J0629.3-1959_daily_bin1158.fits', '/scratch/kocevski/458566/ft2_4FGL_J0629.3-1959_daily_bin1158.fits', expMap='/scratch/kocevski/458566/expmap_539481601_539740801_4FGL_J0629.3-1959_daily_bin1158.fits', expCube='/scratch/kocevski/458566/ltcube_539481601_539740801_4FGL_J0629.3-1959_daily_bin1158.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/458566/Model_4FGL_J0629.3-1959_daily_bin1158.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0629.3-1959'

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  3.772e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  2.148e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  7.038e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  8.389e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/458566/ft1_filtered_4FGL_J0629.3-1959_daily_bin1158.fits
Spacecraft file(s): /scratch/kocevski/458566/ft2_4FGL_J0629.3-1959_daily_bin1158.fits
Exposure map: /scratch/kocevski/458566/expmap_539481601_539740801_4FGL_J0629.3-1959_daily_bin1158.fits
Exposure cube: /scratch/kocevski/458566/ltcube_539481601_539740801_4FGL_J0629.3-1959_daily_bin1158.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/458566/Model_4FGL_J0629.3-1959_daily_bin1158.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) = 7753.52655389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7657       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.363       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    147.26       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .82244E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    63.412       1.0000         .10000E-03   10000.    
    14 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.5718       1.0000         .10000E-03   10000.    
    16 'norm      '    2.7977       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    32.820       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.7777       1.0000         .10000E-03   10000.    
    21 'norm      '    .10159E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10175E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .23807E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .79301       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97324       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7753.513     FROM MIGRAD    STATUS=CONVERGED    622 CALLS     3157 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    16.273        .40185E-05** at limit **
   2  norm          .10000E-03    19.593        .33211E-05** at limit **
   3  Prefactor     .10000E-03    2.6250       -.45524E-06** at limit **
   4  Prefactor     7.7596        12.324       -.73173E-06   -.26502E-03
   5  Prefactor     19.529        70.369        .18411E-03    .79298E-05
   6  Prefactor     .10000E-03    6.1761       -.20590E-06** at limit **
   7  Prefactor     .10000E-03    24.838       -.22932E-05** at limit **
   8  Prefactor     147.14        109.82       -.81349E-04   -.29333E-05
   9  Prefactor     .10001E-03    402.20        .11236E-03** at limit **
  10  norm          .10000E-03    2.5032       -.12468E-06** at limit **
  11  Prefactor     .10000E-03    11.114       -.78910E-06** at limit **
  12  Prefactor     .10000E-03    2.2705       -.34033E-07** at limit **
  13  Prefactor     63.458        46.900        .23657E-04    .39806E-06
  14  norm          .10000E-03    3.9089       -.38625E-07** at limit **
  15  norm          5.5719        2.7980        .62398E-08   -.29691E-04
  16  norm          2.8007        10.698       -.95733E-06   -.18332E-03
  17  Prefactor     .10000E-03    5.8002        .38282E-07** at limit **
  18  norm          .10000E-03    17.691       -.72813E-05** at limit **
  19  norm          32.823        13.965        .37554E-06    .56163E-04
  20  Prefactor     9.7779        5.0798        .13423E-06   -.65773E-04
  21  norm          .10000E-03    39.419       -.11460E-05** at limit **
  22  norm          .10000E-03    39.477        .31728E-07** at limit **
  23  norm          .47683E-02    1.5972       -.48011E-06    .91853E-03
  24  Prefactor     .10000E-03    23.732        .33936E-05** at limit **
  25  Normalizat    .79282        .28159       -.18573E-04   -.15095E-03
  26  Prefactor     .97320        .66010E-01    .13027E-05   -.10608E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 7.75962
  Prefactor  = 19.5288
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 147.138
  Prefactor  = 0.00010001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 63.4581
  norm       = 0.0001
  norm       = 5.5719
  norm       = 2.80068
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 32.8227
  Prefactor  = 9.77787
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.00476825
  Prefactor  = 0.0001
  Normalizat = 0.792819
  Prefactor  = 0.973198
 **********
 **   18 **HESSE 
 **********

 FCN=   7753.513     FROM HESSE     STATUS=OK           458 CALLS     3615 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    20.148        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.6297        .13931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.7596        12.298        .14390E-03   -1.5151    
   5  Prefactor     19.529        70.379        .91022E-04   -1.4824    
   6  Prefactor     .10000E-03    6.1808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    24.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     147.14        109.81        .16604E-03   -1.3276    
   9  Prefactor     .10001E-03    417.95        .36858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.5074        .13604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.2718        .12957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     63.458        46.926        .50393E-04   -1.4113    
  14  norm          .10000E-03    3.9263        .16995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.5719        2.7912        .10038E-03   -1.5236    
  16  norm          2.8007        10.651        .24323E-03   -1.5373    
  17  Prefactor     .10000E-03    5.8653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    17.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          32.823        13.958        .69945E-04   -1.4562    
  20  Prefactor     9.7779        5.0766        .12815E-03   -1.5082    
  21  norm          .10000E-03    39.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    39.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .47683E-02    2.1720        .41952E-01   -1.5694    
  24  Prefactor     .10000E-03    24.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .79282        .28553        .59523E-03   -1.0034    
  26  Prefactor     .97320        .67971E-01    .13375E-03   -.93628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13206e-09
Minuit parameter uncertainties:
  1  1.06158e-05
  2  4.32763e-05
  3  7.33627e-05
  4  12.302
  5  70.6808
  6  5.52287e-05
  7  6.66342e-05
  8  109.961
  9  0.0040612
  10  1.95173e-05
  11  0.000228556
  12  3.66411e-06
  13  46.9529
  14  9.54633e-06
  15  2.79128
  16  10.6585
  17  1.25635e-05
  18  9.99286e-05
  19  13.9599
  20  5.07682
  21  6.50448e-05
  22  6.80709e-05
  23  0.201399
  24  7.96249e-06
  25  0.286068
  26  0.0679765
Done.

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

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  1.000e-04  9.546e-06  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  2.148e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  7.038e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  8.389e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  9.732e-01  6.798e-02  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  7.928e-01  2.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 97.348 -20.000
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.07e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/458566/likelihoodResults_539481601_539740801_4FGL_J0629.3-1959_daily_bin1158.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) = 7753.51429243
delta logL = -0.0012138128377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7753.51307824
delta logL = 3.82296093449e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7753.513     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      211 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.2843        .90712E-02** at limit **
   2  alpha         2.2050        3.5713        .41597       -.35971E-04
   3  Normalizat    .79282        .25926        .13401        .21888E-04
   4  Prefactor     .97320        .64539E-01    .30266E-01   -.42709E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.20503
  Normalizat = 0.792818
  Prefactor  = 0.973199
 **********
 **   18 **HESSE 
 **********

 FCN=   7753.513     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.2127        .17558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2050        3.4782        .16639       -.11826    
   3  Normalizat    .79282        .26414        .59525E-03   -1.0034    
   4  Prefactor     .97320        .66145E-01    .13375E-03   -.93628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57509e-09
Minuit parameter uncertainties:
  1  0.000118233
  2  2.4896
  3  0.264565
  4  0.0661501
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/458566': 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) = 7753.5130778
delta logL = 8.1880534708e-07

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  1.000e-04  1.182e-04  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  2.205e+00  2.490e+00  0.000e+00  5.000e+00 ( 1.000e+00)
276         beta:  7.038e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  8.389e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  9.732e-01  6.615e-02  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  7.928e-01  2.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 97.348 -20.000

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/458566/cmap_HighResolution_539481601_539740801_4FGL_J0629.3-1959_daily_bin1158.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.07e-05', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-08-25 06:41:46.962955', job_id='458566', GAL2='0.97', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1629898906.96', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='8.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1158' AND source_name='4FGL J0629.3-1959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 06:41:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 458566: <4FGL_J0629.3-1959_daily_bin1158> in cluster <slac> Done

Job <4FGL_J0629.3-1959_daily_bin1158> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Aug 25 06:25:24 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 06:25:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 25 06:25:26 2021
Terminated at Wed Aug 25 06:41:47 2021
Results reported at Wed Aug 25 06:41:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0629.3-1959_daily_bin1158 97.3478 -19.9999 539481601 539740801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0629.3-1959 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   844.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            983 sec.

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

