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


Performing analysis on: 4FGL_J0629.3-1959_daily_bin1478
RA = 97.3478, Dec = -19.9999
tmin = 622425601, tmax = 622684801
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='462095', job_status='RUN', time_executed='2021-08-25 06:36:57.912863', time_epoch_executed='1629898617.91' WHERE source_name='4FGL J0629.3-1959' and cadence='daily' and bin_id='1478'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462095

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462095/ft1_4FGL_J0629.3-1959_daily_bin1478.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462095/ft2_4FGL_J0629.3-1959_daily_bin1478.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462095/ft1_4FGL_J0629.3-1959_daily_bin1478.fits outfile=/scratch/kocevski/462095/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1478.fits ra=97.3478 dec=-19.9999 rad=12.0 tmin=622425601.0 tmax=622684801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.88
user 3.36
sys 0.44

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/462095/ft2_4FGL_J0629.3-1959_daily_bin1478.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/462095/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1478.fits evtable="EVENTS" outfile="/scratch/kocevski/462095/ft1_filtered_4FGL_J0629.3-1959_daily_bin1478.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.59
user 0.26
sys 0.27

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462095/ft1_filtered_4FGL_J0629.3-1959_daily_bin1478.fits" evtable="EVENTS" scfile=/scratch/kocevski/462095/ft2_4FGL_J0629.3-1959_daily_bin1478.fits sctable="SC_DATA" outfile=/scratch/kocevski/462095/ltcube_622425601_622684801_4FGL_J0629.3-1959_daily_bin1478.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/462095/ft2_4FGL_J0629.3-1959_daily_bin1478.fits
.....................!
real 9.04
user 8.43
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462095/ft1_filtered_4FGL_J0629.3-1959_daily_bin1478.fits evtable="EVENTS" scfile=/scratch/kocevski/462095/ft2_4FGL_J0629.3-1959_daily_bin1478.fits sctable="SC_DATA" expcube=/scratch/kocevski/462095/ltcube_622425601_622684801_4FGL_J0629.3-1959_daily_bin1478.fits outfile=/scratch/kocevski/462095/expmap_622425601_622684801_4FGL_J0629.3-1959_daily_bin1478.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/462095/ltcube_622425601_622684801_4FGL_J0629.3-1959_daily_bin1478.fits
.....................!
real 142.03
user 138.37
sys 3.26

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/462095/ft1_filtered_4FGL_J0629.3-1959_daily_bin1478.fits scfile=/scratch/kocevski/462095/ft2_4FGL_J0629.3-1959_daily_bin1478.fits outfile=/scratch/kocevski/462095/cmap_622425601_622684801_4FGL_J0629.3-1959_daily_bin1478.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 0.57
user 0.27
sys 0.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462095/ft1_filtered_4FGL_J0629.3-1959_daily_bin1478.fits scfile=/scratch/kocevski/462095/ft2_4FGL_J0629.3-1959_daily_bin1478.fits outfile=/scratch/kocevski/462095/cmap_HighResolution_622425601_622684801_4FGL_J0629.3-1959_daily_bin1478.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 0.55
user 0.30
sys 0.24

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/462095/ft1_filtered_4FGL_J0629.3-1959_daily_bin1478.fits evtable="EVENTS" scfile=/scratch/kocevski/462095/ft2_4FGL_J0629.3-1959_daily_bin1478.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/462095/Model_4FGL_J0629.3-1959_daily_bin1478.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/462095/ft1_filtered_4FGL_J0629.3-1959_daily_bin1478.fits.....................!
real 119.28
user 117.27
sys 1.38

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8467       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.105       1.0000         .10000E-03   10000.    
     6 'Prefactor '    50.481       1.0000         .10000E-03   10000.    
     7 'Prefactor '    87.310       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.644       1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.1805       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.3706       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.1485       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    22.734       1.0000         .10000E-03   10000.    
    23 'norm      '    2.0342       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0786       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97717       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=   11110.19     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     3075 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.1232        .62840E-07** at limit **
   2  norm          .10000E-03    2.8513       -.12808E-08** at limit **
   3  Prefactor     1.8506        7.2562        .19721E-05    .69603E-04
   4  Prefactor     .10000E-03    3.8603       -.19289E-06** at limit **
   5  Prefactor     14.169        117.08       -.16811E-04   -.22349E-05
   6  Prefactor     50.485        25.902       -.15393E-06   -.30865E-04
   7  Prefactor     87.334        46.872       -.15655E-05    .19361E-04
   8  Prefactor     .10000E-03    47.483       -.13497E-06** at limit **
   9  Prefactor     21.636        37.346        .16507E-05   -.15553E-04
  10  norm          .10000E-03    1.9253        .13942E-06** at limit **
  11  Prefactor     .10000E-03    12.755        .81628E-06** at limit **
  12  Prefactor     .10000E-03    3.7830        .19777E-06** at limit **
  13  Prefactor     .10000E-03    12.115       -.17013E-06** at limit **
  14  norm          3.1818        8.7624        .42384E-05   -.77568E-04
  15  norm          .10000E-03    .78938        .19540E-07** at limit **
  16  norm          .10000E-03    4.9110        .12672E-06** at limit **
  17  Prefactor     7.3724        5.7526        .39546E-06   -.13924E-03
  18  norm          .10000E-03    6.4970       -.12908E-06** at limit **
  19  norm          6.1495        8.7320        .92808E-07   -.29326E-03
  20  Prefactor     .10000E-03    1.4956       -.20986E-07** at limit **
  21  norm          .10000E-03    17.091        .17075E-06** at limit **
  22  norm          22.729        47.755        .11809E-05   -.42796E-05
  23  norm          2.0340        1.8917       -.12363E-07   -.42760E-04
  24  Prefactor     .10000E-03    4.8445        .42278E-07** at limit **
  25  Normalizat    1.0782        .25310       -.16267E-05   -.13990E-03
  26  Prefactor     .97724        .54896E-01   -.91180E-07   -.28271E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.85056
  Prefactor  = 0.0001
  Prefactor  = 14.1688
  Prefactor  = 50.4845
  Prefactor  = 87.3342
  Prefactor  = 0.0001
  Prefactor  = 21.6359
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.18178
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 7.37238
  norm       = 0.0001
  norm       = 6.14949
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 22.7291
  norm       = 2.03403
  Prefactor  = 0.0001
  Normalizat = 1.07824
  Prefactor  = 0.977236
 **********
 **   18 **HESSE 
 **********

 FCN=   11110.19     FROM HESSE     STATUS=OK           458 CALLS     3533 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.1244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.8514        .17382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8506        7.2024        .30685E-03   -1.5436    
   4  Prefactor     .10000E-03    3.8763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.169        115.60        .10665E-03   -1.4955    
   6  Prefactor     50.485        25.792        .56444E-04   -1.4286    
   7  Prefactor     87.334        46.739        .21499E-03   -1.3836    
   8  Prefactor     .10000E-03    47.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.636        37.382        .86096E-04   -1.4777    
  10  norm          .10000E-03    1.9293        .14284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.8294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.1818        8.7086        .11361E-02   -1.5351    
  15  norm          .10000E-03    1.5385        .17954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.9246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.3724        5.6555        .73867E-03   -1.5165    
  18  norm          .10000E-03    6.5151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.1495        8.3543        .80953E-03   -1.5212    
  20  Prefactor     .10000E-03    4.1792        .22936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    17.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          22.729        47.765        .84009E-04   -1.4754    
  23  norm          2.0340        1.8978        .13584E-03   -1.5423    
  24  Prefactor     .10000E-03    4.8464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0782        .26044        .53913E-03   -.90454    
  26  Prefactor     .97724        .57291E-01    .13479E-03   -.93492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97311e-10
Minuit parameter uncertainties:
  1  6.52092e-07
  2  4.02213e-07
  3  7.20574
  4  2.54661e-06
  5  81.1581
  6  25.7979
  7  46.7586
  8  1.38536e-05
  9  37.4229
  10  6.47342e-06
  11  5.05685e-05
  12  9.6751e-06
  13  8.48425e-06
  14  8.7121
  15  1.14015e-05
  16  1.8924e-06
  17  5.65596
  18  2.20281e-06
  19  8.35592
  20  1.04908e-05
  21  4.22279e-06
  22  47.8453
  23  1.89788
  24  3.23735e-07
  25  0.260753
  26  0.057295
Done.

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

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  3.182e+00  8.712e+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.772e-01  5.730e-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.078e+00  2.608e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/462095/likelihoodResults_622425601_622684801_4FGL_J0629.3-1959_daily_bin1478.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) = 11109.4619479
delta logL = 0.726761562653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11109.4048535
delta logL = 0.783855901982

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7531       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3194       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0102       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98161       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=   11109.40     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      228 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7490        36.547        .61334E-02    .10084E-02
   2  alpha         3.3198        3.9758        .44368        .87985E-04
   3  Normalizat    1.0100        .72674E-01    .12471        .30291E-04
   4  Prefactor     .98163        .17490E-01    .30421E-01   -.11487E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.749
  alpha      = 3.31982
  Normalizat = 1.01005
  Prefactor  = 0.98163
 **********
 **   18 **HESSE 
 **********

 FCN=   11109.40     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7490        9.2600        .13776E-03   -1.5376    
   2  alpha         3.3198        1.6979        .15426E-01    .33411    
   3  Normalizat    1.0100        .23342        .55339E-03   -.92695    
   4  Prefactor     .98163        .54993E-01    .13444E-03   -.93344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.39741e-08
Minuit parameter uncertainties:
  1  9.26484
  2  1.89475
  3  0.233652
  4  0.0549961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462095': 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) = 11109.4048523
delta logL = 0.783857164104

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  2.749e+00  9.265e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  3.320e+00  1.895e+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.816e-01  5.500e-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.010e+00  2.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.82
Ra Dec: 97.348 -20.000
Photon Index (Free Index): 3.32 +/- 1.89
Photon Flux (Free Index): 1.12e-07 +/- 9.58e-08
Energy Flux (Free Index): 2.06e-05 +/- 2.35e-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/462095/cmap_HighResolution_622425601_622684801_4FGL_J0629.3-1959_daily_bin1478.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-05', comment='SUCCESS', energy_flux2='2.06e-05', dlogl='7.84e-01', photon_flux2='1.12e-07', job_status='DONE', time_completed='2021-08-25 06:49:47.549100', photon_index_error2='1.89', photon_index2='3.32', ts='0.15', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='2.35e-05', EG='1.08', time_epoch_completed='1629899387.55', return_code='0', job_id='462095', GAL2='0.98', EG2='1.01', return_code2='0', photon_flux_error2='9.58e-08', ts2='1.82', photon_index='2.15' WHERE bin_id='1478' AND source_name='4FGL J0629.3-1959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 06:49:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 462095: <4FGL_J0629.3-1959_daily_bin1478> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0629.3-1959_daily_bin1478 97.3478 -19.9999 622425601 622684801 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 :                                   771.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            856 sec.

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

