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


Performing analysis on: 4FGL_J0629.3-1959_daily_bin1510
RA = 97.3478, Dec = -19.9999
tmin = 630720001, tmax = 630979201
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='462142', job_status='RUN', time_executed='2021-08-25 06:36:22.379380', time_epoch_executed='1629898582.38' WHERE source_name='4FGL J0629.3-1959' and cadence='daily' and bin_id='1510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462142

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462142/ft1_4FGL_J0629.3-1959_daily_bin1510.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462142/ft2_4FGL_J0629.3-1959_daily_bin1510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462142/ft1_4FGL_J0629.3-1959_daily_bin1510.fits outfile=/scratch/kocevski/462142/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1510.fits ra=97.3478 dec=-19.9999 rad=12.0 tmin=630720001.0 tmax=630979201.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.39
user 2.70
sys 0.60

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462142/ft1_filtered_4FGL_J0629.3-1959_daily_bin1510.fits" evtable="EVENTS" scfile=/scratch/kocevski/462142/ft2_4FGL_J0629.3-1959_daily_bin1510.fits sctable="SC_DATA" outfile=/scratch/kocevski/462142/ltcube_630720001_630979201_4FGL_J0629.3-1959_daily_bin1510.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/462142/ft2_4FGL_J0629.3-1959_daily_bin1510.fits
.....................!
real 13.81
user 12.91
sys 0.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462142/ft1_filtered_4FGL_J0629.3-1959_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/462142/ft2_4FGL_J0629.3-1959_daily_bin1510.fits sctable="SC_DATA" expcube=/scratch/kocevski/462142/ltcube_630720001_630979201_4FGL_J0629.3-1959_daily_bin1510.fits outfile=/scratch/kocevski/462142/expmap_630720001_630979201_4FGL_J0629.3-1959_daily_bin1510.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/462142/ltcube_630720001_630979201_4FGL_J0629.3-1959_daily_bin1510.fits
.....................!
real 192.61
user 185.47
sys 5.65

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/462142/ft1_filtered_4FGL_J0629.3-1959_daily_bin1510.fits scfile=/scratch/kocevski/462142/ft2_4FGL_J0629.3-1959_daily_bin1510.fits outfile=/scratch/kocevski/462142/cmap_630720001_630979201_4FGL_J0629.3-1959_daily_bin1510.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.99
user 0.37
sys 0.55

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462142/ft1_filtered_4FGL_J0629.3-1959_daily_bin1510.fits scfile=/scratch/kocevski/462142/ft2_4FGL_J0629.3-1959_daily_bin1510.fits outfile=/scratch/kocevski/462142/cmap_HighResolution_630720001_630979201_4FGL_J0629.3-1959_daily_bin1510.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.94
user 0.38
sys 0.55

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/462142/ft1_filtered_4FGL_J0629.3-1959_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/462142/ft2_4FGL_J0629.3-1959_daily_bin1510.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/462142/Model_4FGL_J0629.3-1959_daily_bin1510.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/462142/ft1_filtered_4FGL_J0629.3-1959_daily_bin1510.fits.....................!
real 119.60
user 117.03
sys 1.69

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.333       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2977       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.020       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.6168       1.0000         .10000E-03   10000.    
     8 'Prefactor '    46.824       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11141E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.2763       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .91384       1.0000         .10000E-03   10000.    
    16 'norm      '    3.7926       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13490E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    9.6279       1.0000         .10000E-03   10000.    
    19 'norm      '    21.560       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.1312       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .25758E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    20.988       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.7547       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .79420       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=   7884.436     FROM MIGRAD    STATUS=CONVERGED    618 CALLS     3144 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.322        31.846        .11019E-05    .19256E-04
   2  norm          .10000E-03    4.4160        .72423E-07** at limit **
   3  Prefactor     1.2974        21.535        .87289E-05    .48828E-03
   4  Prefactor     .10000E-03    6.9458        .15105E-06** at limit **
   5  Prefactor     .10000E-03    86.163        .93442E-07** at limit **
   6  Prefactor     19.029        18.518       -.11482E-05   -.20630E-05
   7  Prefactor     6.6210        50.855        .18495E-05   -.24485E-04
   8  Prefactor     46.818        42.003        .78593E-06    .51259E-05
   9  Prefactor     .10000E-03    23.947       -.10117E-06** at limit **
  10  norm          .10000E-03    2.6274        .87674E-06** at limit **
  11  Prefactor     .10000E-03    64.096       -.25325E-05** at limit **
  12  Prefactor     6.2775        6.1716        .32292E-06    .14230E-03
  13  Prefactor     .10000E-03    9.6019        .32984E-06** at limit **
  14  norm          .10000E-03    5.4361        .22387E-06** at limit **
  15  norm          .91404        .84781       -.60646E-07    .79711E-04
  16  norm          3.8042        9.9603       -.24970E-05   -.10814E-03
  17  Prefactor     .10115E-03    18.188       -.66171E-05** at limit **
  18  norm          9.6294        15.081        .82536E-06    .35226E-05
  19  norm          21.558        15.673       -.14587E-07   -.67083E-04
  20  Prefactor     7.1308        6.8189        .30245E-07   -.96682E-04
  21  norm          .10000E-03    31.095       -.95368E-07** at limit **
  22  norm          .10000E-03    37.556        .13227E-05** at limit **
  23  norm          .34183E-01    2.8949        .21068E-05   -.33460E-03
  24  Prefactor     20.987        19.227        .10087E-07   -.18137E-05
  25  Normalizat    1.7546        .26548       -.53382E-05   -.30215E-05
  26  Prefactor     .79425        .65263E-01    .36021E-06   -.80871E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.3216
  norm       = 0.0001
  Prefactor  = 1.29738
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.0286
  Prefactor  = 6.62097
  Prefactor  = 46.8181
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 6.27749
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.914041
  norm       = 3.8042
  Prefactor  = 0.000101148
  norm       = 9.62938
  norm       = 21.5582
  Prefactor  = 7.13079
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0341825
  Prefactor  = 20.9865
  Normalizat = 1.75459
  Prefactor  = 0.794249
 **********
 **   18 **HESSE 
 **********

 FCN=   7884.436     FROM HESSE     STATUS=OK           474 CALLS     3618 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.322        31.879        .12465E-03   -1.5065    
   2  norm          .10000E-03    4.4199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2974        25.591        .19406E-02   -1.5480    
   4  Prefactor     .10000E-03    6.9809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    86.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.029        18.688        .91838E-04   -1.4835    
   7  Prefactor     6.6210        51.410        .15600E-03   -1.5193    
   8  Prefactor     46.818        42.018        .58596E-04   -1.4338    
   9  Prefactor     .10000E-03    23.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.6408        .14065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    64.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.2775        6.1921        .16023E-03   -1.5207    
  13  Prefactor     .10000E-03    9.6179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.5758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .91404        .90888        .76371E-03   -1.5517    
  16  norm          3.8042        10.244        .20728E-03   -1.5318    
  17  Prefactor     .10115E-03    4.0787        .50344E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.6294        15.104        .64575E-03   -1.5087    
  19  norm          21.558        15.636        .86263E-04   -1.4779    
  20  Prefactor     7.1308        6.8013        .15021E-03   -1.5174    
  21  norm          .10000E-03    31.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    37.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .34183E-01    4.1703        .40220E-01   -1.5671    
  24  Prefactor     20.987        19.244        .87428E-04   -1.4791    
  25  Normalizat    1.7546        .28224        .40910E-03   -.70855    
  26  Prefactor     .79425        .70112E-01    .15256E-03   -.99941    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94773e-09
Minuit parameter uncertainties:
  1  31.9313
  2  7.87449e-06
  3  11.5293
  4  3.61427e-05
  5  0.000309503
  6  18.6941
  7  36.9428
  8  42.0441
  9  8.29077e-06
  10  1.96038e-06
  11  0.000785548
  12  6.19272
  13  1.90993e-05
  14  6.03408e-05
  15  0.908891
  16  10.2488
  17  0.00432721
  18  15.1104
  19  15.6385
  20  6.80208
  21  9.30778e-06
  22  0.000211662
  23  0.754068
  24  19.2499
  25  0.282504
  26  0.07012
Done.

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

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  1.000e-04  6.034e-05  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:  7.942e-01  7.012e-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.755e+00  2.825e-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: 9.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.53e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/462142/likelihoodResults_630720001_630979201_4FGL_J0629.3-1959_daily_bin1510.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): 102
logL (Free Index) = 7884.4372781
delta logL = -0.000854983983118

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7884.43642509
delta logL = -1.97302324523e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10206E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1381       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7544       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79421       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=   7884.436     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      242 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    366.96        .18142E-02** at limit **
   2  alpha         2.0083        3.4329        .50000        .49090E-07
   3  Normalizat    1.7546        .69174E-01    .40910E-03    .11207E-03
   4  Prefactor     .79425        .18421E-01    .15256E-03   -.63342E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.00834
  Normalizat = 1.75459
  Prefactor  = 0.79425
 **********
 **   18 **HESSE 
 **********

 FCN=   7884.436     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1175.8        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0083        3.5022        .50000       -.19795    
   3  Normalizat    1.7546        .17828        .81820E-04   -.70855    
   4  Prefactor     .79425        .47486E-01    .61024E-05   -.99941    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.06651e-09
Minuit parameter uncertainties:
  1  0.0013318
  2  2251.8
  3  0.178341
  4  0.0474885
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462142': 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): 102
logL (Free Index) = 7884.43642286
delta logL = 2.52810423262e-07

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  1.000e-04  1.332e-03  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  2.008e+00  2.252e+03  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:  7.942e-01  4.749e-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.755e+00  1.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/462142/cmap_HighResolution_630720001_630979201_4FGL_J0629.3-1959_daily_bin1510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-05', job_status='DONE', photon_flux_upper_limit='9.96e-08', time_completed='2021-08-25 06:50:03.233376', job_id='462142', GAL2='0.79', fit_tolerance='1e-08', EG2='1.75', EG='1.75', time_epoch_completed='1629899403.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='2.53e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1510' AND source_name='4FGL J0629.3-1959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 06:50:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 462142: <4FGL_J0629.3-1959_daily_bin1510> in cluster <slac> Done

Job <4FGL_J0629.3-1959_daily_bin1510> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Aug 25 06:35:36 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 06:35:42 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:35:42 2021
Terminated at Wed Aug 25 06:50:04 2021
Results reported at Wed Aug 25 06:50:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0629.3-1959_daily_bin1510 97.3478 -19.9999 630720001 630979201 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 :                                   817.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            868 sec.

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

