/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 210 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 = 7396
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1326.9+2210_daily_bin543
RA = 201.73, Dec = 22.1732
tmin = 380073601, tmax = 380332801
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='590076', job_status='RUN', time_executed='2021-09-07 18:29:29.218021', time_epoch_executed='1631064569.22' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='543'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590076

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590076/ft1_4FGL_J1326.9+2210_daily_bin543.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590076/ft2_4FGL_J1326.9+2210_daily_bin543.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590076/ft1_4FGL_J1326.9+2210_daily_bin543.fits outfile=/scratch/kocevski/590076/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin543.fits ra=201.73 dec=22.1732 rad=12.0 tmin=380073601.0 tmax=380332801.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.69
user 3.48
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/590076/ft2_4FGL_J1326.9+2210_daily_bin543.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/590076/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin543.fits evtable="EVENTS" outfile="/scratch/kocevski/590076/ft1_filtered_4FGL_J1326.9+2210_daily_bin543.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.31
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590076/ft1_filtered_4FGL_J1326.9+2210_daily_bin543.fits" evtable="EVENTS" scfile=/scratch/kocevski/590076/ft2_4FGL_J1326.9+2210_daily_bin543.fits sctable="SC_DATA" outfile=/scratch/kocevski/590076/ltcube_380073601_380332801_4FGL_J1326.9+2210_daily_bin543.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/590076/ft2_4FGL_J1326.9+2210_daily_bin543.fits
.....................!
real 13.48
user 13.14
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590076/ft1_filtered_4FGL_J1326.9+2210_daily_bin543.fits evtable="EVENTS" scfile=/scratch/kocevski/590076/ft2_4FGL_J1326.9+2210_daily_bin543.fits sctable="SC_DATA" expcube=/scratch/kocevski/590076/ltcube_380073601_380332801_4FGL_J1326.9+2210_daily_bin543.fits outfile=/scratch/kocevski/590076/expmap_380073601_380332801_4FGL_J1326.9+2210_daily_bin543.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/590076/ltcube_380073601_380332801_4FGL_J1326.9+2210_daily_bin543.fits
.....................!
real 159.19
user 154.51
sys 3.96

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/590076/ft1_filtered_4FGL_J1326.9+2210_daily_bin543.fits scfile=/scratch/kocevski/590076/ft2_4FGL_J1326.9+2210_daily_bin543.fits outfile=/scratch/kocevski/590076/cmap_380073601_380332801_4FGL_J1326.9+2210_daily_bin543.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.48
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590076/ft1_filtered_4FGL_J1326.9+2210_daily_bin543.fits scfile=/scratch/kocevski/590076/ft2_4FGL_J1326.9+2210_daily_bin543.fits outfile=/scratch/kocevski/590076/cmap_HighResolution_380073601_380332801_4FGL_J1326.9+2210_daily_bin543.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.49
user 0.34
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/590076/ft1_filtered_4FGL_J1326.9+2210_daily_bin543.fits', '/scratch/kocevski/590076/ft2_4FGL_J1326.9+2210_daily_bin543.fits', expMap='/scratch/kocevski/590076/expmap_380073601_380332801_4FGL_J1326.9+2210_daily_bin543.fits', expCube='/scratch/kocevski/590076/ltcube_380073601_380332801_4FGL_J1326.9+2210_daily_bin543.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/590076/Model_4FGL_J1326.9+2210_daily_bin543.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  1.000e-04  1.000e+04 ( 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  0.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/590076/ft1_filtered_4FGL_J1326.9+2210_daily_bin543.fits
Spacecraft file(s): /scratch/kocevski/590076/ft2_4FGL_J1326.9+2210_daily_bin543.fits
Exposure map: /scratch/kocevski/590076/expmap_380073601_380332801_4FGL_J1326.9+2210_daily_bin543.fits
Exposure cube: /scratch/kocevski/590076/ltcube_380073601_380332801_4FGL_J1326.9+2210_daily_bin543.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/590076/Model_4FGL_J1326.9+2210_daily_bin543.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) = 6626.23102962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4399       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.7542       1.0000         .10000E-03   10000.    
     3 'norm      '    4.0205       1.0000         .10000E-03   10000.    
     4 'norm      '    3.0385       1.0000         .10000E-03   10000.    
     5 'norm      '    7.8194       1.0000         .10000E-03   10000.    
     6 'norm      '    18.988       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.371       1.0000         .10000E-03   10000.    
     8 'norm      '    13.744       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    14.931       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    33.560       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8491       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3278       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .73170       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6626.181     FROM MIGRAD    STATUS=CONVERGED    343 CALLS     1714 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4395        6.9883       -.54628E-07   -.15503E-03
   2  Prefactor     6.7540        12.552       -.67688E-06   -.35961E-06
   3  norm          4.0205        3.1068       -.66084E-07    .14867E-04
   4  norm          3.0362        7.8834       -.30951E-05    .37825E-04
   5  norm          7.8229        11.119        .21554E-05   -.88390E-04
   6  norm          18.987        15.906       -.26326E-06    .36960E-05
   7  Prefactor     12.369        15.696       -.13500E-05    .34988E-04
   8  norm          13.744        7.1458       -.24831E-07   -.19081E-04
   9  Prefactor     .10000E-03    16.815        .11387E-06** at limit **
  10  norm          14.931        7.9572       -.44079E-07    .13369E-04
  11  Prefactor     .10000E-03    8.5723        .86045E-08** at limit **
  12  Prefactor     .10000E-03    9.5650       -.36814E-07** at limit **
  13  Prefactor     33.556        35.141       -.60875E-05   -.28081E-05
  14  Prefactor     .10000E-03    .79633        .24229E-07** at limit **
  15  Prefactor     1.8494        2.1719        .28983E-06   -.48927E-03
  16  Prefactor     .10000E-03    5.4004       -.29222E-07** at limit **
  17  Normalizat    1.3279        .17389        .93192E-06   -.89905E-05
  18  Prefactor     .73165        .15720       -.25460E-07    .69691E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.43951
  Prefactor  = 6.754
  norm       = 4.02049
  norm       = 3.03617
  norm       = 7.82289
  norm       = 18.9873
  Prefactor  = 12.3695
  norm       = 13.7439
  Prefactor  = 0.0001
  norm       = 14.9306
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.5557
  Prefactor  = 0.0001
  Prefactor  = 1.84942
  Prefactor  = 0.0001
  Normalizat = 1.32786
  Prefactor  = 0.731655
 **********
 **   18 **HESSE 
 **********

 FCN=   6626.181     FROM HESSE     STATUS=OK           250 CALLS     1964 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4395        7.1013        .79078E-03   -1.5200    
   2  Prefactor     6.7540        12.564        .15439E-03   -1.5188    
   3  norm          4.0205        3.1074        .12183E-03   -1.5307    
   4  norm          3.0362        8.0435        .20282E-03   -1.5359    
   5  norm          7.8229        11.392        .14340E-03   -1.5149    
   6  norm          18.987        15.904        .91916E-04   -1.4836    
   7  Prefactor     12.369        15.641        .11389E-03   -1.5004    
   8  norm          13.744        7.1571        .54021E-03   -1.4966    
   9  Prefactor     .10000E-03    16.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          14.931        7.9647        .10365E-03   -1.4935    
  11  Prefactor     .10000E-03    8.5988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.5995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     33.556        35.448        .69172E-04   -1.4549    
  14  Prefactor     .10000E-03    .79721        .70936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8494        7.6261        .15331E-02   -1.5436    
  16  Prefactor     .10000E-03    5.4255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3279        .20755        .22756E-03   -.82738    
  18  Prefactor     .73165        .18811        .27638E-03   -1.0230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.95878e-10
Minuit parameter uncertainties:
  1  7.1022
  2  12.5687
  3  3.10752
  4  8.04632
  5  11.3948
  6  15.9078
  7  15.6459
  8  7.15752
  9  2.05775e-06
  10  7.96529
  11  7.80135e-06
  12  9.07028e-07
  13  35.4703
  14  1.37586e-07
  15  7.51245
  16  6.20693e-06
  17  0.20768
  18  0.188279
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.493e+01  7.965e+00  1.000e-04  1.000e+04 ( 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  0.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:  7.317e-01  1.883e-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.328e+00  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.26
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 6.07e-08 +/- 3.24e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.01e-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) = 6625.3734354
delta logL = 0.807851884884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6625.32711719
delta logL = 0.854170090109

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.417       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6317       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71218       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.

 FCN=   6625.327     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      211 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.417        6.9350        .28420E-02   -.53509E-02
   2  alpha         1.6318        .40955        .33966       -.35959E-04
   3  Normalizat    1.3639        .16714        .50921E-01    .82657E-05
   4  Prefactor     .71219        .15582        .63261E-01    .16441E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.4169
  alpha      = 1.6318
  Normalizat = 1.36394
  Prefactor  = 0.712189
 **********
 **   18 **HESSE 
 **********

 FCN=   6625.327     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.417        8.0086        .11368E-03   -1.5003    
   2  alpha         1.6318        .51452        .13752E-01   -.35467    
   3  Normalizat    1.3639        .19741        .22513E-03   -.81677    
   4  Prefactor     .71219        .18377        .27985E-03   -1.0305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97041e-08
Minuit parameter uncertainties:
  1  8.00928
  2  0.518745
  3  0.197524
  4  0.183928
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590076': 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) = 6625.32711715
delta logL = 0.854170131724

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.242e+01  8.009e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  1.632e+00  5.187e-01  0.000e+00  5.000e+00 ( 1.000e+00)
311         beta:  1.183e-01  0.000e+00  0.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:  7.122e-01  1.839e-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.364e+00  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.03
Ra Dec: 201.730 22.173
Photon Index (Free Index): 1.63 +/- 0.52
Photon Flux (Free Index): 2.88e-08 +/- 2.24e-08
Energy Flux (Free Index): 2.65e-05 +/- 1.97e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/590076/cmap_HighResolution_380073601_380332801_4FGL_J1326.9+2210_daily_bin543.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.07e-08', energy_flux2='2.65e-05', photon_flux_error='3.24e-08', dlogl='8.54e-01', energy_flux='1.90e-05', photon_flux2='2.88e-08', job_status='DONE', time_completed='2021-09-07 18:36:59.682375', photon_index_error2='0.52', photon_index2='1.63', ts='14.26', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='1.97e-05', EG='1.33', time_epoch_completed='1631065019.68', return_code='0', job_id='590076', GAL2='0.71', EG2='1.36', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='2.24e-08', ts2='16.03', photon_index='2.38' WHERE bin_id='543' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:36:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 590076: <4FGL_J1326.9+2210_daily_bin543> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin543> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep  7 18:25:24 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:25:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 18:25:52 2021
Terminated at Tue Sep  7 18:37:00 2021
Results reported at Tue Sep  7 18:37:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin543 201.73 22.1732 380073601 380332801 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 :                                   437.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             243.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            696 sec.

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

