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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin231
RA = 201.73, Dec = 22.1732
tmin = 299203201, tmax = 299462401
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='587288', job_status='RUN', time_executed='2021-09-07 18:17:34.550362', time_epoch_executed='1631063854.55' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='231'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/587288

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/587288/ft1_4FGL_J1326.9+2210_daily_bin231.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/587288/ft2_4FGL_J1326.9+2210_daily_bin231.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/587288/ft1_4FGL_J1326.9+2210_daily_bin231.fits outfile=/scratch/kocevski/587288/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin231.fits ra=201.73 dec=22.1732 rad=12.0 tmin=299203201.0 tmax=299462401.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.40
user 3.18
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/587288/ft1_filtered_4FGL_J1326.9+2210_daily_bin231.fits evtable="EVENTS" scfile=/scratch/kocevski/587288/ft2_4FGL_J1326.9+2210_daily_bin231.fits sctable="SC_DATA" expcube=/scratch/kocevski/587288/ltcube_299203201_299462401_4FGL_J1326.9+2210_daily_bin231.fits outfile=/scratch/kocevski/587288/expmap_299203201_299462401_4FGL_J1326.9+2210_daily_bin231.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/587288/ltcube_299203201_299462401_4FGL_J1326.9+2210_daily_bin231.fits
.....................!
real 190.59
user 186.23
sys 3.90

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/587288/ft1_filtered_4FGL_J1326.9+2210_daily_bin231.fits scfile=/scratch/kocevski/587288/ft2_4FGL_J1326.9+2210_daily_bin231.fits outfile=/scratch/kocevski/587288/cmap_299203201_299462401_4FGL_J1326.9+2210_daily_bin231.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/587288/ft1_filtered_4FGL_J1326.9+2210_daily_bin231.fits scfile=/scratch/kocevski/587288/ft2_4FGL_J1326.9+2210_daily_bin231.fits outfile=/scratch/kocevski/587288/cmap_HighResolution_299203201_299462401_4FGL_J1326.9+2210_daily_bin231.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9643       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.9207       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    12.243       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    19.016       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.233       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.629       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.5682       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.7695       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19306E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.5521       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.2293       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.050       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1261       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1109       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=   6693.624     FROM MIGRAD    STATUS=CONVERGED    340 CALLS     1483 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9633        8.4687        .32026E-05   -.29947E-03
   2  Prefactor     4.9205        8.4331        .11461E-05   -.15999E-03
   3  norm          .10000E-03    1.5474       -.17036E-07** at limit **
   4  norm          12.242        4.4759       -.39357E-06   -.10136E-03
   5  norm          .10000E-03    4.0672        .33515E-06** at limit **
   6  norm          19.016        16.912       -.14456E-06   -.83038E-05
   7  Prefactor     .10000E-03    4.3651       -.21012E-06** at limit **
   8  norm          11.232        7.0293       -.18767E-06   -.86068E-04
   9  Prefactor     .10000E-03    8.4569       -.15839E-07** at limit **
  10  norm          10.629        7.5297        .35382E-06   -.51998E-04
  11  Prefactor     8.5686        10.331       -.31902E-05   -.52109E-04
  12  Prefactor     9.7692        12.913        .26136E-05   -.87242E-05
  13  Prefactor     .10000E-03    203.53       -.11314E-05** at limit **
  14  Prefactor     7.5520        4.0534       -.48824E-06   -.14664E-03
  15  Prefactor     4.2295        11.896       -.15775E-05   -.11596E-03
  16  Prefactor     16.050        12.411        .31814E-05   -.37222E-04
  17  Normalizat    1.1262        .18193       -.60647E-06   -.30880E-04
  18  Prefactor     1.1109        .17370       -.42091E-06   -.35914E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.96325
  Prefactor  = 4.92049
  norm       = 0.0001
  norm       = 12.2424
  norm       = 0.0001
  norm       = 19.0161
  Prefactor  = 0.0001
  norm       = 11.2324
  Prefactor  = 0.0001
  norm       = 10.629
  Prefactor  = 8.56861
  Prefactor  = 9.7692
  Prefactor  = 0.0001
  Prefactor  = 7.55202
  Prefactor  = 4.22946
  Prefactor  = 16.0496
  Normalizat = 1.12617
  Prefactor  = 1.11091
 **********
 **   18 **HESSE 
 **********

 FCN=   6693.624     FROM HESSE     STATUS=OK           252 CALLS     1735 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9633        8.2147        .23585E-03   -1.5364    
   2  Prefactor     4.9205        8.3735        .18132E-03   -1.5264    
   3  norm          .10000E-03    1.5595        .99347E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          12.242        4.4858        .10091E-03   -1.5008    
   5  norm          .10000E-03    4.0811        .16084E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          19.016        16.910        .91846E-04   -1.4836    
   7  Prefactor     .10000E-03    4.3701        .16690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.232        7.0356        .11954E-03   -1.5038    
   9  Prefactor     .10000E-03    8.4582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.629        7.5247        .12289E-03   -1.5056    
  11  Prefactor     8.5686        10.425        .13694E-03   -1.5122    
  12  Prefactor     9.7692        12.913        .12821E-03   -1.5083    
  13  Prefactor     .10000E-03    206.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.5520        4.0709        .11678E-03   -1.5158    
  15  Prefactor     4.2295        11.967        .19594E-03   -1.5297    
  16  Prefactor     16.050        12.377        .99973E-04   -1.4907    
  17  Normalizat    1.1262        .21643        .25830E-03   -.88916    
  18  Prefactor     1.1109        .20640        .25690E-03   -.89119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19814e-10
Minuit parameter uncertainties:
  1  8.21779
  2  8.37551
  3  2.1332e-06
  4  4.48591
  5  2.12208e-05
  6  16.9139
  7  7.62065e-06
  8  7.03615
  9  1.20559e-06
  10  7.52537
  11  10.4275
  12  12.9171
  13  0.000288327
  14  4.07108
  15  11.9738
  16  12.3786
  17  0.216599
  18  0.206548
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.063e+01  7.525e+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.111e+00  2.065e-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.126e+00  2.166e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.42
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 4.32e-08 +/- 3.06e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 9.57e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6693.53420423
delta logL = 0.0902522345987

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6693.53122323
delta logL = 0.0932332353896

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.135       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0966       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1045       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=   6693.531     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      218 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.132        297.40        .30015E-02    .37944E-04
   2  alpha         2.0964        3.1495        .41850       -.19177E-05
   3  Normalizat    1.1365        .26803        .58183E-01    .60831E-05
   4  Prefactor     1.1046        .23602        .58238E-01    .57829E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.132
  alpha      = 2.09635
  Normalizat = 1.13648
  Prefactor  = 1.1046
 **********
 **   18 **HESSE 
 **********

 FCN=   6693.531     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.132        7.7744        .12006E-03   -1.5041    
   2  alpha         2.0964        .64650        .17686E-01   -.16217    
   3  Normalizat    1.1365        .20725        .25731E-03   -.88589    
   4  Prefactor     1.1046        .20456        .25753E-03   -.89320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.42066e-12
Minuit parameter uncertainties:
  1  7.77508
  2  0.654133
  3  0.207398
  4  0.204707
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/587288': 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) = 6693.53122287
delta logL = 0.0932336012893

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.113e+01  7.775e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.096e+00  6.541e-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.105e+00  2.047e-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.136e+00  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.63
Ra Dec: 201.730 22.173
Photon Index (Free Index): 2.10 +/- 0.65
Photon Flux (Free Index): 3.48e-08 +/- 3.10e-08
Energy Flux (Free Index): 1.49e-05 +/- 1.12e-05

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/587288/cmap_HighResolution_299203201_299462401_4FGL_J1326.9+2210_daily_bin231.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.32e-08', energy_flux2='1.49e-05', photon_flux_error='3.06e-08', dlogl='9.32e-02', energy_flux='1.35e-05', photon_flux2='3.48e-08', job_status='DONE', time_completed='2021-09-07 18:26:05.996776', photon_index_error2='0.65', photon_index2='2.10', ts='5.42', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.12e-05', EG='1.13', time_epoch_completed='1631064366.0', return_code='0', job_id='587288', GAL2='1.10', EG2='1.14', return_code2='0', energy_flux_error='9.57e-06', photon_flux_error2='3.10e-08', ts2='5.63', photon_index='2.38' WHERE bin_id='231' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:26:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 587288: <4FGL_J1326.9+2210_daily_bin231> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin231> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep  7 18:15:19 2021
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:15:28 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:15:28 2021
Terminated at Tue Sep  7 18:26:06 2021
Results reported at Tue Sep  7 18:26:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin231 201.73 22.1732 299203201 299462401 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 :                                   510.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            647 sec.

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

