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


Performing analysis on: 4FGL_J1800.6+7828_daily_bin1769
RA = 270.173, Dec = 78.4674
tmin = 697852801, tmax = 698112001
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='440895', job_status='RUN', time_executed='2023-02-15 01:10:53.089444', time_epoch_executed='1676452253.09' WHERE source_name='4FGL J1800.6+7828' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440895

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440895/ft1_4FGL_J1800.6+7828_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440895/ft2_4FGL_J1800.6+7828_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440895/ft1_4FGL_J1800.6+7828_daily_bin1769.fits outfile=/scratch/kocevski/440895/ft1_filteredMKT_4FGL_J1800.6+7828_daily_bin1769.fits ra=270.173 dec=78.4674 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.39
user 4.17
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/440895/ft2_4FGL_J1800.6+7828_daily_bin1769.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/440895/ft2_4FGL_J1800.6+7828_daily_bin1769.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/440895/ft1_filteredMKT_4FGL_J1800.6+7828_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/440895/ft1_filtered_4FGL_J1800.6+7828_daily_bin1769.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1126

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440895/ft1_filtered_4FGL_J1800.6+7828_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/440895/ft2_4FGL_J1800.6+7828_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/440895/ltcube_697852801_698112001_4FGL_J1800.6+7828_daily_bin1769.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/440895/ft2_4FGL_J1800.6+7828_daily_bin1769.fits
.....................!
real 11.80
user 11.47
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440895/ft1_filtered_4FGL_J1800.6+7828_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/440895/ft2_4FGL_J1800.6+7828_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/440895/ltcube_697852801_698112001_4FGL_J1800.6+7828_daily_bin1769.fits outfile=/scratch/kocevski/440895/expmap_697852801_698112001_4FGL_J1800.6+7828_daily_bin1769.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/440895/ltcube_697852801_698112001_4FGL_J1800.6+7828_daily_bin1769.fits
.....................!
real 189.93
user 185.21
sys 4.37

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

Setting source of interest to:
4FGL J1800.6+7828 @ 270.173 78.4674

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/440895/ft1_filtered_4FGL_J1800.6+7828_daily_bin1769.fits scfile=/scratch/kocevski/440895/ft2_4FGL_J1800.6+7828_daily_bin1769.fits outfile=/scratch/kocevski/440895/cmap_697852801_698112001_4FGL_J1800.6+7828_daily_bin1769.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.173 yref=78.4674 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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440895/ft1_filtered_4FGL_J1800.6+7828_daily_bin1769.fits scfile=/scratch/kocevski/440895/ft2_4FGL_J1800.6+7828_daily_bin1769.fits outfile=/scratch/kocevski/440895/cmap_HighResolution_697852801_698112001_4FGL_J1800.6+7828_daily_bin1769.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.173 yref=78.4674 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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/440895/ft1_filtered_4FGL_J1800.6+7828_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/440895/ft2_4FGL_J1800.6+7828_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/440895/Model_4FGL_J1800.6+7828_daily_bin1769.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/440895/ft1_filtered_4FGL_J1800.6+7828_daily_bin1769.fits.....................!
real 141.23
user 139.86
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/440895/ft1_filtered_4FGL_J1800.6+7828_daily_bin1769.fits', '/scratch/kocevski/440895/ft2_4FGL_J1800.6+7828_daily_bin1769.fits', expMap='/scratch/kocevski/440895/expmap_697852801_698112001_4FGL_J1800.6+7828_daily_bin1769.fits', expCube='/scratch/kocevski/440895/ltcube_697852801_698112001_4FGL_J1800.6+7828_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/440895/Model_4FGL_J1800.6+7828_daily_bin1769.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1800.6+7828'

4FGL J1800.6+7828
   Spectrum: LogParabola
411         norm:  1.608e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
412        alpha:  2.159e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
413         beta:  3.593e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
414           Eb:  6.563e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/440895/ft1_filtered_4FGL_J1800.6+7828_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/440895/ft2_4FGL_J1800.6+7828_daily_bin1769.fits
Exposure map: /scratch/kocevski/440895/expmap_697852801_698112001_4FGL_J1800.6+7828_daily_bin1769.fits
Exposure cube: /scratch/kocevski/440895/ltcube_697852801_698112001_4FGL_J1800.6+7828_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/440895/Model_4FGL_J1800.6+7828_daily_bin1769.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) = 11740.6149199

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .82059E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .70402E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .21070E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .16327E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    17.181       1.0000          .0000       .10000E+07
     6 'Prefactor '    .43086E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .65115E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8189       1.0000          .0000       .10000E+07
     9 'Prefactor '    22.662       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.7242       1.0000          .0000       .10000E+07
    11 'Prefactor '    .97569E-03   1.0000          .0000       .10000E+07
    12 'norm      '    3.0345       1.0000          .0000       .10000E+07
    13 'norm      '    1.6425       1.0000          .0000       .10000E+07
    14 'norm      '    10.227       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20510       1.0000          .0000       .10000E+07
    16 'Prefactor '    .77499       1.0000          .0000       .10000E+07
    17 'Prefactor '    .80001E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .30587E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .94879E-05   1.0000          .0000       .10000E+07
    20 'norm      '    .19140E-03   1.0000          .0000       .10000E+07
    21 'norm      '    2.5707       1.0000          .0000       .10000E+07
    22 'norm      '    .70527       1.0000          .0000       .10000E+07
    23 'Prefactor '    .94714E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0224       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93749       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11740.61     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     2155 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20925E-05    5.0169        .11542E-06** at limit **
   2  Prefactor     .51342E-06    23.149       -.11633E-06** at limit **
   3  Prefactor     .72553E-07    19.423        .45071E-07** at limit **
   4  norm          .28311E-08    8.5725       -.25426E-07** at limit **
   5  Prefactor     16.381        85.599       -.87644E-06    .52548E-02
   6  Prefactor     .15316E-06    14.784        .13230E-06** at limit **
   7  norm           .0000        .56338       -.14784E-06** at limit **
   8  Prefactor     1.8193        2.4525        .12881E-06    .99752E-03
   9  Prefactor     22.647        1.3118       -.11358E-07   -.12008E-01
  10  Prefactor     6.7142        2.7571       -.37712E-07   -.33389E-01
  11  Prefactor     .14060E-05    7.8928        .22414E-06** at limit **
  12  norm          3.0344        1.9135       -.79502E-08    .18047E-05
  13  norm          1.6422        .63566        .59696E-08   -.15179E-03
  14  norm          10.248        4.6940       -.30675E-07    .21060E-03
  15  Prefactor     .20616E-05    2.4566       -.21951E-07** at limit **
  16  Prefactor     .72330        8.4297        .65705E-06   -.57184E-03
  17  Prefactor     .38858E-09    5.8410       -.26674E-06** at limit **
  18  norm           .0000        .95604        .14160E-07** at limit **
  19  Prefactor     .55511E-10    2.8023       -.11067E-07** at limit **
  20  norm          .24303E-06    8.6522       -.90864E-08** at limit **
  21  norm          2.5700        2.7966       -.37664E-07   -.13655E-03
  22  norm          .70291        2.6424        .33361E-06   -.16916E-04
  23  Prefactor     .19804E-05    8.1837       -.69340E-07** at limit **
  24  Normalizat    1.0227        .15825        .32411E-05    .24113E-05
  25  Prefactor     .93747        .74164E-01   -.21526E-05    .19672E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09249e-06
  Prefactor  = 5.13423e-07
  Prefactor  = 7.25531e-08
  norm       = 2.83107e-09
  Prefactor  = 16.3808
  Prefactor  = 1.53155e-07
  norm       = 0
  Prefactor  = 1.81929
  Prefactor  = 22.6469
  Prefactor  = 6.71415
  Prefactor  = 1.40604e-06
  norm       = 3.03441
  norm       = 1.64224
  norm       = 10.2483
  Prefactor  = 2.06163e-06
  Prefactor  = 0.723301
  Prefactor  = 3.88578e-10
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 2.43028e-07
  norm       = 2.56996
  norm       = 0.702908
  Prefactor  = 1.98042e-06
  Normalizat = 1.02272
  Prefactor  = 0.937469
 **********
 **   18 **HESSE 
 **********

 FCN=   11740.61     FROM HESSE     STATUS=OK           477 CALLS     2632 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20925E-05    10.874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .51342E-06    30.153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .72553E-07    19.724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .28311E-08    8.6014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.381        87.852        .24136E-03   -1.5627    
   6  Prefactor     .15316E-06    15.515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .54202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.8193        3.0783        .77402E-03   -1.5681    
   9  Prefactor     22.647        16.506        .21012E-03   -1.5613    
  10  Prefactor     6.7142        32.397        .38672E-03   -1.5656    
  11  Prefactor     .14060E-05    11.647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.0344        1.9209        .58225E-03   -1.5673    
  13  norm          1.6422        .65629        .82403E-03   -1.5682    
  14  norm          10.248        4.7532        .31308E-03   -1.5644    
  15  Prefactor     .20616E-05    69.896        .11686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .72330        8.5767        .54818E-03   -1.5691    
  17  Prefactor     .38858E-09    5.8412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .95630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55511E-10    2.7882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .24303E-06    9.6658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5700        2.8050        .63635E-03   -1.5676    
  22  norm          .70291        2.6351        .60281E-03   -1.5691    
  23  Prefactor     .19804E-05    32.830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0227        .14675        .73470E-01   -.92273    
  25  Prefactor     .93747        .67066E-01    .45481E-01   -.94844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54761e-06
Minuit parameter uncertainties:
  1  0.00954013
  2  0.00786917
  3  0.00239253
  4  0.000313336
  5  75.8726
  6  0.00308288
  7  3.4015e-07
  8  3.07835
  9  16.5063
  10  29.4971
  11  0.00809367
  12  1.92087
  13  0.656293
  14  4.75323
  15  0.0240086
  16  4.98137
  17  9.83049e-05
  18  7.17999e-07
  19  1.8483e-05
  20  0.0030654
  21  2.80504
  22  2.63509
  23  0.0161266
  24  0.146805
  25  0.0670723
Done.

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

Extracting fit parameters...

4FGL J1800.6+7828
   Spectrum: LogParabola
411         norm:  1.642e+00  6.563e-01  0.000e+00  1.000e+06 ( 1.000e-11)
412        alpha:  2.159e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
413         beta:  3.593e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
414           Eb:  6.563e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.375e-01  6.707e-02  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  1.023e+00  1.468e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.36
Ra Dec: 270.173 78.467
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 7.73e-08 +/- 3.09e-08
Energy Flux (Fixed Index): 3.46e-05 +/- 1.38e-05

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) = 11740.3061741
delta logL = 0.307240220904

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11740.3039695
delta logL = 0.309444807835

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11740.30     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      212 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7088        1.5586        .80395E-03   -.25461E-01
   2  alpha         1.9142        .60398        .29270       -.18182E-04
   3  Normalizat    1.0371        .13745        .73030E-01    .30877E-04
   4  Prefactor     .93383        .65891E-01    .45435E-01   -.37750E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.70877
  alpha      = 1.91418
  Normalizat = 1.03712
  Prefactor  = 0.933835
 **********
 **   18 **HESSE 
 **********

 FCN=   11740.30     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7088        .67848        .54416E-05   -1.5682    
   2  alpha         1.9142        .30038        .11450E-01   -.23653    
   3  Normalizat    1.0371        .15160        .32316E-03   -.91797    
   4  Prefactor     .93383        .72268E-01    .16214E-03   -.94969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69613e-10
Minuit parameter uncertainties:
  1  0.678483
  2  0.301155
  3  0.151659
  4  0.0722752
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440895': 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) = 11740.3039695
delta logL = 0.309444811803

Extracting fit parameters...

4FGL J1800.6+7828
   Spectrum: LogParabola
411         norm:  1.709e+00  6.785e-01  0.000e+00  1.000e+06 ( 1.000e-11)
412        alpha:  1.914e+00  3.012e-01  0.000e+00  5.000e+00 ( 1.000e+00)
413         beta:  3.593e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
414           Eb:  6.563e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.338e-01  7.228e-02  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  1.037e+00  1.517e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.94
Ra Dec: 270.173 78.467
Photon Index (Free Index): 1.91 +/- 0.30
Photon Flux (Free Index): 6.44e-08 +/- 3.08e-08
Energy Flux (Free Index): 4.66e-05 +/- 2.68e-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/440895/cmap_HighResolution_697852801_698112001_4FGL_J1800.6+7828_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.73e-08', energy_flux2='4.66e-05', photon_flux_error='3.09e-08', dlogl='3.09e-01', energy_flux='3.46e-05', photon_flux2='6.44e-08', job_status='DONE', time_completed='2023-02-15 01:26:42.190252', photon_index_error2='0.30', photon_index2='1.91', ts='13.36', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='2.68e-05', EG='1.02', time_epoch_completed='1676453202.19', return_code='0', job_id='440895', GAL2='0.93', EG2='1.04', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='3.08e-08', ts2='13.94', photon_index='2.16' WHERE bin_id='1769' AND source_name='4FGL J1800.6+7828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:26:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 440895: <4FGL_J1800.6+7828_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1800.6+7828_daily_bin1769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Feb 15 01:10:16 2023
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:10:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:10:17 2023
Terminated at Wed Feb 15 01:26:43 2023
Results reported at Wed Feb 15 01:26:43 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1800.6+7828_daily_bin1769 270.173 78.4674 697852801 698112001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1800.6+7828 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   950.29 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             350.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            987 sec.

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

