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


Performing analysis on: 4FGL_J1326.9+2210_weekly_bin759
RA = 201.73, Dec = 22.1732
tmin = 698025601, tmax = 698630401
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='591029', job_status='RUN', time_executed='2023-02-21 03:35:57.576909', time_epoch_executed='1676979357.58' WHERE source_name='4FGL J1326.9+2210' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591029

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591029/ft1_4FGL_J1326.9+2210_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591029/ft2_4FGL_J1326.9+2210_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591029/ft1_4FGL_J1326.9+2210_weekly_bin759.fits outfile=/scratch/kocevski/591029/ft1_filteredMKT_4FGL_J1326.9+2210_weekly_bin759.fits ra=201.73 dec=22.1732 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.54
user 8.20
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/591029/ft2_4FGL_J1326.9+2210_weekly_bin759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/591029/ft2_4FGL_J1326.9+2210_weekly_bin759.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/591029/ft1_filteredMKT_4FGL_J1326.9+2210_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/591029/ft1_filtered_4FGL_J1326.9+2210_weekly_bin759.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.55
user 0.38
sys 0.15

Number of photons that the gtmktime cut: 991

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/591029/ft1_filtered_4FGL_J1326.9+2210_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/591029/ft2_4FGL_J1326.9+2210_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/591029/ltcube_698025601_698630401_4FGL_J1326.9+2210_weekly_bin759.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/591029/ft2_4FGL_J1326.9+2210_weekly_bin759.fits
.....................!
real 26.85
user 26.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591029/ft1_filtered_4FGL_J1326.9+2210_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/591029/ft2_4FGL_J1326.9+2210_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/591029/ltcube_698025601_698630401_4FGL_J1326.9+2210_weekly_bin759.fits outfile=/scratch/kocevski/591029/expmap_698025601_698630401_4FGL_J1326.9+2210_weekly_bin759.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/591029/ltcube_698025601_698630401_4FGL_J1326.9+2210_weekly_bin759.fits
.....................!
real 193.29
user 187.70
sys 5.20

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

Setting source of interest to:
4FGL J1326.9+2210 @ 201.73 22.1732

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/591029/ft1_filtered_4FGL_J1326.9+2210_weekly_bin759.fits scfile=/scratch/kocevski/591029/ft2_4FGL_J1326.9+2210_weekly_bin759.fits outfile=/scratch/kocevski/591029/cmap_698025601_698630401_4FGL_J1326.9+2210_weekly_bin759.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=201.73 yref=22.1732 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/591029/ft1_filtered_4FGL_J1326.9+2210_weekly_bin759.fits scfile=/scratch/kocevski/591029/ft2_4FGL_J1326.9+2210_weekly_bin759.fits outfile=/scratch/kocevski/591029/cmap_HighResolution_698025601_698630401_4FGL_J1326.9+2210_weekly_bin759.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=201.73 yref=22.1732 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.60
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/591029/ft1_filtered_4FGL_J1326.9+2210_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/591029/ft2_4FGL_J1326.9+2210_weekly_bin759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/591029/Model_4FGL_J1326.9+2210_weekly_bin759.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/591029/ft1_filtered_4FGL_J1326.9+2210_weekly_bin759.fits.....................!
real 78.59
user 77.23
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/591029/ft1_filtered_4FGL_J1326.9+2210_weekly_bin759.fits', '/scratch/kocevski/591029/ft2_4FGL_J1326.9+2210_weekly_bin759.fits', expMap='/scratch/kocevski/591029/expmap_698025601_698630401_4FGL_J1326.9+2210_weekly_bin759.fits', expCube='/scratch/kocevski/591029/ltcube_698025601_698630401_4FGL_J1326.9+2210_weekly_bin759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/591029/Model_4FGL_J1326.9+2210_weekly_bin759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1326.9+2210'

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  7.707e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
310        alpha:  2.383e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  1.183e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/591029/ft1_filtered_4FGL_J1326.9+2210_weekly_bin759.fits
Spacecraft file(s): /scratch/kocevski/591029/ft2_4FGL_J1326.9+2210_weekly_bin759.fits
Exposure map: /scratch/kocevski/591029/expmap_698025601_698630401_4FGL_J1326.9+2210_weekly_bin759.fits
Exposure cube: /scratch/kocevski/591029/ltcube_698025601_698630401_4FGL_J1326.9+2210_weekly_bin759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/591029/Model_4FGL_J1326.9+2210_weekly_bin759.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) = 10818.7938293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22310E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.731       1.0000          .0000       .10000E+07
     3 'norm      '    .72925       1.0000          .0000       .10000E+07
     4 'norm      '    38.984       1.0000          .0000       .10000E+07
     5 'norm      '    6.9865       1.0000          .0000       .10000E+07
     6 'norm      '    12.397       1.0000          .0000       .10000E+07
     7 'Prefactor '    .81757E-04   1.0000          .0000       .10000E+07
     8 'norm      '    39.300       1.0000          .0000       .10000E+07
     9 'Prefactor '    11.870       1.0000          .0000       .10000E+07
    10 'norm      '    .59975       1.0000          .0000       .10000E+07
    11 'Prefactor '    .45969E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48372E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .17876E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.4339       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32319E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .86388E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1542       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0412       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10818.74     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1047 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5764        .49818E-06** at limit **
   2  Prefactor     10.727        5.1278       -.17256E-05   -.12530    
   3  norm          .72803        1.8078        .20988E-06    .36063E-02
   4  norm          38.975        4.8002        .13644E-06    .69456E-01
   5  norm          6.9715        3.7928       -.11500E-05   -.52037E-01
   6  norm          12.395        1.3624        .96370E-07    .30401E-02
   7  Prefactor     .94480E-07    5.6274       -.14453E-06** at limit **
   8  norm          39.339        8.1279        .56171E-07    .13863E-01
   9  Prefactor     12.398        17.570        .75542E-05   -.36860E-01
  10  norm          .57110        8.0606        .64089E-06   -.42978E-02
  11  Prefactor     .64948E-08    9.1831       -.14928E-05** at limit **
  12  Prefactor     .17875E-07    51.186        .51328E-05** at limit **
  13  Prefactor     .21538E-07    28.551        .62149E-05** at limit **
  14  Prefactor     6.4345        3.4752        .23593E-06    .35990E-02
  15  Prefactor     .11102E-09    3.4301        .84547E-06** at limit **
  16  Prefactor     .17625E-06    5.9714       -.60718E-08** at limit **
  17  Normalizat    1.1544        .17288        .17416E-04   -.62221E-03
  18  Prefactor     1.0407        .16214       -.95779E-05   -.56311E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 10.7267
  norm       = 0.728028
  norm       = 38.9749
  norm       = 6.97152
  norm       = 12.3953
  Prefactor  = 9.448e-08
  norm       = 39.3388
  Prefactor  = 12.398
  norm       = 0.571101
  Prefactor  = 6.4948e-09
  Prefactor  = 1.78746e-08
  Prefactor  = 2.15383e-08
  Prefactor  = 6.43445
  Prefactor  = 1.11022e-10
  Prefactor  = 1.76248e-07
  Normalizat = 1.1544
  Prefactor  = 1.04073
 **********
 **   18 **HESSE 
 **********

 FCN=   10818.74     FROM HESSE     STATUS=OK           284 CALLS     1331 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.727        10.957        .30560E-03   -1.5642    
   3  norm          .72803        1.8292        .58365E-03   -1.5691    
   4  norm          38.975        7.5552        .16018E-03   -1.5583    
   5  norm          6.9715        9.4988        .37931E-03   -1.5655    
   6  norm          12.395        13.434        .28425E-03   -1.5638    
   7  Prefactor     .94480E-07    5.8994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          39.339        8.3539        .15953E-03   -1.5583    
   9  Prefactor     12.398        18.753        .29051E-03   -1.5638    
  10  norm          .57110        8.2335        .69250E-03   -1.5693    
  11  Prefactor     .64948E-08    9.1848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .17875E-07    50.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .21538E-07    28.627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4345        3.4710        .39545E-03   -1.5657    
  15  Prefactor     .11102E-09    3.4362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17625E-06    6.4526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1544        .14386        .58976E-01   -.88024    
  18  Prefactor     1.0407        .13486        .58974E-01   -.91384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4016e-06
Minuit parameter uncertainties:
  1  1.29665e-05
  2  10.9567
  3  1.82925
  4  7.55525
  5  9.49883
  6  13.4336
  7  0.00149301
  8  8.35389
  9  18.7529
  10  4.3369
  11  0.0004891
  12  0.00190559
  13  0.00156987
  14  3.47096
  15  4.2115e-05
  16  0.00213301
  17  0.143912
  18  0.134906
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  5.711e-01  4.337e+00  0.000e+00  1.000e+06 ( 1.000e-12)
310        alpha:  2.383e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  1.183e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.041e+00  1.349e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.154e+00  1.439e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 201.730 22.173
Photon Flux Upper Limit: 5.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.64e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/591029/likelihoodResults_698025601_698630401_4FGL_J1326.9+2210_weekly_bin759.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10818.7051648
delta logL = 0.0325439258922

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10818.6980337
delta logL = 0.0396749761858

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1682       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8780       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1549       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0397       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+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.

 FCN=   10818.70     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      300 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1673        4.0174        .38013E-04    .50963E-03
   2  alpha         1.8787        1.3907        .53785E-01   -.12664E-03
   3  Normalizat    1.1550        .16756        .26075E-03   -.59297E-05
   4  Prefactor     1.0396        .16078        .26087E-03   -.63626E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.1673
  alpha      = 1.87866
  Normalizat = 1.15501
  Prefactor  = 1.03958
 **********
 **   18 **HESSE 
 **********

 FCN=   10818.70     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1673        4.0543        .15205E-05   -1.5686    
   2  alpha         1.8787        1.4046        .10757E-01   -.25117    
   3  Normalizat    1.1550        .16774        .10430E-04   -.88005    
   4  Prefactor     1.0396        .16094        .10435E-04   -.91422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25073e-12
Minuit parameter uncertainties:
  1  4.05427
  2  1.49846
  3  0.167822
  4  0.161017
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591029': 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) = 10818.6980325
delta logL = 0.0396761551892

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.167e+00  4.054e+00  0.000e+00  1.000e+06 ( 1.000e-12)
310        alpha:  1.879e+00  1.498e+00  0.000e+00  5.000e+00 ( 1.000e+00)
311         beta:  1.183e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.040e+00  1.610e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.155e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 201.730 22.173

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/591029/cmap_HighResolution_698025601_698630401_4FGL_J1326.9+2210_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.64e-05', job_status='DONE', photon_flux_upper_limit='5.23e-08', time_completed='2023-02-21 03:47:51.559871', job_id='591029', GAL2='1.04', fit_tolerance='1e-08', EG2='1.16', EG='1.15', time_epoch_completed='1676980071.56', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='3.97e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='759' AND source_name='4FGL J1326.9+2210' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:47:51 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 591029: <4FGL_J1326.9+2210_weekly_bin759> in cluster <slac> Done

Job <4FGL_J1326.9+2210_weekly_bin759> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 03:35:24 2023
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:35:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:35:25 2023
Terminated at Tue Feb 21 03:47:52 2023
Results reported at Tue Feb 21 03:47:52 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_weekly_bin759 201.73 22.1732 698025601 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1326.9+2210 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   714.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            748 sec.

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

