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


Performing analysis on: 4FGL_J0629.3-1959_daily_bin1177
RA = 97.3478, Dec = -19.9999
tmin = 544406401, tmax = 544665601
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='458594', job_status='RUN', time_executed='2021-08-25 06:26:35.330452', time_epoch_executed='1629897995.33' WHERE source_name='4FGL J0629.3-1959' and cadence='daily' and bin_id='1177'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/458594

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

Retrieving the FT1 file...

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

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

Retrieving 36 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/458594/ft1_4FGL_J0629.3-1959_daily_bin1177.fits


Retrieving the FT1 file...

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

Retrieving 36 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/458594/ft2_4FGL_J0629.3-1959_daily_bin1177.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/458594/ft1_4FGL_J0629.3-1959_daily_bin1177.fits outfile=/scratch/kocevski/458594/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1177.fits ra=97.3478 dec=-19.9999 rad=12.0 tmin=544406401.0 tmax=544665601.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 8.75
user 7.33
sys 1.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/458594/ft2_4FGL_J0629.3-1959_daily_bin1177.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/458594/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1177.fits evtable="EVENTS" outfile="/scratch/kocevski/458594/ft1_filtered_4FGL_J0629.3-1959_daily_bin1177.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.62
user 0.33
sys 1.02

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/458594/ft1_filtered_4FGL_J0629.3-1959_daily_bin1177.fits" evtable="EVENTS" scfile=/scratch/kocevski/458594/ft2_4FGL_J0629.3-1959_daily_bin1177.fits sctable="SC_DATA" outfile=/scratch/kocevski/458594/ltcube_544406401_544665601_4FGL_J0629.3-1959_daily_bin1177.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/458594/ft2_4FGL_J0629.3-1959_daily_bin1177.fits
.....................!
real 9.68
user 7.40
sys 1.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/458594/ft1_filtered_4FGL_J0629.3-1959_daily_bin1177.fits evtable="EVENTS" scfile=/scratch/kocevski/458594/ft2_4FGL_J0629.3-1959_daily_bin1177.fits sctable="SC_DATA" expcube=/scratch/kocevski/458594/ltcube_544406401_544665601_4FGL_J0629.3-1959_daily_bin1177.fits outfile=/scratch/kocevski/458594/expmap_544406401_544665601_4FGL_J0629.3-1959_daily_bin1177.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/458594/ltcube_544406401_544665601_4FGL_J0629.3-1959_daily_bin1177.fits
.....................!
real 196.72
user 185.48
sys 6.10

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/458594/ft1_filtered_4FGL_J0629.3-1959_daily_bin1177.fits scfile=/scratch/kocevski/458594/ft2_4FGL_J0629.3-1959_daily_bin1177.fits outfile=/scratch/kocevski/458594/cmap_544406401_544665601_4FGL_J0629.3-1959_daily_bin1177.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.38
user 0.37
sys 1.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/458594/ft1_filtered_4FGL_J0629.3-1959_daily_bin1177.fits scfile=/scratch/kocevski/458594/ft2_4FGL_J0629.3-1959_daily_bin1177.fits outfile=/scratch/kocevski/458594/cmap_HighResolution_544406401_544665601_4FGL_J0629.3-1959_daily_bin1177.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.38
user 0.36
sys 1.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/458594/ft1_filtered_4FGL_J0629.3-1959_daily_bin1177.fits evtable="EVENTS" scfile=/scratch/kocevski/458594/ft2_4FGL_J0629.3-1959_daily_bin1177.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/458594/Model_4FGL_J0629.3-1959_daily_bin1177.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/458594/ft1_filtered_4FGL_J0629.3-1959_daily_bin1177.fits......................!
real 44.72
user 42.13
sys 2.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/458594/ft1_filtered_4FGL_J0629.3-1959_daily_bin1177.fits', '/scratch/kocevski/458594/ft2_4FGL_J0629.3-1959_daily_bin1177.fits', expMap='/scratch/kocevski/458594/expmap_544406401_544665601_4FGL_J0629.3-1959_daily_bin1177.fits', expCube='/scratch/kocevski/458594/ltcube_544406401_544665601_4FGL_J0629.3-1959_daily_bin1177.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/458594/Model_4FGL_J0629.3-1959_daily_bin1177.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/458594/ft1_filtered_4FGL_J0629.3-1959_daily_bin1177.fits
Spacecraft file(s): /scratch/kocevski/458594/ft2_4FGL_J0629.3-1959_daily_bin1177.fits
Exposure map: /scratch/kocevski/458594/expmap_544406401_544665601_4FGL_J0629.3-1959_daily_bin1177.fits
Exposure cube: /scratch/kocevski/458594/ltcube_544406401_544665601_4FGL_J0629.3-1959_daily_bin1177.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/458594/Model_4FGL_J0629.3-1959_daily_bin1177.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) = 2145.52309055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    21.715       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10297E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    93.201       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    139.07       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.5490       1.0000         .10000E-03   10000.    
    15 'norm      '    1.5994       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    65.445       1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.473       1.0000         .10000E-03   10000.    
    21 'norm      '    .10123E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    35.669       1.0000         .10000E-03   10000.    
    23 'norm      '    .11347E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.6616       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .69497       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=   2145.507     FROM MIGRAD    STATUS=CONVERGED    592 CALLS     3019 TOTAL
                     EDM=   .15E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    47.915        .69652E-06** at limit **
   2  norm          21.720        26.250        .47548E-07   -.18100E-06
   3  Prefactor     .10000E-03    11.932       -.39972E-07** at limit **
   4  Prefactor     .10000E-03    21.170       -.36933E-06** at limit **
   5  Prefactor     .10000E-03    156.76       -.62782E-06** at limit **
   6  Prefactor     .10000E-03    18.571        .64580E-06** at limit **
   7  Prefactor     93.252        90.922       -.11673E-05   -.10097E-05
   8  Prefactor     .10000E-03    60.311        .46472E-06** at limit **
   9  Prefactor     .10000E-03    41.202       -.53021E-06** at limit **
  10  norm          .10000E-03    7.1985       -.36685E-07** at limit **
  11  Prefactor     139.09        68.375        .21379E-06   -.75314E-05
  12  Prefactor     .10000E-03    5.3270       -.11684E-07** at limit **
  13  Prefactor     .10000E-03    16.965       -.34583E-06** at limit **
  14  norm          1.5450        34.316        .17285E-05   -.13291E-05
  15  norm          1.5994        3.6496        .75754E-07   -.29727E-05
  16  norm          .10000E-03    10.646        .21408E-06** at limit **
  17  Prefactor     .10000E-03    40.991       -.66400E-07** at limit **
  18  norm          .10000E-03    47.306        .22281E-06** at limit **
  19  norm          65.437        42.135        .25243E-06   -.47293E-05
  20  Prefactor     23.472        17.872        .62904E-07   -.58620E-05
  21  norm          .10000E-03    75.456       -.15084E-05** at limit **
  22  norm          35.359        106.64        .13245E-04   -.21931E-05
  23  norm          .10000E-03    17.036       -.60851E-07** at limit **
  24  Prefactor     .10000E-03    17.109       -.18362E-06** at limit **
  25  Normalizat    1.6605        .49680       -.15231E-06   -.29735E-05
  26  Prefactor     .69526        .11705       -.17305E-06    .15059E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 21.72
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 93.2524
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 139.09
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.54496
  norm       = 1.59939
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 65.4375
  Prefactor  = 23.4724
  norm       = 0.0001
  norm       = 35.359
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.66052
  Prefactor  = 0.695262
 **********
 **   18 **HESSE 
 **********

 FCN=   2145.507     FROM HESSE     STATUS=OK           448 CALLS     3467 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    47.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          21.720        26.255        .85954E-04   -1.4776    
   3  Prefactor     .10000E-03    11.949        .15628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    156.78        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    18.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     93.252        91.633        .20814E-03   -1.3774    
   8  Prefactor     .10000E-03    60.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    41.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    7.2046        .12137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     139.09        68.645        .17079E-03   -1.3344    
  12  Prefactor     .10000E-03    5.3283        .10442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5450        34.356        .17114E-02   -1.5459    
  15  norm          1.5994        3.5810        .12804E-03   -1.5455    
  16  norm          .10000E-03    10.648        .14761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    41.851        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    47.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          65.437        42.167        .49609E-04   -1.4088    
  20  Prefactor     23.472        17.884        .82678E-04   -1.4739    
  21  norm          .10000E-03    75.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          35.359        106.59        .33551E-03   -1.4518    
  23  norm          .10000E-03    17.472        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    17.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.6605        .52900        .43726E-03   -.73362    
  26  Prefactor     .69526        .12445        .15574E-03   -1.0371    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60861e-10
Minuit parameter uncertainties:
  1  2.02221e-06
  2  26.2691
  3  1.99872e-07
  4  3.24467e-07
  5  5.38255e-06
  6  2.06321e-07
  7  91.7727
  8  6.78443e-06
  9  9.98673e-07
  10  3.76843e-07
  11  68.6842
  12  4.60579e-07
  13  1.61986e-06
  14  14.58
  15  3.58153
  16  4.85834e-06
  17  8.21829e-05
  18  6.47084e-05
  19  42.186
  20  17.8886
  21  5.19067e-05
  22  107.167
  23  3.96258e-06
  24  1.72186e-07
  25  0.530814
  26  0.124501
Done.

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

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  1.545e+00  1.458e+01  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:  6.953e-01  1.245e-01  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:  1.661e+00  5.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 97.348 -20.000
Photon Flux Upper Limit: 3.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.49e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/458594/likelihoodResults_544406401_544665601_4FGL_J0629.3-1959_daily_bin1177.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) = 2145.50334251
delta logL = 0.00373915448654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2145.50284579
delta logL = 0.00423587095065

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9919       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8974       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6615       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69481       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2145.503     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      272 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9944        26.296        .29355E-03   -.84622E-05
   2  alpha         1.8975        3.3941        .38560E-01   -.73736E-06
   3  Normalizat    1.6616        .49001        .43715E-03   -.37995E-04
   4  Prefactor     .69479        .12072        .15578E-03   -.90385E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.99436
  alpha      = 1.89747
  Normalizat = 1.66156
  Prefactor  = 0.69479
 **********
 **   18 **HESSE 
 **********

 FCN=   2145.503     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9944        26.207        .11742E-04   -1.5426    
   2  alpha         1.8975        3.3941        .15424E-02   -.24341    
   3  Normalizat    1.6616        .49014        .17486E-04   -.73334    
   4  Prefactor     .69479        .12073        .31156E-04   -1.0373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42679e-11
Minuit parameter uncertainties:
  1  14.4664
  2  2.50073
  3  0.491574
  4  0.120771
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/458594': 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) = 2145.50284575
delta logL = 0.00423591512845

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  1.994e+00  1.447e+01  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  1.897e+00  2.501e+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:  6.948e-01  1.208e-01  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:  1.662e+00  4.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/458594/cmap_HighResolution_544406401_544665601_4FGL_J0629.3-1959_daily_bin1177.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.49e-04', job_status='DONE', photon_flux_upper_limit='3.27e-07', time_completed='2021-08-25 06:34:43.905351', job_id='458594', GAL2='0.69', fit_tolerance='1e-08', EG2='1.66', EG='1.66', time_epoch_completed='1629898483.91', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='4.24e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1177' AND source_name='4FGL J0629.3-1959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 06:34:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 458594: <4FGL_J0629.3-1959_daily_bin1177> in cluster <slac> Done

Job <4FGL_J0629.3-1959_daily_bin1177> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Aug 25 06:25:26 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 06:25:27 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:27 2021
Terminated at Wed Aug 25 06:34:44 2021
Results reported at Wed Aug 25 06:34:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0629.3-1959_daily_bin1177 97.3478 -19.9999 544406401 544665601 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 :                                   494.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   557 sec.
    Turnaround time :                            558 sec.

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

