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


Performing analysis on: 4FGL_J0629.3-1959_daily_bin1493
RA = 97.3478, Dec = -19.9999
tmin = 626313601, tmax = 626572801
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='462117', job_status='RUN', time_executed='2021-08-25 06:37:03.577102', time_epoch_executed='1629898623.58' WHERE source_name='4FGL J0629.3-1959' and cadence='daily' and bin_id='1493'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462117

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462117/ft1_4FGL_J0629.3-1959_daily_bin1493.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462117/ft2_4FGL_J0629.3-1959_daily_bin1493.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462117/ft1_4FGL_J0629.3-1959_daily_bin1493.fits outfile=/scratch/kocevski/462117/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1493.fits ra=97.3478 dec=-19.9999 rad=12.0 tmin=626313601.0 tmax=626572801.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 7.02
user 4.17
sys 2.79

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462117/ft1_filtered_4FGL_J0629.3-1959_daily_bin1493.fits" evtable="EVENTS" scfile=/scratch/kocevski/462117/ft2_4FGL_J0629.3-1959_daily_bin1493.fits sctable="SC_DATA" outfile=/scratch/kocevski/462117/ltcube_626313601_626572801_4FGL_J0629.3-1959_daily_bin1493.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/462117/ft2_4FGL_J0629.3-1959_daily_bin1493.fits
.....................!
real 14.63
user 11.37
sys 3.20

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462117/ft1_filtered_4FGL_J0629.3-1959_daily_bin1493.fits evtable="EVENTS" scfile=/scratch/kocevski/462117/ft2_4FGL_J0629.3-1959_daily_bin1493.fits sctable="SC_DATA" expcube=/scratch/kocevski/462117/ltcube_626313601_626572801_4FGL_J0629.3-1959_daily_bin1493.fits outfile=/scratch/kocevski/462117/expmap_626313601_626572801_4FGL_J0629.3-1959_daily_bin1493.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/462117/ltcube_626313601_626572801_4FGL_J0629.3-1959_daily_bin1493.fits
.....................!
real 194.91
user 185.66
sys 8.81

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/462117/ft1_filtered_4FGL_J0629.3-1959_daily_bin1493.fits scfile=/scratch/kocevski/462117/ft2_4FGL_J0629.3-1959_daily_bin1493.fits outfile=/scratch/kocevski/462117/cmap_626313601_626572801_4FGL_J0629.3-1959_daily_bin1493.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 2.98
user 0.37
sys 2.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462117/ft1_filtered_4FGL_J0629.3-1959_daily_bin1493.fits scfile=/scratch/kocevski/462117/ft2_4FGL_J0629.3-1959_daily_bin1493.fits outfile=/scratch/kocevski/462117/cmap_HighResolution_626313601_626572801_4FGL_J0629.3-1959_daily_bin1493.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 3.00
user 0.37
sys 2.62

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/462117/ft1_filtered_4FGL_J0629.3-1959_daily_bin1493.fits evtable="EVENTS" scfile=/scratch/kocevski/462117/ft2_4FGL_J0629.3-1959_daily_bin1493.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/462117/Model_4FGL_J0629.3-1959_daily_bin1493.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/462117/ft1_filtered_4FGL_J0629.3-1959_daily_bin1493.fits.....................!
real 141.74
user 135.90
sys 4.94

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    9.2617       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.0389       1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.926       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10334E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    43.566       1.0000         .10000E-03   10000.    
     8 'Prefactor '    77.705       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.658       1.0000         .10000E-03   10000.    
    10 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2474       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.889       1.0000         .10000E-03   10000.    
    14 'norm      '    17.905       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10182E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.6852       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9718       1.0000         .10000E-03   10000.    
    21 'norm      '    43.349       1.0000         .10000E-03   10000.    
    22 'norm      '    166.74       1.0000         .10000E-03   10000.    
    23 'norm      '    2.5530       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .79985       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .92844       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=   9371.182     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     3013 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.192       -.19262E-05** at limit **
   2  norm          9.2622        8.7343        .29934E-06    .60844E-03
   3  Prefactor     .10000E-03    4.3317       -.95806E-06** at limit **
   4  Prefactor     5.0312        12.319       -.52728E-05   -.11312E-03
   5  Prefactor     39.928        50.574        .25186E-05    .88208E-05
   6  Prefactor     .10000E-03    17.577        .74248E-06** at limit **
   7  Prefactor     43.582        47.402        .21142E-04    .18896E-04
   8  Prefactor     77.713        71.638        .76235E-05    .27964E-05
   9  Prefactor     19.657        35.788       -.16135E-05    .17024E-04
  10  norm          .10000E-03    3.2982       -.50102E-06** at limit **
  11  Prefactor     .10000E-03    6.0296        .10054E-05** at limit **
  12  Prefactor     5.2485        4.8966       -.39209E-07    .12872E-02
  13  Prefactor     27.890        25.917       -.72353E-06    .32492E-05
  14  norm          17.905        8.3650       -.43887E-06   -.15901E-04
  15  norm          .10000E-03    .54076        .85789E-07** at limit **
  16  norm          .10000E-03    4.0143        .13312E-05** at limit **
  17  Prefactor     .10000E-03    2.7967       -.21634E-07** at limit **
  18  norm          .10000E-03    5.1182        .10179E-05** at limit **
  19  norm          3.6850        6.0273       -.79180E-07   -.18329E-03
  20  Prefactor     2.9708        4.2214       -.14590E-05   -.10674E-02
  21  norm          43.240        72.784       -.15779E-03   -.58663E-05
  22  norm          166.75        74.776        .10669E-04    .21078E-04
  23  norm          2.5524        2.8846       -.43734E-06   -.42180E-03
  24  Prefactor     .10000E-03    4.6229       -.11485E-05** at limit **
  25  Normalizat    .79963        .25452        .36033E-05    .14776E-03
  26  Prefactor     .92850        .57062E-01    .16123E-05   -.17574E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.26219
  Prefactor  = 0.0001
  Prefactor  = 5.0312
  Prefactor  = 39.9281
  Prefactor  = 0.0001
  Prefactor  = 43.5818
  Prefactor  = 77.7126
  Prefactor  = 19.6574
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.24851
  Prefactor  = 27.8897
  norm       = 17.9052
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 3.68503
  Prefactor  = 2.97077
  norm       = 43.2401
  norm       = 166.749
  norm       = 2.55243
  Prefactor  = 0.0001
  Normalizat = 0.799626
  Prefactor  = 0.928503
 **********
 **   18 **HESSE 
 **********

 FCN=   9371.182     FROM HESSE     STATUS=OK           456 CALLS     3469 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.2622        8.7370        .65845E-03   -1.5099    
   3  Prefactor     .10000E-03    4.3567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.0312        12.279        .17913E-03   -1.5259    
   5  Prefactor     39.928        50.610        .63436E-04   -1.4443    
   6  Prefactor     .10000E-03    17.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     43.582        47.611        .60739E-04   -1.4387    
   8  Prefactor     77.713        71.628        .45555E-04   -1.3943    
   9  Prefactor     19.657        35.787        .90335E-04   -1.4821    
  10  norm          .10000E-03    3.3264        .17150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.0401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.2485        4.8938        .87736E-03   -1.5250    
  13  Prefactor     27.890        25.922        .75861E-04   -1.4651    
  14  norm          17.905        8.3591        .94651E-04   -1.4861    
  15  norm          .10000E-03    .54454        .69509E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.0233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.8334        .15801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.1267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.6850        5.9511        .21039E-03   -1.5324    
  20  Prefactor     2.9708        4.1637        .20677E-03   -1.5363    
  21  norm          43.240        72.883        .30445E-03   -1.4392    
  22  norm          166.75        74.744        .15620E-03   -1.3118    
  23  norm          2.5524        2.8797        .16813E-03   -1.5388    
  24  Prefactor     .10000E-03    4.6247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .79963        .25865        .56695E-03   -1.0008    
  26  Prefactor     .92850        .58973E-01    .12988E-03   -.95152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31712e-09
Minuit parameter uncertainties:
  1  3.24857e-06
  2  8.73821
  3  2.68282e-05
  4  12.2856
  5  50.6644
  6  4.55734e-05
  7  47.6524
  8  71.7077
  9  35.8262
  10  4.8477e-05
  11  2.07641e-05
  12  4.89416
  13  25.9325
  14  8.35961
  15  1.4385e-06
  16  6.46518e-06
  17  6.27882e-06
  18  0.000166589
  19  5.95207
  20  4.16409
  21  73.0333
  22  74.7865
  23  2.87987
  24  5.10279e-06
  25  0.259052
  26  0.0589766
Done.

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

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  1.791e+01  8.360e+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.285e-01  5.898e-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.996e-01  2.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.65
Ra Dec: 97.348 -20.000
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 1.28e-07 +/- 5.99e-08
Energy Flux (Fixed Index): 5.85e-05 +/- 2.73e-05

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) = 9371.17392401
delta logL = 0.00789835007345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9371.17303632
delta logL = 0.0087860340318

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.597       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2001       1.0000          .0000       5.0000    
     3 'Normalizat'    .79529       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92878       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=   9371.173     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      246 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.597        8.6545        .95476E-04    .14854E-02
   2  alpha         2.2001        .39679        .11835E-01    .19796E-03
   3  Normalizat    .79536        .22969        .56823E-03   -.70185E-04
   4  Prefactor     .92877        .56120E-01    .12986E-03   -.28922E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.5968
  alpha      = 2.20012
  Normalizat = 0.795361
  Prefactor  = 0.928766
 **********
 **   18 **HESSE 
 **********

 FCN=   9371.173     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.597        8.5474        .19095E-04   -1.4869    
   2  alpha         2.2001        .39171        .47341E-03   -.12024    
   3  Normalizat    .79536        .22968        .22729E-04   -1.0024    
   4  Prefactor     .92877        .56119E-01    .25971E-04   -.95143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34776e-09
Minuit parameter uncertainties:
  1  8.54799
  2  0.393351
  3  0.229961
  4  0.0561229
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462117': 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) = 9371.17303627
delta logL = 0.00878608262246

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  1.760e+01  8.548e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  2.200e+00  3.934e-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.288e-01  5.612e-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.954e-01  2.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.66
Ra Dec: 97.348 -20.000
Photon Index (Free Index): 2.20 +/- 0.39
Photon Flux (Free Index): 1.35e-07 +/- 7.66e-08
Energy Flux (Free Index): 5.67e-05 +/- 2.91e-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/462117/cmap_HighResolution_626313601_626572801_4FGL_J0629.3-1959_daily_bin1493.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.28e-07', energy_flux2='5.67e-05', photon_flux_error='5.99e-08', dlogl='8.79e-03', energy_flux='5.85e-05', photon_flux2='1.35e-07', job_status='DONE', time_completed='2021-08-25 06:51:08.642457', photon_index_error2='0.39', photon_index2='2.20', ts='10.65', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='2.91e-05', EG='0.80', time_epoch_completed='1629899468.64', return_code='0', job_id='462117', GAL2='0.93', EG2='0.80', return_code2='0', energy_flux_error='2.73e-05', photon_flux_error2='7.66e-08', ts2='10.66', photon_index='2.15' WHERE bin_id='1493' AND source_name='4FGL J0629.3-1959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 06:51:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 462117: <4FGL_J0629.3-1959_daily_bin1493> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0629.3-1959_daily_bin1493 97.3478 -19.9999 626313601 626572801 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 :                                   879.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            935 sec.

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

