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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin897
RA = 201.73, Dec = 22.1732
tmin = 471830401, tmax = 472089601
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='591548', job_status='RUN', time_executed='2021-09-07 18:34:43.817079', time_epoch_executed='1631064883.82' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='897'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591548

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591548/ft1_4FGL_J1326.9+2210_daily_bin897.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591548/ft2_4FGL_J1326.9+2210_daily_bin897.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591548/ft1_4FGL_J1326.9+2210_daily_bin897.fits outfile=/scratch/kocevski/591548/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin897.fits ra=201.73 dec=22.1732 rad=12.0 tmin=471830401.0 tmax=472089601.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.70
user 3.39
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591548/ft1_filtered_4FGL_J1326.9+2210_daily_bin897.fits evtable="EVENTS" scfile=/scratch/kocevski/591548/ft2_4FGL_J1326.9+2210_daily_bin897.fits sctable="SC_DATA" expcube=/scratch/kocevski/591548/ltcube_471830401_472089601_4FGL_J1326.9+2210_daily_bin897.fits outfile=/scratch/kocevski/591548/expmap_471830401_472089601_4FGL_J1326.9+2210_daily_bin897.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/591548/ltcube_471830401_472089601_4FGL_J1326.9+2210_daily_bin897.fits
.....................!
real 192.25
user 186.98
sys 4.48

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/591548/ft1_filtered_4FGL_J1326.9+2210_daily_bin897.fits scfile=/scratch/kocevski/591548/ft2_4FGL_J1326.9+2210_daily_bin897.fits outfile=/scratch/kocevski/591548/cmap_471830401_472089601_4FGL_J1326.9+2210_daily_bin897.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/591548/ft1_filtered_4FGL_J1326.9+2210_daily_bin897.fits scfile=/scratch/kocevski/591548/ft2_4FGL_J1326.9+2210_daily_bin897.fits outfile=/scratch/kocevski/591548/cmap_HighResolution_471830401_472089601_4FGL_J1326.9+2210_daily_bin897.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.2364       1.0000         .10000E-03   10000.    
     3 'norm      '    8.0582       1.0000         .10000E-03   10000.    
     4 'norm      '    .67464       1.0000         .10000E-03   10000.    
     5 'norm      '    3.4018       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    42.240       1.0000         .10000E-03   10000.    
     8 'norm      '    5.7492       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    23.717       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2558       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5705       1.0000         .10000E-03   10000.    
    13 'Prefactor '    105.85       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12126E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.1663       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.7398       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2326       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .77355       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=   6868.474     FROM MIGRAD    STATUS=CONVERGED    341 CALLS     1988 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.4497        .13535E-05** at limit **
   2  Prefactor     1.2360        16.814       -.68897E-06   -.71214E-04
   3  norm          8.0584        3.5759        .45364E-06    .14266E-03
   4  norm          .67523        4.2292        .10346E-05   -.25934E-03
   5  norm          3.4025        3.5384        .21314E-06   -.15674E-02
   6  norm          .10000E-03    10.180       -.22609E-05** at limit **
   7  Prefactor     42.236        20.758       -.38560E-05   -.62407E-03
   8  norm          5.7498        6.1899       -.66904E-07   -.61437E-04
   9  Prefactor     .10000E-03    6.5716       -.69966E-05** at limit **
  10  norm          23.718        10.396        .20084E-06   -.51024E-04
  11  Prefactor     3.2585        26.003        .10678E-04   -.39931E-04
  12  Prefactor     5.5694        17.801       -.37922E-05   -.15282E-03
  13  Prefactor     105.86        57.057        .17862E-05    .43060E-04
  14  Prefactor     .10004E-03    3.8260        .32405E-05** at limit **
  15  Prefactor     7.1673        11.132        .49740E-06    .83583E-05
  16  Prefactor     7.7408        10.781        .83639E-07   -.32536E-03
  17  Normalizat    1.2325        .17508       -.76503E-06   -.72510E-03
  18  Prefactor     .77360        .15720       -.78367E-07   -.51088E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.23605
  norm       = 8.05836
  norm       = 0.675234
  norm       = 3.40254
  norm       = 0.0001
  Prefactor  = 42.2362
  norm       = 5.74983
  Prefactor  = 0.000100001
  norm       = 23.7184
  Prefactor  = 3.2585
  Prefactor  = 5.56942
  Prefactor  = 105.856
  Prefactor  = 0.000100041
  Prefactor  = 7.1673
  Prefactor  = 7.74082
  Normalizat = 1.23246
  Prefactor  = 0.773603
 **********
 **   18 **HESSE 
 **********

 FCN=   6868.474     FROM HESSE     STATUS=OK           250 CALLS     2238 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.5646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.2360        17.000        .40375E-03   -1.5486    
   3  norm          8.0584        3.5798        .10125E-03   -1.5140    
   4  norm          .67523        45.569        .25910E-02   -1.5544    
   5  norm          3.4025        25.042        .10967E-02   -1.5339    
   6  norm          .10000E-03    10.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     42.236        21.086        .61681E-04   -1.4407    
   8  norm          5.7498        6.1750        .16751E-03   -1.5228    
   9  Prefactor     .10000E-03    6.6029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          23.718        10.401        .82251E-04   -1.4734    
  11  Prefactor     3.2585        25.885        .22445E-03   -1.5347    
  12  Prefactor     5.5694        17.738        .17022E-03   -1.5236    
  13  Prefactor     105.86        57.108        .39086E-04   -1.3647    
  14  Prefactor     .10004E-03    7.5322        .28591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.1673        11.125        .14984E-03   -1.5172    
  16  Prefactor     7.7408        10.863        .72069E-03   -1.5151    
  17  Normalizat    1.2325        .20752        .23503E-03   -.85606    
  18  Prefactor     .77360        .18586        .27028E-03   -1.0071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.15485e-07
Minuit parameter uncertainties:
  1  2.15964e-05
  2  9.17074
  3  3.57994
  4  11.1021
  5  18.4719
  6  5.11334e-05
  7  21.0894
  8  6.17569
  9  0.000142442
  10  10.4022
  11  18.3788
  12  17.7547
  13  57.1372
  14  0.00111044
  15  11.1287
  16  10.8658
  17  0.207659
  18  0.186014
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.372e+01  1.040e+01  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.736e-01  1.860e-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.232e+00  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.59
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 9.64e-08 +/- 4.22e-08
Energy Flux (Fixed Index): 3.02e-05 +/- 1.32e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6868.3776653
delta logL = 0.0965961545198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6868.37317326
delta logL = 0.101088198816

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.744       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6056       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2128       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78661       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=   6868.373     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      272 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.746        10.525        .85897E-04   -.25240E-03
   2  alpha         2.6056        .51574        .11690E-01    .16529E-03
   3  Normalizat    1.2127        .19930        .23659E-03   -.14975E-03
   4  Prefactor     .78651        .18306        .26832E-03   -.16991E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 21.7457
  alpha      = 2.60561
  Normalizat = 1.21266
  Prefactor  = 0.786514
 **********
 **   18 **HESSE 
 **********

 FCN=   6868.373     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.746        10.298        .34359E-05   -1.4775    
   2  alpha         2.6056        .50440        .23380E-02    .42256E-01
   3  Normalizat    1.2127        .19933        .47318E-04   -.86212    
   4  Prefactor     .78651        .18311        .10733E-04   -1.0023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91956e-11
Minuit parameter uncertainties:
  1  10.2992
  2  0.507891
  3  0.199452
  4  0.183256
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591548': 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) = 6868.37317002
delta logL = 0.10109143873

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.175e+01  1.030e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.606e+00  5.079e-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.865e-01  1.833e-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.213e+00  1.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.89
Ra Dec: 201.730 22.173
Photon Index (Free Index): 2.61 +/- 0.51
Photon Flux (Free Index): 1.12e-07 +/- 5.45e-08
Energy Flux (Free Index): 2.92e-05 +/- 1.16e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/591548/cmap_HighResolution_471830401_472089601_4FGL_J1326.9+2210_daily_bin897.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.64e-08', energy_flux2='2.92e-05', photon_flux_error='4.22e-08', dlogl='1.01e-01', energy_flux='3.02e-05', photon_flux2='1.12e-07', job_status='DONE', time_completed='2021-09-07 18:44:00.425363', photon_index_error2='0.51', photon_index2='2.61', ts='12.59', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.16e-05', EG='1.23', time_epoch_completed='1631065440.43', return_code='0', job_id='591548', GAL2='0.79', EG2='1.21', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='5.45e-08', ts2='12.89', photon_index='2.38' WHERE bin_id='897' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:44:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 591548: <4FGL_J1326.9+2210_daily_bin897> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin897> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 18:30:34 2021
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:32:23 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:32:23 2021
Terminated at Tue Sep  7 18:44:01 2021
Results reported at Tue Sep  7 18:44:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin897 201.73 22.1732 471830401 472089601 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 :                                   554.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            807 sec.

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

