aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 160 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0429.0-0006_daily_bin1709
RA = 67.2549, Dec = -0.1006
tmin = 682300801, tmax = 682560001
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='21645', job_status='RUN', time_executed='2022-09-16 11:18:52.170211', time_epoch_executed='1663352332.17' WHERE source_name='4FGL J0429.0-0006' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21645

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21645/ft1_4FGL_J0429.0-0006_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21645/ft2_4FGL_J0429.0-0006_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21645/ft1_4FGL_J0429.0-0006_daily_bin1709.fits outfile=/scratch/kocevski/21645/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin1709.fits ra=67.2549 dec=-0.1006 rad=12.0 tmin=682300801.0 tmax=682560001.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.87
user 3.60
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/21645/ft2_4FGL_J0429.0-0006_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21645/ft2_4FGL_J0429.0-0006_daily_bin1709.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/21645/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/21645/ft1_filtered_4FGL_J0429.0-0006_daily_bin1709.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.35
sys 0.15

Number of photons that the gtmktime cut: 840

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21645/ft1_filtered_4FGL_J0429.0-0006_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/21645/ft2_4FGL_J0429.0-0006_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/21645/ltcube_682300801_682560001_4FGL_J0429.0-0006_daily_bin1709.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/21645/ft2_4FGL_J0429.0-0006_daily_bin1709.fits
.....................!
real 13.06
user 12.63
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21645/ft1_filtered_4FGL_J0429.0-0006_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/21645/ft2_4FGL_J0429.0-0006_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/21645/ltcube_682300801_682560001_4FGL_J0429.0-0006_daily_bin1709.fits outfile=/scratch/kocevski/21645/expmap_682300801_682560001_4FGL_J0429.0-0006_daily_bin1709.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/21645/ltcube_682300801_682560001_4FGL_J0429.0-0006_daily_bin1709.fits
.....................!
real 193.87
user 186.97
sys 5.26

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 148 point sources and 0 extended sources

Setting source of interest to:
4FGL J0429.0-0006 @ 67.2549 -0.1006

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/21645/ft1_filtered_4FGL_J0429.0-0006_daily_bin1709.fits scfile=/scratch/kocevski/21645/ft2_4FGL_J0429.0-0006_daily_bin1709.fits outfile=/scratch/kocevski/21645/cmap_682300801_682560001_4FGL_J0429.0-0006_daily_bin1709.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=67.2549 yref=-0.1006 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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21645/ft1_filtered_4FGL_J0429.0-0006_daily_bin1709.fits scfile=/scratch/kocevski/21645/ft2_4FGL_J0429.0-0006_daily_bin1709.fits outfile=/scratch/kocevski/21645/cmap_HighResolution_682300801_682560001_4FGL_J0429.0-0006_daily_bin1709.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=67.2549 yref=-0.1006 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.58
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21645/ft1_filtered_4FGL_J0429.0-0006_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/21645/ft2_4FGL_J0429.0-0006_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21645/Model_4FGL_J0429.0-0006_daily_bin1709.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/21645/ft1_filtered_4FGL_J0429.0-0006_daily_bin1709.fits....................!
real 135.25
user 132.92
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/21645/ft1_filtered_4FGL_J0429.0-0006_daily_bin1709.fits', '/scratch/kocevski/21645/ft2_4FGL_J0429.0-0006_daily_bin1709.fits', expMap='/scratch/kocevski/21645/expmap_682300801_682560001_4FGL_J0429.0-0006_daily_bin1709.fits', expCube='/scratch/kocevski/21645/ltcube_682300801_682560001_4FGL_J0429.0-0006_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/21645/Model_4FGL_J0429.0-0006_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0429.0-0006'

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  3.512e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
210        Index:  2.717e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
211        Scale:  7.378e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/21645/ft1_filtered_4FGL_J0429.0-0006_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/21645/ft2_4FGL_J0429.0-0006_daily_bin1709.fits
Exposure map: /scratch/kocevski/21645/expmap_682300801_682560001_4FGL_J0429.0-0006_daily_bin1709.fits
Exposure cube: /scratch/kocevski/21645/ltcube_682300801_682560001_4FGL_J0429.0-0006_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/21645/Model_4FGL_J0429.0-0006_daily_bin1709.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) = 8945.28422013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10269E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    49.685       1.0000          .0000       .10000E+07
     3 'norm      '    .41626E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.5755       1.0000          .0000       .10000E+07
     5 'norm      '    .25451       1.0000          .0000       .10000E+07
     6 'Prefactor '    .47748E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .10660E-05   1.0000          .0000       .10000E+07
     8 'norm      '    2.3334       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.1905       1.0000          .0000       .10000E+07
    10 'Prefactor '    .65387E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .57113E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.3814       1.0000          .0000       .10000E+07
    13 'norm      '    .67802       1.0000          .0000       .10000E+07
    14 'Prefactor '    23.026       1.0000          .0000       .10000E+07
    15 'norm      '    4.7008       1.0000          .0000       .10000E+07
    16 'Prefactor '    .95925E-03   1.0000          .0000       .10000E+07
    17 'norm      '    3.8787       1.0000          .0000       .10000E+07
    18 'Prefactor '    49.116       1.0000          .0000       .10000E+07
    19 'norm      '    .88445       1.0000          .0000       .10000E+07
    20 'Prefactor '    24.432       1.0000          .0000       .10000E+07
    21 'norm      '    9.0786       1.0000          .0000       .10000E+07
    22 'Normalizat'    .62749       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1112       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8945.241     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1850 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39826E-05    50.832       -.17699E-06** at limit **
   2  Prefactor     49.883        3.1135        .88439E-08   -.17693    
   3  norm          .22204E-09    4.4978       -.10713E-06** at limit **
   4  Prefactor     4.0431        3.8813        .21643E-07   -.25361E-02
   5  norm          .27132        18.474        .28319E-07    .10970E-02
   6  Prefactor     .27756E-09    14.297       -.15564E-06** at limit **
   7  norm           .0000        2.2520       -.12501E-07** at limit **
   8  norm          2.3322        1.4970        .36256E-07    .23340E-01
   9  Prefactor     1.1861        1.8813        .45509E-08    .58976E-02
  10  Prefactor     .14503E-04    15.299       -.39818E-07** at limit **
  11  Prefactor     .21586E-04    26.153       -.16540E-06** at limit **
  12  Prefactor     6.4130        7.7922        .11958E-06    .56269E-02
  13  norm          .67604        2.3594        .35294E-07    .14869E-02
  14  Prefactor     23.078        1.0348       -.79537E-09    .12478E-02
  15  norm          4.7046        2.3836       -.34424E-07   -.45862E-02
  16  Prefactor     .67668E-06    24.394        .15058E-06** at limit **
  17  norm          3.8740        2.0969       -.12283E-08    .81244E-04
  18  Prefactor     50.226        11.267        .18556E-07   -.21050E-03
  19  norm          .87682        .60018       -.11506E-07   -.37329E-02
  20  Prefactor     24.926        6.9674       -.27725E-07    .12158    
  21  norm          9.0539        4.3277        .21566E-07    .35090E-02
  22  Normalizat    .62580        .23428        .66845E-06    .36214E-03
  23  Prefactor     1.1112        .95625E-01    .67256E-06    .11001E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.98265e-06
  Prefactor  = 49.8831
  norm       = 2.22045e-10
  Prefactor  = 4.04308
  norm       = 0.271323
  Prefactor  = 2.77556e-10
  norm       = 0
  norm       = 2.33216
  Prefactor  = 1.18605
  Prefactor  = 1.45028e-05
  Prefactor  = 2.15864e-05
  Prefactor  = 6.41302
  norm       = 0.676044
  Prefactor  = 23.0784
  norm       = 4.70464
  Prefactor  = 6.76681e-07
  norm       = 3.87398
  Prefactor  = 50.2263
  norm       = 0.876818
  Prefactor  = 24.9262
  norm       = 9.05389
  Normalizat = 0.6258
  Prefactor  = 1.11117
 **********
 **   18 **HESSE 
 **********

 FCN=   8945.241     FROM HESSE     STATUS=OK           428 CALLS     2278 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39826E-05    59.721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     49.883        20.763        .14188E-03   -1.5567    
   3  norm          .22204E-09    4.4930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.0431        95.670        .53420E-03   -1.5668    
   5  norm          .27132        2.5156        .77222E-02   -1.5698    
   6  Prefactor     .27756E-09    14.222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.2666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.3322        1.5310        .67103E-03   -1.5677    
   9  Prefactor     1.1861        2.0795        .10436E-02   -1.5686    
  10  Prefactor     .14503E-04    33.821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .21586E-04    41.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.4130        7.7916        .39709E-03   -1.5657    
  13  norm          .67604        2.3786        .62511E-03   -1.5692    
  14  Prefactor     23.078        23.697        .20845E-03   -1.5612    
  15  norm          4.7046        2.3958        .46389E-03   -1.5665    
  16  Prefactor     .67668E-06    28.475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.8740        2.1400        .51210E-03   -1.5669    
  18  Prefactor     50.226        36.270        .14270E-03   -1.5566    
  19  norm          .87682        .66105        .46841E-03   -1.5689    
  20  Prefactor     24.926        23.969        .20236E-03   -1.5608    
  21  norm          9.0539        4.3637        .33239E-03   -1.5648    
  22  Normalizat    .62580        .23069        .10908       -1.0690    
  23  Prefactor     1.1112        .91062E-01    .37175E-01   -.89110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64722e-06
Minuit parameter uncertainties:
  1  0.030845
  2  20.7634
  3  6.4711e-05
  4  39.3352
  5  1.65234
  6  0.000124218
  7  5.98998e-06
  8  1.53095
  9  2.07952
  10  0.0442948
  11  0.059591
  12  7.79162
  13  2.37858
  14  23.6974
  15  2.39575
  16  0.00877939
  17  2.14005
  18  36.2705
  19  0.661054
  20  23.969
  21  4.36368
  22  0.231042
  23  0.0910745
Done.

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

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  2.159e-05  5.959e-02  0.000e+00  1.000e+06 ( 1.000e-13)
210        Index:  2.717e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
211        Scale:  7.378e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  1.111e+00  9.107e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  6.258e-01  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 67.255 -0.101
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/21645/likelihoodResults_682300801_682560001_4FGL_J0429.0-0006_daily_bin1709.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) = 8945.25280007
delta logL = -0.0118622298869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8945.24093775
delta logL = 9.35287971515e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45339E-05   1.0000          .0000       .10000E+07
     2 'Index     '    4.8141       1.0000          .0000       10.000    
     3 'Normalizat'    .62586       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1112       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8945.241     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      247 TOTAL
                     EDM=   .27E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        43.325        .42118E-03** at limit **
   2  Index         2.8008        .89872       -.61129E-04     .0000    
   3  Normalizat    .62580        .96414        .14897E-05    .39641E-04
   4  Prefactor     1.1112        1.1417        .19104E-05    .10211E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.80078
  Normalizat = 0.625799
  Prefactor  = 1.11117
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8945.241     FROM HESSE     STATUS=FAILED         9 CALLS      256 TOTAL
                     EDM=   .27E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        43.325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .88854        1.9567       -.61129E-04   -.45543    
   3  Normalizat    .62580        .96414        .14897E-05   -1.0690    
   4  Prefactor     1.1112        1.1417        .19104E-05   -.89110    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.73006e-12
Minuit parameter uncertainties:
  1  2.60356e-05
  2  0.904832
  3  0.99209
  4  1.16839
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21645': 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): 101
logL (Free Index) = 8945.24093758
delta logL = 2.62445610133e-07

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  0.000e+00  2.604e-05  0.000e+00  1.000e+06 ( 1.000e-13)
210        Index:  2.801e+00  9.048e-01  0.000e+00  1.000e+01 (-1.000e+00)
211        Scale:  7.378e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  1.111e+00  1.168e+00  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  6.258e-01  9.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 67.255 -0.101

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/21645/cmap_HighResolution_682300801_682560001_4FGL_J0429.0-0006_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.59e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2022-09-16 11:30:50.398968', job_id='21645', GAL2='1.11', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1663353050.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='2.62e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1709' AND source_name='4FGL J0429.0-0006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:30:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 21645: <4FGL_J0429.0-0006_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0429.0-0006_daily_bin1709> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 11:15:20 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:16:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 11:16:03 2022
Terminated at Fri Sep 16 11:30:51 2022
Results reported at Fri Sep 16 11:30:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0429.0-0006_daily_bin1709 67.2549 -0.1006 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0429.0-0006 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   714.48 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             341.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            931 sec.

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

