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


Performing analysis on: 4FGL_J0629.3-1959_daily_bin308
RA = 97.3478, Dec = -19.9999
tmin = 319161601, tmax = 319420801
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='448994', job_status='RUN', time_executed='2021-08-25 05:50:40.535184', time_epoch_executed='1629895840.54' WHERE source_name='4FGL J0629.3-1959' and cadence='daily' and bin_id='308'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/448994

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/448994/ft1_4FGL_J0629.3-1959_daily_bin308.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/448994/ft2_4FGL_J0629.3-1959_daily_bin308.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/448994/ft1_4FGL_J0629.3-1959_daily_bin308.fits outfile=/scratch/kocevski/448994/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin308.fits ra=97.3478 dec=-19.9999 rad=12.0 tmin=319161601.0 tmax=319420801.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 6.21
user 4.21
sys 0.42

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/448994/ft2_4FGL_J0629.3-1959_daily_bin308.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/448994/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin308.fits evtable="EVENTS" outfile="/scratch/kocevski/448994/ft1_filtered_4FGL_J0629.3-1959_daily_bin308.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.70
user 0.32
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/448994/ft1_filtered_4FGL_J0629.3-1959_daily_bin308.fits" evtable="EVENTS" scfile=/scratch/kocevski/448994/ft2_4FGL_J0629.3-1959_daily_bin308.fits sctable="SC_DATA" outfile=/scratch/kocevski/448994/ltcube_319161601_319420801_4FGL_J0629.3-1959_daily_bin308.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/448994/ft2_4FGL_J0629.3-1959_daily_bin308.fits
.....................!
real 12.32
user 11.68
sys 0.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/448994/ft1_filtered_4FGL_J0629.3-1959_daily_bin308.fits evtable="EVENTS" scfile=/scratch/kocevski/448994/ft2_4FGL_J0629.3-1959_daily_bin308.fits sctable="SC_DATA" expcube=/scratch/kocevski/448994/ltcube_319161601_319420801_4FGL_J0629.3-1959_daily_bin308.fits outfile=/scratch/kocevski/448994/expmap_319161601_319420801_4FGL_J0629.3-1959_daily_bin308.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/448994/ltcube_319161601_319420801_4FGL_J0629.3-1959_daily_bin308.fits
.....................!
real 191.91
user 185.46
sys 5.53

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/448994/ft1_filtered_4FGL_J0629.3-1959_daily_bin308.fits scfile=/scratch/kocevski/448994/ft2_4FGL_J0629.3-1959_daily_bin308.fits outfile=/scratch/kocevski/448994/cmap_319161601_319420801_4FGL_J0629.3-1959_daily_bin308.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.74
user 0.36
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/448994/ft1_filtered_4FGL_J0629.3-1959_daily_bin308.fits scfile=/scratch/kocevski/448994/ft2_4FGL_J0629.3-1959_daily_bin308.fits outfile=/scratch/kocevski/448994/cmap_HighResolution_319161601_319420801_4FGL_J0629.3-1959_daily_bin308.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.72
user 0.37
sys 0.33

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/448994/ft1_filtered_4FGL_J0629.3-1959_daily_bin308.fits evtable="EVENTS" scfile=/scratch/kocevski/448994/ft2_4FGL_J0629.3-1959_daily_bin308.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/448994/Model_4FGL_J0629.3-1959_daily_bin308.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/448994/ft1_filtered_4FGL_J0629.3-1959_daily_bin308.fits.....................!
real 118.05
user 116.19
sys 1.53

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.351       1.0000         .10000E-03   10000.    
     2 'norm      '    .10070E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    25.824       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10747E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    243.23       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.506       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    155.56       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.7786       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .23554E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12292E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.6743       1.0000         .10000E-03   10000.    
    15 'norm      '    1.8788       1.0000         .10000E-03   10000.    
    16 'norm      '    7.8040       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.6476       1.0000         .10000E-03   10000.    
    18 'norm      '    .18087E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.5621       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18235E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10202E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.9321       1.0000         .10000E-03   10000.    
    24 'Prefactor '    21.475       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .70940       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .95983       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=   7930.113     FROM MIGRAD    STATUS=CONVERGED    620 CALLS     3098 TOTAL
                     EDM=   .91E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.362        27.903       -.96103E-07   -.62942E-05
   2  norm          .10000E-03    6.5477        .44842E-07** at limit **
   3  Prefactor     25.819        14.314        .92473E-06    .64589E-04
   4  Prefactor     .10000E-03    16.343        .85137E-06** at limit **
   5  Prefactor     242.95        137.33       -.29557E-05   -.38048E-04
   6  Prefactor     13.495        17.818        .61314E-06    .15179E-04
   7  Prefactor     .10000E-03    23.909       -.54134E-06** at limit **
   8  Prefactor     155.57        93.830        .24451E-06    .73612E-06
   9  Prefactor     .10000E-03    8.2172        .64513E-07** at limit **
  10  norm          1.7714        9.9713        .50237E-05    .14444E-04
  11  Prefactor     .10000E-03    25.086       -.76308E-05** at limit **
  12  Prefactor     .10000E-03    4.3474       -.21217E-06** at limit **
  13  Prefactor     .10000E-03    30.006        .10106E-05** at limit **
  14  norm          3.6594        10.228        .38114E-05    .50043E-05
  15  norm          1.8796        2.6207       -.72673E-06   -.22930E-03
  16  norm          7.7885        22.023       -.12909E-05   -.93838E-04
  17  Prefactor     1.6396        23.982        .89426E-05   -.46110E-04
  18  norm          .10000E-03    40.710       -.11963E-06** at limit **
  19  norm          4.5758        11.345        .23149E-06   -.62423E-04
  20  Prefactor     .10000E-03    4.7081       -.24519E-07** at limit **
  21  norm          .10000E-03    48.618        .96391E-06** at limit **
  22  norm          .10000E-03    42.474       -.50717E-06** at limit **
  23  norm          3.9323        3.0772        .49260E-08   -.63185E-04
  24  Prefactor     21.477        21.915        .55912E-07   -.14366E-04
  25  Normalizat    .70963        .31777        .13944E-05    .87436E-05
  26  Prefactor     .95981        .65784E-01   -.13892E-06    .14656E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.3623
  norm       = 0.0001
  Prefactor  = 25.8194
  Prefactor  = 0.0001
  Prefactor  = 242.946
  Prefactor  = 13.4948
  Prefactor  = 0.0001
  Prefactor  = 155.571
  Prefactor  = 0.0001
  norm       = 1.77137
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.65941
  norm       = 1.87963
  norm       = 7.78853
  Prefactor  = 1.6396
  norm       = 0.0001
  norm       = 4.57577
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.93227
  Prefactor  = 21.4775
  Normalizat = 0.709633
  Prefactor  = 0.959808
 **********
 **   18 **HESSE 
 **********

 FCN=   7930.113     FROM HESSE     STATUS=OK           462 CALLS     3560 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.362        27.900        .73952E-04   -1.4624    
   2  norm          .10000E-03    6.5576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     25.819        14.300        .78831E-04   -1.4691    
   4  Prefactor     .10000E-03    16.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     242.95        137.73        .12983E-03   -1.2578    
   6  Prefactor     13.495        17.790        .10899E-03   -1.4973    
   7  Prefactor     .10000E-03    23.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     155.57        93.850        .16162E-03   -1.3207    
   9  Prefactor     .10000E-03    8.2206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7714        9.7089        .31385E-03   -1.5442    
  11  Prefactor     .10000E-03    221.77        .78213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.3767        .18127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    30.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.6594        10.142        .21071E-03   -1.5325    
  15  norm          1.8796        2.4985        .13247E-03   -1.5434    
  16  norm          7.7885        19.376        .14354E-03   -1.5150    
  17  Prefactor     1.6396        18.707        .32900E-03   -1.5452    
  18  norm          .10000E-03    41.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.5758        11.251        .18847E-03   -1.5280    
  20  Prefactor     .10000E-03    4.8255        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    48.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    42.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.9323        3.0785        .13379E-03   -1.5311    
  24  Prefactor     21.477        21.954        .86434E-04   -1.4781    
  25  Normalizat    .70963        .31056        .61690E-03   -1.0351    
  26  Prefactor     .95981        .66818E-01    .12984E-03   -.94081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88086e-10
Minuit parameter uncertainties:
  1  27.9123
  2  8.84488e-06
  3  14.3015
  4  0.000150188
  5  137.913
  6  17.7974
  7  4.84353e-05
  8  93.9401
  9  6.35098e-06
  10  8.29596
  11  0.00183409
  12  5.0133e-05
  13  9.6911e-05
  14  10.1465
  15  2.49864
  16  19.3913
  17  11.0807
  18  0.000251754
  19  11.2563
  20  4.28642e-05
  21  1.0463e-05
  22  6.79199e-05
  23  3.07861
  24  21.9624
  25  0.311329
  26  0.0668234
Done.

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

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  3.659e+00  1.015e+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:  9.598e-01  6.682e-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.096e-01  3.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/448994/likelihoodResults_319161601_319420801_4FGL_J0629.3-1959_daily_bin308.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) = 7929.70794014
delta logL = 0.4054207955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7929.55482747
delta logL = 0.558533465733

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .98349       1.0000         .10000E-03   10000.    
     2 'alpha     '    .73052       1.0000          .0000       5.0000    
     3 'Normalizat'    .71960       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96027       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=   7929.555     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      225 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .98081        1.3087        .13107E-02   -.54384E-05
   2  alpha         .72975        .48039        .50000       -.73938E-04
   3  Normalizat    .71942        .25374        .13796        .43787E-04
   4  Prefactor     .96030        .61793E-01    .29366E-01   -.12456E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.980806
  alpha      = 0.729746
  Normalizat = 0.719422
  Prefactor  = 0.960297
 **********
 **   18 **HESSE 
 **********

 FCN=   7929.555     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .98081        2.1927        .52429E-04   -1.5510    
   2  alpha         .72975        .75056        .23884E-01   -.78681    
   3  Normalizat    .71942        .25590        .61282E-03   -1.0313    
   4  Prefactor     .96030        .62684E-01    .12978E-03   -.94065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70297e-08
Minuit parameter uncertainties:
  1  2.19289
  2  0.77524
  3  0.256328
  4  0.0626889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/448994': 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) = 7929.55482672
delta logL = 0.558534217434

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  9.808e-01  2.193e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  7.297e-01  7.752e-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.603e-01  6.269e-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.194e-01  2.563e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 97.348 -20.000
Photon Index (Free Index): 0.73 +/- 0.78
Photon Flux (Free Index): 5.66e-09 +/- 8.17e-09
Energy Flux (Free Index): 7.92e-05 +/- 1.33e-04

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/448994/cmap_HighResolution_319161601_319420801_4FGL_J0629.3-1959_daily_bin308.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.35e-05', comment='SUCCESS', energy_flux2='7.92e-05', dlogl='5.59e-01', photon_flux2='5.66e-09', job_status='DONE', time_completed='2021-08-25 06:04:27.715783', photon_index_error2='0.78', photon_index2='0.73', ts='0.16', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.83e-07', energy_flux_error2='1.33e-04', EG='0.71', time_epoch_completed='1629896667.72', return_code='0', job_id='448994', GAL2='0.96', EG2='0.72', return_code2='0', photon_flux_error2='8.17e-09', ts2='1.27', photon_index='2.15' WHERE bin_id='308' AND source_name='4FGL J0629.3-1959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 06:04:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 448994: <4FGL_J0629.3-1959_daily_bin308> in cluster <slac> Done

Job <4FGL_J0629.3-1959_daily_bin308> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Aug 25 05:50:26 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 05:50:28 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:50:28 2021
Terminated at Wed Aug 25 06:04:28 2021
Results reported at Wed Aug 25 06:04:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0629.3-1959_daily_bin308 97.3478 -19.9999 319161601 319420801 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 :                                   826.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             323.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            842 sec.

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

