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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin10
RA = 201.73, Dec = 22.1732
tmin = 241920001, tmax = 242179201
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='584292', job_status='RUN', time_executed='2021-09-07 18:10:49.447910', time_epoch_executed='1631063449.45' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='10'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584292

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584292/ft1_4FGL_J1326.9+2210_daily_bin10.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584292/ft2_4FGL_J1326.9+2210_daily_bin10.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584292/ft1_4FGL_J1326.9+2210_daily_bin10.fits outfile=/scratch/kocevski/584292/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin10.fits ra=201.73 dec=22.1732 rad=12.0 tmin=241920001.0 tmax=242179201.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 1.47
user 1.24
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/584292/ft2_4FGL_J1326.9+2210_daily_bin10.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/584292/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin10.fits evtable="EVENTS" outfile="/scratch/kocevski/584292/ft1_filtered_4FGL_J1326.9+2210_daily_bin10.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.53
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/584292/ft1_filtered_4FGL_J1326.9+2210_daily_bin10.fits" evtable="EVENTS" scfile=/scratch/kocevski/584292/ft2_4FGL_J1326.9+2210_daily_bin10.fits sctable="SC_DATA" outfile=/scratch/kocevski/584292/ltcube_241920001_242179201_4FGL_J1326.9+2210_daily_bin10.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/584292/ft2_4FGL_J1326.9+2210_daily_bin10.fits
.....................!
real 18.70
user 18.10
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584292/ft1_filtered_4FGL_J1326.9+2210_daily_bin10.fits evtable="EVENTS" scfile=/scratch/kocevski/584292/ft2_4FGL_J1326.9+2210_daily_bin10.fits sctable="SC_DATA" expcube=/scratch/kocevski/584292/ltcube_241920001_242179201_4FGL_J1326.9+2210_daily_bin10.fits outfile=/scratch/kocevski/584292/expmap_241920001_242179201_4FGL_J1326.9+2210_daily_bin10.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/584292/ltcube_241920001_242179201_4FGL_J1326.9+2210_daily_bin10.fits
.....................!
real 192.92
user 187.09
sys 5.01

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/584292/ft1_filtered_4FGL_J1326.9+2210_daily_bin10.fits scfile=/scratch/kocevski/584292/ft2_4FGL_J1326.9+2210_daily_bin10.fits outfile=/scratch/kocevski/584292/cmap_241920001_242179201_4FGL_J1326.9+2210_daily_bin10.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6720       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.6999       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    30.178       1.0000         .10000E-03   10000.    
     5 'norm      '    5.8741       1.0000         .10000E-03   10000.    
     6 'norm      '    9.6472       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5095       1.0000         .10000E-03   10000.    
     8 'norm      '    3.0028       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .11045E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.536       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    47.521       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.7307       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5392       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0485       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2732       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=   9879.195     FROM MIGRAD    STATUS=CONVERGED    343 CALLS     1495 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6726        6.4166       -.17351E-06   -.39343E-04
   2  Prefactor     5.7004        9.0014       -.86723E-07   -.95569E-05
   3  norm          .10000E-03    .74625        .38358E-07** at limit **
   4  norm          30.179        8.8359        .34947E-06    .62837E-04
   5  norm          5.8731        13.243       -.15285E-05   -.81684E-05
   6  norm          9.6475        10.413        .23822E-06    .10712E-05
   7  Prefactor     4.5083        15.591       -.32068E-05   -.10537E-04
   8  norm          2.9962        1.4744        .14312E-06   -.12839E-02
   9  Prefactor     .10000E-03    8.4136       -.66217E-06** at limit **
  10  norm          .10000E-03    12.345        .76833E-07** at limit **
  11  Prefactor     13.538        14.347        .14855E-05    .57231E-05
  12  Prefactor     .10000E-03    8.9251        .75387E-06** at limit **
  13  Prefactor     47.515        36.325       -.67832E-05   -.10711E-04
  14  Prefactor     2.7308        3.1854       -.97200E-07   -.79216E-04
  15  Prefactor     .10000E-03    3.5007       -.65716E-07** at limit **
  16  Prefactor     1.5403        9.7056       -.31976E-06   -.55029E-04
  17  Normalizat    1.0484        .15339       -.10074E-06    .46218E-04
  18  Prefactor     1.2733        .14711        .47790E-06   -.18013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.67259
  Prefactor  = 5.70035
  norm       = 0.0001
  norm       = 30.1789
  norm       = 5.87311
  norm       = 9.64752
  Prefactor  = 4.5083
  norm       = 2.99616
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.5379
  Prefactor  = 0.0001
  Prefactor  = 47.5155
  Prefactor  = 2.7308
  Prefactor  = 0.0001
  Prefactor  = 1.54029
  Normalizat = 1.04842
  Prefactor  = 1.27326
 **********
 **   18 **HESSE 
 **********

 FCN=   9879.195     FROM HESSE     STATUS=OK           250 CALLS     1745 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6726        6.4181        .21078E-03   -1.5325    
   2  Prefactor     5.7004        9.0126        .16825E-03   -1.5230    
   3  norm          .10000E-03    .74875        .83835E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          30.179        8.7748        .72934E-04   -1.4609    
   5  norm          5.8731        13.140        .16570E-03   -1.5223    
   6  norm          9.6475        10.463        .12902E-03   -1.5087    
   7  Prefactor     4.5083        15.585        .18959E-03   -1.5283    
   8  norm          2.9962        5.9813        .11712E-02   -1.5362    
   9  Prefactor     .10000E-03    8.4169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    12.769        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.538        14.375        .10887E-03   -1.4972    
  12  Prefactor     .10000E-03    8.9355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     47.515        36.349        .58167E-04   -1.4328    
  14  Prefactor     2.7308        3.1834        .18444E-03   -1.5377    
  15  Prefactor     .10000E-03    3.5132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.5403        9.8730        .34371E-03   -1.5460    
  17  Normalizat    1.0484        .18794        .27484E-03   -.91426    
  18  Prefactor     1.2733        .17674        .24780E-03   -.84106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01674e-09
Minuit parameter uncertainties:
  1  6.41926
  2  9.01471
  3  3.04908e-07
  4  8.77521
  5  13.1462
  6  10.4646
  7  15.5994
  8  5.98254
  9  1.28483e-06
  10  2.75729e-05
  11  14.3785
  12  1.38344e-05
  13  36.3658
  14  3.18357
  15  1.3135e-06
  16  7.80092
  17  0.188055
  18  0.176819
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.000e-04  2.757e-05  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.273e+00  1.768e-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.048e+00  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/584292/likelihoodResults_241920001_242179201_4FGL_J1326.9+2210_daily_bin10.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9879.1956184
delta logL = -0.000373798040528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9879.19524867
delta logL = -4.07082916354e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41687E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5051       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0489       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2728       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=   9878.068     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      262 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0841        .97281        .10622E-01   -.14215E-02
   2  alpha         4.5333        .65785        .41152        .21716E-04
   3  Normalizat    .95438        .15431        .64771E-01    .45168E-04
   4  Prefactor     1.3274        .14758        .55056E-01    .25350E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.08412
  alpha      = 4.5333
  Normalizat = 0.954385
  Prefactor  = 1.32739
 **********
 **   18 **HESSE 
 **********

 FCN=   9878.068     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      295 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0841        26.944        .70877E-04   -1.5916    
   2  alpha         4.5333        3.0811        .35403E-01    .94984    
   3  Normalizat    .95438        .18684        .28653E-03   -.94575    
   4  Prefactor     1.3274        .17478        .24342E-03   -.82496    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.58277e-07
Minuit parameter uncertainties:
  1  10.8143
  2  6.46883
  3  0.186965
  4  0.174858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584292': 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): 102
logL (Free Index) = 9878.06783731
delta logL = 1.12740728523

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.084e+00  1.081e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  4.533e+00  6.469e+00  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.327e+00  1.749e-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.544e-01  1.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.47
Ra Dec: 201.730 22.173
Photon Index (Free Index): 4.53 +/- 6.47
Photon Flux (Free Index): 7.11e-08 +/- 1.38e-06
Energy Flux (Free Index): 1.02e-05 +/- 1.89e-04

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/584292/cmap_HighResolution_241920001_242179201_4FGL_J1326.9+2210_daily_bin10.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-05', comment='SUCCESS', energy_flux2='1.02e-05', dlogl='1.13e+00', photon_flux2='7.11e-08', job_status='DONE', time_completed='2021-09-07 18:21:59.215961', photon_index_error2='6.47', photon_index2='4.53', ts='-0.00', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='6.87e-08', energy_flux_error2='1.89e-04', EG='1.05', time_epoch_completed='1631064119.22', return_code='0', job_id='584292', GAL2='1.33', EG2='0.95', return_code2='102', photon_flux_error2='1.38e-06', ts2='2.47', photon_index='2.38' WHERE bin_id='10' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:21:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 584292: <4FGL_J1326.9+2210_daily_bin10> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin10 201.73 22.1732 241920001 242179201 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 :                                   667.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            989 sec.

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

