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


Performing analysis on: 4FGL_J1800.6+7828_daily_bin1751
RA = 270.173, Dec = 78.4674
tmin = 693187201, tmax = 693446401
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='82912', job_status='RUN', time_executed='2022-12-23 01:00:47.308617', time_epoch_executed='1671786047.31' WHERE source_name='4FGL J1800.6+7828' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/82912

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/82912/ft1_4FGL_J1800.6+7828_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/82912/ft2_4FGL_J1800.6+7828_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/82912/ft1_4FGL_J1800.6+7828_daily_bin1751.fits outfile=/scratch/kocevski/82912/ft1_filteredMKT_4FGL_J1800.6+7828_daily_bin1751.fits ra=270.173 dec=78.4674 rad=12.0 tmin=693187201.0 tmax=693446401.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.63
user 3.40
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/82912/ft2_4FGL_J1800.6+7828_daily_bin1751.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/82912/ft1_filteredMKT_4FGL_J1800.6+7828_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/82912/ft1_filtered_4FGL_J1800.6+7828_daily_bin1751.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.31
sys 0.17

Number of photons that the gtmktime cut: 1186

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/82912/ft1_filtered_4FGL_J1800.6+7828_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/82912/ft2_4FGL_J1800.6+7828_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/82912/ltcube_693187201_693446401_4FGL_J1800.6+7828_daily_bin1751.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/82912/ft2_4FGL_J1800.6+7828_daily_bin1751.fits
.....................!
real 11.99
user 11.65
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/82912/ft1_filtered_4FGL_J1800.6+7828_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/82912/ft2_4FGL_J1800.6+7828_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/82912/ltcube_693187201_693446401_4FGL_J1800.6+7828_daily_bin1751.fits outfile=/scratch/kocevski/82912/expmap_693187201_693446401_4FGL_J1800.6+7828_daily_bin1751.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/82912/ltcube_693187201_693446401_4FGL_J1800.6+7828_daily_bin1751.fits
.....................!
real 190.72
user 185.38
sys 4.97

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/82912/ft1_filtered_4FGL_J1800.6+7828_daily_bin1751.fits scfile=/scratch/kocevski/82912/ft2_4FGL_J1800.6+7828_daily_bin1751.fits outfile=/scratch/kocevski/82912/cmap_693187201_693446401_4FGL_J1800.6+7828_daily_bin1751.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/82912/ft1_filtered_4FGL_J1800.6+7828_daily_bin1751.fits scfile=/scratch/kocevski/82912/ft2_4FGL_J1800.6+7828_daily_bin1751.fits outfile=/scratch/kocevski/82912/cmap_HighResolution_693187201_693446401_4FGL_J1800.6+7828_daily_bin1751.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.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/82912/ft1_filtered_4FGL_J1800.6+7828_daily_bin1751.fits', '/scratch/kocevski/82912/ft2_4FGL_J1800.6+7828_daily_bin1751.fits', expMap='/scratch/kocevski/82912/expmap_693187201_693446401_4FGL_J1800.6+7828_daily_bin1751.fits', expCube='/scratch/kocevski/82912/ltcube_693187201_693446401_4FGL_J1800.6+7828_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/82912/Model_4FGL_J1800.6+7828_daily_bin1751.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/82912/ft1_filtered_4FGL_J1800.6+7828_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/82912/ft2_4FGL_J1800.6+7828_daily_bin1751.fits
Exposure map: /scratch/kocevski/82912/expmap_693187201_693446401_4FGL_J1800.6+7828_daily_bin1751.fits
Exposure cube: /scratch/kocevski/82912/ltcube_693187201_693446401_4FGL_J1800.6+7828_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/82912/Model_4FGL_J1800.6+7828_daily_bin1751.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) = 12283.4403816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8019       1.0000          .0000       .10000E+07
     2 'Prefactor '    .61277E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .17303E-01   1.0000          .0000       .10000E+07
     4 'norm      '    1.6662       1.0000          .0000       .10000E+07
     5 'Prefactor '    .43978       1.0000          .0000       .10000E+07
     6 'Prefactor '    .63517E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .80879       1.0000          .0000       .10000E+07
     8 'Prefactor '    .36882E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .44016E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    21.756       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16867E-04   1.0000          .0000       .10000E+07
    12 'norm      '    3.8149       1.0000          .0000       .10000E+07
    13 'norm      '    .43789       1.0000          .0000       .10000E+07
    14 'norm      '    13.429       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56535       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.3286       1.0000          .0000       .10000E+07
    17 'Prefactor '    .35834E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .50454E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .18580E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .11010       1.0000          .0000       .10000E+07
    21 'norm      '    2.7419       1.0000          .0000       .10000E+07
    22 'norm      '    4.7907       1.0000          .0000       .10000E+07
    23 'Prefactor '    .13615E-01   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0274       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0207       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=   12283.37     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1619 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8109        7.8836        .11551E-07   -.42061E-01
   2  Prefactor     .68501E-07    5.0987       -.26389E-07** at limit **
   3  Prefactor     .22204E-09    19.256        .11907E-06** at limit **
   4  norm          1.6905        4.7034        .31259E-07   -.71893E-02
   5  Prefactor     .51717E-05    27.436        .61051E-08** at limit **
   6  Prefactor     .93980E-07    8.4655       -.17401E-07** at limit **
   7  norm          .80854        .57527        .13046E-07    .70808E-02
   8  Prefactor      .0000        .97810       -.37449E-07** at limit **
   9  Prefactor     .65781E-07    3.8508       -.25901E-07** at limit **
  10  Prefactor     21.715        1.0796        .47261E-09    .54402E-03
  11  Prefactor     .14155E-07    6.3678       -.26393E-07** at limit **
  12  norm          3.8126        2.3523       -.13980E-07   -.33584E-02
  13  norm          .43796        .33115        .10336E-07    .95999E-02
  14  norm          13.442        5.1824       -.15221E-07   -.36767E-02
  15  Prefactor     .13634E-06    101.10        .30969E-06** at limit **
  16  Prefactor     3.3358        5.3204        .24652E-07   -.40915E-03
  17  Prefactor     .11102E-08    3.9105       -.16228E-06** at limit **
  18  norm           .0000        1.0043        .29512E-07** at limit **
  19  Prefactor     .11102E-09    4.2747       -.80244E-07** at limit **
  20  norm          .72758E-06    62.326       -.16576E-06** at limit **
  21  norm          2.7421        2.1396       -.33949E-07   -.54743E-02
  22  norm          4.7906        3.8737       -.89374E-08   -.16618E-02
  23  Prefactor     .55511E-10    5.6281       -.25572E-07** at limit **
  24  Normalizat    1.0274        .15641       -.36055E-06   -.10468E-03
  25  Prefactor     1.0208        .76107E-01   -.36971E-07   -.21782E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.81094
  Prefactor  = 6.85008e-08
  Prefactor  = 2.22045e-10
  norm       = 1.69051
  Prefactor  = 5.1717e-06
  Prefactor  = 9.39804e-08
  norm       = 0.808543
  Prefactor  = 0
  Prefactor  = 6.57807e-08
  Prefactor  = 21.7147
  Prefactor  = 1.41553e-08
  norm       = 3.81263
  norm       = 0.437958
  norm       = 13.4419
  Prefactor  = 1.36335e-07
  Prefactor  = 3.33579
  Prefactor  = 1.11022e-09
  norm       = 0
  Prefactor  = 1.11022e-10
  norm       = 7.27585e-07
  norm       = 2.74209
  norm       = 4.79065
  Prefactor  = 5.55112e-11
  Normalizat = 1.02739
  Prefactor  = 1.02078
 **********
 **   18 **HESSE 
 **********

 FCN=   12283.37     FROM HESSE     STATUS=OK           479 CALLS     2098 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8109        12.049        .60750E-03   -1.5674    
   2  Prefactor     .68501E-07    14.185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22204E-09    19.203        .17221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.6905        29.333        .81664E-03   -1.5682    
   5  Prefactor     .51717E-05    70.426        .85016E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .93980E-07    11.609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .80854        .57761        .52282E-03   -1.5690    
   8  Prefactor      .0000        .97669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .65781E-07    13.803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.715        18.517        .21445E-03   -1.5615    
  11  Prefactor     .14155E-07    14.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.8126        2.3603        .51652E-03   -1.5669    
  13  norm          .43796        .33195        .85222E-03   -1.5695    
  14  norm          13.442        5.2036        .27308E-03   -1.5635    
  15  Prefactor     .13634E-06    101.79        .72391E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3358        5.3410        .55456E-03   -1.5671    
  17  Prefactor     .11102E-08    3.9178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.0016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11102E-09    4.2551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .72758E-06    14.701        .21631E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.7421        2.1384        .61459E-03   -1.5675    
  22  norm          4.7906        3.8665        .45942E-03   -1.5664    
  23  Prefactor     .55511E-10    13.233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0274        .14579        .76550E-01   -.92119    
  25  Prefactor     1.0208        .69286E-01    .42069E-01   -.92040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14763e-07
Minuit parameter uncertainties:
  1  11.6394
  2  0.00197115
  3  0.000130234
  4  14.0839
  5  0.0381698
  6  0.00208919
  7  0.577613
  8  9.54172e-06
  9  0.00190588
  10  18.5168
  11  0.000908829
  12  2.36034
  13  0.331951
  14  5.20356
  15  0.00745007
  16  5.34097
  17  0.000133228
  18  7.11793e-06
  19  4.70498e-05
  20  0.00654116
  21  2.1384
  22  3.86649
  23  5.74334e-05
  24  0.145846
  25  0.0692925
Done.

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

Extracting fit parameters...

4FGL J1800.6+7828
   Spectrum: LogParabola
411         norm:  4.380e-01  3.320e-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:  1.021e+00  6.929e-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.027e+00  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.45
Ra Dec: 270.173 78.467
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 2.06e-08 +/- 1.56e-08
Energy Flux (Fixed Index): 9.22e-06 +/- 6.99e-06

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) = 12281.9055395
delta logL = 1.46098558271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12281.8217849
delta logL = 1.54474019754

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32011       1.0000          .0000       .10000E+07
     2 'alpha     '    1.2375       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0198       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=   12281.82     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      218 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32016        .22446        .97583E-03   -.92865E-02
   2  alpha         1.2377        .28491        .38240       -.90125E-04
   3  Normalizat    1.0350        .13895        .76289E-01   -.32896E-04
   4  Prefactor     1.0198        .67797E-01    .42166E-01   -.16096E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.320156
  alpha      = 1.2377
  Normalizat = 1.03499
  Prefactor  = 1.01976
 **********
 **   18 **HESSE 
 **********

 FCN=   12281.82     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32016        .30154        .41892E-04   -1.5697    
   2  alpha         1.2377        .44879        .13993E-01   -.52929    
   3  Normalizat    1.0350        .15184        .33763E-03   -.91867    
   4  Prefactor     1.0198        .74223E-01    .16503E-03   -.92074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22707e-11
Minuit parameter uncertainties:
  1  0.301538
  2  0.452094
  3  0.151906
  4  0.0742307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/82912': 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) = 12281.8217847
delta logL = 1.54474033709

Extracting fit parameters...

4FGL J1800.6+7828
   Spectrum: LogParabola
411         norm:  3.202e-01  3.015e-01  0.000e+00  1.000e+06 ( 1.000e-11)
412        alpha:  1.238e+00  4.521e-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:  1.020e+00  7.423e-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.035e+00  1.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.53
Ra Dec: 270.173 78.467
Photon Index (Free Index): 1.24 +/- 0.45
Photon Flux (Free Index): 9.85e-09 +/- 8.16e-09
Energy Flux (Free Index): 4.92e-05 +/- 5.71e-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/82912/cmap_HighResolution_693187201_693446401_4FGL_J1800.6+7828_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.06e-08', energy_flux2='4.92e-05', photon_flux_error='1.56e-08', dlogl='1.54e+00', energy_flux='9.22e-06', photon_flux2='9.85e-09', job_status='DONE', time_completed='2022-12-23 01:15:28.587267', photon_index_error2='0.45', photon_index2='1.24', ts='5.45', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='5.71e-05', EG='1.03', time_epoch_completed='1671786928.59', return_code='0', job_id='82912', GAL2='1.02', EG2='1.03', return_code2='0', energy_flux_error='6.99e-06', photon_flux_error2='8.16e-09', ts2='8.53', photon_index='2.16' WHERE bin_id='1751' AND source_name='4FGL J1800.6+7828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:15:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 82912: <4FGL_J1800.6+7828_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1800.6+7828_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 01:00:24 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:00:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:00:26 2022
Terminated at Fri Dec 23 01:15:29 2022
Results reported at Fri Dec 23 01:15:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1800.6+7828_daily_bin1751 270.173 78.4674 693187201 693446401 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 :                                   883.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             370.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            905 sec.

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

