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


Performing analysis on: 4FGL_J1800.6+7828_daily_bin1674
RA = 270.173, Dec = 78.4674
tmin = 673228801, tmax = 673488001
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='671141', job_status='RUN', time_executed='2022-05-06 02:59:46.003480', time_epoch_executed='1651831186.0' WHERE source_name='4FGL J1800.6+7828' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/671141

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/671141/ft1_4FGL_J1800.6+7828_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/671141/ft2_4FGL_J1800.6+7828_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/671141/ft1_4FGL_J1800.6+7828_daily_bin1674.fits outfile=/scratch/kocevski/671141/ft1_filteredMKT_4FGL_J1800.6+7828_daily_bin1674.fits ra=270.173 dec=78.4674 rad=12.0 tmin=673228801.0 tmax=673488001.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.82
user 2.54
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/671141/ft2_4FGL_J1800.6+7828_daily_bin1674.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/671141/ft1_filteredMKT_4FGL_J1800.6+7828_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/671141/ft1_filtered_4FGL_J1800.6+7828_daily_bin1674.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 2159

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/671141/ft1_filtered_4FGL_J1800.6+7828_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/671141/ft2_4FGL_J1800.6+7828_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/671141/ltcube_673228801_673488001_4FGL_J1800.6+7828_daily_bin1674.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/671141/ft2_4FGL_J1800.6+7828_daily_bin1674.fits
.....................!
real 15.04
user 14.63
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/671141/ft1_filtered_4FGL_J1800.6+7828_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/671141/ft2_4FGL_J1800.6+7828_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/671141/ltcube_673228801_673488001_4FGL_J1800.6+7828_daily_bin1674.fits outfile=/scratch/kocevski/671141/expmap_673228801_673488001_4FGL_J1800.6+7828_daily_bin1674.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/671141/ltcube_673228801_673488001_4FGL_J1800.6+7828_daily_bin1674.fits
.....................!
real 192.50
user 186.91
sys 4.81

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/671141/ft1_filtered_4FGL_J1800.6+7828_daily_bin1674.fits scfile=/scratch/kocevski/671141/ft2_4FGL_J1800.6+7828_daily_bin1674.fits outfile=/scratch/kocevski/671141/cmap_673228801_673488001_4FGL_J1800.6+7828_daily_bin1674.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/671141/ft1_filtered_4FGL_J1800.6+7828_daily_bin1674.fits scfile=/scratch/kocevski/671141/ft2_4FGL_J1800.6+7828_daily_bin1674.fits outfile=/scratch/kocevski/671141/cmap_HighResolution_673228801_673488001_4FGL_J1800.6+7828_daily_bin1674.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/671141/ft1_filtered_4FGL_J1800.6+7828_daily_bin1674.fits', '/scratch/kocevski/671141/ft2_4FGL_J1800.6+7828_daily_bin1674.fits', expMap='/scratch/kocevski/671141/expmap_673228801_673488001_4FGL_J1800.6+7828_daily_bin1674.fits', expCube='/scratch/kocevski/671141/ltcube_673228801_673488001_4FGL_J1800.6+7828_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/671141/Model_4FGL_J1800.6+7828_daily_bin1674.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  1.000e-04  1.000e+04 ( 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  0.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/671141/ft1_filtered_4FGL_J1800.6+7828_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/671141/ft2_4FGL_J1800.6+7828_daily_bin1674.fits
Exposure map: /scratch/kocevski/671141/expmap_673228801_673488001_4FGL_J1800.6+7828_daily_bin1674.fits
Exposure cube: /scratch/kocevski/671141/ltcube_673228801_673488001_4FGL_J1800.6+7828_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/671141/Model_4FGL_J1800.6+7828_daily_bin1674.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) = 22379.4935029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3047       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.0881       1.0000         .10000E-03   10000.    
     5 'Prefactor '    48.867       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.0109       1.0000         .10000E-03   10000.    
     7 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.631       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.177       1.0000         .10000E-03   10000.    
    12 'norm      '    6.0667       1.0000         .10000E-03   10000.    
    13 'norm      '    4.0498       1.0000         .10000E-03   10000.    
    14 'norm      '    5.4512       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.5163       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10575E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10778E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10298E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    19.943       1.0000         .10000E-03   10000.    
    22 'norm      '    .62923E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.637       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .75011       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1521       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22379.41     FROM MIGRAD    STATUS=CONVERGED    639 CALLS     2774 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3049        7.1143        .71437E-06    .75209E-04
   2  Prefactor     .10000E-03    16.384        .38730E-06** at limit **
   3  Prefactor     .10000E-03    29.258       -.20340E-05** at limit **
   4  norm          8.0876        9.9546        .14738E-06   -.70724E-05
   5  Prefactor     48.895        45.596       -.41039E-05   -.84383E-04
   6  Prefactor     7.9937        17.266        .90891E-06    .38445E-04
   7  norm          .10000E-03    .14925       -.25149E-07** at limit **
   8  Prefactor     .10000E-03    .61528        .83104E-07** at limit **
   9  Prefactor     16.622        10.740        .15283E-06    .95500E-04
  10  Prefactor     .10000E-03    9.7615        .19976E-06** at limit **
  11  Prefactor     19.174        26.971        .71112E-06    .11903E-04
  12  norm          6.0667        1.9561       -.18771E-07   -.87679E-04
  13  norm          4.0498        .62629        .12261E-07   -.27107E-03
  14  norm          5.4511        2.8106       -.34554E-06   -.22819E-03
  15  Prefactor     .10000E-03    43.835        .12129E-05** at limit **
  16  Prefactor     4.5141        3.9163        .24700E-05   -.27904E-04
  17  Prefactor     .10000E-03    17.839        .18145E-05** at limit **
  18  Prefactor     .10000E-03    15.186       -.12296E-05** at limit **
  19  norm          .10011E-03    1.2005        .57057E-06** at limit **
  20  Prefactor     .10000E-03    1.1618       -.30624E-07** at limit **
  21  norm          19.944        15.630       -.12862E-08   -.61242E-06
  22  norm          .10000E-03    .68135        .19158E-06** at limit **
  23  norm          .10000E-03    .58846       -.35477E-08** at limit **
  24  Prefactor     11.645        10.274        .14194E-06   -.41856E-04
  25  Normalizat    .75002        .11465       -.93194E-06   -.17573E-03
  26  Prefactor     1.1521        .55169E-01    .60331E-07   -.33827E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.30491
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.08756
  Prefactor  = 48.8954
  Prefactor  = 7.99368
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.6218
  Prefactor  = 0.0001
  Prefactor  = 19.1738
  norm       = 6.06672
  norm       = 4.04981
  norm       = 5.45114
  Prefactor  = 0.0001
  Prefactor  = 4.51412
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100114
  Prefactor  = 0.0001
  norm       = 19.9436
  norm       = 0.000100003
  norm       = 0.0001
  Prefactor  = 11.6448
  Normalizat = 0.750016
  Prefactor  = 1.15214
 **********
 **   18 **HESSE 
 **********

 FCN=   22379.41     FROM HESSE     STATUS=OK           478 CALLS     3252 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3049        7.1072        .74202E-03   -1.5167    
   2  Prefactor     .10000E-03    16.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    29.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.0876        9.9118        .14098E-03   -1.5139    
   5  Prefactor     48.895        45.656        .28682E-03   -1.4308    
   6  Prefactor     7.9937        17.105        .14166E-03   -1.5142    
   7  norm          .10000E-03    1.0532        .10508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.7891        .22498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.622        10.254        .98212E-04   -1.4892    
  10  Prefactor     .10000E-03    9.8285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.174        26.963        .91461E-04   -1.4832    
  12  norm          6.0667        1.9536        .11224E-03   -1.5215    
  13  norm          4.0498        .62521        .44448E-04   -1.5305    
  14  norm          5.4511        2.8069        .16616E-03   -1.5241    
  15  Prefactor     .10000E-03    43.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.5141        3.9595        .94722E-03   -1.5283    
  17  Prefactor     .10000E-03    18.162        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10011E-03    1.0769        .51014E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.4038        .30975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          19.944        15.631        .89688E-04   -1.4815    
  22  norm          .10000E-03    9.8673        .22996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .60511        .22399E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     11.645        10.005        .11744E-03   -1.5025    
  25  Normalizat    .75002        .12086        .39281E-03   -1.0195    
  26  Prefactor     1.1521        .59137E-01    .16226E-03   -.87817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15402e-09
Minuit parameter uncertainties:
  1  7.10798
  2  1.56444e-05
  3  8.3662e-05
  4  9.91382
  5  45.6891
  6  17.1157
  7  3.37676e-06
  8  4.15255e-06
  9  10.2547
  10  7.401e-06
  11  26.9799
  12  1.95367
  13  0.625214
  14  2.80696
  15  6.06058e-05
  16  3.95974
  17  8.24545e-05
  18  4.16543e-05
  19  0.000701549
  20  1.56672e-06
  21  15.6338
  22  0.000335727
  23  1.6363e-08
  24  10.006
  25  0.120905
  26  0.0591401
Done.

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

Extracting fit parameters...

4FGL J1800.6+7828
   Spectrum: LogParabola
411         norm:  4.050e+00  6.252e-01  1.000e-04  1.000e+04 ( 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  0.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.152e+00  5.914e-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:  7.500e-01  1.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 133.01
Ra Dec: 270.173 78.467
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.91e-07 +/- 2.94e-08
Energy Flux (Fixed Index): 8.53e-05 +/- 1.32e-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) = 22378.7361119
delta logL = 0.676661009104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 22378.7358375
delta logL = 0.676935359406

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2454       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9987       1.0000          .0000       5.0000    
     3 'Normalizat'    .77022       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1471       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=   22378.74     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      211 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2454        .88112        .48889E-02    .75668E-04
   2  alpha         1.9987        .16949        .17645        .22892E-04
   3  Normalizat    .77022        .10911        .87655E-01    .90006E-04
   4  Prefactor     1.1471        .54175E-01    .36022E-01   -.13146E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.24539
  alpha      = 1.99867
  Normalizat = 0.770219
  Prefactor  = 1.14707
 **********
 **   18 **HESSE 
 **********

 FCN=   22378.74     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2454        .67550        .46612E-04   -1.5296    
   2  alpha         1.9987        .13500        .74908E-02   -.20190    
   3  Normalizat    .77022        .11708        .38825E-03   -1.0118    
   4  Prefactor     1.1471        .58143E-01    .16259E-03   -.87976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34797e-11
Minuit parameter uncertainties:
  1  0.675503
  2  0.135065
  3  0.117121
  4  0.0581461
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/671141': 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) = 22378.7358375
delta logL = 0.676935359486

Extracting fit parameters...

4FGL J1800.6+7828
   Spectrum: LogParabola
411         norm:  4.245e+00  6.755e-01  1.000e-04  1.000e+04 ( 1.000e-11)
412        alpha:  1.999e+00  1.351e-01  0.000e+00  5.000e+00 ( 1.000e+00)
413         beta:  3.593e-02  0.000e+00  0.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.147e+00  5.815e-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:  7.702e-01  1.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 133.81
Ra Dec: 270.173 78.467
Photon Index (Free Index): 2.00 +/- 0.14
Photon Flux (Free Index): 1.72e-07 +/- 3.17e-08
Energy Flux (Free Index): 1.03e-04 +/- 2.49e-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/671141/cmap_HighResolution_673228801_673488001_4FGL_J1800.6+7828_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.91e-07', energy_flux2='1.03e-04', photon_flux_error='2.94e-08', dlogl='6.77e-01', energy_flux='8.53e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2022-05-06 03:28:49.685899', photon_index_error2='0.14', photon_index2='2.00', ts='133.01', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='2.49e-05', EG='0.75', time_epoch_completed='1651832929.69', return_code='0', job_id='671141', GAL2='1.15', EG2='0.77', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='3.17e-08', ts2='133.81', photon_index='2.16' WHERE bin_id='1674' AND source_name='4FGL J1800.6+7828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:28:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 671128: <4FGL_J1800.6+7828_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1800.6+7828_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:08:15 2022
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:58:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:58:17 2022
Terminated at Fri May  6 03:27:59 2022
Results reported at Fri May  6 03:27:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1800.6+7828_daily_bin1674 270.173 78.4674 673228801 673488001 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 :                                   1746.00 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             372.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1782 sec.
    Turnaround time :                            11984 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 671141: <4FGL_J1800.6+7828_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1800.6+7828_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:08:15 2022
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:58:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:58:19 2022
Terminated at Fri May  6 03:28:50 2022
Results reported at Fri May  6 03:28:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1800.6+7828_daily_bin1674 270.173 78.4674 673228801 673488001 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 :                                   1744.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             367.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1832 sec.
    Turnaround time :                            12035 sec.

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

