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


Performing analysis on: 4FGL_J1801.5+4404_daily_bin1766
RA = 270.377, Dec = 44.0747
tmin = 697075201, tmax = 697334401
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='855347', job_status='RUN', time_executed='2023-02-06 01:11:24.164550', time_epoch_executed='1675674684.16' WHERE source_name='4FGL J1801.5+4404' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/855347

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/855347/ft1_4FGL_J1801.5+4404_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/855347/ft2_4FGL_J1801.5+4404_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/855347/ft1_4FGL_J1801.5+4404_daily_bin1766.fits outfile=/scratch/kocevski/855347/ft1_filteredMKT_4FGL_J1801.5+4404_daily_bin1766.fits ra=270.377 dec=44.0747 rad=12.0 tmin=697075201.0 tmax=697334401.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.78
user 3.48
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/855347/ft2_4FGL_J1801.5+4404_daily_bin1766.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/855347/ft1_filteredMKT_4FGL_J1801.5+4404_daily_bin1766.fits evtable="EVENTS" outfile="/scratch/kocevski/855347/ft1_filtered_4FGL_J1801.5+4404_daily_bin1766.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.33
sys 0.16

Number of photons that the gtmktime cut: 750

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/855347/ft1_filtered_4FGL_J1801.5+4404_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/855347/ft2_4FGL_J1801.5+4404_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/855347/ltcube_697075201_697334401_4FGL_J1801.5+4404_daily_bin1766.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/855347/ft2_4FGL_J1801.5+4404_daily_bin1766.fits
.....................!
real 16.28
user 15.80
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/855347/ft1_filtered_4FGL_J1801.5+4404_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/855347/ft2_4FGL_J1801.5+4404_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/855347/ltcube_697075201_697334401_4FGL_J1801.5+4404_daily_bin1766.fits outfile=/scratch/kocevski/855347/expmap_697075201_697334401_4FGL_J1801.5+4404_daily_bin1766.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/855347/ltcube_697075201_697334401_4FGL_J1801.5+4404_daily_bin1766.fits
.....................!
real 194.18
user 188.20
sys 5.27

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/855347/ft1_filtered_4FGL_J1801.5+4404_daily_bin1766.fits scfile=/scratch/kocevski/855347/ft2_4FGL_J1801.5+4404_daily_bin1766.fits outfile=/scratch/kocevski/855347/cmap_697075201_697334401_4FGL_J1801.5+4404_daily_bin1766.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/855347/ft1_filtered_4FGL_J1801.5+4404_daily_bin1766.fits scfile=/scratch/kocevski/855347/ft2_4FGL_J1801.5+4404_daily_bin1766.fits outfile=/scratch/kocevski/855347/cmap_HighResolution_697075201_697334401_4FGL_J1801.5+4404_daily_bin1766.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.58
user 0.37
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/855347/ft1_filtered_4FGL_J1801.5+4404_daily_bin1766.fits', '/scratch/kocevski/855347/ft2_4FGL_J1801.5+4404_daily_bin1766.fits', expMap='/scratch/kocevski/855347/expmap_697075201_697334401_4FGL_J1801.5+4404_daily_bin1766.fits', expCube='/scratch/kocevski/855347/ltcube_697075201_697334401_4FGL_J1801.5+4404_daily_bin1766.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/855347/Model_4FGL_J1801.5+4404_daily_bin1766.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  0.000e+00  1.000e+06 ( 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 -5.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/855347/ft1_filtered_4FGL_J1801.5+4404_daily_bin1766.fits
Spacecraft file(s): /scratch/kocevski/855347/ft2_4FGL_J1801.5+4404_daily_bin1766.fits
Exposure map: /scratch/kocevski/855347/expmap_697075201_697334401_4FGL_J1801.5+4404_daily_bin1766.fits
Exposure cube: /scratch/kocevski/855347/ltcube_697075201_697334401_4FGL_J1801.5+4404_daily_bin1766.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/855347/Model_4FGL_J1801.5+4404_daily_bin1766.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) = 7933.92851641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0708       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.6039       1.0000          .0000       .10000E+07
     3 'norm      '    .89539E-07   1.0000          .0000       .10000E+07
     4 'norm      '    6.4268       1.0000          .0000       .10000E+07
     5 'norm      '    2.2390       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5672       1.0000          .0000       .10000E+07
     7 'norm      '    13.741       1.0000          .0000       .10000E+07
     8 'Prefactor '    .51798E-02   1.0000          .0000       .10000E+07
     9 'norm      '    2.1766       1.0000          .0000       .10000E+07
    10 'Prefactor '    .40527E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10709E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    23.582       1.0000          .0000       .10000E+07
    13 'Prefactor '    .66359E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.2003       1.0000          .0000       .10000E+07
    15 'norm      '    1.4168       1.0000          .0000       .10000E+07
    16 'norm      '    48.517       1.0000          .0000       .10000E+07
    17 'norm      '    4.4275       1.0000          .0000       .10000E+07
    18 'Prefactor '    .16130E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .41734E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .12632E-01   1.0000          .0000       .10000E+07
    21 'norm      '    30.627       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.2495       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0725       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91732       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7933.839     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     1646 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0708        .73497        .82343E-07    .61091E-04
   2  Prefactor     7.5146        5.6000        .16828E-06    .38474E-04
   3  norm           .0000        .42407       -.62157E-07** at limit **
   4  norm          6.2858        7.0706        .16914E-06    .83997E-04
   5  norm          2.2388        1.7459       -.17842E-06   -.37648E-04
   6  Prefactor     2.5653        2.4244        .13019E-06   -.78386E-06
   7  norm          13.746        6.3548        .20563E-07    .99831E-04
   8  Prefactor     .12668E-05    89.135        .18735E-05** at limit **
   9  norm          2.1776        2.9875       -.15856E-06   -.36800E-04
  10  Prefactor     .55511E-10    18.866       -.25122E-06** at limit **
  11  Prefactor      .0000        1.1837       -.40997E-06** at limit **
  12  Prefactor     23.047        19.707        .37167E-06    .37072E-01
  13  Prefactor      .0000        4.2579        .26828E-06** at limit **
  14  Prefactor     5.1818        6.1841        .10777E-06    .30028E-04
  15  norm          1.4185        1.4948       -.18484E-07   -.10963E-05
  16  norm          45.839        44.926       -.16474E-06    .18546E-01
  17  norm          4.3492        5.5465        .11422E-06    .41835E-04
  18  Prefactor      .0000        9.6485        .48274E-07** at limit **
  19  Prefactor      .0000        4.0216       -.39420E-07** at limit **
  20  norm          .55511E-10    24.037        .12234E-05** at limit **
  21  norm          30.617        16.196        .57559E-07    .82353E-03
  22  Prefactor     3.2427        2.6695        .14291E-06   -.98902E-05
  23  Normalizat    1.0743        .24173       -.27083E-05   -.20649E-05
  24  Prefactor     .91733        .14019        .25368E-05   -.16407E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.0708
  Prefactor  = 7.51464
  norm       = 0
  norm       = 6.28576
  norm       = 2.23878
  Prefactor  = 2.56533
  norm       = 13.7462
  Prefactor  = 1.26676e-06
  norm       = 2.17758
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 23.0469
  Prefactor  = 0
  Prefactor  = 5.1818
  norm       = 1.4185
  norm       = 45.8386
  norm       = 4.34923
  Prefactor  = 0
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 30.6168
  Prefactor  = 3.2427
  Normalizat = 1.07433
  Prefactor  = 0.917329
 **********
 **   18 **HESSE 
 **********

 FCN=   7933.839     FROM HESSE     STATUS=OK           453 CALLS     2099 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0708        .74545        .11730E-02   -1.5687    
   2  Prefactor     7.5146        5.5984        .36344E-03   -1.5653    
   3  norm           .0000        .41298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.2858        7.0788        .39567E-03   -1.5658    
   5  norm          2.2388        1.7531        .68661E-03   -1.5678    
   6  Prefactor     2.5653        2.4203        .63683E-03   -1.5676    
   7  norm          13.746        6.3640        .26995E-03   -1.5634    
   8  Prefactor     .12668E-05    98.808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.1776        3.0028        .69759E-03   -1.5678    
  10  Prefactor     .55511E-10    18.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        1.1814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.047        40.703        .20597E-03   -1.5612    
  13  Prefactor      .0000        4.2687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1818        6.1891        .44058E-03   -1.5662    
  15  norm          1.4185        1.4847        .90903E-03   -1.5684    
  16  norm          45.839        48.629        .14358E-03   -1.5573    
  17  norm          4.3492        5.5523        .47835E-03   -1.5666    
  18  Prefactor      .0000        9.6493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        4.0322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    23.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          30.617        16.201        .18072E-03   -1.5597    
  22  Prefactor     3.2427        2.6805        .56160E-03   -1.5672    
  23  Normalizat    1.0743        .19930        .68410E-01   -.90580    
  24  Prefactor     .91733        .11516        .45225E-01   -.95538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31305e-07
Minuit parameter uncertainties:
  1  0.745451
  2  5.59837
  3  1.4797e-09
  4  7.07881
  5  1.75306
  6  2.42026
  7  6.36404
  8  0.0223758
  9  3.00279
  10  5.72329e-05
  11  4.38717e-07
  12  40.7037
  13  1.27273e-06
  14  6.18915
  15  1.4847
  16  48.6296
  17  5.55229
  18  2.12788e-06
  19  8.73911e-07
  20  7.10041e-05
  21  16.2009
  22  2.68055
  23  0.199439
  24  0.11519
Done.

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

Extracting fit parameters...

4FGL J1801.5+4404
   Spectrum: LogParabola
365         norm:  4.349e+00  5.552e+00  0.000e+00  1.000e+06 ( 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 -5.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.173e-01  1.152e-01  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.074e+00  1.994e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/855347/likelihoodResults_697075201_697334401_4FGL_J1801.5+4404_daily_bin1766.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) = 7933.81113716
delta logL = 0.0277046666351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7933.80974806
delta logL = 0.0290937698901

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5990       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0494       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0800       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91494       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.

 FCN=   7933.810     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      192 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5990        5.7469        .46912E-03    .13943E-01
   2  alpha         2.0473        .98521        .42030E-01   -.18706E-03
   3  Normalizat    1.0796        .19188        .68259E-01    .19768E-04
   4  Prefactor     .91501        .11436        .45195E-01    .92337E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.59901
  alpha      = 2.04728
  Normalizat = 1.07965
  Prefactor  = 0.915007
 **********
 **   18 **HESSE 
 **********

 FCN=   7933.810     FROM HESSE     STATUS=OK            31 CALLS      223 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5990        5.7269        .18765E-04   -1.5665    
   2  alpha         2.0473        .98598        .84059E-02   -.18209    
   3  Normalizat    1.0796        .23222        .30200E-03   -.90408    
   4  Prefactor     .91501        .13855        .19320E-03   -.95619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03375e-09
Minuit parameter uncertainties:
  1  5.72692
  2  1.01452
  3  0.232439
  4  0.138604
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/855347': 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) = 7933.80974256
delta logL = 0.0290992691826

Extracting fit parameters...

4FGL J1801.5+4404
   Spectrum: LogParabola
365         norm:  4.599e+00  5.727e+00  0.000e+00  1.000e+06 ( 1.000e-12)
366        alpha:  2.047e+00  1.015e+00  0.000e+00  5.000e+00 ( 1.000e+00)
367         beta:  6.673e-02  0.000e+00 -5.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.150e-01  1.386e-01  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.080e+00  2.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 270.377 44.075
Photon Index (Free Index): 2.05 +/- 1.01
Photon Flux (Free Index): 1.48e-08 +/- 2.22e-08
Energy Flux (Free Index): 7.37e-06 +/- 1.11e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/855347/cmap_HighResolution_697075201_697334401_4FGL_J1801.5+4404_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.68e-05', comment='SUCCESS', energy_flux2='7.37e-06', dlogl='2.91e-02', photon_flux2='1.48e-08', job_status='DONE', time_completed='2023-02-06 01:23:52.570309', photon_index_error2='1.01', photon_index2='2.05', ts='0.98', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='7.77e-08', energy_flux_error2='1.11e-05', EG='1.07', time_epoch_completed='1675675432.57', return_code='0', job_id='855347', GAL2='0.92', EG2='1.08', return_code2='0', photon_flux_error2='2.22e-08', ts2='1.04', photon_index='2.31' WHERE bin_id='1766' AND source_name='4FGL J1801.5+4404' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 01:23:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 855347: <4FGL_J1801.5+4404_daily_bin1766> in cluster <slac> Done

Job <4FGL_J1801.5+4404_daily_bin1766> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb  6 01:10:15 2023
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 01:10:57 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 01:10:57 2023
Terminated at Mon Feb  6 01:23:53 2023
Results reported at Mon Feb  6 01:23:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1801.5+4404_daily_bin1766 270.377 44.0747 697075201 697334401 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 :                                   749.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             326.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            818 sec.

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

