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


Performing analysis on: 4FGL_J0805.4+6147_daily_bin1749
RA = 121.356, Dec = 61.7937
tmin = 692668801, tmax = 692928001
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='946683', job_status='RUN', time_executed='2022-12-17 00:26:47.454658', time_epoch_executed='1671265607.45' WHERE source_name='4FGL J0805.4+6147' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/946683

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/946683/ft1_4FGL_J0805.4+6147_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/946683/ft2_4FGL_J0805.4+6147_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/946683/ft1_4FGL_J0805.4+6147_daily_bin1749.fits outfile=/scratch/kocevski/946683/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1749.fits ra=121.356 dec=61.7937 rad=12.0 tmin=692668801.0 tmax=692928001.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.67
user 3.45
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/946683/ft2_4FGL_J0805.4+6147_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/946683/ft2_4FGL_J0805.4+6147_daily_bin1749.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/946683/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/946683/ft1_filtered_4FGL_J0805.4+6147_daily_bin1749.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 764

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/946683/ft1_filtered_4FGL_J0805.4+6147_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/946683/ft2_4FGL_J0805.4+6147_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/946683/ltcube_692668801_692928001_4FGL_J0805.4+6147_daily_bin1749.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/946683/ft2_4FGL_J0805.4+6147_daily_bin1749.fits
.....................!
real 13.24
user 12.86
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/946683/ft1_filtered_4FGL_J0805.4+6147_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/946683/ft2_4FGL_J0805.4+6147_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/946683/ltcube_692668801_692928001_4FGL_J0805.4+6147_daily_bin1749.fits outfile=/scratch/kocevski/946683/expmap_692668801_692928001_4FGL_J0805.4+6147_daily_bin1749.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/946683/ltcube_692668801_692928001_4FGL_J0805.4+6147_daily_bin1749.fits
.....................!
real 191.56
user 185.16
sys 5.45

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

Setting source of interest to:
4FGL J0805.4+6147 @ 121.356 61.7937

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/946683/ft1_filtered_4FGL_J0805.4+6147_daily_bin1749.fits scfile=/scratch/kocevski/946683/ft2_4FGL_J0805.4+6147_daily_bin1749.fits outfile=/scratch/kocevski/946683/cmap_692668801_692928001_4FGL_J0805.4+6147_daily_bin1749.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.356 yref=61.7937 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/946683/ft1_filtered_4FGL_J0805.4+6147_daily_bin1749.fits scfile=/scratch/kocevski/946683/ft2_4FGL_J0805.4+6147_daily_bin1749.fits outfile=/scratch/kocevski/946683/cmap_HighResolution_692668801_692928001_4FGL_J0805.4+6147_daily_bin1749.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.356 yref=61.7937 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/946683/ft1_filtered_4FGL_J0805.4+6147_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/946683/ft2_4FGL_J0805.4+6147_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/946683/Model_4FGL_J0805.4+6147_daily_bin1749.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/946683/ft1_filtered_4FGL_J0805.4+6147_daily_bin1749.fits.....................!
real 87.12
user 85.32
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/946683/ft1_filtered_4FGL_J0805.4+6147_daily_bin1749.fits', '/scratch/kocevski/946683/ft2_4FGL_J0805.4+6147_daily_bin1749.fits', expMap='/scratch/kocevski/946683/expmap_692668801_692928001_4FGL_J0805.4+6147_daily_bin1749.fits', expCube='/scratch/kocevski/946683/ltcube_692668801_692928001_4FGL_J0805.4+6147_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/946683/Model_4FGL_J0805.4+6147_daily_bin1749.xml', optimizer='MINUIT')

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

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  2.635e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  1.845e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  3.489e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/946683/ft1_filtered_4FGL_J0805.4+6147_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/946683/ft2_4FGL_J0805.4+6147_daily_bin1749.fits
Exposure map: /scratch/kocevski/946683/expmap_692668801_692928001_4FGL_J0805.4+6147_daily_bin1749.fits
Exposure cube: /scratch/kocevski/946683/ltcube_692668801_692928001_4FGL_J0805.4+6147_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/946683/Model_4FGL_J0805.4+6147_daily_bin1749.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) = 8177.76051334

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24104E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.950       1.0000          .0000       .10000E+07
     3 'Prefactor '    19.659       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47927E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .59250       1.0000          .0000       .10000E+07
     6 'Prefactor '    .26509E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .89393       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16035E-01   1.0000          .0000       .10000E+07
     9 'norm      '    1.7343       1.0000          .0000       .10000E+07
    10 'norm      '    5.0280       1.0000          .0000       .10000E+07
    11 'norm      '    3.3698       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36543E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .22682E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.4586       1.0000          .0000       .10000E+07
    15 'norm      '    .13398E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.4093       1.0000          .0000       .10000E+07
    17 'Prefactor '    .31188E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    7.7569       1.0000          .0000       .10000E+07
    19 'Prefactor '    6.5065       1.0000          .0000       .10000E+07
    20 'norm      '    1.2122       1.0000          .0000       .10000E+07
    21 'Prefactor '    .32357E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .13371E-04   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1562       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8177.732     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1521 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77716E-09    13.059        .50575E-06** at limit **
   2  Prefactor     13.626        5.8903        .12286E-05   -.76326E-01
   3  Prefactor     19.449        3.3217        .61837E-06   -.24507E-01
   4  Prefactor     .34972E-08    .68529        .13093E-06** at limit **
   5  norm          .59267        .37767       -.21462E-07    .65545E-02
   6  Prefactor     .16487E-07    9.3043        .34383E-05** at limit **
   7  norm          .89436        .80097        .11461E-07    .20434E-02
   8  Prefactor     .55511E-10    7.0376        .86808E-06** at limit **
   9  norm          1.7338        2.3478        .45353E-06    .12133E-02
  10  norm          5.0409        5.0811        .43602E-06    .38983E-02
  11  norm          3.3678        2.0065       -.19457E-06    .15430E-02
  12  Prefactor      .0000        .38187       -.72091E-07** at limit **
  13  Prefactor     .83267E-09    2.5802        .44449E-06** at limit **
  14  Prefactor     3.4732        5.9505       -.19668E-05   -.55042E-02
  15  norm          .55511E-10    1.8933        .10561E-06** at limit **
  16  Prefactor     5.3809        5.6335       -.13105E-05   -.46540E-02
  17  Prefactor     .84321E-07    19.101       -.61799E-06** at limit **
  18  Prefactor     7.8208        2.5017       -.54514E-06   -.88065E-01
  19  Prefactor     6.5400        1.5624        .32222E-06    .56447E-02
  20  norm          1.2131        .67586       -.87223E-07   -.11147E-02
  21  Prefactor     .48295E-08    9.1320       -.35709E-05** at limit **
  22  Prefactor     .16653E-09    2.6966        .68210E-06** at limit **
  23  Normalizat    1.1560        .19375        .14476E-04    .18132E-04
  24  Prefactor     .90585        .13422       -.15676E-04    .37040E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.77156e-10
  Prefactor  = 13.6256
  Prefactor  = 19.4485
  Prefactor  = 3.4972e-09
  norm       = 0.592671
  Prefactor  = 1.64868e-08
  norm       = 0.894364
  Prefactor  = 5.55112e-11
  norm       = 1.73376
  norm       = 5.04086
  norm       = 3.36779
  Prefactor  = 0
  Prefactor  = 8.32667e-10
  Prefactor  = 3.47317
  norm       = 5.55112e-11
  Prefactor  = 5.38086
  Prefactor  = 8.43214e-08
  Prefactor  = 7.82076
  Prefactor  = 6.53997
  norm       = 1.21309
  Prefactor  = 4.82947e-09
  Prefactor  = 1.66533e-10
  Normalizat = 1.15601
  Prefactor  = 0.905849
 **********
 **   18 **HESSE 
 **********

 FCN=   8177.732     FROM HESSE     STATUS=OK           453 CALLS     1974 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77716E-09    13.048        .16780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.626        22.875        .27810E-03   -1.5634    
   3  Prefactor     19.449        17.072        .22561E-03   -1.5620    
   4  Prefactor     .34972E-08    10.679        .11012E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .59267        .37013        .69902E-03   -1.5693    
   6  Prefactor     .16487E-07    10.011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .89436        .80833        .46181E-03   -1.5689    
   8  Prefactor     .55511E-10    7.0204        .17313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7338        2.3662        .79665E-03   -1.5682    
  10  norm          5.0409        5.1124        .44821E-03   -1.5663    
  11  norm          3.3678        2.0135        .55099E-03   -1.5671    
  12  Prefactor      .0000        .38074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .83267E-09    2.5913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.4732        5.9652        .54355E-03   -1.5671    
  15  norm          .55511E-10    1.8613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.3809        5.6351        .43183E-03   -1.5662    
  17  Prefactor     .84321E-07    19.609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.8208        9.5780        .35980E-03   -1.5652    
  19  Prefactor     6.5400        13.085        .39321E-03   -1.5657    
  20  norm          1.2131        .68036        .10267E-02   -1.5686    
  21  Prefactor     .48295E-08    9.7746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .16653E-09    2.7066        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1560        .16851        .60420E-01   -.87973    
  24  Prefactor     .90585        .11609        .45080E-01   -.95937    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9553e-07
Minuit parameter uncertainties:
  1  0.000201624
  2  22.8754
  3  17.0716
  4  0.000385698
  5  0.370131
  6  0.00081318
  7  0.808334
  8  4.42081e-05
  9  2.36617
  10  5.11245
  11  2.01346
  12  4.98573e-07
  13  9.44119e-05
  14  5.96521
  15  1.78475e-05
  16  5.63511
  17  0.00257161
  18  9.57802
  19  13.0853
  20  0.680356
  21  0.000435389
  22  4.32775e-05
  23  0.168585
  24  0.116124
Done.

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

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  1.734e+00  2.366e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  2.635e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  1.845e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  3.489e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
722    Prefactor:  9.058e-01  1.161e-01  0.000e+00  1.000e+01 ( 1.000e+00)
723        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
724        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
721   Normalization:  1.156e+00  1.686e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.70
Ra Dec: 121.356 61.794
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.34e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/946683/likelihoodResults_692668801_692928001_4FGL_J0805.4+6147_daily_bin1749.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) = 8177.69816074
delta logL = 0.0342465084441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8177.69656709
delta logL = 0.0358401550811

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8177.697     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      245 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6475        2.3997        .13971E-04   -.54797E-02
   2  alpha         3.0173        1.4798        .44538E-01   -.15081E-04
   3  Normalizat    1.1475        .19132        .26810E-03   -.82264E-04
   4  Prefactor     .90990        .13474        .21206E-03   -.71196E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.64748
  alpha      = 3.01725
  Normalizat = 1.14751
  Prefactor  = 0.9099
 **********
 **   18 **HESSE 
 **********

 FCN=   8177.697     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6475        2.2790        .55884E-06   -1.5682    
   2  alpha         3.0173        1.4141        .17815E-02    .20841    
   3  Normalizat    1.1475        .19153        .10724E-04   -.88241    
   4  Prefactor     .90990        .13476        .84823E-05   -.95796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14511e-10
Minuit parameter uncertainties:
  1  2.27899
  2  1.50784
  3  0.191642
  4  0.134814
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/946683': 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) = 8177.69656455
delta logL = 0.0358426935172

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  1.647e+00  2.279e+00  0.000e+00  1.000e+06 ( 1.000e-11)
307        alpha:  3.017e+00  1.508e+00  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  1.845e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  3.489e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
722    Prefactor:  9.099e-01  1.348e-01  0.000e+00  1.000e+01 ( 1.000e+00)
723        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
724        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
721   Normalization:  1.148e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.70
Ra Dec: 121.356 61.794

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/946683/cmap_HighResolution_692668801_692928001_4FGL_J0805.4+6147_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.34e-05', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2022-12-17 00:39:48.019537', job_id='946683', GAL2='0.91', fit_tolerance='1e-08', EG2='1.15', EG='1.16', time_epoch_completed='1671266388.02', return_code2='0', ts='0.70', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.58e-02', ts2='0.78', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1749' AND source_name='4FGL J0805.4+6147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:39:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 946683: <4FGL_J0805.4+6147_daily_bin1749> in cluster <slac> Done

Job <4FGL_J0805.4+6147_daily_bin1749> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Dec 17 00:25:23 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:25:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:25:24 2022
Terminated at Sat Dec 17 00:39:48 2022
Results reported at Sat Dec 17 00:39:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.4+6147_daily_bin1749 121.356 61.7937 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0805.4+6147 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   780.30 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             306.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            865 sec.

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

