/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 1 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7644
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0629.3-1959_daily_bin843
RA = 97.3478, Dec = -19.9999
tmin = 457833601, tmax = 458092801
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='454605', job_status='RUN', time_executed='2021-08-25 06:10:47.574939', time_epoch_executed='1629897047.57' WHERE source_name='4FGL J0629.3-1959' and cadence='daily' and bin_id='843'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/454605

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/454605/ft1_4FGL_J0629.3-1959_daily_bin843.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/454605/ft2_4FGL_J0629.3-1959_daily_bin843.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/454605/ft1_4FGL_J0629.3-1959_daily_bin843.fits outfile=/scratch/kocevski/454605/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin843.fits ra=97.3478 dec=-19.9999 rad=12.0 tmin=457833601.0 tmax=458092801.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 3.66
user 3.45
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/454605/ft2_4FGL_J0629.3-1959_daily_bin843.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/454605/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin843.fits evtable="EVENTS" outfile="/scratch/kocevski/454605/ft1_filtered_4FGL_J0629.3-1959_daily_bin843.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/454605/ft1_filtered_4FGL_J0629.3-1959_daily_bin843.fits" evtable="EVENTS" scfile=/scratch/kocevski/454605/ft2_4FGL_J0629.3-1959_daily_bin843.fits sctable="SC_DATA" outfile=/scratch/kocevski/454605/ltcube_457833601_458092801_4FGL_J0629.3-1959_daily_bin843.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/454605/ft2_4FGL_J0629.3-1959_daily_bin843.fits
.....................!
real 11.69
user 11.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/454605/ft1_filtered_4FGL_J0629.3-1959_daily_bin843.fits evtable="EVENTS" scfile=/scratch/kocevski/454605/ft2_4FGL_J0629.3-1959_daily_bin843.fits sctable="SC_DATA" expcube=/scratch/kocevski/454605/ltcube_457833601_458092801_4FGL_J0629.3-1959_daily_bin843.fits outfile=/scratch/kocevski/454605/expmap_457833601_458092801_4FGL_J0629.3-1959_daily_bin843.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/454605/ltcube_457833601_458092801_4FGL_J0629.3-1959_daily_bin843.fits
.....................!
real 190.42
user 186.01
sys 4.03

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/454605/ft1_filtered_4FGL_J0629.3-1959_daily_bin843.fits scfile=/scratch/kocevski/454605/ft2_4FGL_J0629.3-1959_daily_bin843.fits outfile=/scratch/kocevski/454605/cmap_457833601_458092801_4FGL_J0629.3-1959_daily_bin843.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=97.3478 yref=-19.9999 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/454605/ft1_filtered_4FGL_J0629.3-1959_daily_bin843.fits scfile=/scratch/kocevski/454605/ft2_4FGL_J0629.3-1959_daily_bin843.fits outfile=/scratch/kocevski/454605/cmap_HighResolution_457833601_458092801_4FGL_J0629.3-1959_daily_bin843.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=97.3478 yref=-19.9999 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/454605/ft1_filtered_4FGL_J0629.3-1959_daily_bin843.fits evtable="EVENTS" scfile=/scratch/kocevski/454605/ft2_4FGL_J0629.3-1959_daily_bin843.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/454605/Model_4FGL_J0629.3-1959_daily_bin843.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/454605/ft1_filtered_4FGL_J0629.3-1959_daily_bin843.fits.....................!
real 149.36
user 147.82
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.729       1.0000         .10000E-03   10000.    
     2 'norm      '    8.7553       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13752E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    46.426       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11473E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    79.336       1.0000         .10000E-03   10000.    
    10 'norm      '    10.917       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.470       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.1178       1.0000         .10000E-03   10000.    
    15 'norm      '    1.1676       1.0000         .10000E-03   10000.    
    16 'norm      '    8.0942       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.6594       1.0000         .10000E-03   10000.    
    18 'norm      '    .31773E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    21.967       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.4207       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    34.346       1.0000         .10000E-03   10000.    
    23 'norm      '    .16839E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.3236       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .87167       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=   9758.600     FROM MIGRAD    STATUS=CONVERGED   1111 CALLS     3625 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.729        17.800        .97923E-04    .62693E-05
   2  norm          8.7540        10.189        .13547E-03    .35248E-04
   3  Prefactor     .10000E-03    3.1206        .17007E-02** at limit **
   4  Prefactor     .10002E-03    19.537        .41800E-02** at limit **
   5  Prefactor     46.371        71.879        .58846E-04    .40880E-04
   6  Prefactor     .10007E-03    14.130        .10829    ** at limit **
   7  Prefactor     .10000E-03    28.026        .18142E-02** at limit **
   8  Prefactor     .10000E-03    27.987        .18142E-02** at limit **
   9  Prefactor     79.319        44.709        .45088E-04    .91074E-04
  10  norm          10.915        8.6391        .12126E-03    .55504E-04
  11  Prefactor     .10000E-03    6.5331        .18142E-02** at limit **
  12  Prefactor     10.469        7.6765        .12383E-03    .22402E-04
  13  Prefactor     .10000E-03    7.6542        .18142E-02** at limit **
  14  norm          2.1157        8.1232        .28343E-03    .31287E-04
  15  norm          1.1676        1.2110        .10815E-03   -.32797E-04
  16  norm          8.0931        12.287        .14092E-03    .24686E-04
  17  Prefactor     2.6592        5.3825        .24995E-03    .25471E-05
  18  norm          .10009E-03    70.564        .64266E-02** at limit **
  19  norm          21.966        15.668        .85461E-04    .60927E-04
  20  Prefactor     4.4219        6.6456        .95767E-03    .60340E-03
  21  norm          .10000E-03    106.14        .18142E-02** at limit **
  22  norm          34.348        64.026        .68378E-04    .39903E-06
  23  norm          .10003E-03    31.706        .23891E-02** at limit **
  24  Prefactor     .10000E-03    18.193        .18142E-02** at limit **
  25  Normalizat    1.3240        .27083        .50345E-03    .21809E-03
  26  Prefactor     .87163        .59726E-01    .13838E-03    .83214E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.7286
  norm       = 8.75402
  Prefactor  = 0.0001
  Prefactor  = 0.000100023
  Prefactor  = 46.3708
  Prefactor  = 0.000100074
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 79.319
  norm       = 10.9152
  Prefactor  = 0.0001
  Prefactor  = 10.4693
  Prefactor  = 0.0001
  norm       = 2.11571
  norm       = 1.16759
  norm       = 8.09314
  Prefactor  = 2.65919
  norm       = 0.000100089
  norm       = 21.9661
  Prefactor  = 4.42188
  norm       = 0.0001
  norm       = 34.3483
  norm       = 0.000100029
  Prefactor  = 0.0001
  Normalizat = 1.32397
  Prefactor  = 0.871631
 **********
 **   18 **HESSE 
 **********

 FCN=   9758.600     FROM HESSE     STATUS=OK           442 CALLS     4067 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.729        17.805        .39169E-05   -1.4890    
   2  norm          8.7540        10.189        .54186E-05   -1.5116    
   3  Prefactor     .10000E-03    3.1210        .34014E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10002E-03    19.758        .83601E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     46.371        71.878        .11769E-04   -1.4345    
   6  Prefactor     .10007E-03    13.780        .11048       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.028        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    27.988        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     79.319        44.705        .90177E-05   -1.3924    
  10  norm          10.915        8.6387        .48503E-05   -1.5047    
  11  Prefactor     .10000E-03    6.5333        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.469        7.6765        .49531E-05   -1.5061    
  13  Prefactor     .10000E-03    7.6543        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.1157        8.1195        .11337E-04   -1.5417    
  15  norm          1.1676        1.2109        .43260E-05   -1.5492    
  16  norm          8.0931        12.279        .56370E-05   -1.5139    
  17  Prefactor     2.6592        5.3798        .99979E-05   -1.5382    
  18  norm          .10009E-03    72.090        .12853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          21.966        15.616        .34184E-05   -1.4770    
  20  Prefactor     4.4219        6.6187        .19153E-03   -1.5287    
  21  norm          .10000E-03    106.15        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          34.348        64.023        .13676E-04   -1.4535    
  23  norm          .10003E-03    32.941        .95565E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    18.198        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.3240        .27075        .20138E-04   -.82854    
  26  Prefactor     .87163        .59691E-01    .27677E-04   -.97140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53351e-09
Minuit parameter uncertainties:
  1  17.811
  2  10.1908
  3  1.82664e-06
  4  0.00136052
  5  72.0132
  6  0.00202239
  7  6.62003e-05
  8  2.18243e-05
  9  44.7235
  10  8.63973
  11  5.02813e-06
  12  7.67726
  13  9.24131e-06
  14  8.12369
  15  1.21096
  16  12.2831
  17  5.38083
  18  0.00508014
  19  15.619
  20  6.6198
  21  0.000333116
  22  64.151
  23  0.00196678
  24  2.08876e-05
  25  0.271037
  26  0.0596954
Done.

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

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  2.116e+00  8.124e+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:  8.716e-01  5.970e-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:  1.324e+00  2.710e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/454605/likelihoodResults_457833601_458092801_4FGL_J0629.3-1959_daily_bin843.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) = 9757.51476053
delta logL = 1.08537215182

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9757.51260335
delta logL = 1.08752933699

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3517       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6086       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2208       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87830       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=   9757.513     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      224 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3500        27.843        .66823E-02    .12301E-02
   2  alpha         3.6092        4.1612        .40810        .10519E-03
   3  Normalizat    1.2208        .87183E-01    .11710        .53259E-04
   4  Prefactor     .87828        .19740E-01    .31177E-01   -.23389E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.35003
  alpha      = 3.60923
  Normalizat = 1.22079
  Prefactor  = 0.878277
 **********
 **   18 **HESSE 
 **********

 FCN=   9757.513     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3500        6.9086        .10573E-03   -1.5401    
   2  alpha         3.6092        1.5642        .15476E-01    .45972    
   3  Normalizat    1.2208        .25905        .51936E-03   -.85963    
   4  Prefactor     .87828        .57788E-01    .13777E-03   -.96904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45831e-10
Minuit parameter uncertainties:
  1  6.9109
  2  1.73151
  3  0.259326
  4  0.0577917
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/454605': 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) = 9757.512603
delta logL = 1.08752968869

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  2.350e+00  6.911e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  3.609e+00  1.732e+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:  8.783e-01  5.779e-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:  1.221e+00  2.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.41
Ra Dec: 97.348 -20.000
Photon Index (Free Index): 3.61 +/- 1.73
Photon Flux (Free Index): 1.56e-07 +/- 1.19e-07
Energy Flux (Free Index): 2.63e-05 +/- 2.16e-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/454605/cmap_HighResolution_457833601_458092801_4FGL_J0629.3-1959_daily_bin843.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.92e-05', comment='SUCCESS', energy_flux2='2.63e-05', dlogl='1.09e+00', photon_flux2='1.56e-07', job_status='DONE', time_completed='2021-08-25 06:27:08.565274', photon_index_error2='1.73', photon_index2='3.61', ts='0.08', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.52e-07', energy_flux_error2='2.16e-05', EG='1.32', time_epoch_completed='1629898028.57', return_code='0', job_id='454605', GAL2='0.88', EG2='1.22', return_code2='0', photon_flux_error2='1.19e-07', ts2='2.41', photon_index='2.15' WHERE bin_id='843' AND source_name='4FGL J0629.3-1959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 06:27:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 454605: <4FGL_J0629.3-1959_daily_bin843> in cluster <slac> Done

Job <4FGL_J0629.3-1959_daily_bin843> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Aug 25 06:10:36 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 06:10:38 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:10:38 2021
Terminated at Wed Aug 25 06:27:09 2021
Results reported at Wed Aug 25 06:27:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0629.3-1959_daily_bin843 97.3478 -19.9999 457833601 458092801 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 :                                   977.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             360.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            993 sec.

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

