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


Performing analysis on: 4FGL_J0629.3-1959_daily_bin1269
RA = 97.3478, Dec = -19.9999
tmin = 568252801, tmax = 568512001
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='460199', job_status='RUN', time_executed='2021-08-25 06:34:04.580369', time_epoch_executed='1629898444.58' WHERE source_name='4FGL J0629.3-1959' and cadence='daily' and bin_id='1269'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/460199

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/460199/ft1_4FGL_J0629.3-1959_daily_bin1269.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/460199/ft2_4FGL_J0629.3-1959_daily_bin1269.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/460199/ft1_4FGL_J0629.3-1959_daily_bin1269.fits outfile=/scratch/kocevski/460199/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1269.fits ra=97.3478 dec=-19.9999 rad=12.0 tmin=568252801.0 tmax=568512001.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 11.50
user 3.39
sys 7.96

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/460199/ft2_4FGL_J0629.3-1959_daily_bin1269.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/460199/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1269.fits evtable="EVENTS" outfile="/scratch/kocevski/460199/ft1_filtered_4FGL_J0629.3-1959_daily_bin1269.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 8.35
user 0.33
sys 7.93

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/460199/ft1_filtered_4FGL_J0629.3-1959_daily_bin1269.fits" evtable="EVENTS" scfile=/scratch/kocevski/460199/ft2_4FGL_J0629.3-1959_daily_bin1269.fits sctable="SC_DATA" outfile=/scratch/kocevski/460199/ltcube_568252801_568512001_4FGL_J0629.3-1959_daily_bin1269.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/460199/ft2_4FGL_J0629.3-1959_daily_bin1269.fits
.....................!
real 32.44
user 11.46
sys 9.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/460199/ft1_filtered_4FGL_J0629.3-1959_daily_bin1269.fits evtable="EVENTS" scfile=/scratch/kocevski/460199/ft2_4FGL_J0629.3-1959_daily_bin1269.fits sctable="SC_DATA" expcube=/scratch/kocevski/460199/ltcube_568252801_568512001_4FGL_J0629.3-1959_daily_bin1269.fits outfile=/scratch/kocevski/460199/expmap_568252801_568512001_4FGL_J0629.3-1959_daily_bin1269.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/460199/ltcube_568252801_568512001_4FGL_J0629.3-1959_daily_bin1269.fits
.....................!
real 202.54
user 185.43
sys 14.52

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/460199/ft1_filtered_4FGL_J0629.3-1959_daily_bin1269.fits scfile=/scratch/kocevski/460199/ft2_4FGL_J0629.3-1959_daily_bin1269.fits outfile=/scratch/kocevski/460199/cmap_568252801_568512001_4FGL_J0629.3-1959_daily_bin1269.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 8.26
user 0.37
sys 7.81

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/460199/ft1_filtered_4FGL_J0629.3-1959_daily_bin1269.fits scfile=/scratch/kocevski/460199/ft2_4FGL_J0629.3-1959_daily_bin1269.fits outfile=/scratch/kocevski/460199/cmap_HighResolution_568252801_568512001_4FGL_J0629.3-1959_daily_bin1269.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 8.22
user 0.38
sys 7.79

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/460199/ft1_filtered_4FGL_J0629.3-1959_daily_bin1269.fits evtable="EVENTS" scfile=/scratch/kocevski/460199/ft2_4FGL_J0629.3-1959_daily_bin1269.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/460199/Model_4FGL_J0629.3-1959_daily_bin1269.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/460199/ft1_filtered_4FGL_J0629.3-1959_daily_bin1269.fits.....................!
real 80.36
user 68.77
sys 11.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.1649       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10555E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.923       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11737E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6521       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.6404       1.0000         .10000E-03   10000.    
    15 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    39.054       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10547E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    22.509       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.0891       1.0000         .10000E-03   10000.    
    21 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .37463       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .93246       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=   3845.221     FROM MIGRAD    STATUS=CONVERGED    610 CALLS     3078 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    40.428       -.11784E-04** at limit **
   2  norm          1.1376        94.756       -.85765E-05   -.11151E-03
   3  Prefactor     .10000E-03    16.369       -.87713E-06** at limit **
   4  Prefactor     18.944        17.754       -.18760E-06   -.29812E-03
   5  Prefactor     .10000E-03    52.037        .38241E-04** at limit **
   6  Prefactor     .10001E-03    165.58        .57036E-04** at limit **
   7  Prefactor     .10000E-03    61.981       -.24360E-04** at limit **
   8  Prefactor     .10000E-03    245.34       -.18896E-05** at limit **
   9  Prefactor     .10000E-03    207.01        .45505E-04** at limit **
  10  norm          .10000E-03    6.8420       -.36130E-07** at limit **
  11  Prefactor     7.6568        21.358        .92018E-06   -.36681E-04
  12  Prefactor     .10000E-03    9.3783        .41884E-07** at limit **
  13  Prefactor     .10000E-03    108.98       -.58951E-04** at limit **
  14  norm          6.6429        10.674        .77392E-06   -.89197E-04
  15  norm          .10000E-03    3.3315        .58983E-07** at limit **
  16  norm          39.035        38.793       -.16013E-05   -.32083E-04
  17  Prefactor     .10000E-03    20.080        .10918E-05** at limit **
  18  norm          .10000E-03    198.82        .55152E-04** at limit **
  19  norm          22.510        22.814        .29155E-06   -.32845E-04
  20  Prefactor     7.0930        8.3383        .10398E-05   -.15456E-03
  21  norm          .10000E-03    410.37       -.34043E-03** at limit **
  22  norm          .10000E-03    201.65        .53210E-04** at limit **
  23  norm          .10000E-03    2.3210        .28054E-07** at limit **
  24  Prefactor     .10000E-03    14.715        .57546E-06** at limit **
  25  Normalizat    .37304        .53053       -.30872E-05   -.16356E-03
  26  Prefactor     .93272        .10203       -.31162E-07   -.57974E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.13762
  Prefactor  = 0.0001
  Prefactor  = 18.9444
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 7.65679
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.64285
  norm       = 0.0001
  norm       = 39.0345
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 22.5101
  Prefactor  = 7.09301
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.373042
  Prefactor  = 0.932715
 **********
 **   18 **HESSE 
 **********

 FCN=   3845.221     FROM HESSE     STATUS=OK           444 CALLS     3522 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    40.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1376        94.569        .42618E-03   -1.5495    
   3  Prefactor     .10000E-03    16.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.944        17.219        .92073E-04   -1.4837    
   5  Prefactor     .10000E-03    52.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    170.94        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    61.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    245.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    209.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.8425        .15842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.6568        21.317        .14497E-03   -1.5154    
  12  Prefactor     .10000E-03    9.3787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    108.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.6429        10.651        .15572E-03   -1.5192    
  15  norm          .10000E-03    3.3422        .11043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          39.035        38.456        .64138E-04   -1.4458    
  17  Prefactor     .10000E-03    20.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    198.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          22.510        22.776        .84427E-04   -1.4759    
  20  Prefactor     7.0930        8.2818        .15066E-03   -1.5175    
  21  norm          .10000E-03    410.23        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    201.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.3216        .92264E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    14.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .37304        .44552        .91755E-03   -1.1872    
  26  Prefactor     .93272        .90197E-01    .12347E-03   -.95007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04712e-09
Minuit parameter uncertainties:
  1  8.63823e-05
  2  20.7776
  3  5.89771e-05
  4  17.2234
  5  4.46853e-06
  6  0.00228705
  7  3.9156e-06
  8  1.65401e-06
  9  0.000782992
  10  9.6236e-07
  11  21.3379
  12  9.70581e-07
  13  3.65948e-06
  14  10.6538
  15  7.96363e-06
  16  38.4807
  17  4.26915e-05
  18  2.52384e-06
  19  22.7844
  20  8.2831
  21  8.38396e-07
  22  2.34566e-06
  23  2.93654e-07
  24  5.39568e-07
  25  0.449846
  26  0.0902115
Done.

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

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  6.643e+00  1.065e+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.327e-01  9.021e-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:  3.730e-01  4.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/460199/likelihoodResults_568252801_568512001_4FGL_J0629.3-1959_daily_bin1269.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) = 3845.21854885
delta logL = 0.00283006292557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3845.21836922
delta logL = 0.00300968420515

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5044       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2434       1.0000          .0000       5.0000    
     3 'Normalizat'    .37057       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93291       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=   3845.218     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      272 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5072        10.633        .15736E-03   -.11921E-05
   2  alpha         2.2429        1.2031        .25063E-01    .15079E-04
   3  Normalizat    .37054        .42109        .92032E-03   -.84000E-06
   4  Prefactor     .93290        .88751E-01    .12346E-03    .75969E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.50723
  alpha      = 2.24293
  Normalizat = 0.370537
  Prefactor  = 0.932904
 **********
 **   18 **HESSE 
 **********

 FCN=   3845.218     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .27E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5072        10.511        .62944E-05   -1.5198    
   2  alpha         2.2429        1.1905        .50125E-02   -.10301    
   3  Normalizat    .37054        .42074        .36813E-04   -1.1885    
   4  Prefactor     .93290        .88687E-01    .49384E-05   -.95001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68499e-13
Minuit parameter uncertainties:
  1  10.5141
  2  1.24143
  3  0.424396
  4  0.0887012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/460199': 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) = 3845.21836912
delta logL = 0.00300978681753

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  6.507e+00  1.051e+01  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  2.243e+00  1.241e+00  0.000e+00  5.000e+00 ( 1.000e+00)
276         beta:  7.038e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  8.389e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  9.329e-01  8.870e-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:  3.705e-01  4.244e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.67
Ra Dec: 97.348 -20.000

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/460199/cmap_HighResolution_568252801_568512001_4FGL_J0629.3-1959_daily_bin1269.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-04', job_status='DONE', photon_flux_upper_limit='2.84e-07', time_completed='2021-08-25 06:45:23.915338', job_id='460199', GAL2='0.93', fit_tolerance='1e-08', EG2='0.37', EG='0.37', time_epoch_completed='1629899123.92', return_code2='0', ts='0.67', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='3.01e-03', ts2='0.68', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1269' AND source_name='4FGL J0629.3-1959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 06:45:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 460199: <4FGL_J0629.3-1959_daily_bin1269> in cluster <slac> Done

Job <4FGL_J0629.3-1959_daily_bin1269> 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) <bullet0186>, 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:45:25 2021
Results reported at Wed Aug 25 06:45:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0629.3-1959_daily_bin1269 97.3478 -19.9999 568252801 568512001 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 :                                   781.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             248.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            896 sec.

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

