/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 = 7394
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0629.3-1959_daily_bin166
RA = 97.3478, Dec = -19.9999
tmin = 282355201, tmax = 282614401
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='446394', job_status='RUN', time_executed='2021-08-25 05:41:17.185739', time_epoch_executed='1629895277.19' WHERE source_name='4FGL J0629.3-1959' and cadence='daily' and bin_id='166'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/446394

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/446394/ft1_4FGL_J0629.3-1959_daily_bin166.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/446394/ft2_4FGL_J0629.3-1959_daily_bin166.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/446394/ft1_4FGL_J0629.3-1959_daily_bin166.fits outfile=/scratch/kocevski/446394/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin166.fits ra=97.3478 dec=-19.9999 rad=12.0 tmin=282355201.0 tmax=282614401.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.71
user 3.44
sys 1.12

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/446394/ft1_filtered_4FGL_J0629.3-1959_daily_bin166.fits" evtable="EVENTS" scfile=/scratch/kocevski/446394/ft2_4FGL_J0629.3-1959_daily_bin166.fits sctable="SC_DATA" outfile=/scratch/kocevski/446394/ltcube_282355201_282614401_4FGL_J0629.3-1959_daily_bin166.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/446394/ft2_4FGL_J0629.3-1959_daily_bin166.fits
.....................!
real 12.88
user 11.49
sys 1.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/446394/ft1_filtered_4FGL_J0629.3-1959_daily_bin166.fits evtable="EVENTS" scfile=/scratch/kocevski/446394/ft2_4FGL_J0629.3-1959_daily_bin166.fits sctable="SC_DATA" expcube=/scratch/kocevski/446394/ltcube_282355201_282614401_4FGL_J0629.3-1959_daily_bin166.fits outfile=/scratch/kocevski/446394/expmap_282355201_282614401_4FGL_J0629.3-1959_daily_bin166.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/446394/ltcube_282355201_282614401_4FGL_J0629.3-1959_daily_bin166.fits
.....................!
real 191.06
user 185.22
sys 5.49

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/446394/ft1_filtered_4FGL_J0629.3-1959_daily_bin166.fits scfile=/scratch/kocevski/446394/ft2_4FGL_J0629.3-1959_daily_bin166.fits outfile=/scratch/kocevski/446394/cmap_282355201_282614401_4FGL_J0629.3-1959_daily_bin166.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.43
user 0.35
sys 1.05

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/446394/ft1_filtered_4FGL_J0629.3-1959_daily_bin166.fits scfile=/scratch/kocevski/446394/ft2_4FGL_J0629.3-1959_daily_bin166.fits outfile=/scratch/kocevski/446394/cmap_HighResolution_282355201_282614401_4FGL_J0629.3-1959_daily_bin166.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.42
user 0.39
sys 1.02

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/446394/ft1_filtered_4FGL_J0629.3-1959_daily_bin166.fits evtable="EVENTS" scfile=/scratch/kocevski/446394/ft2_4FGL_J0629.3-1959_daily_bin166.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/446394/Model_4FGL_J0629.3-1959_daily_bin166.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/446394/ft1_filtered_4FGL_J0629.3-1959_daily_bin166.fits.....................!
real 140.84
user 137.60
sys 2.51

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.205       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.787       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3217       1.0000         .10000E-03   10000.    
    10 'norm      '    7.9616       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.6094       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4307       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.117       1.0000         .10000E-03   10000.    
    14 'norm      '    2.4582       1.0000         .10000E-03   10000.    
    15 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .30599E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.1650       1.0000         .10000E-03   10000.    
    18 'norm      '    9.7542       1.0000         .10000E-03   10000.    
    19 'norm      '    1.7246       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.4003       1.0000         .10000E-03   10000.    
    21 'norm      '    .39076E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    33.078       1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1503       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .96624       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=   9267.675     FROM MIGRAD    STATUS=CONVERGED    610 CALLS     3194 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.905       -.60085E-06** at limit **
   2  norm          .10000E-03    17.410        .11719E-05** at limit **
   3  Prefactor     12.206        14.743        .13415E-06    .95210E-04
   4  Prefactor     .10000E-03    5.0405       -.81052E-06** at limit **
   5  Prefactor     .10000E-03    182.85       -.49131E-05** at limit **
   6  Prefactor     15.787        26.843        .14458E-06    .59303E-04
   7  Prefactor     .10000E-03    39.264       -.88554E-05** at limit **
   8  Prefactor     .10000E-03    39.950        .11938E-04** at limit **
   9  Prefactor     3.3188        73.596       -.17546E-05   -.21131E-05
  10  norm          7.9663        15.984       -.23137E-05    .16458E-03
  11  Prefactor     3.6095        70.084        .52589E-06    .10853E-03
  12  Prefactor     6.4302        14.628        .32966E-05    .18257E-03
  13  Prefactor     10.119        23.066       -.15995E-05   -.13520E-04
  14  norm          2.4625        9.1617       -.57394E-06    .20739E-03
  15  norm          .10000E-03    1.0351       -.24751E-07** at limit **
  16  norm          .10031E-03    6.8911       -.33030E-05** at limit **
  17  Prefactor     5.1665        5.3009        .33624E-06    .48274E-03
  18  norm          9.7488        18.214        .47934E-05    .42582E-04
  19  norm          1.7237        2.3806        .33173E-06   -.10456E-02
  20  Prefactor     1.4002        3.6608        .16177E-06   -.58436E-04
  21  norm          .10001E-03    203.73        .36559E-04** at limit **
  22  norm          33.066        58.903       -.12632E-04   -.88460E-04
  23  norm          .10000E-03    2.0057        .13346E-06** at limit **
  24  Prefactor     .10000E-03    11.372       -.10471E-05** at limit **
  25  Normalizat    1.1503        .29309        .77152E-06    .18043E-03
  26  Prefactor     .96625        .59304E-01    .15600E-06    .50338E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 12.2063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.7869
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 3.31877
  norm       = 7.96633
  Prefactor  = 3.60946
  Prefactor  = 6.43024
  Prefactor  = 10.1188
  norm       = 2.46247
  norm       = 0.0001
  norm       = 0.000100305
  Prefactor  = 5.16653
  norm       = 9.74883
  norm       = 1.72368
  Prefactor  = 1.40021
  norm       = 0.000100011
  norm       = 33.0664
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15028
  Prefactor  = 0.966252
 **********
 **   18 **HESSE 
 **********

 FCN=   9267.675     FROM HESSE     STATUS=OK           460 CALLS     3654 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    17.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.206        14.792        .11466E-03   -1.5009    
   4  Prefactor     .10000E-03    5.0641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    183.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.787        26.707        .10080E-03   -1.4913    
   7  Prefactor     .10000E-03    39.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    40.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.3188        73.649        .22210E-03   -1.5344    
  10  norm          7.9663        15.588        .14210E-03   -1.5143    
  11  Prefactor     3.6095        65.450        .21268E-03   -1.5328    
  12  Prefactor     6.4302        14.342        .15827E-03   -1.5201    
  13  Prefactor     10.119        23.116        .12597E-03   -1.5072    
  14  norm          2.4625        8.9366        .26086E-03   -1.5394    
  15  norm          .10000E-03    2.6013        .18890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10031E-03    26.658        .44895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.1665        5.2482        .17689E-03   -1.5253    
  18  norm          9.7488        18.149        .12831E-03   -1.5083    
  19  norm          1.7237        10.197        .15990E-02   -1.5445    
  20  Prefactor     1.4002        3.8467        .27096E-03   -1.5471    
  21  norm          .10001E-03    204.75        .21274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          33.066        59.302        .69672E-04   -1.4557    
  23  norm          .10000E-03    2.0559        .26614E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    11.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1503        .30963        .53531E-03   -.88153    
  26  Prefactor     .96625        .62674E-01    .13506E-03   -.93863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60296e-08
Minuit parameter uncertainties:
  1  1.2824e-05
  2  1.24173e-05
  3  14.7962
  4  1.3038e-05
  5  0.00033416
  6  26.7272
  7  0.000332928
  8  0.000458707
  9  31.3114
  10  15.5962
  11  30.7789
  12  14.3492
  13  23.1362
  14  8.94145
  15  2.02281e-05
  16  0.00570879
  17  5.24869
  18  18.1596
  19  8.38689
  20  3.84741
  21  0.00300245
  22  59.4076
  23  1.08165e-06
  24  2.50019e-05
  25  0.310123
  26  0.0626792
Done.

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

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  2.462e+00  8.941e+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

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  9.663e-01  6.268e-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:  1.150e+00  3.101e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/446394/likelihoodResults_282355201_282614401_4FGL_J0629.3-1959_daily_bin166.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) = 9266.94931331
delta logL = 0.725437260031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9266.92365945
delta logL = 0.751091122556

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5056       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2861       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0660       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97066       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9266.924     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      267 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5056        8.7278        .72149E-03   -.44675E-03
   2  alpha         3.2861        1.4063        .15059E-01    .11478E-04
   3  Normalizat    1.0660        .26079        .55210E-03   -.82367E-07
   4  Prefactor     .97066        .59332E-01    .13469E-03    .16881E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 3.50563
  alpha      = 3.28612
  Normalizat = 1.066
  Prefactor  = 0.970663
 **********
 **   18 **HESSE 
 **********

 FCN=   9266.924     FROM HESSE     STATUS=OK            27 CALLS      294 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5056        5.4409        .28860E-04   -1.5333    
   2  alpha         3.2861        .91263        .60234E-03    .31987    
   3  Normalizat    1.0660        .26088        .22084E-04   -.90851    
   4  Prefactor     .97066        .59112E-01    .53878E-05   -.93714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95297e-10
Minuit parameter uncertainties:
  1  5.44168
  2  0.936763
  3  0.261199
  4  0.0591157
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/446394': 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) = 9266.92365945
delta logL = 0.751091122795

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  3.506e+00  5.442e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  3.286e+00  9.368e-01  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.707e-01  5.912e-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:  1.066e+00  2.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.70
Ra Dec: 97.348 -20.000
Photon Index (Free Index): 3.29 +/- 0.94
Photon Flux (Free Index): 1.35e-07 +/- 1.23e-07
Energy Flux (Free Index): 2.51e-05 +/- 2.19e-05

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/446394/cmap_HighResolution_282355201_282614401_4FGL_J0629.3-1959_daily_bin166.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-05', comment='SUCCESS', energy_flux2='2.51e-05', dlogl='7.51e-01', photon_flux2='1.35e-07', job_status='DONE', time_completed='2021-08-25 05:56:50.148753', photon_index_error2='0.94', photon_index2='3.29', ts='0.09', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.63e-07', energy_flux_error2='2.19e-05', EG='1.15', time_epoch_completed='1629896210.15', return_code='0', job_id='446394', GAL2='0.97', EG2='1.07', return_code2='0', photon_flux_error2='1.23e-07', ts2='1.70', photon_index='2.15' WHERE bin_id='166' AND source_name='4FGL J0629.3-1959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 05:56:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 446394: <4FGL_J0629.3-1959_daily_bin166> in cluster <slac> Done

Job <4FGL_J0629.3-1959_daily_bin166> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Aug 25 05:40:29 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 05:40:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 25 05:40:31 2021
Terminated at Wed Aug 25 05:56:51 2021
Results reported at Wed Aug 25 05:56:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0629.3-1959_daily_bin166 97.3478 -19.9999 282355201 282614401 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 :                                   945.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             350.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            982 sec.

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

