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


Performing analysis on: 4FGL_J0629.3-1959_daily_bin1230
RA = 97.3478, Dec = -19.9999
tmin = 558144001, tmax = 558403201
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='460143', job_status='RUN', time_executed='2021-08-25 06:33:59.033246', time_epoch_executed='1629898439.03' WHERE source_name='4FGL J0629.3-1959' and cadence='daily' and bin_id='1230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/460143

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/460143/ft1_4FGL_J0629.3-1959_daily_bin1230.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/460143/ft2_4FGL_J0629.3-1959_daily_bin1230.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/460143/ft1_4FGL_J0629.3-1959_daily_bin1230.fits outfile=/scratch/kocevski/460143/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1230.fits ra=97.3478 dec=-19.9999 rad=12.0 tmin=558144001.0 tmax=558403201.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.02
user 4.02
sys 1.89

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/460143/ft1_filtered_4FGL_J0629.3-1959_daily_bin1230.fits" evtable="EVENTS" scfile=/scratch/kocevski/460143/ft2_4FGL_J0629.3-1959_daily_bin1230.fits sctable="SC_DATA" outfile=/scratch/kocevski/460143/ltcube_558144001_558403201_4FGL_J0629.3-1959_daily_bin1230.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/460143/ft2_4FGL_J0629.3-1959_daily_bin1230.fits
.....................!
real 15.70
user 11.83
sys 2.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/460143/ft1_filtered_4FGL_J0629.3-1959_daily_bin1230.fits evtable="EVENTS" scfile=/scratch/kocevski/460143/ft2_4FGL_J0629.3-1959_daily_bin1230.fits sctable="SC_DATA" expcube=/scratch/kocevski/460143/ltcube_558144001_558403201_4FGL_J0629.3-1959_daily_bin1230.fits outfile=/scratch/kocevski/460143/expmap_558144001_558403201_4FGL_J0629.3-1959_daily_bin1230.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/460143/ltcube_558144001_558403201_4FGL_J0629.3-1959_daily_bin1230.fits
.....................!
real 197.10
user 184.61
sys 7.40

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/460143/ft1_filtered_4FGL_J0629.3-1959_daily_bin1230.fits scfile=/scratch/kocevski/460143/ft2_4FGL_J0629.3-1959_daily_bin1230.fits outfile=/scratch/kocevski/460143/cmap_558144001_558403201_4FGL_J0629.3-1959_daily_bin1230.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.20
user 0.36
sys 1.81

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/460143/ft1_filtered_4FGL_J0629.3-1959_daily_bin1230.fits scfile=/scratch/kocevski/460143/ft2_4FGL_J0629.3-1959_daily_bin1230.fits outfile=/scratch/kocevski/460143/cmap_HighResolution_558144001_558403201_4FGL_J0629.3-1959_daily_bin1230.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 2.19
user 0.36
sys 1.79

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/460143/ft1_filtered_4FGL_J0629.3-1959_daily_bin1230.fits evtable="EVENTS" scfile=/scratch/kocevski/460143/ft2_4FGL_J0629.3-1959_daily_bin1230.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/460143/Model_4FGL_J0629.3-1959_daily_bin1230.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/460143/ft1_filtered_4FGL_J0629.3-1959_daily_bin1230.fits....................!
real 100.24
user 96.59
sys 3.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.5523       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.742       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    35.257       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.7611       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.106       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.7046       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.3272       1.0000         .10000E-03   10000.    
    14 'norm      '    9.9880       1.0000         .10000E-03   10000.    
    15 'norm      '    4.5600       1.0000         .10000E-03   10000.    
    16 'norm      '    26.736       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.6123       1.0000         .10000E-03   10000.    
    18 'norm      '    30.482       1.0000         .10000E-03   10000.    
    19 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.658       1.0000         .10000E-03   10000.    
    21 'norm      '    .12559E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    27.158       1.0000         .10000E-03   10000.    
    23 'norm      '    3.4059       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .82109       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .98507       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=   6636.359     FROM MIGRAD    STATUS=CONVERGED    603 CALLS     3150 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    85.728       -.16304E-04** at limit **
   2  norm          .10000E-03    7.3593        .50347E-06** at limit **
   3  Prefactor     1.5299        27.822        .89638E-05   -.29401E-03
   4  Prefactor     12.744        20.367       -.85125E-06   -.57473E-04
   5  Prefactor     .10000E-03    39.744       -.15025E-05** at limit **
   6  Prefactor     .10000E-03    15.251       -.78316E-06** at limit **
   7  Prefactor     .10000E-03    133.31        .52140E-04** at limit **
   8  Prefactor     35.274        83.948        .48503E-04    .25665E-04
   9  Prefactor     .10000E-03    91.579        .89128E-05** at limit **
  10  norm          5.7612        5.8760       -.42200E-06   -.16797E-03
  11  Prefactor     15.108        22.402       -.11382E-05   -.56232E-04
  12  Prefactor     9.7049        6.9210        .94470E-06   -.99334E-04
  13  Prefactor     7.2019        39.172       -.48493E-04   -.10652E-03
  14  norm          9.9846        9.9182       -.88974E-06   -.72129E-04
  15  norm          4.5606        2.4082       -.68421E-09    .11369E-02
  16  norm          26.757        26.954       -.57223E-06   -.48339E-04
  17  Prefactor     3.5967        11.586        .18535E-05   -.27099E-03
  18  norm          30.479        18.470        .47565E-08    .94765E-04
  19  norm          .10000E-03    10.089        .56098E-06** at limit **
  20  Prefactor     10.654        7.4562       -.47489E-05   -.13972E-03
  21  norm          .10001E-03    167.65       -.21322E-04** at limit **
  22  norm          27.122        54.082       -.38741E-04    .17706E-04
  23  norm          3.4044        5.0066       -.63957E-06   -.56422E-03
  24  Prefactor     .10000E-03    18.581        .50665E-07** at limit **
  25  Normalizat    .82177        .33324        .33942E-05   -.66646E-04
  26  Prefactor     .98503        .78968E-01    .19242E-05   -.40036E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.52986
  Prefactor  = 12.7442
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 35.2744
  Prefactor  = 0.0001
  norm       = 5.76123
  Prefactor  = 15.1078
  Prefactor  = 9.70495
  Prefactor  = 7.2019
  norm       = 9.98463
  norm       = 4.56063
  norm       = 26.7569
  Prefactor  = 3.59674
  norm       = 30.4795
  norm       = 0.000100001
  Prefactor  = 10.654
  norm       = 0.000100005
  norm       = 27.1219
  norm       = 3.40439
  Prefactor  = 0.0001
  Normalizat = 0.821773
  Prefactor  = 0.985029
 **********
 **   18 **HESSE 
 **********

 FCN=   6636.359     FROM HESSE     STATUS=OK           460 CALLS     3610 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    86.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.3682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.5299        27.006        .34181E-03   -1.5461    
   4  Prefactor     12.744        20.328        .11221E-03   -1.4994    
   5  Prefactor     .10000E-03    39.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    134.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     35.274        83.721        .67491E-04   -1.4519    
   9  Prefactor     .10000E-03    91.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.7612        5.8719        .16734E-03   -1.5228    
  11  Prefactor     15.108        22.362        .10305E-03   -1.4930    
  12  Prefactor     9.7049        6.9189        .12864E-03   -1.5085    
  13  Prefactor     7.2019        39.706        .14817E-03   -1.5171    
  14  norm          9.9846        9.9009        .12679E-03   -1.5076    
  15  norm          4.5606        2.4033        .42627E-03   -1.5281    
  16  norm          26.757        26.145        .77476E-04   -1.4673    
  17  Prefactor     3.5967        11.130        .21259E-03   -1.5329    
  18  norm          30.479        18.449        .72571E-04   -1.4603    
  19  norm          .10000E-03    10.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.654        7.4655        .12273E-03   -1.5055    
  21  norm          .10001E-03    168.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          27.122        54.026        .76874E-04   -1.4666    
  23  norm          3.4044        5.0191        .20745E-03   -1.5339    
  24  Prefactor     .10000E-03    18.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .82177        .33431        .57114E-03   -.99266    
  26  Prefactor     .98503        .82028E-01    .14534E-03   -.93230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04841e-09
Minuit parameter uncertainties:
  1  0.000102554
  2  2.67419e-05
  3  12.8616
  4  20.3391
  5  0.000107435
  6  9.63168e-05
  7  0.00124962
  8  84.0019
  9  0.000203503
  10  5.87246
  11  22.3747
  12  6.91949
  13  33.855
  14  9.90257
  15  2.40336
  16  26.1566
  17  11.1362
  18  18.4529
  19  0.000182936
  20  7.46612
  21  0.00184641
  22  54.1233
  23  5.01976
  24  9.81843e-06
  25  0.335149
  26  0.0820383
Done.

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

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  9.985e+00  9.903e+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.850e-01  8.204e-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:  8.218e-01  3.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.93
Ra Dec: 97.348 -20.000
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 7.16e-08 +/- 7.10e-08
Energy Flux (Fixed Index): 3.26e-05 +/- 3.23e-05

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

Saving results to:
/scratch/kocevski/460143/likelihoodResults_558144001_558403201_4FGL_J0629.3-1959_daily_bin1230.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) = 6636.31543537
delta logL = 0.0440067809695

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6636.31367799
delta logL = 0.0457641617741

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8724       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4348       1.0000          .0000       5.0000    
     3 'Normalizat'    .80436       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98563       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=   6636.314     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      280 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8583        9.6085        .63767E-03   -.58763E-04
   2  alpha         2.4309        .93665        .17948E-01    .10741E-03
   3  Normalizat    .80509        .27693        .57590E-03    .29058E-04
   4  Prefactor     .98559        .75480E-01    .14526E-03   -.30913E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.85826
  alpha      = 2.43095
  Normalizat = 0.805093
  Prefactor  = 0.98559
 **********
 **   18 **HESSE 
 **********

 FCN=   6636.314     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8583        9.3347        .25507E-04   -1.5080    
   2  alpha         2.4309        .91013        .35896E-02   -.27626E-01
   3  Normalizat    .80509        .27670        .23036E-04   -.99880    
   4  Prefactor     .98559        .75466E-01    .58106E-05   -.93211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19237e-11
Minuit parameter uncertainties:
  1  9.3361
  2  0.931556
  3  0.27719
  4  0.0754738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/460143': 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) = 6636.31366281
delta logL = 0.0457793419173

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  9.858e+00  9.336e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  2.431e+00  9.316e-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.856e-01  7.547e-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:  8.051e-01  2.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.03
Ra Dec: 97.348 -20.000
Photon Index (Free Index): 2.43 +/- 0.93
Photon Flux (Free Index): 1.02e-07 +/- 1.32e-07
Energy Flux (Free Index): 3.24e-05 +/- 2.87e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/460143/cmap_HighResolution_558144001_558403201_4FGL_J0629.3-1959_daily_bin1230.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-04', comment='SUCCESS', photon_flux='7.16e-08', energy_flux2='3.24e-05', photon_flux_error='7.10e-08', dlogl='4.58e-02', energy_flux='3.26e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2021-08-25 06:46:37.878973', photon_index_error2='0.93', photon_index2='2.43', ts='1.93', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='2.34e-07', energy_flux_error2='2.87e-05', EG='0.82', time_epoch_completed='1629899197.88', return_code='0', job_id='460143', GAL2='0.99', EG2='0.81', return_code2='0', energy_flux_error='3.23e-05', photon_flux_error2='1.32e-07', ts2='2.03', photon_index='2.15' WHERE bin_id='1230' AND source_name='4FGL J0629.3-1959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 06:46:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 460143: <4FGL_J0629.3-1959_daily_bin1230> in cluster <slac> Done

Job <4FGL_J0629.3-1959_daily_bin1230> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Aug 25 06:30:25 2021
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 06:30:26 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:30:26 2021
Terminated at Wed Aug 25 06:46:38 2021
Results reported at Wed Aug 25 06:46:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0629.3-1959_daily_bin1230 97.3478 -19.9999 558144001 558403201 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 :                                   775.44 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             251.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            973 sec.

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

