/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 27 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 = 7416
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1326.9+2210_daily_bin79
RA = 201.73, Dec = 22.1732
tmin = 259804801, tmax = 260064001
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='584372', job_status='RUN', time_executed='2021-09-07 18:11:30.435023', time_epoch_executed='1631063490.44' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='79'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584372

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584372/ft1_4FGL_J1326.9+2210_daily_bin79.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584372/ft2_4FGL_J1326.9+2210_daily_bin79.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584372/ft1_4FGL_J1326.9+2210_daily_bin79.fits outfile=/scratch/kocevski/584372/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin79.fits ra=201.73 dec=22.1732 rad=12.0 tmin=259804801.0 tmax=260064001.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.78
user 2.55
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/584372/ft1_filtered_4FGL_J1326.9+2210_daily_bin79.fits" evtable="EVENTS" scfile=/scratch/kocevski/584372/ft2_4FGL_J1326.9+2210_daily_bin79.fits sctable="SC_DATA" outfile=/scratch/kocevski/584372/ltcube_259804801_260064001_4FGL_J1326.9+2210_daily_bin79.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/584372/ft2_4FGL_J1326.9+2210_daily_bin79.fits
.....................!
real 17.08
user 16.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584372/ft1_filtered_4FGL_J1326.9+2210_daily_bin79.fits evtable="EVENTS" scfile=/scratch/kocevski/584372/ft2_4FGL_J1326.9+2210_daily_bin79.fits sctable="SC_DATA" expcube=/scratch/kocevski/584372/ltcube_259804801_260064001_4FGL_J1326.9+2210_daily_bin79.fits outfile=/scratch/kocevski/584372/expmap_259804801_260064001_4FGL_J1326.9+2210_daily_bin79.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/584372/ltcube_259804801_260064001_4FGL_J1326.9+2210_daily_bin79.fits
.....................!
real 192.41
user 186.74
sys 4.59

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/584372/ft1_filtered_4FGL_J1326.9+2210_daily_bin79.fits scfile=/scratch/kocevski/584372/ft2_4FGL_J1326.9+2210_daily_bin79.fits outfile=/scratch/kocevski/584372/cmap_259804801_260064001_4FGL_J1326.9+2210_daily_bin79.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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/584372/ft1_filtered_4FGL_J1326.9+2210_daily_bin79.fits scfile=/scratch/kocevski/584372/ft2_4FGL_J1326.9+2210_daily_bin79.fits outfile=/scratch/kocevski/584372/cmap_HighResolution_259804801_260064001_4FGL_J1326.9+2210_daily_bin79.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/584372/ft1_filtered_4FGL_J1326.9+2210_daily_bin79.fits', '/scratch/kocevski/584372/ft2_4FGL_J1326.9+2210_daily_bin79.fits', expMap='/scratch/kocevski/584372/expmap_259804801_260064001_4FGL_J1326.9+2210_daily_bin79.fits', expCube='/scratch/kocevski/584372/ltcube_259804801_260064001_4FGL_J1326.9+2210_daily_bin79.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/584372/Model_4FGL_J1326.9+2210_daily_bin79.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/584372/ft1_filtered_4FGL_J1326.9+2210_daily_bin79.fits
Spacecraft file(s): /scratch/kocevski/584372/ft2_4FGL_J1326.9+2210_daily_bin79.fits
Exposure map: /scratch/kocevski/584372/expmap_259804801_260064001_4FGL_J1326.9+2210_daily_bin79.fits
Exposure cube: /scratch/kocevski/584372/ltcube_259804801_260064001_4FGL_J1326.9+2210_daily_bin79.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/584372/Model_4FGL_J1326.9+2210_daily_bin79.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) = 8371.22495543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.637       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.8176       1.0000         .10000E-03   10000.    
     3 'norm      '    8.5019       1.0000         .10000E-03   10000.    
     4 'norm      '    10.195       1.0000         .10000E-03   10000.    
     5 'norm      '    4.9303       1.0000         .10000E-03   10000.    
     6 'norm      '    15.726       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.320       1.0000         .10000E-03   10000.    
     8 'norm      '    .38587       1.0000         .10000E-03   10000.    
     9 'Prefactor '    36.940       1.0000         .10000E-03   10000.    
    10 'norm      '    18.730       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.1055       1.0000         .10000E-03   10000.    
    13 'Prefactor '    58.643       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.159       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .52964       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0015       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0355       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=   8371.199     FROM MIGRAD    STATUS=CONVERGED    344 CALLS     1504 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.637        8.1934        .68037E-06    .24774E-03
   2  Prefactor     8.8190        10.725        .18332E-05    .14191E-03
   3  norm          8.5019        4.0274        .17144E-05    .10025E-02
   4  norm          10.193        6.8457       -.17166E-05   -.50955E-04
   5  norm          4.9341        9.9073        .39146E-05    .65705E-04
   6  norm          15.724        13.249       -.11623E-05    .35212E-05
   7  Prefactor     12.320        14.069        .20146E-06   -.32022E-04
   8  norm          .38278        4.5570       -.21615E-05    .11615E-02
   9  Prefactor     36.941        23.014        .18154E-05    .12636E-03
  10  norm          18.724        8.9663       -.13650E-05    .28465E-03
  11  Prefactor     .10000E-03    8.6773        .10501E-05** at limit **
  12  Prefactor     2.1046        7.9522        .29802E-06   -.35304E-03
  13  Prefactor     58.645        40.525        .32694E-05    .10987E-03
  14  Prefactor     .10000E-03    2.1983       -.10832E-07** at limit **
  15  Prefactor     25.159        11.321       -.21001E-06   -.31838E-04
  16  Prefactor     .55128        1.7744        .28436E-07   -.80479E-03
  17  Normalizat    1.0014        .16267        .13584E-06    .16882E-03
  18  Prefactor     1.0356        .15550       -.60179E-06    .17908E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.6371
  Prefactor  = 8.81897
  norm       = 8.50193
  norm       = 10.1932
  norm       = 4.93413
  norm       = 15.7241
  Prefactor  = 12.3198
  norm       = 0.382782
  Prefactor  = 36.9413
  norm       = 18.7235
  Prefactor  = 0.0001
  Prefactor  = 2.10457
  Prefactor  = 58.6455
  Prefactor  = 0.0001
  Prefactor  = 25.1588
  Prefactor  = 0.55128
  Normalizat = 1.00144
  Prefactor  = 1.03557
 **********
 **   18 **HESSE 
 **********

 FCN=   8371.199     FROM HESSE     STATUS=OK           264 CALLS     1768 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.637        8.2035        .10847E-03   -1.4969    
   2  Prefactor     8.8190        10.755        .13498E-03   -1.5114    
   3  norm          8.5019        4.0534        .12118E-03   -1.5125    
   4  norm          10.193        6.9751        .12415E-03   -1.5069    
   5  norm          4.9341        10.073        .18114E-03   -1.5264    
   6  norm          15.724        13.262        .10100E-03   -1.4915    
   7  Prefactor     12.320        14.083        .11412E-03   -1.5006    
   8  norm          .38278        9.5839        .31900E-02   -1.5584    
   9  Prefactor     36.941        23.046        .65941E-04   -1.4492    
  10  norm          18.724        8.8025        .92545E-04   -1.4842    
  11  Prefactor     .10000E-03    8.7658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.1046        9.8961        .14218E-02   -1.5418    
  13  Prefactor     58.645        40.617        .52390E-04   -1.4175    
  14  Prefactor     .10000E-03    2.2346        .13235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     25.159        11.325        .79864E-04   -1.4704    
  16  Prefactor     .55128        3.5255        .10180       -1.5559    
  17  Normalizat    1.0014        .18980        .25982E-03   -.92982    
  18  Prefactor     1.0356        .18066        .25002E-03   -.91553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.44084e-09
Minuit parameter uncertainties:
  1  8.20417
  2  10.7577
  3  4.05357
  4  6.9757
  5  10.0769
  6  13.2642
  7  14.0872
  8  3.83088
  9  23.0518
  10  8.80306
  11  3.71005e-05
  12  9.1296
  13  40.6361
  14  2.47927e-06
  15  11.3261
  16  2.78819
  17  0.189932
  18  0.180768
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.872e+01  8.803e+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:  1.036e+00  1.808e-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.001e+00  1.899e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.39
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 7.61e-08 +/- 3.58e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.12e-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) = 8371.0960005
delta logL = 0.103014744504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8371.09247358
delta logL = 0.106541666379

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8371.092     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      268 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.283        8.7679        .96340E-04    .38234E-04
   2  alpha         2.6004        .49036        .12570E-01   -.16897E-04
   3  Normalizat    .98549        .18611        .26161E-03   -.11646E-04
   4  Prefactor     1.0455        .17923        .12449E-02   -.48877E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 17.2829
  alpha      = 2.60035
  Normalizat = 0.985487
  Prefactor  = 1.04553
 **********
 **   18 **HESSE 
 **********

 FCN=   8371.092     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.283        8.5453        .38536E-05   -1.4876    
   2  alpha         2.6004        .47770        .50280E-03    .40152E-01
   3  Normalizat    .98549        .18668        .10465E-04   -.93518    
   4  Prefactor     1.0455        .17976        .49795E-04   -.91227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50722e-11
Minuit parameter uncertainties:
  1  8.54587
  2  0.480657
  3  0.186803
  4  0.179865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584372': 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) = 8371.09247358
delta logL = 0.106541667228

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.728e+01  8.546e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.600e+00  4.807e-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:  1.046e+00  1.799e-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:  9.855e-01  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.59
Ra Dec: 201.730 22.173
Photon Index (Free Index): 2.60 +/- 0.48
Photon Flux (Free Index): 8.82e-08 +/- 4.45e-08
Energy Flux (Free Index): 2.31e-05 +/- 9.97e-06

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/584372/cmap_HighResolution_259804801_260064001_4FGL_J1326.9+2210_daily_bin79.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.61e-08', energy_flux2='2.31e-05', photon_flux_error='3.58e-08', dlogl='1.07e-01', energy_flux='2.38e-05', photon_flux2='8.82e-08', job_status='DONE', time_completed='2021-09-07 18:20:53.750811', photon_index_error2='0.48', photon_index2='2.60', ts='9.39', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='9.97e-06', EG='1.00', time_epoch_completed='1631064053.75', return_code='0', job_id='584372', GAL2='1.05', EG2='0.99', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='4.45e-08', ts2='9.59', photon_index='2.38' WHERE bin_id='79' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:20:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 584372: <4FGL_J1326.9+2210_daily_bin79> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin79> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep  7 18:05:39 2021
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:10:54 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:10:54 2021
Terminated at Tue Sep  7 18:20:54 2021
Results reported at Tue Sep  7 18:20:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin79 201.73 22.1732 259804801 260064001 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 :                                   561.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   600 sec.
    Turnaround time :                            915 sec.

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

