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


Performing analysis on: 4FGL_J0801.1+6444_monthly_bin169
RA = 120.293, Dec = 64.7438
tmin = 675043201, tmax = 677635201
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='162841', job_status='RUN', time_executed='2022-06-23 02:01:49.783341', time_epoch_executed='1655974909.78' WHERE source_name='4FGL J0801.1+6444' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/162841

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/162841/ft1_4FGL_J0801.1+6444_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/162841/ft2_4FGL_J0801.1+6444_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/162841/ft1_4FGL_J0801.1+6444_monthly_bin169.fits outfile=/scratch/kocevski/162841/ft1_filteredMKT_4FGL_J0801.1+6444_monthly_bin169.fits ra=120.293 dec=64.7438 rad=12.0 tmin=675043201.0 tmax=677635201.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 27.83
user 27.03
sys 0.71

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/162841/ft2_4FGL_J0801.1+6444_monthly_bin169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/162841/ft2_4FGL_J0801.1+6444_monthly_bin169.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/162841/ft1_filteredMKT_4FGL_J0801.1+6444_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/162841/ft1_filtered_4FGL_J0801.1+6444_monthly_bin169.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.86
user 0.66
sys 0.18

Number of photons that the gtmktime cut: 8245

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/162841/ft1_filtered_4FGL_J0801.1+6444_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/162841/ft2_4FGL_J0801.1+6444_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/162841/ltcube_675043201_677635201_4FGL_J0801.1+6444_monthly_bin169.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/162841/ft2_4FGL_J0801.1+6444_monthly_bin169.fits
.....................!
real 138.30
user 137.58
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/162841/ft1_filtered_4FGL_J0801.1+6444_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/162841/ft2_4FGL_J0801.1+6444_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/162841/ltcube_675043201_677635201_4FGL_J0801.1+6444_monthly_bin169.fits outfile=/scratch/kocevski/162841/expmap_675043201_677635201_4FGL_J0801.1+6444_monthly_bin169.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/162841/ltcube_675043201_677635201_4FGL_J0801.1+6444_monthly_bin169.fits
.....................!
real 193.43
user 187.34
sys 5.62

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

Setting source of interest to:
4FGL J0801.1+6444 @ 120.293 64.7438

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/162841/ft1_filtered_4FGL_J0801.1+6444_monthly_bin169.fits scfile=/scratch/kocevski/162841/ft2_4FGL_J0801.1+6444_monthly_bin169.fits outfile=/scratch/kocevski/162841/cmap_675043201_677635201_4FGL_J0801.1+6444_monthly_bin169.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=120.293 yref=64.7438 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.61
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/162841/ft1_filtered_4FGL_J0801.1+6444_monthly_bin169.fits scfile=/scratch/kocevski/162841/ft2_4FGL_J0801.1+6444_monthly_bin169.fits outfile=/scratch/kocevski/162841/cmap_HighResolution_675043201_677635201_4FGL_J0801.1+6444_monthly_bin169.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=120.293 yref=64.7438 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.81
user 0.64
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/162841/ft1_filtered_4FGL_J0801.1+6444_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/162841/ft2_4FGL_J0801.1+6444_monthly_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/162841/Model_4FGL_J0801.1+6444_monthly_bin169.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/162841/ft1_filtered_4FGL_J0801.1+6444_monthly_bin169.fits.....................!
real 842.49
user 839.57
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/162841/ft1_filtered_4FGL_J0801.1+6444_monthly_bin169.fits', '/scratch/kocevski/162841/ft2_4FGL_J0801.1+6444_monthly_bin169.fits', expMap='/scratch/kocevski/162841/expmap_675043201_677635201_4FGL_J0801.1+6444_monthly_bin169.fits', expCube='/scratch/kocevski/162841/ltcube_675043201_677635201_4FGL_J0801.1+6444_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/162841/Model_4FGL_J0801.1+6444_monthly_bin169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0801.1+6444'

4FGL J0801.1+6444
   Spectrum: PowerLaw
298    Prefactor:  2.258e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
299        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  2.934e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/162841/ft1_filtered_4FGL_J0801.1+6444_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/162841/ft2_4FGL_J0801.1+6444_monthly_bin169.fits
Exposure map: /scratch/kocevski/162841/expmap_675043201_677635201_4FGL_J0801.1+6444_monthly_bin169.fits
Exposure cube: /scratch/kocevski/162841/ltcube_675043201_677635201_4FGL_J0801.1+6444_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/162841/Model_4FGL_J0801.1+6444_monthly_bin169.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) = 87336.7002331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.239       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.0302       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.743       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.4168       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1399       1.0000         .10000E-03   10000.    
     7 'norm      '    1.1589       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13500E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.3758       1.0000         .10000E-03   10000.    
    11 'norm      '    .18766       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1639       1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8672       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8583       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2450       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .77447E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.9051       1.0000         .10000E-03   10000.    
    20 'norm      '    1.0291       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.8504       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10387E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10481E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .74571       1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.236       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.1012       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1337       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .97485       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   87336.57     FROM MIGRAD    STATUS=CONVERGED    775 CALLS     3474 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.213        9.7998       -.10186E-05   -.64286E-03
   2  Prefactor     8.0238        5.2761        .22691E-06    .78303E-05
   3  Prefactor     11.743        7.5218        .67923E-07   -.62283E-04
   4  Prefactor     8.4162        6.8344        .28180E-08   -.17776E-04
   5  Prefactor     .10000E-03    1.1554       -.52699E-09** at limit **
   6  Prefactor     3.1391        4.1738       -.69575E-07   -.32389E-03
   7  norm          1.1587        .16665        .15725E-07    .15139E-05
   8  Prefactor     .10000E-03    6.3680        .15383E-06** at limit **
   9  Prefactor     .10000E-03    7.4397       -.12500E-05** at limit **
  10  Prefactor     9.4343        7.7660       -.97583E-06   -.44731E-03
  11  norm          .18763        .15006        .12548E-06   -.25357E-02
  12  Prefactor     3.1623        4.4597        .13071E-06   -.21102E-03
  13  norm          .10000E-03    .11084        .83989E-08** at limit **
  14  Prefactor     3.8666        .95710        .19530E-07   -.13762E-03
  15  Prefactor     5.8631        5.9789       -.97693E-08   -.11762E-03
  16  norm          1.2450        .72897        .58213E-08   -.57790E-03
  17  Prefactor     .10000E-03    .55133E-01   -.48596E-08** at limit **
  18  Prefactor     .10001E-03    .48188        .13193E-07** at limit **
  19  Prefactor     3.9043        1.7334        .11087E-06   -.13390E-02
  20  norm          1.0288        .43332        .10999E-06   -.27829E-02
  21  Prefactor     .10000E-03    6.3371        .72729E-06** at limit **
  22  Prefactor     3.8565        2.5557       -.27076E-07   -.37127E-03
  23  Prefactor     .10000E-03    1.9259       -.47265E-07** at limit **
  24  Prefactor     .10000E-03    .30273       -.27834E-07** at limit **
  25  norm          .74596        .23472        .29488E-07   -.25785E-02
  26  Prefactor     10.236        2.9580       -.17563E-07   -.19938E-03
  27  Prefactor     .10000E-03    .74777       -.22033E-07** at limit **
  28  Prefactor     3.0912        2.7535        .82196E-07   -.73684E-03
  29  Normalizat    1.1336        .54592E-01    .11848E-07   -.32254E-03
  30  Prefactor     .97491        .36303E-01   -.56115E-07   -.13519E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.2128
  Prefactor  = 8.02382
  Prefactor  = 11.7431
  Prefactor  = 8.41617
  Prefactor  = 0.0001
  Prefactor  = 3.13908
  norm       = 1.15872
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.43433
  norm       = 0.187627
  Prefactor  = 3.16227
  norm       = 0.0001
  Prefactor  = 3.86664
  Prefactor  = 5.8631
  norm       = 1.24504
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 3.9043
  norm       = 1.02876
  Prefactor  = 0.0001
  Prefactor  = 3.85646
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.745963
  Prefactor  = 10.2358
  Prefactor  = 0.0001
  Prefactor  = 3.0912
  Normalizat = 1.13357
  Prefactor  = 0.974909
 **********
 **   18 **HESSE 
 **********

 FCN=   87336.57     FROM HESSE     STATUS=OK           624 CALLS     4098 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.213        10.137        .79737E-04   -1.4703    
   2  Prefactor     8.0238        5.2560        .14149E-03   -1.5141    
   3  Prefactor     11.743        7.4912        .11690E-03   -1.5022    
   4  Prefactor     8.4162        6.8382        .13818E-03   -1.5128    
   5  Prefactor     .10000E-03    1.1624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1391        4.2173        .22877E-03   -1.5354    
   7  norm          1.1587        .16534        .43116E-04   -1.5493    
   8  Prefactor     .10000E-03    6.6382        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.5241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.4343        7.9909        .13088E-03   -1.5094    
  11  norm          .18763        .14673        .10931E-02   -1.5621    
  12  Prefactor     3.1623        4.4447        .22786E-03   -1.5352    
  13  norm          .10000E-03    .49384        .18625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.8666        .95659        .13952E-03   -1.5315    
  15  Prefactor     5.8631        5.9519        .16592E-03   -1.5224    
  16  norm          1.2450        .72706        .18776E-03   -1.5485    
  17  Prefactor     .10000E-03    .95944E-01    .13298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    .64963        .75679E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.9043        1.7746        .20417E-03   -1.5313    
  20  norm          1.0288        .44468        .12517E-03   -1.5505    
  21  Prefactor     .10000E-03    6.4945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.8565        2.5664        .20566E-03   -1.5315    
  23  Prefactor     .10000E-03    1.9559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    .40716        .63578E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .74596        .22442        .73873E-03   -1.5535    
  26  Prefactor     10.236        2.9626        .12524E-03   -1.5068    
  27  Prefactor     .10000E-03    .75417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     3.0912        2.7803        .23028E-03   -1.5356    
  29  Normalizat    1.1336        .63905E-01    .27706E-03   -.88681    
  30  Prefactor     .97491        .42354E-01    .20897E-03   -.93571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19446e-08
Minuit parameter uncertainties:
  1  10.1378
  2  5.25633
  3  7.49178
  4  6.83885
  5  8.95275e-08
  6  4.21774
  7  0.165344
  8  1.81865e-06
  9  8.24462e-05
  10  7.99185
  11  0.146726
  12  4.44516
  13  4.1766e-06
  14  0.956593
  15  5.95245
  16  0.727068
  17  1.40817e-07
  18  0.000120293
  19  1.77464
  20  0.44468
  21  3.57489e-05
  22  2.56643
  23  2.8513e-06
  24  2.02257e-06
  25  0.224425
  26  2.96264
  27  7.5556e-09
  28  2.78042
  29  0.0639092
  30  0.0423557
Done.

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

Extracting fit parameters...

4FGL J0801.1+6444
   Spectrum: PowerLaw
298    Prefactor:  3.162e+00  4.445e+00  1.000e-04  1.000e+04 ( 1.000e-14)
299        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  2.934e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.749e-01  4.236e-02  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.134e+00  6.391e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.66
Ra Dec: 120.293 64.744
Photon Flux Upper Limit: 1.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/162841/likelihoodResults_675043201_677635201_4FGL_J0801.1+6444_monthly_bin169.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): 102
logL (Free Index) = 87335.5017777
delta logL = 1.06345714715

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 87334.5945619
delta logL = 1.97067292841

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    6.2242       1.0000          .0000       10.000    
     3 'Normalizat'    1.0986       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99159       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   87334.59     FROM MIGRAD    STATUS=FAILED       321 CALLS      657 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .25439E-02    .25397E-03** at limit **
   2  Index         6.2241        1.7679        .62770E-02    .43384E-03
   3  Normalizat    1.0986        .21433E-01    .28099E-03    .34180E-03
   4  Prefactor     .99160        .15061E-01    .20745E-03    .55064E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   87334.59     FROM SIMPLEX   STATUS=UNCHANGED    167 CALLS      824 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .25439E-02    .60874E-05** at limit **
   2  Index         6.2241        1.7679        .10247E-04    .43384E-03
   3  Normalizat    1.0986        .21433E-01    .35000E-06    .34180E-03
   4  Prefactor     .99160        .15061E-01    .28409E-06    .55064E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   87334.59     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      862 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .17372E-02    .30935E-03** at limit **
   2  Index         6.2241        1.7123        .25108E-03    .72446E-05
   3  Normalizat    1.0986        .19924E-01    .11240E-04    .34310E-03
   4  Prefactor     .99160        .14071E-01    .82981E-05    .55240E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 6.22413
  Normalizat = 1.09857
  Prefactor  = 0.991602
 **********
 **   18 **HESSE 
 **********

 FCN=   87334.59     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      895 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .20483E-02    .28761E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.2241        1.7550        .10043E-04    .24734    
   3  Normalizat    1.0986        .20925E-01    .22479E-05   -.89798    
   4  Prefactor     .99160        .14775E-01    .16596E-05   -.93010    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.07303e-11
Minuit parameter uncertainties:
  1  2.02843e-09
  2  1.7958
  3  0.0209252
  4  0.0147755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/162841': 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): 102
logL (Free Index) = 87334.5945614
delta logL = 1.97067339493

Extracting fit parameters...

4FGL J0801.1+6444
   Spectrum: PowerLaw
298    Prefactor:  1.000e-04  2.028e-09  1.000e-04  1.000e+04 ( 1.000e-14)
299        Index:  6.224e+00  1.796e+00  0.000e+00  1.000e+01 (-1.000e+00)
300        Scale:  2.934e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.916e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.099e+00  2.093e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.06
Ra Dec: 120.293 64.744
Photon Index (Free Index): 6.22 +/- 1.80
Photon Flux (Free Index): 2.63e-08 +/- 1.49e-07
Energy Flux (Free Index): 3.25e-06 +/- 1.82e-05

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/162841/cmap_HighResolution_675043201_677635201_4FGL_J0801.1+6444_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-03', comment='SUCCESS', energy_flux2='3.25e-06', dlogl='1.97e+00', photon_flux2='2.63e-08', job_status='DONE', time_completed='2022-06-23 05:04:11.949168', photon_index_error2='1.80', photon_index2='6.22', ts='0.66', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.35e-08', energy_flux_error2='1.82e-05', EG='1.13', time_epoch_completed='1655985851.95', return_code='0', job_id='162841', GAL2='0.99', EG2='1.10', return_code2='102', photon_flux_error2='1.49e-07', ts2='5.06', photon_index='2.06' WHERE bin_id='169' AND source_name='4FGL J0801.1+6444' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 05:04:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 162841: <4FGL_J0801.1+6444_monthly_bin169> in cluster <slac> Done

Job <4FGL_J0801.1+6444_monthly_bin169> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Jun 23 01:25:47 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:00:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:00:34 2022
Terminated at Thu Jun 23 05:04:13 2022
Results reported at Thu Jun 23 05:04:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0801.1+6444_monthly_bin169 120.293 64.7438 675043201 677635201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0801.1+6444 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   10908.00 sec.
    Max Memory :                                 632 MB
    Average Memory :                             446.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   11018 sec.
    Turnaround time :                            13106 sec.

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

