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


Performing analysis on: 4FGL_J0403.9-3605_daily_bin1710
RA = 60.975, Dec = -36.087
tmin = 682560001, tmax = 682819201
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='18837', job_status='RUN', time_executed='2022-09-16 11:08:37.897904', time_epoch_executed='1663351717.9' WHERE source_name='4FGL J0403.9-3605' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/18837

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/18837/ft1_4FGL_J0403.9-3605_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/18837/ft2_4FGL_J0403.9-3605_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/18837/ft1_4FGL_J0403.9-3605_daily_bin1710.fits outfile=/scratch/kocevski/18837/ft1_filteredMKT_4FGL_J0403.9-3605_daily_bin1710.fits ra=60.975 dec=-36.087 rad=12.0 tmin=682560001.0 tmax=682819201.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.73
user 3.46
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/18837/ft2_4FGL_J0403.9-3605_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/18837/ft2_4FGL_J0403.9-3605_daily_bin1710.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/18837/ft1_filteredMKT_4FGL_J0403.9-3605_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/18837/ft1_filtered_4FGL_J0403.9-3605_daily_bin1710.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.34
sys 0.16

Number of photons that the gtmktime cut: 477

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/18837/ft1_filtered_4FGL_J0403.9-3605_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/18837/ft2_4FGL_J0403.9-3605_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/18837/ltcube_682560001_682819201_4FGL_J0403.9-3605_daily_bin1710.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/18837/ft2_4FGL_J0403.9-3605_daily_bin1710.fits
.....................!
real 15.82
user 15.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/18837/ft1_filtered_4FGL_J0403.9-3605_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/18837/ft2_4FGL_J0403.9-3605_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/18837/ltcube_682560001_682819201_4FGL_J0403.9-3605_daily_bin1710.fits outfile=/scratch/kocevski/18837/expmap_682560001_682819201_4FGL_J0403.9-3605_daily_bin1710.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/18837/ltcube_682560001_682819201_4FGL_J0403.9-3605_daily_bin1710.fits
.....................!
real 193.02
user 187.20
sys 5.08

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 178 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 J0403.9-3605 @ 60.975 -36.087

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/18837/ft1_filtered_4FGL_J0403.9-3605_daily_bin1710.fits scfile=/scratch/kocevski/18837/ft2_4FGL_J0403.9-3605_daily_bin1710.fits outfile=/scratch/kocevski/18837/cmap_682560001_682819201_4FGL_J0403.9-3605_daily_bin1710.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=60.975 yref=-36.087 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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/18837/ft1_filtered_4FGL_J0403.9-3605_daily_bin1710.fits scfile=/scratch/kocevski/18837/ft2_4FGL_J0403.9-3605_daily_bin1710.fits outfile=/scratch/kocevski/18837/cmap_HighResolution_682560001_682819201_4FGL_J0403.9-3605_daily_bin1710.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=60.975 yref=-36.087 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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/18837/ft1_filtered_4FGL_J0403.9-3605_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/18837/ft2_4FGL_J0403.9-3605_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/18837/Model_4FGL_J0403.9-3605_daily_bin1710.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/18837/ft1_filtered_4FGL_J0403.9-3605_daily_bin1710.fits.....................!
real 113.85
user 112.17
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/18837/ft1_filtered_4FGL_J0403.9-3605_daily_bin1710.fits', '/scratch/kocevski/18837/ft2_4FGL_J0403.9-3605_daily_bin1710.fits', expMap='/scratch/kocevski/18837/expmap_682560001_682819201_4FGL_J0403.9-3605_daily_bin1710.fits', expCube='/scratch/kocevski/18837/ltcube_682560001_682819201_4FGL_J0403.9-3605_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/18837/Model_4FGL_J0403.9-3605_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0403.9-3605'

4FGL J0403.9-3605
   Spectrum: LogParabola
280         norm:  1.306e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
281        alpha:  2.393e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  1.376e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.485e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/18837/ft1_filtered_4FGL_J0403.9-3605_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/18837/ft2_4FGL_J0403.9-3605_daily_bin1710.fits
Exposure map: /scratch/kocevski/18837/expmap_682560001_682819201_4FGL_J0403.9-3605_daily_bin1710.fits
Exposure cube: /scratch/kocevski/18837/ltcube_682560001_682819201_4FGL_J0403.9-3605_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/18837/Model_4FGL_J0403.9-3605_daily_bin1710.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) = 5242.39099912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.792       1.0000          .0000       .10000E+07
     2 'Prefactor '    .66859E-02   1.0000          .0000       .10000E+07
     3 'norm      '    6.0272       1.0000          .0000       .10000E+07
     4 'norm      '    .43116E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    67.620       1.0000          .0000       .10000E+07
     6 'Prefactor '    .53440E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .47859E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    11.589       1.0000          .0000       .10000E+07
     9 'norm      '    2.5662       1.0000          .0000       .10000E+07
    10 'Prefactor '    16.215       1.0000          .0000       .10000E+07
    11 'norm      '    .13259E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    27.410       1.0000          .0000       .10000E+07
    13 'norm      '    .32629       1.0000          .0000       .10000E+07
    14 'norm      '    5.4687       1.0000          .0000       .10000E+07
    15 'Prefactor '    34.192       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.539       1.0000          .0000       .10000E+07
    17 'Prefactor '    .39325E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .46629E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .54019E-04   1.0000          .0000       .10000E+07
    20 'norm      '    45.563       1.0000          .0000       .10000E+07
    21 'norm      '    1.7767       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.4356       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.2510       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .55127       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=   5242.240     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     2021 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.960        25.718       -.30314E-05   -.20747    
   2  Prefactor     .33307E-09    14.933       -.30207E-06** at limit **
   3  norm          6.0256        3.6200        .29440E-06    .57151E-03
   4  norm           .0000        .45444        .72233E-07** at limit **
   5  Prefactor     74.758        66.733       -.76294E-06   -.51648E-01
   6  Prefactor     .30753E-07    15.068        .72137E-06** at limit **
   7  Prefactor      .0000        1.6381        .42075E-06** at limit **
   8  Prefactor     11.645        12.809        .50851E-07   -.10281E-02
   9  norm          2.5699        1.0151       -.45695E-07   -.10922E-02
  10  Prefactor     21.942        56.068       -.10463E-04    .60558E-01
  11  norm          .22664E-04    50.451       -.14192E-04** at limit **
  12  Prefactor     28.678        25.526        .26870E-06   -.59751E-02
  13  norm          .32742        .24265       -.26286E-07    .96754E-03
  14  norm          5.4361        5.8830       -.41759E-06   -.60049E-03
  15  Prefactor     37.302        23.228        .42551E-05   -.25550E-01
  16  Prefactor     15.425        11.793       -.71775E-06   -.25011E-02
  17  Prefactor     .55511E-10    9.0863       -.44577E-05** at limit **
  18  norm           .0000        .18056       -.25643E-06** at limit **
  19  Prefactor      .0000        3.6104        .18905E-05** at limit **
  20  norm          45.315        13.885        .61669E-06    .23165E-02
  21  norm          1.7787        1.3921        .21109E-06    .29483E-03
  22  Prefactor     6.2659        57.137        .12216E-04   -.35589E-01
  23  Normalizat    1.2439        .21738       -.19575E-05   -.21716E-04
  24  Prefactor     .55137        .22199        .60260E-05   -.60810E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.9597
  Prefactor  = 3.33067e-10
  norm       = 6.02563
  norm       = 0
  Prefactor  = 74.7582
  Prefactor  = 3.07532e-08
  Prefactor  = 0
  Prefactor  = 11.6447
  norm       = 2.56988
  Prefactor  = 21.9419
  norm       = 2.26641e-05
  Prefactor  = 28.6776
  norm       = 0.327416
  norm       = 5.43614
  Prefactor  = 37.3019
  Prefactor  = 15.4247
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  norm       = 45.3147
  norm       = 1.77865
  Prefactor  = 6.26585
  Normalizat = 1.24394
  Prefactor  = 0.551374
 **********
 **   18 **HESSE 
 **********

 FCN=   5242.240     FROM HESSE     STATUS=OK           451 CALLS     2472 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.960        30.286        .12933E-03   -1.5552    
   2  Prefactor     .33307E-09    14.949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.0256        3.6251        .40875E-03   -1.5659    
   4  norm           .0000        .45042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     74.758        69.450        .12162E-03   -1.5535    
   6  Prefactor     .30753E-07    15.095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.6395        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.645        12.805        .29403E-03   -1.5640    
   9  norm          2.5699        1.0155        .63696E-04   -1.5676    
  10  Prefactor     21.942        65.472        .24846E-03   -1.5614    
  11  norm          .22664E-04    65.710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.678        25.601        .19104E-03   -1.5601    
  13  norm          .32742        .24693        .66313E-03   -1.5697    
  14  norm          5.4361        5.8842        .42943E-03   -1.5661    
  15  Prefactor     37.302        39.347        .17104E-03   -1.5586    
  16  Prefactor     15.425        11.804        .25382E-03   -1.5629    
  17  Prefactor     .55511E-10    9.0763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .17911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        3.5892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          45.315        13.912        .14816E-03   -1.5573    
  21  norm          1.7787        1.3951        .78503E-03   -1.5681    
  22  Prefactor     6.2659        105.80        .54545E-03   -1.5658    
  23  Normalizat    1.2439        .18661        .48622E-01   -.85255    
  24  Prefactor     .55137        .19226        .74715E-01   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45679e-06
Minuit parameter uncertainties:
  1  30.2864
  2  0.000146683
  3  3.62514
  4  4.16453e-07
  5  69.4506
  6  0.00136268
  7  3.11641e-07
  8  12.8048
  9  1.01552
  10  65.4739
  11  0.0771825
  12  25.601
  13  0.246932
  14  5.88419
  15  39.3475
  16  11.804
  17  3.29215e-05
  18  4.54485e-07
  19  1.57528e-05
  20  13.9118
  21  1.39512
  22  51.4959
  23  0.186706
  24  0.192483
Done.

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

Extracting fit parameters...

4FGL J0403.9-3605
   Spectrum: LogParabola
280         norm:  3.274e-01  2.469e-01  0.000e+00  1.000e+06 ( 1.000e-10)
281        alpha:  2.393e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  1.376e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.485e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  5.514e-01  1.925e-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.244e+00  1.867e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.45
Ra Dec: 60.975 -36.087
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 4.21e-08 +/- 3.18e-08
Energy Flux (Fixed Index): 1.16e-05 +/- 8.77e-06

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) = 5242.22217582
delta logL = 0.0173969942489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5242.21996698
delta logL = 0.0196058328684

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31149       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2285       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2506       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54685       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=   5242.220     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      197 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31151        .25178        .65943E-03    .66399E-02
   2  alpha         2.2285        .70656        .41462        .35497E-05
   3  Normalizat    1.2505        .18049        .48515E-01    .37741E-06
   4  Prefactor     .54688        .19150        .74996E-01    .27626E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.311512
  alpha      = 2.22851
  Normalizat = 1.25054
  Prefactor  = 0.546882
 **********
 **   18 **HESSE 
 **********

 FCN=   5242.220     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31151        .25054        .29486E-05   -1.5697    
   2  alpha         2.2285        .80339        .18953E-01   -.10881    
   3  Normalizat    1.2505        .21049        .21447E-03   -.85055    
   4  Prefactor     .54688        .22160        .33208E-03   -1.0987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77392e-11
Minuit parameter uncertainties:
  1  0.250543
  2  0.818082
  3  0.210637
  4  0.221956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/18837': 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) = 5242.21996695
delta logL = 0.0196058624078

Extracting fit parameters...

4FGL J0403.9-3605
   Spectrum: LogParabola
280         norm:  3.115e-01  2.505e-01  0.000e+00  1.000e+06 ( 1.000e-10)
281        alpha:  2.229e+00  8.181e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  1.376e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.485e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  5.469e-01  2.220e-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.251e+00  2.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.48
Ra Dec: 60.975 -36.087
Photon Index (Free Index): 2.23 +/- 0.82
Photon Flux (Free Index): 3.69e-08 +/- 3.72e-08
Energy Flux (Free Index): 1.17e-05 +/- 8.73e-06

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/18837/cmap_HighResolution_682560001_682819201_4FGL_J0403.9-3605_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.21e-08', energy_flux2='1.17e-05', photon_flux_error='3.18e-08', dlogl='1.96e-02', energy_flux='1.16e-05', photon_flux2='3.69e-08', job_status='DONE', time_completed='2022-09-16 11:18:45.204318', photon_index_error2='0.82', photon_index2='2.23', ts='4.45', fit_tolerance='1e-08', GAL='0.55', photon_index_error='0.00', energy_flux_error2='8.73e-06', EG='1.24', time_epoch_completed='1663352325.2', return_code='0', job_id='18837', GAL2='0.55', EG2='1.25', return_code2='0', energy_flux_error='8.77e-06', photon_flux_error2='3.72e-08', ts2='4.48', photon_index='2.39' WHERE bin_id='1710' AND source_name='4FGL J0403.9-3605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:18:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 18837: <4FGL_J0403.9-3605_daily_bin1710> in cluster <slac> Done

Job <4FGL_J0403.9-3605_daily_bin1710> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 11:05:20 2022
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:06:43 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:06:43 2022
Terminated at Fri Sep 16 11:18:46 2022
Results reported at Fri Sep 16 11:18:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0403.9-3605_daily_bin1710 60.975 -36.087 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0403.9-3605 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   607.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            806 sec.

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

