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


Performing analysis on: 4FGL_J0629.3-1959_daily_bin1277
RA = 97.3478, Dec = -19.9999
tmin = 570326401, tmax = 570585601
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='460210', job_status='RUN', time_executed='2021-08-25 06:33:54.369796', time_epoch_executed='1629898434.37' WHERE source_name='4FGL J0629.3-1959' and cadence='daily' and bin_id='1277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/460210

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/460210/ft1_4FGL_J0629.3-1959_daily_bin1277.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/460210/ft2_4FGL_J0629.3-1959_daily_bin1277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/460210/ft1_4FGL_J0629.3-1959_daily_bin1277.fits outfile=/scratch/kocevski/460210/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1277.fits ra=97.3478 dec=-19.9999 rad=12.0 tmin=570326401.0 tmax=570585601.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 12.79
user 3.23
sys 9.41

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/460210/ft2_4FGL_J0629.3-1959_daily_bin1277.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/460210/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1277.fits evtable="EVENTS" outfile="/scratch/kocevski/460210/ft1_filtered_4FGL_J0629.3-1959_daily_bin1277.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 9.24
user 0.35
sys 8.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/460210/ft1_filtered_4FGL_J0629.3-1959_daily_bin1277.fits" evtable="EVENTS" scfile=/scratch/kocevski/460210/ft2_4FGL_J0629.3-1959_daily_bin1277.fits sctable="SC_DATA" outfile=/scratch/kocevski/460210/ltcube_570326401_570585601_4FGL_J0629.3-1959_daily_bin1277.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/460210/ft2_4FGL_J0629.3-1959_daily_bin1277.fits
.....................!
real 33.25
user 11.67
sys 10.11

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/460210/ft1_filtered_4FGL_J0629.3-1959_daily_bin1277.fits evtable="EVENTS" scfile=/scratch/kocevski/460210/ft2_4FGL_J0629.3-1959_daily_bin1277.fits sctable="SC_DATA" expcube=/scratch/kocevski/460210/ltcube_570326401_570585601_4FGL_J0629.3-1959_daily_bin1277.fits outfile=/scratch/kocevski/460210/expmap_570326401_570585601_4FGL_J0629.3-1959_daily_bin1277.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/460210/ltcube_570326401_570585601_4FGL_J0629.3-1959_daily_bin1277.fits
.....................!
real 205.40
user 187.10
sys 16.19

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/460210/ft1_filtered_4FGL_J0629.3-1959_daily_bin1277.fits scfile=/scratch/kocevski/460210/ft2_4FGL_J0629.3-1959_daily_bin1277.fits outfile=/scratch/kocevski/460210/cmap_570326401_570585601_4FGL_J0629.3-1959_daily_bin1277.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 9.03
user 0.38
sys 8.61

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/460210/ft1_filtered_4FGL_J0629.3-1959_daily_bin1277.fits scfile=/scratch/kocevski/460210/ft2_4FGL_J0629.3-1959_daily_bin1277.fits outfile=/scratch/kocevski/460210/cmap_HighResolution_570326401_570585601_4FGL_J0629.3-1959_daily_bin1277.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 9.02
user 0.39
sys 8.60

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/460210/ft1_filtered_4FGL_J0629.3-1959_daily_bin1277.fits evtable="EVENTS" scfile=/scratch/kocevski/460210/ft2_4FGL_J0629.3-1959_daily_bin1277.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/460210/Model_4FGL_J0629.3-1959_daily_bin1277.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/460210/ft1_filtered_4FGL_J0629.3-1959_daily_bin1277.fits.....................!
real 85.02
user 72.31
sys 12.45

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10161E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    16.626       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.184       1.0000         .10000E-03   10000.    
     5 'Prefactor '    45.836       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10273E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    46.457       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.931       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.9913       1.0000         .10000E-03   10000.    
    14 'norm      '    18.154       1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .68533E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.7201       1.0000         .10000E-03   10000.    
    18 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.2801       1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.960       1.0000         .10000E-03   10000.    
    21 'norm      '    .11152E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    23.441       1.0000         .10000E-03   10000.    
    23 'norm      '    8.2349       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .84652       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .91630       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=   4260.362     FROM MIGRAD    STATUS=CONVERGED    608 CALLS     3543 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    36.021       -.45921E-06** at limit **
   2  norm          16.625        22.538        .11658E-07   -.44742E-05
   3  Prefactor     .10000E-03    12.127        .29661E-06** at limit **
   4  Prefactor     26.180        19.606        .60716E-07    .29338E-04
   5  Prefactor     45.938        109.25        .23495E-05    .85890E-04
   6  Prefactor     .10000E-03    26.995        .29327E-06** at limit **
   7  Prefactor     .10000E-03    33.287       -.84687E-07** at limit **
   8  Prefactor     46.448        122.71        .24590E-08   -.47570E-05
   9  Prefactor     .10000E-03    22.182       -.36202E-06** at limit **
  10  norm          .10000E-03    5.9645       -.19240E-06** at limit **
  11  Prefactor     20.942        32.107        .80384E-07    .76299E-05
  12  Prefactor     .10000E-03    6.1009       -.12599E-06** at limit **
  13  Prefactor     7.9749        41.729        .45754E-06    .23565E-04
  14  norm          18.163        14.583        .89273E-06    .19277E-03
  15  norm          .10000E-03    2.2150       -.35029E-06** at limit **
  16  norm          .10427E-03    29.239       -.82164E-05** at limit **
  17  Prefactor     6.7364        9.7132        .41645E-05    .37799E-03
  18  norm          .10000E-03    30.515        .26288E-06** at limit **
  19  norm          3.2836        49.130        .15396E-05   -.22795E-04
  20  Prefactor     12.962        11.437       -.21672E-06    .13785E-03
  21  norm          .10000E-03    48.915        .19300E-06** at limit **
  22  norm          23.453        133.45        .39572E-06    .47548E-05
  23  norm          8.2344        5.5958       -.11525E-07    .38469E-04
  24  Prefactor     .10000E-03    21.083        .14295E-06** at limit **
  25  Normalizat    .84630        .39386       -.37177E-06    .52120E-04
  26  Prefactor     .91631        .82716E-01    .62870E-07    .15162E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 16.6252
  Prefactor  = 0.0001
  Prefactor  = 26.1795
  Prefactor  = 45.9379
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.4479
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.9416
  Prefactor  = 0.0001
  Prefactor  = 7.97486
  norm       = 18.1626
  norm       = 0.0001
  norm       = 0.000104274
  Prefactor  = 6.73635
  norm       = 0.0001
  norm       = 3.28359
  Prefactor  = 12.9623
  norm       = 0.0001
  norm       = 23.453
  norm       = 8.23443
  Prefactor  = 0.0001
  Normalizat = 0.8463
  Prefactor  = 0.916305
 **********
 **   18 **HESSE 
 **********

 FCN=   4260.362     FROM HESSE     STATUS=OK           464 CALLS     4007 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    35.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          16.625        22.542        .98226E-04   -1.4892    
   3  Prefactor     .10000E-03    12.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.180        19.599        .78287E-04   -1.4684    
   5  Prefactor     45.938        108.49        .29611E-03   -1.4351    
   6  Prefactor     .10000E-03    27.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    33.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     46.448        122.73        .58826E-04   -1.4344    
   9  Prefactor     .10000E-03    22.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.9855        .15570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.942        32.090        .87549E-04   -1.4792    
  12  Prefactor     .10000E-03    6.1128        .15747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.9749        41.629        .14183E-03   -1.5143    
  14  norm          18.163        14.789        .94000E-04   -1.4855    
  15  norm          .10000E-03    2.2402        .94920E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10427E-03    46.902        .86053E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.7364        12.445        .15479E-03   -1.5189    
  18  norm          .10000E-03    30.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.2836        44.432        .22358E-03   -1.5346    
  20  Prefactor     12.962        10.905        .11127E-03   -1.4988    
  21  norm          .10000E-03    48.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          23.453        133.33        .82734E-04   -1.4739    
  23  norm          8.2344        5.5986        .12315E-03   -1.5134    
  24  Prefactor     .10000E-03    21.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .84630        .40016        .59503E-03   -.98374    
  26  Prefactor     .91631        .85186E-01    .13178E-03   -.95574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67696e-10
Minuit parameter uncertainties:
  1  0.000256798
  2  22.5537
  3  7.59547e-05
  4  19.6042
  5  108.959
  6  5.85674e-05
  7  3.5834e-05
  8  123.408
  9  0.000136855
  10  4.74287e-07
  11  32.1161
  12  1.96727e-07
  13  36.4807
  14  14.792
  15  4.73238e-06
  16  0.0283389
  17  12.4499
  18  0.000117649
  19  24.1791
  20  10.9069
  21  0.000117795
  22  112.22
  23  5.59895
  24  6.29447e-05
  25  0.401566
  26  0.0851982
Done.

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

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  1.816e+01  1.479e+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.163e-01  8.520e-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.463e-01  4.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.74
Ra Dec: 97.348 -20.000
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 1.30e-07 +/- 1.06e-07
Energy Flux (Fixed Index): 5.93e-05 +/- 4.83e-05

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

Saving results to:
/scratch/kocevski/460210/likelihoodResults_570326401_570585601_4FGL_J0629.3-1959_daily_bin1277.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) = 4259.55931769
delta logL = 0.802588541275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4259.53661844
delta logL = 0.8252877857

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.9391       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0351       1.0000          .0000       5.0000    
     3 'Normalizat'    .78245       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92166       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=   4259.537     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      246 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.9392        136.43        .33514E-02    .74977E-03
   2  alpha         3.0356        4.0123        .22874        .41726E-04
   3  Normalizat    .78258        .20052        .13818        .20886E-04
   4  Prefactor     .92159        .44781E-01    .29710E-01   -.28296E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.93915
  alpha      = 3.03559
  Normalizat = 0.78258
  Prefactor  = 0.921587
 **********
 **   18 **HESSE 
 **********

 FCN=   4259.537     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.9392        12.264        .11815E-03   -1.5110    
   2  alpha         3.0356        .84194        .94662E-02    .21591    
   3  Normalizat    .78258        .35658        .61403E-03   -1.0072    
   4  Prefactor     .92159        .81759E-01    .13130E-03   -.95391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40864e-09
Minuit parameter uncertainties:
  1  12.2677
  2  0.859585
  3  0.357652
  4  0.0817701
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/460210': 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) = 4259.53661731
delta logL = 0.825288921013

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  8.939e+00  1.227e+01  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  3.036e+00  8.596e-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.216e-01  8.177e-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.826e-01  3.577e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.50
Ra Dec: 97.348 -20.000
Photon Index (Free Index): 3.04 +/- 0.86
Photon Flux (Free Index): 2.29e-07 +/- 1.50e-07
Energy Flux (Free Index): 4.72e-05 +/- 3.23e-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/460210/cmap_HighResolution_570326401_570585601_4FGL_J0629.3-1959_daily_bin1277.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.65e-04', comment='SUCCESS', photon_flux='1.30e-07', energy_flux2='4.72e-05', photon_flux_error='1.06e-07', dlogl='8.25e-01', energy_flux='5.93e-05', photon_flux2='2.29e-07', job_status='DONE', time_completed='2021-08-25 06:46:30.288313', photon_index_error2='0.86', photon_index2='3.04', ts='2.74', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='3.62e-07', energy_flux_error2='3.23e-05', EG='0.85', time_epoch_completed='1629899190.29', return_code='0', job_id='460210', GAL2='0.92', EG2='0.78', return_code2='0', energy_flux_error='4.83e-05', photon_flux_error2='1.50e-07', ts2='4.50', photon_index='2.15' WHERE bin_id='1277' AND source_name='4FGL J0629.3-1959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 06:46:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 460210: <4FGL_J0629.3-1959_daily_bin1277> in cluster <slac> Done

Job <4FGL_J0629.3-1959_daily_bin1277> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Aug 25 06:30:29 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 06:30:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 25 06:30:31 2021
Terminated at Wed Aug 25 06:46:32 2021
Results reported at Wed Aug 25 06:46:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0629.3-1959_daily_bin1277 97.3478 -19.9999 570326401 570585601 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 :                                   875.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            963 sec.

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

