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


Performing analysis on: 4FGL_J1926.8+6154_monthly_bin170
RA = 291.71, Dec = 61.9146
tmin = 677635201, tmax = 680227201
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='115601', job_status='RUN', time_executed='2022-07-23 02:36:43.570857', time_epoch_executed='1658569003.57' WHERE source_name='4FGL J1926.8+6154' and cadence='monthly' and bin_id='170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115601

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115601/ft1_4FGL_J1926.8+6154_monthly_bin170.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115601/ft2_4FGL_J1926.8+6154_monthly_bin170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115601/ft1_4FGL_J1926.8+6154_monthly_bin170.fits outfile=/scratch/kocevski/115601/ft1_filteredMKT_4FGL_J1926.8+6154_monthly_bin170.fits ra=291.71 dec=61.9146 rad=12.0 tmin=677635201.0 tmax=680227201.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 32.26
user 31.48
sys 0.70

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/115601/ft2_4FGL_J1926.8+6154_monthly_bin170.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115601/ft2_4FGL_J1926.8+6154_monthly_bin170.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/115601/ft1_filteredMKT_4FGL_J1926.8+6154_monthly_bin170.fits evtable="EVENTS" outfile="/scratch/kocevski/115601/ft1_filtered_4FGL_J1926.8+6154_monthly_bin170.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.86
user 0.66
sys 0.19

Number of photons that the gtmktime cut: 16798

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/115601/ft1_filtered_4FGL_J1926.8+6154_monthly_bin170.fits" evtable="EVENTS" scfile=/scratch/kocevski/115601/ft2_4FGL_J1926.8+6154_monthly_bin170.fits sctable="SC_DATA" outfile=/scratch/kocevski/115601/ltcube_677635201_680227201_4FGL_J1926.8+6154_monthly_bin170.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/115601/ft2_4FGL_J1926.8+6154_monthly_bin170.fits
.....................!
real 116.92
user 116.35
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115601/ft1_filtered_4FGL_J1926.8+6154_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/115601/ft2_4FGL_J1926.8+6154_monthly_bin170.fits sctable="SC_DATA" expcube=/scratch/kocevski/115601/ltcube_677635201_680227201_4FGL_J1926.8+6154_monthly_bin170.fits outfile=/scratch/kocevski/115601/expmap_677635201_680227201_4FGL_J1926.8+6154_monthly_bin170.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/115601/ltcube_677635201_680227201_4FGL_J1926.8+6154_monthly_bin170.fits
.....................!
real 191.28
user 185.89
sys 4.79

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
Extended source HB 21 in ROI with RadialDisk spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Added 189 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1926.8+6154 @ 291.71 61.9146

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/115601/ft1_filtered_4FGL_J1926.8+6154_monthly_bin170.fits scfile=/scratch/kocevski/115601/ft2_4FGL_J1926.8+6154_monthly_bin170.fits outfile=/scratch/kocevski/115601/cmap_677635201_680227201_4FGL_J1926.8+6154_monthly_bin170.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=291.71 yref=61.9146 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.83
user 0.64
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115601/ft1_filtered_4FGL_J1926.8+6154_monthly_bin170.fits scfile=/scratch/kocevski/115601/ft2_4FGL_J1926.8+6154_monthly_bin170.fits outfile=/scratch/kocevski/115601/cmap_HighResolution_677635201_680227201_4FGL_J1926.8+6154_monthly_bin170.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=291.71 yref=61.9146 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.84
user 0.64
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/115601/ft1_filtered_4FGL_J1926.8+6154_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/115601/ft2_4FGL_J1926.8+6154_monthly_bin170.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/115601/Model_4FGL_J1926.8+6154_monthly_bin170.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 FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
adding source HB 21
Working on...
/scratch/kocevski/115601/ft1_filtered_4FGL_J1926.8+6154_monthly_bin170.fits.....................!
real 1869.14
user 1864.63
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/115601/ft1_filtered_4FGL_J1926.8+6154_monthly_bin170.fits', '/scratch/kocevski/115601/ft2_4FGL_J1926.8+6154_monthly_bin170.fits', expMap='/scratch/kocevski/115601/expmap_677635201_680227201_4FGL_J1926.8+6154_monthly_bin170.fits', expCube='/scratch/kocevski/115601/ltcube_677635201_680227201_4FGL_J1926.8+6154_monthly_bin170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/115601/Model_4FGL_J1926.8+6154_monthly_bin170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1926.8+6154'

4FGL J1926.8+6154
   Spectrum: LogParabola
317         norm:  1.803e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
318        alpha:  1.784e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  8.540e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  2.809e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/115601/ft1_filtered_4FGL_J1926.8+6154_monthly_bin170.fits
Spacecraft file(s): /scratch/kocevski/115601/ft2_4FGL_J1926.8+6154_monthly_bin170.fits
Exposure map: /scratch/kocevski/115601/expmap_677635201_680227201_4FGL_J1926.8+6154_monthly_bin170.fits
Exposure cube: /scratch/kocevski/115601/ltcube_677635201_680227201_4FGL_J1926.8+6154_monthly_bin170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/115601/Model_4FGL_J1926.8+6154_monthly_bin170.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) = 167258.211375

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.3061       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.1831       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.4389       1.0000         .10000E-03   10000.    
     6 'norm      '    6.9117       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.8038       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.8121       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5806       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.8877       1.0000         .10000E-03   10000.    
    13 'norm      '    3.4472       1.0000         .10000E-03   10000.    
    14 'norm      '    1.6137       1.0000         .10000E-03   10000.    
    15 'norm      '    3.1708       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8384       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.3525       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.7518       1.0000         .10000E-03   10000.    
    19 'norm      '    2.4624       1.0000         .10000E-03   10000.    
    20 'norm      '    4.4934       1.0000         .10000E-03   10000.    
    21 'norm      '    1.0909       1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.568       1.0000         .10000E-03   10000.    
    23 'norm      '    .51345       1.0000         .10000E-03   10000.    
    24 'norm      '    .58672       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1467       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97187       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   167257.3     FROM MIGRAD    STATUS=CONVERGED    610 CALLS     2694 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .93546         .0000    ** at limit **
   2  norm          2.3059        .98907         .0000        .83975E-02
   3  Prefactor     7.1823        3.7246         .0000       -.61964E-03
   4  Prefactor     .10000E-03    8.8021         .0000    ** at limit **
   5  Prefactor     5.4391        1.7117         .0000        .99077E-01
   6  norm          6.9118        2.0089         .0000        .18749E-02
   7  Prefactor     6.7914        4.6559         .0000        .54000E-02
   8  Prefactor     5.8126        2.7841         .0000        .22836E-02
   9  Prefactor     .10000E-03    1.3659         .0000    ** at limit **
  10  Prefactor     2.5822        9.8075         .0000       -.43316E-03
  11  Prefactor     .10000E-03    7.2292         .0000    ** at limit **
  12  norm          4.8876        .86294         .0000        .45411E-02
  13  norm          3.4472        .61825         .0000        .74784E-03
  14  norm          1.6136        .77880         .0000       -.16396E-02
  15  norm          3.1704        2.0031         .0000        .54930E-01
  16  Prefactor     1.8431        3.7633         .0000        .48061E-02
  17  Prefactor     1.3526        1.3606         .0000        .51878    
  18  Prefactor     1.7564        6.1862         .0000        .20640E-01
  19  norm          2.4624        .40459         .0000        .68860E-03
  20  norm          4.4921        5.6163         .0000        .38192E-03
  21  norm          1.0910        1.6000         .0000        .10246E-01
  22  Prefactor     16.565        5.9861         .0000        .10089E-02
  23  norm          .51341        .64129         .0000        .40760E-01
  24  norm          .58645        .79948         .0000        .12476E-01
  25  Normalizat    1.1467        .56567E-01     .0000        .50422E-03
  26  Prefactor     .97187        .16696E-01     .0000        .40078E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.30594
  Prefactor  = 7.18229
  Prefactor  = 0.000100001
  Prefactor  = 5.43913
  norm       = 6.91178
  Prefactor  = 6.79143
  Prefactor  = 5.81262
  Prefactor  = 0.0001
  Prefactor  = 2.58217
  Prefactor  = 0.000100002
  norm       = 4.88758
  norm       = 3.44716
  norm       = 1.61356
  norm       = 3.17042
  Prefactor  = 1.84309
  Prefactor  = 1.35258
  Prefactor  = 1.75638
  norm       = 2.46241
  norm       = 4.49213
  norm       = 1.091
  Prefactor  = 16.5653
  norm       = 0.513407
  norm       = 0.586446
  Normalizat = 1.14668
  Prefactor  = 0.971869
 **********
 **   18 **HESSE 
 **********

 FCN=   167257.3     FROM HESSE     STATUS=OK           476 CALLS     3170 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .95477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3059        .98295        .25225E-03   -1.5404    
   3  Prefactor     7.1823        3.7259        .14967E-03   -1.5172    
   4  Prefactor     .10000E-03    8.8321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.4391        1.7082        .86150E-03   -1.5241    
   6  norm          6.9118        2.0108        .15260E-03   -1.5182    
   7  Prefactor     6.7914        4.6548        .15382E-03   -1.5187    
   8  Prefactor     5.8126        2.7868        .16659E-03   -1.5226    
   9  Prefactor     .10000E-03    1.3769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5822        9.8036        .25405E-03   -1.5387    
  11  Prefactor     .10000E-03    7.2465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8876        .86179        .15222E-03   -1.5266    
  13  norm          3.4472        .61837        .13216E-03   -1.5337    
  14  norm          1.6136        .78024        .23886E-03   -1.5454    
  15  norm          3.1704        1.9955        .11380E-02   -1.5352    
  16  Prefactor     1.8431        3.7536        .30768E-03   -1.5436    
  17  Prefactor     1.3526        1.3474        .18803E-02   -1.5475    
  18  Prefactor     1.7564        6.2106        .15838E-02   -1.5443    
  19  norm          2.4624        .39917        .97337E-04   -1.5394    
  20  norm          4.4921        5.6106        .18994E-03   -1.5284    
  21  norm          1.0910        1.8346        .58534E-02   -1.5499    
  22  Prefactor     16.565        5.9050        .98397E-04   -1.4894    
  23  norm          .51341        .62389        .34791E-03   -1.5565    
  24  norm          .58645        1.6654        .41291E-02   -1.5555    
  25  Normalizat    1.1467        .60531E-01    .44338E-03   -.88267    
  26  Prefactor     .97187        .18001E-01    .15283E-03   -.93673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.42658e-07
Minuit parameter uncertainties:
  1  5.00838e-07
  2  0.982955
  3  3.72597
  4  0.000180592
  5  1.70817
  6  2.01086
  7  4.65502
  8  2.78684
  9  4.41253e-06
  10  9.80967
  11  0.000261416
  12  0.861796
  13  0.618369
  14  0.780241
  15  1.99556
  16  3.75409
  17  1.34742
  18  6.21287
  19  0.399171
  20  5.6113
  21  1.83473
  22  5.90517
  23  0.623901
  24  1.66558
  25  0.0605347
  26  0.0180009
Done.

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

Extracting fit parameters...

4FGL J1926.8+6154
   Spectrum: LogParabola
317         norm:  1.614e+00  7.802e-01  1.000e-04  1.000e+04 ( 1.000e-13)
318        alpha:  1.784e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  8.540e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  2.809e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
646    Prefactor:  9.719e-01  1.800e-02  0.000e+00  1.000e+01 ( 1.000e+00)
647        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
648        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
638   Normalization:  1.147e+00  6.053e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.17
Ra Dec: 291.710 61.915
Photon Index (Fixed Index): 1.78 +/- 0.00
Photon Flux (Fixed Index): 5.02e-09 +/- 2.43e-09
Energy Flux (Fixed Index): 7.09e-06 +/- 3.43e-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) = 167256.547153
delta logL = 0.774692721636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 167256.521215
delta logL = 0.800630784419

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5742       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3052       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1486       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97183       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   167256.5     FROM MIGRAD    STATUS=FAILED       100 CALLS      294 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5740        .83904        .25193E-03   -.31769E-04
   2  alpha         1.3051        .36811        .52939E-01   -.13274E-02
   3  Normalizat    1.1486        .54169E-01    .44307E-03   -.11495E-04
   4  Prefactor     .97182        .17484E-01    .15283E-03   -.45227E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   167256.5     FROM SIMPLEX   STATUS=UNCHANGED     73 CALLS      367 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5740        .83904        .34697E-04   -1.5457    
   2  alpha         1.3051        .36811        .86121E-03   -.49834    
   3  Normalizat    1.1486        .54169E-01    .91186E-04   -.88206    
   4  Prefactor     .97182        .17484E-01    .28072E-04   -.93675    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   167256.5     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      394 TOTAL
                     EDM=   .25E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5740        .86407        .10077E-04   -.21661E-04
   2  alpha         1.3051        .37972        .10588E-01   -.22334E-05
   3  Normalizat    1.1486        .54188E-01    .17723E-04   -.12316E-04
   4  Prefactor     .97182        .17490E-01    .61134E-05   -.47607E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.57404
  alpha      = 1.30508
  Normalizat = 1.1486
  Prefactor  = 0.971824
 **********
 **   18 **HESSE 
 **********

 FCN=   167256.5     FROM HESSE     STATUS=OK            23 CALLS      417 TOTAL
                     EDM=   .12E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5740        .87137        .20154E-05   -1.5457    
   2  alpha         1.3051        .38290        .42351E-03   -.49834    
   3  Normalizat    1.1486        .54129E-01    .35445E-05   -.88206    
   4  Prefactor     .97182        .17469E-01    .12227E-05   -.93675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22344e-13
Minuit parameter uncertainties:
  1  0.871373
  2  0.384868
  3  0.0541313
  4  0.017469
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115601': 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) = 167256.521215
delta logL = 0.80063089187

Extracting fit parameters...

4FGL J1926.8+6154
   Spectrum: LogParabola
317         norm:  1.574e+00  8.714e-01  1.000e-04  1.000e+04 ( 1.000e-13)
318        alpha:  1.305e+00  3.849e-01  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  8.540e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  2.809e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
646    Prefactor:  9.718e-01  1.747e-02  0.000e+00  1.000e+01 ( 1.000e+00)
647        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
648        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
638   Normalization:  1.149e+00  5.413e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.77
Ra Dec: 291.710 61.915
Photon Index (Free Index): 1.31 +/- 0.38
Photon Flux (Free Index): 2.56e-09 +/- 1.89e-09
Energy Flux (Free Index): 1.29e-05 +/- 8.99e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/115601/cmap_HighResolution_677635201_680227201_4FGL_J1926.8+6154_monthly_bin170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.02e-09', energy_flux2='1.29e-05', photon_flux_error='2.43e-09', dlogl='8.01e-01', energy_flux='7.09e-06', photon_flux2='2.56e-09', job_status='DONE', time_completed='2022-07-23 05:48:13.205425', photon_index_error2='0.38', photon_index2='1.31', ts='19.17', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='8.99e-06', EG='1.15', time_epoch_completed='1658580493.21', return_code='0', job_id='115601', GAL2='0.97', EG2='1.15', return_code2='0', energy_flux_error='3.43e-06', photon_flux_error2='1.89e-09', ts2='20.77', photon_index='1.78' WHERE bin_id='170' AND source_name='4FGL J1926.8+6154' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Jul 23 05:48:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 115601: <4FGL_J1926.8+6154_monthly_bin170> in cluster <slac> Done

Job <4FGL_J1926.8+6154_monthly_bin170> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jul 23 02:35:44 2022
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 02:35:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 02:35:46 2022
Terminated at Sat Jul 23 05:48:14 2022
Results reported at Sat Jul 23 05:48:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1926.8+6154_monthly_bin170 291.71 61.9146 677635201 680227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1926.8+6154 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   11456.00 sec.
    Max Memory :                                 651 MB
    Average Memory :                             560.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11548 sec.
    Turnaround time :                            11550 sec.

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

