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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin1711
RA = 67.173, Dec = -37.9403
tmin = 682819201, tmax = 683078401
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='21633', job_status='RUN', time_executed='2022-09-16 11:17:11.086333', time_epoch_executed='1663352231.09' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21633

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21633/ft1_4FGL_J0428.6-3756_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21633/ft2_4FGL_J0428.6-3756_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21633/ft1_4FGL_J0428.6-3756_daily_bin1711.fits outfile=/scratch/kocevski/21633/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin1711.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=682819201.0 tmax=683078401.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 4.60
user 4.34
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/21633/ft2_4FGL_J0428.6-3756_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21633/ft2_4FGL_J0428.6-3756_daily_bin1711.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/21633/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/21633/ft1_filtered_4FGL_J0428.6-3756_daily_bin1711.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 571

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21633/ft1_filtered_4FGL_J0428.6-3756_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/21633/ft2_4FGL_J0428.6-3756_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/21633/ltcube_682819201_683078401_4FGL_J0428.6-3756_daily_bin1711.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/21633/ft2_4FGL_J0428.6-3756_daily_bin1711.fits
.....................!
real 15.47
user 15.09
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21633/ft1_filtered_4FGL_J0428.6-3756_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/21633/ft2_4FGL_J0428.6-3756_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/21633/ltcube_682819201_683078401_4FGL_J0428.6-3756_daily_bin1711.fits outfile=/scratch/kocevski/21633/expmap_682819201_683078401_4FGL_J0428.6-3756_daily_bin1711.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/21633/ltcube_682819201_683078401_4FGL_J0428.6-3756_daily_bin1711.fits
.....................!
real 193.63
user 187.53
sys 5.68

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 177 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0428.6-3756 @ 67.173 -37.9403

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/21633/ft1_filtered_4FGL_J0428.6-3756_daily_bin1711.fits scfile=/scratch/kocevski/21633/ft2_4FGL_J0428.6-3756_daily_bin1711.fits outfile=/scratch/kocevski/21633/cmap_682819201_683078401_4FGL_J0428.6-3756_daily_bin1711.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.173 yref=-37.9403 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 2.15
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21633/ft1_filtered_4FGL_J0428.6-3756_daily_bin1711.fits scfile=/scratch/kocevski/21633/ft2_4FGL_J0428.6-3756_daily_bin1711.fits outfile=/scratch/kocevski/21633/cmap_HighResolution_682819201_683078401_4FGL_J0428.6-3756_daily_bin1711.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.173 yref=-37.9403 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.64
user 0.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21633/ft1_filtered_4FGL_J0428.6-3756_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/21633/ft2_4FGL_J0428.6-3756_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21633/Model_4FGL_J0428.6-3756_daily_bin1711.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/21633/ft1_filtered_4FGL_J0428.6-3756_daily_bin1711.fits.....................!
real 133.00
user 131.46
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/21633/ft1_filtered_4FGL_J0428.6-3756_daily_bin1711.fits', '/scratch/kocevski/21633/ft2_4FGL_J0428.6-3756_daily_bin1711.fits', expMap='/scratch/kocevski/21633/expmap_682819201_683078401_4FGL_J0428.6-3756_daily_bin1711.fits', expCube='/scratch/kocevski/21633/ltcube_682819201_683078401_4FGL_J0428.6-3756_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/21633/Model_4FGL_J0428.6-3756_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0428.6-3756'

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  4.206e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
258        alpha:  1.995e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  8.169e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  8.090e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/21633/ft1_filtered_4FGL_J0428.6-3756_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/21633/ft2_4FGL_J0428.6-3756_daily_bin1711.fits
Exposure map: /scratch/kocevski/21633/expmap_682819201_683078401_4FGL_J0428.6-3756_daily_bin1711.fits
Exposure cube: /scratch/kocevski/21633/ltcube_682819201_683078401_4FGL_J0428.6-3756_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/21633/Model_4FGL_J0428.6-3756_daily_bin1711.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) = 6202.01509056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1666       1.0000          .0000       .10000E+07
     2 'norm      '    2.1883       1.0000          .0000       .10000E+07
     3 'Prefactor '    .76055E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.3902       1.0000          .0000       .10000E+07
     5 'norm      '    .82970       1.0000          .0000       .10000E+07
     6 'norm      '    14.193       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18026E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.5659       1.0000          .0000       .10000E+07
     9 'Prefactor '    .77553E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .88033       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.4702       1.0000          .0000       .10000E+07
    12 'norm      '    18.321       1.0000          .0000       .10000E+07
    13 'norm      '    .12850E-02   1.0000          .0000       .10000E+07
    14 'norm      '    1.0129       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.9419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10043E-03   1.0000          .0000       .10000E+07
    17 'norm      '    6.9674       1.0000          .0000       .10000E+07
    18 'norm      '    1.7100       1.0000          .0000       .10000E+07
    19 'Prefactor '    .40580E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .75596E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    5.3784       1.0000          .0000       .10000E+07
    22 'Prefactor '    .94924E-08   1.0000          .0000       .10000E+07
    23 'norm      '    3.8765       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0470       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .67067       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6201.897     FROM MIGRAD    STATUS=CONVERGED    189 CALLS     1687 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1691        3.6637        .56928E-08   -.44552E-03
   2  norm          2.1875        .96264        .11669E-08   -.84622E-03
   3  Prefactor      .0000        4.9056        .10253E-06** at limit **
   4  Prefactor     .24998        4715.1        .22825E-04** at limit **
   5  norm          .82904        .32598        .51545E-08   -.35648E-02
   6  norm          14.291        7.7510        .32309E-07   -.66325E-03
   7  Prefactor      .0000        34.926        .25023E-07** at limit **
   8  Prefactor     7.6098        12.458       -.21387E-06    .96433E-04
   9  Prefactor      .0000        5.7579        .13238E-06** at limit **
  10  norm          .87947        .47639        .55669E-08    .69509E-03
  11  Prefactor     3.4681        2.5324        .25832E-07   -.35079E-03
  12  norm          18.303        9.6721       -.58402E-07    .95269E-03
  13  norm          .52736E-08    122.85        .16595E-05** at limit **
  14  norm          1.0121        1.4491       -.36088E-07    .18018E-02
  15  Prefactor     4.9423        3.0465       -.15901E-07    .22710E-02
  16  Prefactor      .0000        7.3213        .27531E-07** at limit **
  17  norm          6.9469        4.0350        .56973E-07   -.19164E-02
  18  norm          1.7034        4.5666       -.16072E-06    .11690E-02
  19  Prefactor     .55511E-10    26.402        .25323E-06** at limit **
  20  Prefactor      .0000        13.469        .63752E-07** at limit **
  21  Prefactor     5.3752        2.8411        .44558E-09    .46228E-03
  22  Prefactor      .0000        .60796        .45180E-07** at limit **
  23  norm          3.8746        1.9494       -.26293E-07    .17182E-02
  24  Normalizat    1.0477        .19429        .41128E-06   -.41174E-04
  25  Prefactor     .67065        .19250        .10437E-05   -.36308E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.16908
  norm       = 2.18751
  Prefactor  = 0
  Prefactor  = 0.249981
  norm       = 0.829041
  norm       = 14.2906
  Prefactor  = 0
  Prefactor  = 7.6098
  Prefactor  = 0
  norm       = 0.87947
  Prefactor  = 3.46811
  norm       = 18.3026
  norm       = 5.27356e-09
  norm       = 1.01212
  Prefactor  = 4.94233
  Prefactor  = 0
  norm       = 6.94692
  norm       = 1.70339
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 5.37524
  Prefactor  = 0
  norm       = 3.87463
  Normalizat = 1.04768
  Prefactor  = 0.670648
 **********
 **   18 **HESSE 
 **********

 FCN=   6201.897     FROM HESSE     STATUS=OK           487 CALLS     2174 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1691        3.6644        .40404E-03   -1.5658    
   2  norm          2.1875        .96297        .69548E-03   -1.5678    
   3  Prefactor      .0000        4.9182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .24998        82.766        .18465E-01   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .82904        .32590        .50747E-03   -1.5690    
   6  norm          14.291        7.7485        .26560E-03   -1.5632    
   7  Prefactor      .0000        34.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.6098        12.496        .36436E-03   -1.5653    
   9  Prefactor      .0000        5.7309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .87947        .47756        .47130E-04   -1.5689    
  11  Prefactor     3.4681        2.5389        .54260E-03   -1.5671    
  12  norm          18.303        9.6881        .23372E-03   -1.5622    
  13  norm          .52736E-08    121.95        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0121        1.4594        .44219E-03   -1.5688    
  15  Prefactor     4.9423        3.0772        .45218E-03   -1.5664    
  16  Prefactor      .0000        7.3503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.9469        4.0326        .37983E-03   -1.5655    
  18  norm          1.7034        4.6329        .80359E-03   -1.5682    
  19  Prefactor     .55511E-10    26.194        .15938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        13.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.3752        2.8459        .43309E-03   -1.5662    
  22  Prefactor      .0000        .60759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.8746        1.9493        .51226E-03   -1.5669    
  24  Normalizat    1.0477        .16829        .40759E-01   -.91450    
  25  Prefactor     .67065        .16792        .65958E-01   -1.0469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.69748e-09
Minuit parameter uncertainties:
  1  3.6644
  2  0.962973
  3  1.60627e-05
  4  9.09739
  5  0.325897
  6  7.74854
  7  1.62747e-05
  8  12.4959
  9  2.24356e-05
  10  0.477563
  11  2.53885
  12  9.68813
  13  0.00160254
  14  1.45942
  15  3.07722
  16  1.03543e-05
  17  4.03261
  18  4.63293
  19  8.42042e-05
  20  1.95559e-05
  21  2.84591
  22  2.54733e-06
  23  1.94933
  24  0.168372
  25  0.168043
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  8.795e-01  4.776e-01  0.000e+00  1.000e+06 ( 1.000e-11)
258        alpha:  1.995e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  8.169e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  8.090e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  6.706e-01  1.680e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.048e+00  1.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.18
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 4.84e-08 +/- 2.63e-08
Energy Flux (Fixed Index): 2.78e-05 +/- 1.51e-05

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) = 6201.78732693
delta logL = 0.109336783201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6201.78559157
delta logL = 0.11107214589

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89799       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7912       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0568       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66512       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6201.786     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      200 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89828        .71114        .45899E-03   -.25762E-02
   2  alpha         1.7913        .57448        .30272       -.15926E-04
   3  Normalizat    1.0567        .16242        .40125E-01    .32074E-03
   4  Prefactor     .66515        .16798        .66206E-01    .18611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.898277
  alpha      = 1.79127
  Normalizat = 1.05673
  Prefactor  = 0.665149
 **********
 **   18 **HESSE 
 **********

 FCN=   6201.786     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89828        .46658        .37548E-05   -1.5689    
   2  alpha         1.7913        .41875        .12059E-01   -.28744    
   3  Normalizat    1.0567        .18367        .22988E-03   -.91153    
   4  Prefactor     .66515        .18996        .29294E-03   -1.0491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15009e-10
Minuit parameter uncertainties:
  1  0.466584
  2  0.420913
  3  0.18378
  4  0.19014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21633': 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) = 6201.78559135
delta logL = 0.111072365574

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  8.983e-01  4.666e-01  0.000e+00  1.000e+06 ( 1.000e-11)
258        alpha:  1.791e+00  4.209e-01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  8.169e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  8.090e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  6.651e-01  1.901e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.057e+00  1.838e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.41
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.79 +/- 0.42
Photon Flux (Free Index): 4.07e-08 +/- 2.62e-08
Energy Flux (Free Index): 3.49e-05 +/- 2.59e-05

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/21633/cmap_HighResolution_682819201_683078401_4FGL_J0428.6-3756_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.84e-08', energy_flux2='3.49e-05', photon_flux_error='2.63e-08', dlogl='1.11e-01', energy_flux='2.78e-05', photon_flux2='4.07e-08', job_status='DONE', time_completed='2022-09-16 11:27:53.500566', photon_index_error2='0.42', photon_index2='1.79', ts='12.18', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='2.59e-05', EG='1.05', time_epoch_completed='1663352873.5', return_code='0', job_id='21633', GAL2='0.67', EG2='1.06', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='2.62e-08', ts2='12.41', photon_index='1.99' WHERE bin_id='1711' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:27:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 21633: <4FGL_J0428.6-3756_daily_bin1711> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin1711> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 11:15:19 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:15:54 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:15:54 2022
Terminated at Fri Sep 16 11:27:54 2022
Results reported at Fri Sep 16 11:27:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin1711 67.173 -37.9403 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0428.6-3756 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   643.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             346.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            755 sec.

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

