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


Performing analysis on: 4FGL_J0805.4+7534_daily_bin1751
RA = 121.362, Dec = 75.5766
tmin = 693187201, tmax = 693446401
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='73694', job_status='RUN', time_executed='2022-12-23 00:26:45.374456', time_epoch_executed='1671784005.37' WHERE source_name='4FGL J0805.4+7534' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73694

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73694/ft1_4FGL_J0805.4+7534_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73694/ft2_4FGL_J0805.4+7534_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73694/ft1_4FGL_J0805.4+7534_daily_bin1751.fits outfile=/scratch/kocevski/73694/ft1_filteredMKT_4FGL_J0805.4+7534_daily_bin1751.fits ra=121.362 dec=75.5766 rad=12.0 tmin=693187201.0 tmax=693446401.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.64
user 3.40
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/73694/ft2_4FGL_J0805.4+7534_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/73694/ft2_4FGL_J0805.4+7534_daily_bin1751.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/73694/ft1_filteredMKT_4FGL_J0805.4+7534_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/73694/ft1_filtered_4FGL_J0805.4+7534_daily_bin1751.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.14

Number of photons that the gtmktime cut: 1021

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73694/ft1_filtered_4FGL_J0805.4+7534_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/73694/ft2_4FGL_J0805.4+7534_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/73694/ltcube_693187201_693446401_4FGL_J0805.4+7534_daily_bin1751.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/73694/ft2_4FGL_J0805.4+7534_daily_bin1751.fits
.....................!
real 12.21
user 11.82
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73694/ft1_filtered_4FGL_J0805.4+7534_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73694/ft2_4FGL_J0805.4+7534_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/73694/ltcube_693187201_693446401_4FGL_J0805.4+7534_daily_bin1751.fits outfile=/scratch/kocevski/73694/expmap_693187201_693446401_4FGL_J0805.4+7534_daily_bin1751.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/73694/ltcube_693187201_693446401_4FGL_J0805.4+7534_daily_bin1751.fits
.....................!
real 190.38
user 185.26
sys 4.79

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

Setting source of interest to:
4FGL J0805.4+7534 @ 121.362 75.5766

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/73694/ft1_filtered_4FGL_J0805.4+7534_daily_bin1751.fits scfile=/scratch/kocevski/73694/ft2_4FGL_J0805.4+7534_daily_bin1751.fits outfile=/scratch/kocevski/73694/cmap_693187201_693446401_4FGL_J0805.4+7534_daily_bin1751.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=121.362 yref=75.5766 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73694/ft1_filtered_4FGL_J0805.4+7534_daily_bin1751.fits scfile=/scratch/kocevski/73694/ft2_4FGL_J0805.4+7534_daily_bin1751.fits outfile=/scratch/kocevski/73694/cmap_HighResolution_693187201_693446401_4FGL_J0805.4+7534_daily_bin1751.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=121.362 yref=75.5766 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/73694/ft1_filtered_4FGL_J0805.4+7534_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73694/ft2_4FGL_J0805.4+7534_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/73694/Model_4FGL_J0805.4+7534_daily_bin1751.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/73694/ft1_filtered_4FGL_J0805.4+7534_daily_bin1751.fits.....................!
real 123.14
user 121.58
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/73694/ft1_filtered_4FGL_J0805.4+7534_daily_bin1751.fits', '/scratch/kocevski/73694/ft2_4FGL_J0805.4+7534_daily_bin1751.fits', expMap='/scratch/kocevski/73694/expmap_693187201_693446401_4FGL_J0805.4+7534_daily_bin1751.fits', expCube='/scratch/kocevski/73694/ltcube_693187201_693446401_4FGL_J0805.4+7534_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/73694/Model_4FGL_J0805.4+7534_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0805.4+7534'

4FGL J0805.4+7534
   Spectrum: PowerLaw
308    Prefactor:  2.138e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  1.854e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/73694/ft1_filtered_4FGL_J0805.4+7534_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/73694/ft2_4FGL_J0805.4+7534_daily_bin1751.fits
Exposure map: /scratch/kocevski/73694/expmap_693187201_693446401_4FGL_J0805.4+7534_daily_bin1751.fits
Exposure cube: /scratch/kocevski/73694/ltcube_693187201_693446401_4FGL_J0805.4+7534_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/73694/Model_4FGL_J0805.4+7534_daily_bin1751.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) = 10769.8797454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.049       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.628       1.0000          .0000       .10000E+07
     3 'norm      '    .20413E-02   1.0000          .0000       .10000E+07
     4 'norm      '    1.9196       1.0000          .0000       .10000E+07
     5 'norm      '    .17038E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.3288       1.0000          .0000       .10000E+07
     7 'Prefactor '    73.617       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.5184       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.3338       1.0000          .0000       .10000E+07
    10 'norm      '    6.1689       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13836E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .33876E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    20.993       1.0000          .0000       .10000E+07
    14 'Prefactor '    20.891       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15501E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.2365       1.0000          .0000       .10000E+07
    17 'Prefactor '    10.518       1.0000          .0000       .10000E+07
    18 'norm      '    3.8650       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10311E-03   1.0000          .0000       .10000E+07
    20 'norm      '    5.6439       1.0000          .0000       .10000E+07
    21 'Prefactor '    .62657E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    .77087       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0830       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10769.85     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1833 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.556        17.229       -.19547E-06   -.47080E-01
   2  Prefactor     16.929        11.295       -.13994E-06    .12051    
   3  norm          .16653E-09    4.3229       -.77768E-06** at limit **
   4  norm          1.9185        .61773        .56642E-09   -.25359E-02
   5  norm          .20428E-06    55.768       -.19266E-05** at limit **
   6  Prefactor     2.5919        5.7818       -.14287E-06   -.36256E-01
   7  Prefactor     75.029        14.897        .23906E-06   -.31710E-01
   8  Prefactor     6.5167        4.2072        .30914E-07    .11050E-02
   9  Prefactor     1.3316        1.2024        .92299E-07    .22379E-02
  10  norm          6.1754        2.0588       -.64281E-07    .53219E-03
  11  Prefactor     .87702E-06    32.848        .54312E-06** at limit **
  12  Prefactor     .11102E-09    7.9023        .90057E-06** at limit **
  13  Prefactor     21.011        9.3254        .12782E-06    .24322E-01
  14  Prefactor     20.923        1.6460       -.23989E-07   -.16587E-02
  15  Prefactor      .0000        2.5593        .46026E-06** at limit **
  16  Prefactor     6.2573        2.6629        .76125E-07    .51066E-01
  17  Prefactor     10.528        10.751        .16608E-06    .68928E-02
  18  norm          3.8771        3.4967       -.91515E-07   -.37397E-02
  19  Prefactor      .0000        1.9643       -.90728E-07** at limit **
  20  norm          5.6471        1.1457        .47019E-09   -.19794E-02
  21  Prefactor     .16653E-09    3.6656       -.59062E-06** at limit **
  22  Normalizat    .76824        .17455       -.19393E-05    .34010E-04
  23  Prefactor     1.0834        .10877        .21875E-05    .93142E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.5564
  Prefactor  = 16.9289
  norm       = 1.66533e-10
  norm       = 1.91845
  norm       = 2.04281e-07
  Prefactor  = 2.59195
  Prefactor  = 75.0295
  Prefactor  = 6.51666
  Prefactor  = 1.33161
  norm       = 6.17535
  Prefactor  = 8.77021e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 21.0107
  Prefactor  = 20.9231
  Prefactor  = 0
  Prefactor  = 6.25731
  Prefactor  = 10.5275
  norm       = 3.87707
  Prefactor  = 0
  norm       = 5.64709
  Prefactor  = 1.66533e-10
  Normalizat = 0.768235
  Prefactor  = 1.08343
 **********
 **   18 **HESSE 
 **********

 FCN=   10769.85     FROM HESSE     STATUS=OK           422 CALLS     2255 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.556        24.054        .22920E-03   -1.5622    
   2  Prefactor     16.929        27.272        .25309E-03   -1.5626    
   3  norm          .16653E-09    4.3328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.9185        .62077        .74973E-03   -1.5680    
   5  norm          .20428E-06    66.304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5919        58.163        .67177E-03   -1.5676    
   7  Prefactor     75.029        37.304        .11656E-03   -1.5535    
   8  Prefactor     6.5167        4.2454        .39284E-03   -1.5657    
   9  Prefactor     1.3316        1.3051        .94993E-03   -1.5685    
  10  norm          6.1754        2.0555        .40396E-03   -1.5658    
  11  Prefactor     .87702E-06    34.435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11102E-09    7.9003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.011        9.6241        .21832E-03   -1.5616    
  14  Prefactor     20.923        11.396        .21885E-03   -1.5616    
  15  Prefactor      .0000        2.5599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.2573        9.6003        .40173E-03   -1.5658    
  17  Prefactor     10.528        10.997        .30869E-03   -1.5643    
  18  norm          3.8771        3.5918        .51304E-03   -1.5669    
  19  Prefactor      .0000        1.9608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.6471        1.1453        .42261E-03   -1.5660    
  21  Prefactor     .16653E-09    3.6686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .76824        .16138        .77009E-01   -1.0126    
  23  Prefactor     1.0834        .97890E-01    .38272E-01   -.89998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28091e-06
Minuit parameter uncertainties:
  1  24.0538
  2  27.2719
  3  5.51763e-05
  4  0.620766
  5  0.00736113
  6  24.5569
  7  37.3046
  8  4.24539
  9  1.30507
  10  2.05545
  11  0.0109909
  12  5.63525e-05
  13  9.62408
  14  11.3958
  15  5.31991e-06
  16  9.60035
  17  10.9973
  18  3.59178
  19  7.72255e-06
  20  1.14533
  21  5.03144e-05
  22  0.161485
  23  0.0979062
Done.

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

Extracting fit parameters...

4FGL J0805.4+7534
   Spectrum: PowerLaw
308    Prefactor:  6.517e+00  4.245e+00  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  1.854e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  1.083e+00  9.791e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  7.682e-01  1.615e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.59
Ra Dec: 121.362 75.577
Photon Index (Fixed Index): 1.85 +/- 0.00
Photon Flux (Fixed Index): 2.92e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 2.98e-05 +/- 1.94e-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) = 10769.8504839
delta logL = 0.00063215868613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10769.8502507
delta logL = 0.000865429323312

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10769.85     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      254 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4160        5.0380        .79189E-04   -.24894E-03
   2  Index         1.8705        .41909        .73018E-02    .28471E-04
   3  Normalizat    .76761        .16434        .34102E-03   -.85345E-05
   4  Prefactor     1.0836        .10764        .19058E-03    .82322E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.41596
  Index      = 1.87055
  Normalizat = 0.767613
  Prefactor  = 1.08364
 **********
 **   18 **HESSE 
 **********

 FCN=   10769.85     FROM HESSE     STATUS=OK            27 CALLS      281 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4160        4.8121        .31676E-05   -1.5657    
   2  Index         1.8705        .40032        .29207E-03   -.67627    
   3  Normalizat    .76761        .16435        .13641E-04   -1.0128    
   4  Prefactor     1.0836        .10767        .76231E-05   -.89991    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10472e-12
Minuit parameter uncertainties:
  1  4.81214
  2  0.40103
  3  0.164455
  4  0.107692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73694': 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) = 10769.8502506
delta logL = 0.000865516341946

Extracting fit parameters...

4FGL J0805.4+7534
   Spectrum: PowerLaw
308    Prefactor:  6.416e+00  4.812e+00  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  1.871e+00  4.010e-01  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  1.084e+00  1.077e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  7.676e-01  1.645e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.59
Ra Dec: 121.362 75.577
Photon Index (Free Index): 1.87 +/- 0.40
Photon Flux (Free Index): 2.97e-08 +/- 2.32e-08
Energy Flux (Free Index): 2.89e-05 +/- 2.73e-05

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/73694/cmap_HighResolution_693187201_693446401_4FGL_J0805.4+7534_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.92e-08', energy_flux2='2.89e-05', photon_flux_error='1.90e-08', dlogl='8.66e-04', energy_flux='2.98e-05', photon_flux2='2.97e-08', job_status='DONE', time_completed='2022-12-23 00:41:27.263259', photon_index_error2='0.40', photon_index2='1.87', ts='5.59', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='2.73e-05', EG='0.77', time_epoch_completed='1671784887.26', return_code='0', job_id='73694', GAL2='1.08', EG2='0.77', return_code2='0', energy_flux_error='1.94e-05', photon_flux_error2='2.32e-08', ts2='5.59', photon_index='1.85' WHERE bin_id='1751' AND source_name='4FGL J0805.4+7534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:41:27 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 73694: <4FGL_J0805.4+7534_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0805.4+7534_daily_bin1751> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Dec 23 00:25:16 2022
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:25:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:25:17 2022
Terminated at Fri Dec 23 00:41:28 2022
Results reported at Fri Dec 23 00:41:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.4+7534_daily_bin1751 121.362 75.5766 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0805.4+7534 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   883.39 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   970 sec.
    Turnaround time :                            972 sec.

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

