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 46 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0805.1+7744_monthly_bin167
RA = 121.289, Dec = 77.7441
tmin = 669859201, tmax = 672451201
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='880561', job_status='RUN', time_executed='2022-04-24 01:09:38.733518', time_epoch_executed='1650787778.73' WHERE source_name='4FGL J0805.1+7744' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/880561

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/880561/ft1_4FGL_J0805.1+7744_monthly_bin167.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/880561/ft2_4FGL_J0805.1+7744_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/880561/ft1_4FGL_J0805.1+7744_monthly_bin167.fits outfile=/scratch/kocevski/880561/ft1_filteredMKT_4FGL_J0805.1+7744_monthly_bin167.fits ra=121.289 dec=77.7441 rad=12.0 tmin=669859201.0 tmax=672451201.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 38.08
user 37.08
sys 0.91

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/880561/ft2_4FGL_J0805.1+7744_monthly_bin167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/880561/ft2_4FGL_J0805.1+7744_monthly_bin167.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/880561/ft1_filteredMKT_4FGL_J0805.1+7744_monthly_bin167.fits evtable="EVENTS" outfile="/scratch/kocevski/880561/ft1_filtered_4FGL_J0805.1+7744_monthly_bin167.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.89
user 0.67
sys 0.20

Number of photons that the gtmktime cut: 9749

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/880561/ft1_filtered_4FGL_J0805.1+7744_monthly_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/880561/ft2_4FGL_J0805.1+7744_monthly_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/880561/ltcube_669859201_672451201_4FGL_J0805.1+7744_monthly_bin167.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/880561/ft2_4FGL_J0805.1+7744_monthly_bin167.fits
.....................!
real 112.29
user 111.65
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/880561/ft1_filtered_4FGL_J0805.1+7744_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/880561/ft2_4FGL_J0805.1+7744_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/880561/ltcube_669859201_672451201_4FGL_J0805.1+7744_monthly_bin167.fits outfile=/scratch/kocevski/880561/expmap_669859201_672451201_4FGL_J0805.1+7744_monthly_bin167.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/880561/ltcube_669859201_672451201_4FGL_J0805.1+7744_monthly_bin167.fits
.....................!
real 196.91
user 190.60
sys 5.96

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

Setting source of interest to:
4FGL J0805.1+7744 @ 121.289 77.7441

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/880561/ft1_filtered_4FGL_J0805.1+7744_monthly_bin167.fits scfile=/scratch/kocevski/880561/ft2_4FGL_J0805.1+7744_monthly_bin167.fits outfile=/scratch/kocevski/880561/cmap_669859201_672451201_4FGL_J0805.1+7744_monthly_bin167.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.289 yref=77.7441 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.79
user 0.61
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/880561/ft1_filtered_4FGL_J0805.1+7744_monthly_bin167.fits scfile=/scratch/kocevski/880561/ft2_4FGL_J0805.1+7744_monthly_bin167.fits outfile=/scratch/kocevski/880561/cmap_HighResolution_669859201_672451201_4FGL_J0805.1+7744_monthly_bin167.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.289 yref=77.7441 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.80
user 0.62
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/880561/ft1_filtered_4FGL_J0805.1+7744_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/880561/ft2_4FGL_J0805.1+7744_monthly_bin167.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/880561/Model_4FGL_J0805.1+7744_monthly_bin167.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/880561/ft1_filtered_4FGL_J0805.1+7744_monthly_bin167.fits.....................!
real 1100.37
user 1097.28
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/880561/ft1_filtered_4FGL_J0805.1+7744_monthly_bin167.fits', '/scratch/kocevski/880561/ft2_4FGL_J0805.1+7744_monthly_bin167.fits', expMap='/scratch/kocevski/880561/expmap_669859201_672451201_4FGL_J0805.1+7744_monthly_bin167.fits', expCube='/scratch/kocevski/880561/ltcube_669859201_672451201_4FGL_J0805.1+7744_monthly_bin167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/880561/Model_4FGL_J0805.1+7744_monthly_bin167.xml', optimizer='MINUIT')

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

4FGL J0805.1+7744
   Spectrum: PowerLaw
293    Prefactor:  7.928e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.717e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  6.677e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/880561/ft1_filtered_4FGL_J0805.1+7744_monthly_bin167.fits
Spacecraft file(s): /scratch/kocevski/880561/ft2_4FGL_J0805.1+7744_monthly_bin167.fits
Exposure map: /scratch/kocevski/880561/expmap_669859201_672451201_4FGL_J0805.1+7744_monthly_bin167.fits
Exposure cube: /scratch/kocevski/880561/ltcube_669859201_672451201_4FGL_J0805.1+7744_monthly_bin167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/880561/Model_4FGL_J0805.1+7744_monthly_bin167.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) = 102871.425767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10346E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.5669       1.0000         .10000E-03   10000.    
     4 'norm      '    1.1434       1.0000         .10000E-03   10000.    
     5 'norm      '    1.7878       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.9798       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.5722       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.9775       1.0000         .10000E-03   10000.    
    10 'norm      '    2.3541       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12183E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.090       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.2431       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.2493       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10569E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12042E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.4316       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .62715       1.0000         .10000E-03   10000.    
    20 'norm      '    1.1364       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .83814       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.9400       1.0000         .10000E-03   10000.    
    23 'norm      '    1.1490       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0100       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0356       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   102871.4     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2911 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .37888       -.62874E-07** at limit **
   2  Prefactor     .10000E-03    1.6283        .22707E-07** at limit **
   3  Prefactor     7.5528        6.9640        .47840E-06    .18790E-05
   4  norm          1.1448        1.7090       -.10812E-06   -.36051E-03
   5  norm          1.7878        .18854       -.21974E-08   -.39705E-04
   6  Prefactor     .10000E-03    4.6122       -.24822E-06** at limit **
   7  norm          1.9840        2.2560        .33084E-06   -.73521E-05
   8  Prefactor     5.6009        7.2405        .47696E-06    .36017E-06
   9  Prefactor     3.9773        1.0143       -.40828E-07    .14069E-04
  10  norm          2.3542        .62399        .35415E-07   -.34524E-03
  11  Prefactor     .10000E-03    3.7889        .39473E-07** at limit **
  12  Prefactor     10.092        2.2879       -.42164E-06   -.99986E-05
  13  Prefactor     8.2364        3.2378       -.10503E-06   -.13683E-04
  14  Prefactor     1.2537        2.2623       -.38294E-06   -.48872E-03
  15  Prefactor     .10000E-03    .67325       -.60749E-07** at limit **
  16  Prefactor     .10000E-03    4.6736        .75987E-06** at limit **
  17  Prefactor     .10000E-03    2.3057        .15974E-06** at limit **
  18  norm          4.4322        1.4784        .23548E-07    .16564E-03
  19  Prefactor     .62651        .72867        .16394E-06   -.89782E-03
  20  norm          1.1365        .26425       -.92446E-08   -.38797E-03
  21  Prefactor     .83722        1.5270       -.65223E-07   -.23723E-03
  22  Prefactor     5.9416        2.9193       -.32401E-07    .45777E-04
  23  norm          1.1490        .85080        .17994E-07   -.49104E-03
  24  Normalizat    1.0099        .49909E-01    .42892E-07    .10677E-03
  25  Prefactor     1.0356        .28500E-01    .15632E-07    .12954E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.55281
  norm       = 1.14483
  norm       = 1.78779
  Prefactor  = 0.0001
  norm       = 1.98402
  Prefactor  = 5.6009
  Prefactor  = 3.97727
  norm       = 2.35417
  Prefactor  = 0.0001
  Prefactor  = 10.0919
  Prefactor  = 8.23642
  Prefactor  = 1.25373
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.43216
  Prefactor  = 0.626512
  norm       = 1.13648
  Prefactor  = 0.837219
  Prefactor  = 5.94157
  norm       = 1.149
  Normalizat = 1.00994
  Prefactor  = 1.03565
 **********
 **   18 **HESSE 
 **********

 FCN=   102871.4     FROM HESSE     STATUS=OK           435 CALLS     3346 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .38280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.6362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.5528        6.9641        .14579E-03   -1.5158    
   4  norm          1.1448        1.8097        .51682E-03   -1.5494    
   5  norm          1.7878        .18839        .43529E-04   -1.5441    
   6  Prefactor     .10000E-03    4.6834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.9840        2.2488        .29458E-03   -1.5426    
   8  Prefactor     5.6009        7.2445        .17019E-03   -1.5235    
   9  Prefactor     3.9773        1.0142        .20224E-04   -1.5309    
  10  norm          2.3542        .62766        .12316E-03   -1.5401    
  11  Prefactor     .10000E-03    3.8483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.092        2.2712        .12614E-03   -1.5073    
  13  Prefactor     8.2364        3.2384        .13964E-03   -1.5134    
  14  Prefactor     1.2537        2.3748        .40024E-03   -1.5484    
  15  Prefactor     .10000E-03    .67705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.7757        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.3089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.4322        1.3018        .17168E-03   -1.5287    
  19  Prefactor     .62651        .97139        .34927E-03   -1.5550    
  20  norm          1.1365        .27037        .71943E-04   -1.5495    
  21  Prefactor     .83722        1.6750        .41472E-02   -1.5525    
  22  Prefactor     5.9416        2.8276        .16476E-03   -1.5220    
  23  norm          1.1490        .85421        .24415E-03   -1.5494    
  24  Normalizat    1.0099        .56748E-01    .30350E-03   -.92698    
  25  Prefactor     1.0356        .32194E-01    .18390E-03   -.91550    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17896e-07
Minuit parameter uncertainties:
  1  3.41726e-08
  2  3.13177e-06
  3  6.96488
  4  1.80982
  5  0.188393
  6  6.48629e-06
  7  2.24887
  8  7.2456
  9  1.01418
  10  0.627658
  11  6.94009e-06
  12  2.27125
  13  3.23846
  14  2.37493
  15  6.80254e-07
  16  1.9769e-05
  17  1.95605e-07
  18  1.30182
  19  0.971413
  20  0.270374
  21  1.67512
  22  2.82765
  23  0.854222
  24  0.0567517
  25  0.0321943
Done.

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

Extracting fit parameters...

4FGL J0805.1+7744
   Spectrum: PowerLaw
293    Prefactor:  5.601e+00  7.246e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.717e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  6.677e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
700    Prefactor:  1.036e+00  3.219e-02  0.000e+00  1.000e+01 ( 1.000e+00)
701        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
702        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
699   Normalization:  1.010e+00  5.675e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.75
Ra Dec: 121.289 77.744
Photon Flux Upper Limit: 2.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/880561/likelihoodResults_669859201_672451201_4FGL_J0805.1+7744_monthly_bin167.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) = 102871.133224
delta logL = 0.290065913345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 102871.126645
delta logL = 0.296645452501

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0810       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9910       1.0000          .0000       10.000    
     3 'Normalizat'    1.0143       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0339       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7030E+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=   102871.1     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      297 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0813        7.9364        .15075E-03   -.33906E-03
   2  Index         1.9910        .70544        .20189E-01   -.19695E-03
   3  Normalizat    1.0143        .51541E-01    .30289E-03    .37114E-03
   4  Prefactor     1.0339        .31648E-01    .18402E-03    .44639E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.08133
  Index      = 1.99105
  Normalizat = 1.01429
  Prefactor  = 1.03388
 **********
 **   18 **HESSE 
 **********

 FCN=   102871.1     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0813        8.1229        .60300E-05   -1.5176    
   2  Index         1.9910        .72320        .80757E-03   -.64574    
   3  Normalizat    1.0143        .51576E-01    .12116E-04   -.92553    
   4  Prefactor     1.0339        .31663E-01    .36805E-04   -.91609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19771e-09
Minuit parameter uncertainties:
  1  8.12412
  2  0.727213
  3  0.0515784
  4  0.031664
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/880561': 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) = 102871.126645
delta logL = 0.296645499009

Extracting fit parameters...

4FGL J0805.1+7744
   Spectrum: PowerLaw
293    Prefactor:  7.081e+00  8.124e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  1.991e+00  7.272e-01  0.000e+00  1.000e+01 (-1.000e+00)
295        Scale:  6.677e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
700    Prefactor:  1.034e+00  3.166e-02  0.000e+00  1.000e+01 ( 1.000e+00)
701        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
702        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
699   Normalization:  1.014e+00  5.158e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.33
Ra Dec: 121.289 77.744
Photon Index (Free Index): 1.99 +/- 0.73
Photon Flux (Free Index): 3.13e-09 +/- 4.68e-09
Energy Flux (Free Index): 2.21e-06 +/- 2.95e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/880561/cmap_HighResolution_669859201_672451201_4FGL_J0805.1+7744_monthly_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.65e-03', comment='SUCCESS', energy_flux2='2.21e-06', dlogl='2.97e-01', photon_flux2='3.13e-09', job_status='DONE', time_completed='2022-04-24 03:49:11.491688', photon_index_error2='0.73', photon_index2='1.99', ts='0.75', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='2.09e-08', energy_flux_error2='2.95e-06', EG='1.01', time_epoch_completed='1650797351.49', return_code='0', job_id='880561', GAL2='1.03', EG2='1.01', return_code2='0', photon_flux_error2='4.68e-09', ts2='1.33', photon_index='2.72' WHERE bin_id='167' AND source_name='4FGL J0805.1+7744' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 03:49:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 880561: <4FGL_J0805.1+7744_monthly_bin167> in cluster <slac> Done

Job <4FGL_J0805.1+7744_monthly_bin167> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 01:00:48 2022
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 01:08:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 01:08:43 2022
Terminated at Sun Apr 24 03:49:12 2022
Results reported at Sun Apr 24 03:49:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.1+7744_monthly_bin167 121.289 77.7441 669859201 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0805.1+7744 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9537.00 sec.
    Max Memory :                                 1101 MB
    Average Memory :                             471.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   9629 sec.
    Turnaround time :                            10104 sec.

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

