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


Performing analysis on: 4FGL_J0629.3-1959_daily_bin1221
RA = 97.3478, Dec = -19.9999
tmin = 555811201, tmax = 556070401
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='460131', job_status='RUN', time_executed='2021-08-25 06:31:43.340619', time_epoch_executed='1629898303.34' WHERE source_name='4FGL J0629.3-1959' and cadence='daily' and bin_id='1221'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/460131

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/460131/ft1_4FGL_J0629.3-1959_daily_bin1221.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/460131/ft2_4FGL_J0629.3-1959_daily_bin1221.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/460131/ft1_4FGL_J0629.3-1959_daily_bin1221.fits outfile=/scratch/kocevski/460131/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1221.fits ra=97.3478 dec=-19.9999 rad=12.0 tmin=555811201.0 tmax=556070401.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.70
user 3.33
sys 0.35

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/460131/ft2_4FGL_J0629.3-1959_daily_bin1221.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/460131/ft1_filteredMKT_4FGL_J0629.3-1959_daily_bin1221.fits evtable="EVENTS" outfile="/scratch/kocevski/460131/ft1_filtered_4FGL_J0629.3-1959_daily_bin1221.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.65
user 0.32
sys 0.31

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/460131/ft1_filtered_4FGL_J0629.3-1959_daily_bin1221.fits" evtable="EVENTS" scfile=/scratch/kocevski/460131/ft2_4FGL_J0629.3-1959_daily_bin1221.fits sctable="SC_DATA" outfile=/scratch/kocevski/460131/ltcube_555811201_556070401_4FGL_J0629.3-1959_daily_bin1221.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/460131/ft2_4FGL_J0629.3-1959_daily_bin1221.fits
.....................!
real 11.84
user 11.32
sys 0.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/460131/ft1_filtered_4FGL_J0629.3-1959_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/460131/ft2_4FGL_J0629.3-1959_daily_bin1221.fits sctable="SC_DATA" expcube=/scratch/kocevski/460131/ltcube_555811201_556070401_4FGL_J0629.3-1959_daily_bin1221.fits outfile=/scratch/kocevski/460131/expmap_555811201_556070401_4FGL_J0629.3-1959_daily_bin1221.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/460131/ltcube_555811201_556070401_4FGL_J0629.3-1959_daily_bin1221.fits
.....................!
real 190.37
user 185.16
sys 4.89

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/460131/ft1_filtered_4FGL_J0629.3-1959_daily_bin1221.fits scfile=/scratch/kocevski/460131/ft2_4FGL_J0629.3-1959_daily_bin1221.fits outfile=/scratch/kocevski/460131/cmap_555811201_556070401_4FGL_J0629.3-1959_daily_bin1221.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.74
user 0.36
sys 0.31

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/460131/ft1_filtered_4FGL_J0629.3-1959_daily_bin1221.fits scfile=/scratch/kocevski/460131/ft2_4FGL_J0629.3-1959_daily_bin1221.fits outfile=/scratch/kocevski/460131/cmap_HighResolution_555811201_556070401_4FGL_J0629.3-1959_daily_bin1221.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.73
user 0.39
sys 0.30

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/460131/ft1_filtered_4FGL_J0629.3-1959_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/460131/ft2_4FGL_J0629.3-1959_daily_bin1221.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/460131/Model_4FGL_J0629.3-1959_daily_bin1221.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/460131/ft1_filtered_4FGL_J0629.3-1959_daily_bin1221.fits.....................!
real 65.55
user 63.93
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/460131/ft1_filtered_4FGL_J0629.3-1959_daily_bin1221.fits', '/scratch/kocevski/460131/ft2_4FGL_J0629.3-1959_daily_bin1221.fits', expMap='/scratch/kocevski/460131/expmap_555811201_556070401_4FGL_J0629.3-1959_daily_bin1221.fits', expCube='/scratch/kocevski/460131/ltcube_555811201_556070401_4FGL_J0629.3-1959_daily_bin1221.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/460131/Model_4FGL_J0629.3-1959_daily_bin1221.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/460131/ft1_filtered_4FGL_J0629.3-1959_daily_bin1221.fits
Spacecraft file(s): /scratch/kocevski/460131/ft2_4FGL_J0629.3-1959_daily_bin1221.fits
Exposure map: /scratch/kocevski/460131/expmap_555811201_556070401_4FGL_J0629.3-1959_daily_bin1221.fits
Exposure cube: /scratch/kocevski/460131/ltcube_555811201_556070401_4FGL_J0629.3-1959_daily_bin1221.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/460131/Model_4FGL_J0629.3-1959_daily_bin1221.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4141.98215548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10136E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7205       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.958       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23738E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.5662       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .82863       1.0000         .10000E-03   10000.    
    16 'norm      '    10.335       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .93990E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    83.510       1.0000         .10000E-03   10000.    
    19 'norm      '    48.510       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .11620E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10228E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.5525       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .64132       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0205       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=   4141.547     FROM MIGRAD    STATUS=CONVERGED    645 CALLS     2699 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    19.567       -.27953E-05** at limit **
   2  norm          .10000E-03    8.8690        .38705E-06** at limit **
   3  Prefactor     5.7168        6.5359        .33034E-06    .88037E-04
   4  Prefactor     .10000E-03    7.6364        .76551E-07** at limit **
   5  Prefactor     .10000E-03    90.541       -.62481E-04** at limit **
   6  Prefactor     30.987        24.640       -.21333E-05    .62788E-04
   7  Prefactor     .10000E-03    24.594        .12471E-04** at limit **
   8  Prefactor     .10000E-03    328.29        .43905E-04** at limit **
   9  Prefactor     .10000E-03    28.278       -.75892E-05** at limit **
  10  norm          2.5662        5.2137       -.23652E-06   -.15155E-03
  11  Prefactor     .10000E-03    28.759       -.79052E-05** at limit **
  12  Prefactor     .10000E-03    3.4129        .10263E-07** at limit **
  13  Prefactor     .10000E-03    15.078        .37530E-06** at limit **
  14  norm          .10000E-03    3.4551        .38161E-07** at limit **
  15  norm          .83314        2.5557       -.46360E-06   -.54675E-03
  16  norm          10.426        17.092        .11924E-05    .29711E-03
  17  Prefactor     .23677E-01    5.6994       -.15550E-05    .72455E-03
  18  norm          83.508        35.679       -.31268E-06   -.14664E-03
  19  norm          48.515        19.154        .39204E-06    .58235E-04
  20  Prefactor     .10000E-03    2.9771        .16052E-07** at limit **
  21  norm          .10000E-03    131.00        .10746E-03** at limit **
  22  norm          .10000E-03    45.552        .15592E-04** at limit **
  23  norm          3.5527        4.6091       -.15524E-06   -.21611E-03
  24  Prefactor     .10000E-03    8.9157       -.46741E-06** at limit **
  25  Normalizat    .64127        .33244        .82299E-06    .43935E-04
  26  Prefactor     1.0205        .89150E-01   -.48292E-07    .16624E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.71682
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.9872
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.56621
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.833143
  norm       = 10.4264
  Prefactor  = 0.023677
  norm       = 83.5082
  norm       = 48.5153
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.55274
  Prefactor  = 0.0001
  Normalizat = 0.641274
  Prefactor  = 1.02048
 **********
 **   18 **HESSE 
 **********

 FCN=   4141.547     FROM HESSE     STATUS=OK           454 CALLS     3153 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    19.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    8.8733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.7168        6.5341        .16794E-03   -1.5230    
   4  Prefactor     .10000E-03    7.6757        .17365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    90.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     30.987        24.611        .72012E-04   -1.4594    
   7  Prefactor     .10000E-03    24.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    332.27        .20069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    28.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5662        5.1843        .20284E-03   -1.5388    
  11  Prefactor     .10000E-03    28.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.4140        .11608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.4593        .11681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .83314        2.3356        .16761E-02   -1.5525    
  16  norm          10.426        18.007        .12464E-03   -1.5062    
  17  Prefactor     .23677E-01    15.012        .43965E-01   -1.5677    
  18  norm          83.508        35.654        .43956E-04   -1.3878    
  19  norm          48.515        19.150        .57574E-04   -1.4314    
  20  Prefactor     .10000E-03    2.9993        .10828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    130.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    45.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.5527        4.6055        .15191E-03   -1.5331    
  24  Prefactor     .10000E-03    8.9178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .64127        .33447        .58604E-03   -1.0626    
  26  Prefactor     1.0205        .90700E-01    .13058E-03   -.92050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38358e-09
Minuit parameter uncertainties:
  1  7.85707e-08
  2  2.40545e-08
  3  6.53493
  4  5.96259e-06
  5  9.47809e-05
  6  24.619
  7  5.78874e-06
  8  0.00117715
  9  5.73078e-06
  10  5.18526
  11  7.34618e-05
  12  1.81697e-06
  13  8.40787e-06
  14  1.63326e-06
  15  2.33586
  16  18.0166
  17  1.19013
  18  35.6631
  19  19.1528
  20  4.38205e-06
  21  0.000137599
  22  1.59455e-05
  23  4.60597
  24  1.79615e-07
  25  0.335531
  26  0.0907132
Done.

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

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  1.000e-04  1.633e-06  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:  1.020e+00  9.071e-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:  6.413e-01  3.355e-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.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/460131/likelihoodResults_555811201_556070401_4FGL_J0629.3-1959_daily_bin1221.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) = 4141.54868942
delta logL = -0.00137184321102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4141.54731798
delta logL = -4.06711478718e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1419       1.0000          .0000       5.0000    
     3 'Normalizat'    .64127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0204       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=   4141.547     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      240 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    34.911        .11699E-02** at limit **
   2  alpha         1.9444        3.6933        .16679       -.53165E-08
   3  Normalizat    .64127        .31577        .58604E-03   -.52494E-04
   4  Prefactor     1.0205        .88365E-01    .13058E-03   -.23001E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.94438
  Normalizat = 0.641272
  Prefactor  = 1.02048
 **********
 **   18 **HESSE 
 **********

 FCN=   4141.547     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.5507        .23398E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9444        3.3849        .66717E-02   -.22412    
   3  Normalizat    .64127        .31577        .23442E-04   -1.0626    
   4  Prefactor     1.0205        .88365E-01    .26115E-04   -.92050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56636e-11
Minuit parameter uncertainties:
  1  2.02517e-05
  2  233.925
  3  0.31667
  4  0.0883773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/460131': 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) = 4141.54731721
delta logL = 3.70913767256e-07

Extracting fit parameters...

4FGL J0629.3-1959
   Spectrum: LogParabola
274         norm:  1.000e-04  2.025e-05  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  1.944e+00  2.339e+02  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:  1.020e+00  8.838e-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:  6.413e-01  3.167e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/460131/cmap_HighResolution_555811201_556070401_4FGL_J0629.3-1959_daily_bin1221.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-05', job_status='DONE', photon_flux_upper_limit='1.26e-07', time_completed='2021-08-25 06:41:19.650913', job_id='460131', GAL2='1.02', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1629898879.65', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.71e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1221' AND source_name='4FGL J0629.3-1959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 06:41:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 460131: <4FGL_J0629.3-1959_daily_bin1221> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0629.3-1959_daily_bin1221 97.3478 -19.9999 555811201 556070401 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 :                                   577.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            656 sec.

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

