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


Performing analysis on: 4FGL_J1801.5+4404_daily_bin1691
RA = 270.377, Dec = 44.0747
tmin = 677635201, tmax = 677894401
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='293252', job_status='RUN', time_executed='2022-06-26 00:57:21.765247', time_epoch_executed='1656230241.77' WHERE source_name='4FGL J1801.5+4404' and cadence='daily' and bin_id='1691'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/293252

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/293252/ft1_4FGL_J1801.5+4404_daily_bin1691.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/293252/ft2_4FGL_J1801.5+4404_daily_bin1691.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/293252/ft1_4FGL_J1801.5+4404_daily_bin1691.fits outfile=/scratch/kocevski/293252/ft1_filteredMKT_4FGL_J1801.5+4404_daily_bin1691.fits ra=270.377 dec=44.0747 rad=12.0 tmin=677635201.0 tmax=677894401.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 2.38
user 2.17
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/293252/ft2_4FGL_J1801.5+4404_daily_bin1691.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/293252/ft2_4FGL_J1801.5+4404_daily_bin1691.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/293252/ft1_filteredMKT_4FGL_J1801.5+4404_daily_bin1691.fits evtable="EVENTS" outfile="/scratch/kocevski/293252/ft1_filtered_4FGL_J1801.5+4404_daily_bin1691.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.37
sys 0.15

Number of photons that the gtmktime cut: 1414

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/293252/ft1_filtered_4FGL_J1801.5+4404_daily_bin1691.fits" evtable="EVENTS" scfile=/scratch/kocevski/293252/ft2_4FGL_J1801.5+4404_daily_bin1691.fits sctable="SC_DATA" outfile=/scratch/kocevski/293252/ltcube_677635201_677894401_4FGL_J1801.5+4404_daily_bin1691.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/293252/ft2_4FGL_J1801.5+4404_daily_bin1691.fits
.....................!
real 15.81
user 15.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/293252/ft1_filtered_4FGL_J1801.5+4404_daily_bin1691.fits evtable="EVENTS" scfile=/scratch/kocevski/293252/ft2_4FGL_J1801.5+4404_daily_bin1691.fits sctable="SC_DATA" expcube=/scratch/kocevski/293252/ltcube_677635201_677894401_4FGL_J1801.5+4404_daily_bin1691.fits outfile=/scratch/kocevski/293252/expmap_677635201_677894401_4FGL_J1801.5+4404_daily_bin1691.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/293252/ltcube_677635201_677894401_4FGL_J1801.5+4404_daily_bin1691.fits
.....................!
real 192.80
user 187.10
sys 5.29

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

Setting source of interest to:
4FGL J1801.5+4404 @ 270.377 44.0747

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/293252/ft1_filtered_4FGL_J1801.5+4404_daily_bin1691.fits scfile=/scratch/kocevski/293252/ft2_4FGL_J1801.5+4404_daily_bin1691.fits outfile=/scratch/kocevski/293252/cmap_677635201_677894401_4FGL_J1801.5+4404_daily_bin1691.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=270.377 yref=44.0747 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/293252/ft1_filtered_4FGL_J1801.5+4404_daily_bin1691.fits scfile=/scratch/kocevski/293252/ft2_4FGL_J1801.5+4404_daily_bin1691.fits outfile=/scratch/kocevski/293252/cmap_HighResolution_677635201_677894401_4FGL_J1801.5+4404_daily_bin1691.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=270.377 yref=44.0747 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.57
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/293252/ft1_filtered_4FGL_J1801.5+4404_daily_bin1691.fits evtable="EVENTS" scfile=/scratch/kocevski/293252/ft2_4FGL_J1801.5+4404_daily_bin1691.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/293252/Model_4FGL_J1801.5+4404_daily_bin1691.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/293252/ft1_filtered_4FGL_J1801.5+4404_daily_bin1691.fits.....................!
real 121.73
user 120.09
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/293252/ft1_filtered_4FGL_J1801.5+4404_daily_bin1691.fits', '/scratch/kocevski/293252/ft2_4FGL_J1801.5+4404_daily_bin1691.fits', expMap='/scratch/kocevski/293252/expmap_677635201_677894401_4FGL_J1801.5+4404_daily_bin1691.fits', expCube='/scratch/kocevski/293252/ltcube_677635201_677894401_4FGL_J1801.5+4404_daily_bin1691.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/293252/Model_4FGL_J1801.5+4404_daily_bin1691.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1801.5+4404'

4FGL J1801.5+4404
   Spectrum: LogParabola
365         norm:  8.383e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
366        alpha:  2.308e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
367         beta:  6.673e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
368           Eb:  5.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/293252/ft1_filtered_4FGL_J1801.5+4404_daily_bin1691.fits
Spacecraft file(s): /scratch/kocevski/293252/ft2_4FGL_J1801.5+4404_daily_bin1691.fits
Exposure map: /scratch/kocevski/293252/expmap_677635201_677894401_4FGL_J1801.5+4404_daily_bin1691.fits
Exposure cube: /scratch/kocevski/293252/ltcube_677635201_677894401_4FGL_J1801.5+4404_daily_bin1691.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/293252/Model_4FGL_J1801.5+4404_daily_bin1691.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) = 15009.7296844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28234       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .25677       1.0000         .10000E-03   10000.    
     3 'norm      '    .58598E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    12.731       1.0000         .10000E-03   10000.    
     5 'norm      '    3.2093       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7017       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.762       1.0000         .10000E-03   10000.    
     8 'norm      '    2.6481       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .46872E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.3339       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.371       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.4284       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .26848       1.0000         .10000E-03   10000.    
    18 'norm      '    .10752E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    23.884       1.0000         .10000E-03   10000.    
    20 'norm      '    .10650E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.393       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.0076       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.0525       1.0000         .10000E-03   10000.    
    24 'norm      '    30.598       1.0000         .10000E-03   10000.    
    25 'norm      '    12.646       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0757       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91970       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15009.63     FROM MIGRAD    STATUS=CONVERGED    727 CALLS     3152 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28207        .79428        .42856E-06    .49033E-03
   2  Prefactor     .27199        3.8740       -.33761E-05    .36085E-03
   3  norm          .58611E-01    .32519        .28524E-06    .46734E-04
   4  norm          12.733        6.6786       -.15372E-06   -.77786E-03
   5  norm          3.2093        1.2634        .46894E-08    .10326E-02
   6  Prefactor     1.7017        1.6293        .22169E-07    .11565E-03
   7  Prefactor     24.773        25.071       -.25521E-06   -.41109E-03
   8  norm          2.6477        3.0560        .36131E-05    .25786E-03
   9  Prefactor     .10000E-03    13.356       -.24152E-06** at limit **
  10  norm          .10000E-03    1.9660       -.23574E-07** at limit **
  11  Prefactor     .11193E-03    21.562       -.63037E-05** at limit **
  12  Prefactor     2.3335        3.1204        .35228E-06    .19605E-03
  13  Prefactor     10.369        23.959       -.37610E-06    .54569E-04
  14  Prefactor     .10000E-03    7.6106       -.69477E-08** at limit **
  15  Prefactor     2.4331        16.713       -.23912E-05    .90173E-04
  16  Prefactor     .10000E-03    4.2851       -.77788E-07** at limit **
  17  norm          .26577        1.7836        .23701E-05    .78702E-03
  18  norm          .10001E-03    67.315        .26031E-05** at limit **
  19  Prefactor     23.889        16.375       -.99259E-07    .15924E-03
  20  norm          .10000E-03    2.0712       -.32682E-06** at limit **
  21  Prefactor     14.393        9.1493        .69434E-07   -.63222E-04
  22  Prefactor     5.0081        3.6129        .10466E-06    .12098E-03
  23  Prefactor     4.0520        15.382        .38449E-06   -.15675E-04
  24  norm          30.598        8.1201        .22693E-07    .29231E-03
  25  norm          12.645        7.9301       -.61834E-07    .36435E-03
  26  Prefactor     .10000E-03    .34083        .42445E-07** at limit **
  27  Normalizat    1.0757        .15082        .18115E-06    .55140E-03
  28  Prefactor     .91973        .81881E-01   -.44875E-06    .60528E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.282067
  Prefactor  = 0.271986
  norm       = 0.0586108
  norm       = 12.7326
  norm       = 3.20933
  Prefactor  = 1.70172
  Prefactor  = 24.7734
  norm       = 2.64773
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000111925
  Prefactor  = 2.33355
  Prefactor  = 10.3694
  Prefactor  = 0.0001
  Prefactor  = 2.43313
  Prefactor  = 0.0001
  norm       = 0.26577
  norm       = 0.000100008
  Prefactor  = 23.8885
  norm       = 0.000100001
  Prefactor  = 14.3925
  Prefactor  = 5.00807
  Prefactor  = 4.05201
  norm       = 30.5975
  norm       = 12.6452
  Prefactor  = 0.0001
  Normalizat = 1.0757
  Prefactor  = 0.919735
 **********
 **   18 **HESSE 
 **********

 FCN=   15009.63     FROM HESSE     STATUS=OK           543 CALLS     3695 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28207        .78216        .16631E-03   -1.5602    
   2  Prefactor     .27199        18.198        .37576E-02   -1.5604    
   3  norm          .58611E-01    .78883        .12397E-02   -1.5660    
   4  norm          12.733        6.6950        .11226E-03   -1.4994    
   5  norm          3.2093        1.2625        .81036E-04   -1.5350    
   6  Prefactor     1.7017        1.6177        .14861E-03   -1.5447    
   7  Prefactor     24.773        25.200        .80499E-04   -1.4712    
   8  norm          2.6477        3.0993        .11178E-02   -1.5383    
   9  Prefactor     .10000E-03    13.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.0269        .33505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11193E-03    18.349        .15632       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.3335        3.0985        .23229E-03   -1.5402    
  13  Prefactor     10.369        23.866        .12442E-03   -1.5064    
  14  Prefactor     .10000E-03    7.6139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.4331        16.691        .26261E-03   -1.5396    
  16  Prefactor     .10000E-03    4.3441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .26577        1.7878        .31649E-03   -1.5605    
  18  norm          .10001E-03    67.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     23.889        16.377        .81963E-04   -1.4730    
  20  norm          .10000E-03    12.778        .33964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     14.393        9.1549        .10558E-03   -1.4949    
  22  Prefactor     5.0081        3.6094        .17970E-03   -1.5260    
  23  Prefactor     4.0520        15.379        .20030E-03   -1.5305    
  24  norm          30.598        8.1244        .72434E-04   -1.4601    
  25  norm          12.645        7.9367        .11264E-03   -1.4997    
  26  Prefactor     .10000E-03    .34560        .69819E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0757        .18152        .30418E-03   -.90536    
  28  Prefactor     .91973        .99196E-01    .19062E-03   -.95455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76818e-09
Minuit parameter uncertainties:
  1  0.782189
  2  4.45017
  3  0.42968
  4  6.69542
  5  1.26247
  6  1.6177
  7  25.2105
  8  3.09953
  9  5.46182e-05
  10  1.04152e-06
  11  0.0295935
  12  3.09867
  13  23.8877
  14  5.36202e-06
  15  12.7503
  16  8.06101e-06
  17  1.37842
  18  0.00143304
  19  16.3803
  20  0.000205241
  21  9.15576
  22  3.60958
  23  15.3945
  24  8.12474
  25  7.93736
  26  1.53262e-06
  27  0.181622
  28  0.0992153
Done.

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

Extracting fit parameters...

4FGL J1801.5+4404
   Spectrum: LogParabola
365         norm:  1.000e-04  2.052e-04  1.000e-04  1.000e+04 ( 1.000e-12)
366        alpha:  2.308e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
367         beta:  6.673e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
368           Eb:  5.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
683    Prefactor:  9.197e-01  9.922e-02  0.000e+00  1.000e+01 ( 1.000e+00)
684        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
685        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
682   Normalization:  1.076e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 270.377 44.075
Photon Flux Upper Limit: 4.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.39e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/293252/likelihoodResults_677635201_677894401_4FGL_J1801.5+4404_daily_bin1691.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) = 15009.6334661
delta logL = -0.000366050666344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15009.6330997
delta logL = 3.6355049815e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11450E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4114       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0759       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91962       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6860E+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=   15009.61     FROM MIGRAD    STATUS=CONVERGED    204 CALLS      382 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58420E-01    .18778        .13065E-01   -.70775E-02
   2  alpha         5.0000        2.5016        .50000    ** at limit **
   3  Normalizat    1.0635        .17210        .30418E-03    .16991E-03
   4  Prefactor     .92399        .98320E-01    .19062E-03    .28269E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0584198
  alpha      = 5
  Normalizat = 1.06348
  Prefactor  = 0.923987
 **********
 **   18 **HESSE 
 **********

 FCN=   15009.61     FROM HESSE     STATUS=OK            33 CALLS      415 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58420E-01    .28200        .82141E-03   -1.5756    
   2  alpha         5.0000        2.7192        .50000        7.8539    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0635        .17549        .12167E-04   -.90933    
   4  Prefactor     .92399        .99065E-01    .38124E-04   -.95308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04774e-10
Minuit parameter uncertainties:
  1  0.256489
  2  0.0010149
  3  0.175586
  4  0.0990842
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/293252': 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) = 15009.6053622
delta logL = 0.0277378897154

Extracting fit parameters...

4FGL J1801.5+4404
   Spectrum: LogParabola
365         norm:  5.842e-02  2.565e-01  1.000e-04  1.000e+04 ( 1.000e-12)
366        alpha:  5.000e+00  1.015e-03  0.000e+00  5.000e+00 ( 1.000e+00)
367         beta:  6.673e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
368           Eb:  5.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
683    Prefactor:  9.240e-01  9.908e-02  0.000e+00  1.000e+01 ( 1.000e+00)
684        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
685        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
682   Normalization:  1.063e+00  1.756e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 270.377 44.075

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/293252/cmap_HighResolution_677635201_677894401_4FGL_J1801.5+4404_daily_bin1691.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-05', job_status='DONE', photon_flux_upper_limit='4.04e-08', time_completed='2022-06-26 01:24:58.263532', job_id='293252', GAL2='0.92', fit_tolerance='1e-08', EG2='1.06', EG='1.08', time_epoch_completed='1656231898.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.77e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1691' AND source_name='4FGL J1801.5+4404' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun 26 01:24:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 293129: <4FGL_J1801.5+4404_daily_bin1691> in cluster <slac> Done

Job <4FGL_J1801.5+4404_daily_bin1691> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jun 26 00:06:48 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun 26 00:55:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun 26 00:55:29 2022
Terminated at Sun Jun 26 01:23:05 2022
Results reported at Sun Jun 26 01:23:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1801.5+4404_daily_bin1691 270.377 44.0747 677635201 677894401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1801.5+4404 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1637.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             347.02 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1656 sec.
    Turnaround time :                            4577 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0248>
Subject: Job 293252: <4FGL_J1801.5+4404_daily_bin1691> in cluster <slac> Done

Job <4FGL_J1801.5+4404_daily_bin1691> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jun 26 00:06:55 2022
Job was executed on host(s) <bullet0248>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun 26 00:56:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun 26 00:56:26 2022
Terminated at Sun Jun 26 01:24:58 2022
Results reported at Sun Jun 26 01:24:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1801.5+4404_daily_bin1691 270.377 44.0747 677635201 677894401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1801.5+4404 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1653.65 sec.
    Max Memory :                                 1106 MB
    Average Memory :                             352.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3407 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1712 sec.
    Turnaround time :                            4683 sec.

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

