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


Performing analysis on: 4FGL_J0629.3-1959_daily_bin896
RA = 97.3478, Dec = -19.9999
tmin = 471571201, tmax = 471830401
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='455829', job_status='RUN', time_executed='2021-08-25 06:15:42.218666', time_epoch_executed='1629897342.22' WHERE source_name='4FGL J0629.3-1959' and cadence='daily' and bin_id='896'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/455829

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/455829/ft1_4FGL_J0629.3-1959_daily_bin896.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/455829/ft2_4FGL_J0629.3-1959_daily_bin896.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/455829/ft1_4FGL_J0629.3-1959_daily_bin896.fits outfile=/scratch/kocevski/455829/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin896.fits ra=97.3478 dec=-19.9999 rad=12.0 tmin=471571201.0 tmax=471830401.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 5.38
user 4.75
sys 0.59

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/455829/ft1_filtered_4FGL_J0629.3-1959_daily_bin896.fits" evtable="EVENTS" scfile=/scratch/kocevski/455829/ft2_4FGL_J0629.3-1959_daily_bin896.fits sctable="SC_DATA" outfile=/scratch/kocevski/455829/ltcube_471571201_471830401_4FGL_J0629.3-1959_daily_bin896.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/455829/ft2_4FGL_J0629.3-1959_daily_bin896.fits
.....................!
real 12.00
user 11.24
sys 0.73

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/455829/ft1_filtered_4FGL_J0629.3-1959_daily_bin896.fits evtable="EVENTS" scfile=/scratch/kocevski/455829/ft2_4FGL_J0629.3-1959_daily_bin896.fits sctable="SC_DATA" expcube=/scratch/kocevski/455829/ltcube_471571201_471830401_4FGL_J0629.3-1959_daily_bin896.fits outfile=/scratch/kocevski/455829/expmap_471571201_471830401_4FGL_J0629.3-1959_daily_bin896.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/455829/ltcube_471571201_471830401_4FGL_J0629.3-1959_daily_bin896.fits
.....................!
real 193.23
user 188.10
sys 4.75

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/455829/ft1_filtered_4FGL_J0629.3-1959_daily_bin896.fits scfile=/scratch/kocevski/455829/ft2_4FGL_J0629.3-1959_daily_bin896.fits outfile=/scratch/kocevski/455829/cmap_471571201_471830401_4FGL_J0629.3-1959_daily_bin896.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.92
user 0.38
sys 0.52

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/455829/ft1_filtered_4FGL_J0629.3-1959_daily_bin896.fits scfile=/scratch/kocevski/455829/ft2_4FGL_J0629.3-1959_daily_bin896.fits outfile=/scratch/kocevski/455829/cmap_HighResolution_471571201_471830401_4FGL_J0629.3-1959_daily_bin896.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.93
user 0.37
sys 0.55

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/455829/ft1_filtered_4FGL_J0629.3-1959_daily_bin896.fits evtable="EVENTS" scfile=/scratch/kocevski/455829/ft2_4FGL_J0629.3-1959_daily_bin896.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/455829/Model_4FGL_J0629.3-1959_daily_bin896.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/455829/ft1_filtered_4FGL_J0629.3-1959_daily_bin896.fits.....................!
real 133.80
user 131.72
sys 1.70

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.497       1.0000         .10000E-03   10000.    
     5 'Prefactor '    85.249       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3822       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9402       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .56546       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .27784E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .56244       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    19.443       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11238E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    35.623       1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.0446       1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.3988       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.2286       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .93216       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=   8674.357     FROM MIGRAD    STATUS=CONVERGED    616 CALLS     3184 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    16.104       -.43377E-06** at limit **
   2  norm          .10000E-03    4.6729        .23012E-06** at limit **
   3  Prefactor     .10000E-03    5.2158       -.21824E-06** at limit **
   4  Prefactor     23.496        13.529       -.55400E-06    .36197E-04
   5  Prefactor     85.261        104.92        .11938E-04    .31798E-04
   6  Prefactor     .10000E-03    11.193        .13077E-06** at limit **
   7  Prefactor     6.3596        116.14       -.69504E-04    .12266E-04
   8  Prefactor     .10000E-03    48.786       -.95222E-06** at limit **
   9  Prefactor     4.9393        75.415       -.37786E-05   -.50541E-05
  10  norm          .10000E-03    2.7617        .33778E-06** at limit **
  11  Prefactor     .10000E-03    7.7027       -.14133E-05** at limit **
  12  Prefactor     .56483        .62298        .68498E-07   -.67526E-03
  13  Prefactor     .10000E-03    47.603        .13906E-05** at limit **
  14  norm          .10001E-03    3.5943       -.10775E-05** at limit **
  15  norm          .56231        1.8146       -.19189E-06   -.24601E-04
  16  norm          .10000E-03    4.3862       -.10740E-06** at limit **
  17  Prefactor     .10000E-03    4.0972       -.30856E-07** at limit **
  18  norm          .10000E-03    48.113       -.21658E-06** at limit **
  19  norm          19.455        14.456       -.39185E-06   -.15538E-03
  20  Prefactor     .10000E-03    3.9173        .43498E-06** at limit **
  21  norm          35.616        104.10       -.10467E-04    .86389E-05
  22  norm          .10000E-03    37.336       -.10068E-05** at limit **
  23  norm          1.0444        2.6665       -.54049E-07   -.96543E-04
  24  Prefactor     9.3976        18.718       -.34718E-06   -.16984E-04
  25  Normalizat    1.2288        .29766        .75008E-05   -.55245E-04
  26  Prefactor     .93216        .62292E-01   -.65191E-06    .31196E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.4958
  Prefactor  = 85.2608
  Prefactor  = 0.0001
  Prefactor  = 6.35962
  Prefactor  = 0.0001
  Prefactor  = 4.93926
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.56483
  Prefactor  = 0.0001
  norm       = 0.000100007
  norm       = 0.562306
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 19.4552
  Prefactor  = 0.000100003
  norm       = 35.6164
  norm       = 0.0001
  norm       = 1.04436
  Prefactor  = 9.39763
  Normalizat = 1.2288
  Prefactor  = 0.93216
 **********
 **   18 **HESSE 
 **********

 FCN=   8674.357     FROM HESSE     STATUS=OK           452 CALLS     3636 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.6738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.2412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.496        13.533        .82635E-04   -1.4738    
   5  Prefactor     85.261        105.89        .43509E-04   -1.3859    
   6  Prefactor     .10000E-03    11.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.3596        117.22        .15888E-03   -1.5204    
   8  Prefactor     .10000E-03    48.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9393        75.246        .18095E-03   -1.5263    
  10  norm          .10000E-03    2.7680        .15115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.7231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .56483        12.605        .23070E-02   -1.5558    
  13  Prefactor     .10000E-03    47.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10001E-03    12.439        .34106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .56231        1.8002        .21717E-03   -1.5558    
  16  norm          .10000E-03    4.3903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.1218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    48.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          19.455        13.130        .90833E-04   -1.4826    
  20  Prefactor     .10000E-03    7.5786        .31490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          35.616        104.18        .67145E-04   -1.4514    
  22  norm          .10000E-03    37.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.0444        2.6074        .23363E-03   -1.5504    
  24  Prefactor     9.3976        18.745        .13072E-03   -1.5095    
  25  Normalizat    1.2288        .31218        .53570E-03   -.85717    
  26  Prefactor     .93216        .65770E-01    .13567E-03   -.95026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18336e-09
Minuit parameter uncertainties:
  1  5.90349e-06
  2  5.03944e-06
  3  4.15571e-05
  4  13.5352
  5  106.121
  6  3.64846e-05
  7  54.7316
  8  7.67327e-05
  9  38.6147
  10  1.54478e-05
  11  1.09236e-05
  12  5.33739
  13  0.000229794
  14  0.000580372
  15  1.80035
  16  2.84394e-06
  17  4.27167e-06
  18  0.000118705
  19  13.1315
  20  0.000323873
  21  104.718
  22  4.31538e-06
  23  2.60769
  24  18.7563
  25  0.312652
  26  0.065776
Done.

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

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  1.000e-04  5.804e-04  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.322e-01  6.578e-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.229e+00  3.127e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/455829/likelihoodResults_471571201_471830401_4FGL_J0629.3-1959_daily_bin896.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) = 8674.35752312
delta logL = -0.000379544622774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8674.35714357
delta logL = -3.45607986674e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1627       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2288       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93217       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=   8673.876     FROM MIGRAD    STATUS=CONVERGED    177 CALLS      341 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14185        .16098        .33319E-02   -.64492E-02
   2  alpha         5.0000        1.0290        .50000    ** at limit **
   3  Normalizat    1.1391        .29280        .53570E-02    .64914E-04
   4  Prefactor     .94026        .62628E-01    .13567E-03    .10104E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.141848
  alpha      = 5
  Normalizat = 1.13908
  Prefactor  = 0.940255
 **********
 **   18 **HESSE 
 **********

 FCN=   8673.876     FROM HESSE     STATUS=OK            31 CALLS      372 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14185        .16214        .36985E-04   -1.5783    
   2  alpha         5.0000        3.2406        .82202E-01    1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1391        .28581        .21428E-03   -.88507    
   4  Prefactor     .94026        .62334E-01    .27134E-04   -.94748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64899e-09
Minuit parameter uncertainties:
  1  0.162138
  2  0.000160092
  3  0.286205
  4  0.0623386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/455829': 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) = 8673.87552496
delta logL = 0.481618617712

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  1.418e-01  1.621e-01  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  5.000e+00  1.601e-04  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.403e-01  6.234e-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.139e+00  2.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.06
Ra Dec: 97.348 -20.000
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.15e-07 +/- 1.31e-07
Energy Flux (Free Index): 1.56e-05 +/- 1.78e-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/455829/cmap_HighResolution_471571201_471830401_4FGL_J0629.3-1959_daily_bin896.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.80e-05', comment='SUCCESS', energy_flux2='1.56e-05', dlogl='4.82e-01', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-08-25 06:30:34.940719', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='1.78e-05', EG='1.23', time_epoch_completed='1629898234.94', return_code='0', job_id='455829', GAL2='0.94', EG2='1.14', return_code2='0', photon_flux_error2='1.31e-07', ts2='1.06', photon_index='2.15' WHERE bin_id='896' AND source_name='4FGL J0629.3-1959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 06:30:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 455829: <4FGL_J0629.3-1959_daily_bin896> in cluster <slac> Done

Job <4FGL_J0629.3-1959_daily_bin896> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Aug 25 06:15:23 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 06:15:24 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:15:24 2021
Terminated at Wed Aug 25 06:30:35 2021
Results reported at Wed Aug 25 06:30:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0629.3-1959_daily_bin896 97.3478 -19.9999 471571201 471830401 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 :                                   894.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             382.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            912 sec.

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

