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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin500
RA = 201.73, Dec = 22.1732
tmin = 368928001, tmax = 369187201
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='590015', job_status='RUN', time_executed='2021-09-07 18:29:08.808483', time_epoch_executed='1631064548.81' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590015

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590015/ft1_4FGL_J1326.9+2210_daily_bin500.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590015/ft2_4FGL_J1326.9+2210_daily_bin500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590015/ft1_4FGL_J1326.9+2210_daily_bin500.fits outfile=/scratch/kocevski/590015/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin500.fits ra=201.73 dec=22.1732 rad=12.0 tmin=368928001.0 tmax=369187201.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.35
user 3.10
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590015/ft1_filtered_4FGL_J1326.9+2210_daily_bin500.fits" evtable="EVENTS" scfile=/scratch/kocevski/590015/ft2_4FGL_J1326.9+2210_daily_bin500.fits sctable="SC_DATA" outfile=/scratch/kocevski/590015/ltcube_368928001_369187201_4FGL_J1326.9+2210_daily_bin500.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/590015/ft2_4FGL_J1326.9+2210_daily_bin500.fits
.....................!
real 14.27
user 13.90
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590015/ft1_filtered_4FGL_J1326.9+2210_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/590015/ft2_4FGL_J1326.9+2210_daily_bin500.fits sctable="SC_DATA" expcube=/scratch/kocevski/590015/ltcube_368928001_369187201_4FGL_J1326.9+2210_daily_bin500.fits outfile=/scratch/kocevski/590015/expmap_368928001_369187201_4FGL_J1326.9+2210_daily_bin500.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/590015/ltcube_368928001_369187201_4FGL_J1326.9+2210_daily_bin500.fits
.....................!
real 191.85
user 186.26
sys 4.84

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/590015/ft1_filtered_4FGL_J1326.9+2210_daily_bin500.fits scfile=/scratch/kocevski/590015/ft2_4FGL_J1326.9+2210_daily_bin500.fits outfile=/scratch/kocevski/590015/cmap_368928001_369187201_4FGL_J1326.9+2210_daily_bin500.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590015/ft1_filtered_4FGL_J1326.9+2210_daily_bin500.fits scfile=/scratch/kocevski/590015/ft2_4FGL_J1326.9+2210_daily_bin500.fits outfile=/scratch/kocevski/590015/cmap_HighResolution_368928001_369187201_4FGL_J1326.9+2210_daily_bin500.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.55
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7863       1.0000         .10000E-03   10000.    
     2 'Prefactor '    47.529       1.0000         .10000E-03   10000.    
     3 'norm      '    .25437       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.649       1.0000         .10000E-03   10000.    
     8 'norm      '    13.974       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.570       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9416       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.9857       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .53680E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.2822       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .41677       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.5403       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=   5604.326     FROM MIGRAD    STATUS=CONVERGED    356 CALLS     1533 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7913        8.8274       -.83693E-06   -.62090E-05
   2  Prefactor     47.530        17.110        .11949E-06    .40721E-04
   3  norm          .24197        2.0940       -.15500E-05    .11067E-02
   4  norm          .10000E-03    1.2929       -.89154E-07** at limit **
   5  norm          .10000E-03    1.8593        .31270E-07** at limit **
   6  norm          .10000E-03    11.122        .40247E-05** at limit **
   7  Prefactor     12.651        12.450       -.65177E-08   -.11214E-04
   8  norm          13.976        8.8606       -.19816E-06    .79389E-04
   9  Prefactor     .10000E-03    30.169        .93515E-05** at limit **
  10  norm          10.571        9.3449       -.36845E-07   -.64203E-05
  11  Prefactor     2.9428        10.647       -.10995E-05   -.16912E-03
  12  Prefactor     7.9884        15.613        .95726E-06   -.19861E-04
  13  Prefactor     .10000E-03    101.35       -.12032E-03** at limit **
  14  Prefactor     9.2829        4.4537        .63837E-06   -.39508E-04
  15  Prefactor     .10000E-03    13.604       -.67239E-05** at limit **
  16  Prefactor     .10000E-03    4.3263        .12614E-06** at limit **
  17  Normalizat    .41674        .19026       -.85489E-07    .35302E-03
  18  Prefactor     1.5402        .19034        .61842E-06    .60993E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.79132
  Prefactor  = 47.5297
  norm       = 0.24197
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 12.6507
  norm       = 13.9762
  Prefactor  = 0.0001
  norm       = 10.5706
  Prefactor  = 2.94283
  Prefactor  = 7.98841
  Prefactor  = 0.000100002
  Prefactor  = 9.28289
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.416736
  Prefactor  = 1.54025
 **********
 **   18 **HESSE 
 **********

 FCN=   5604.326     FROM HESSE     STATUS=OK           248 CALLS     1781 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7913        8.7620        .18390E-03   -1.5270    
   2  Prefactor     47.530        17.089        .58162E-04   -1.4328    
   3  norm          .24197        9.7510        .20289E-02   -1.5610    
   4  norm          .10000E-03    1.3330        .16616E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.8702        .99678E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    11.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.651        12.439        .11263E-03   -1.4996    
   8  norm          13.976        8.8601        .10715E-03   -1.4960    
   9  Prefactor     .10000E-03    30.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.571        9.3477        .12324E-03   -1.5058    
  11  Prefactor     2.9428        10.609        .23681E-03   -1.5365    
  12  Prefactor     7.9884        15.574        .14188E-03   -1.5143    
  13  Prefactor     .10000E-03    101.50        .21122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.2829        4.4521        .10433E-03   -1.5099    
  15  Prefactor     .10000E-03    13.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.3451        .15204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .41674        .20774        .35051E-03   -1.1645    
  18  Prefactor     1.5402        .21189        .20376E-03   -.76419    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.61603e-09
Minuit parameter uncertainties:
  1  8.76431
  2  17.0911
  3  3.072
  4  1.74731e-07
  5  1.38682e-07
  6  7.22754e-06
  7  12.4415
  8  8.86094
  9  2.21957e-05
  10  9.34896
  11  10.6162
  12  15.5815
  13  0.000855688
  14  4.45227
  15  2.49041e-05
  16  2.17649e-06
  17  0.208123
  18  0.212008
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.057e+01  9.349e+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.540e+00  2.120e-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:  4.167e-01  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.72
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 4.30e-08 +/- 3.80e-08
Energy Flux (Fixed Index): 1.34e-05 +/- 1.19e-05

TS (Fixed Index): 2.72
Ra Dec: 201.730 22.173
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/590015/likelihoodResults_368928001_369187201_4FGL_J1326.9+2210_daily_bin500.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) = 5604.28981564
delta logL = 0.036350794152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5604.28136525
delta logL = 0.0448011891158

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.5119       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5975       1.0000          .0000       5.0000    
     3 'Normalizat'    .40945       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5453       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=   5604.281     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      248 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.5104        8.7868        .12994E-03    .24956E-02
   2  alpha         2.5975        .75082        .15439E-01    .26235E-03
   3  Normalizat    .40947        .20069        .35350E-03   -.27918E-03
   4  Prefactor     1.5453        .21196        .20348E-03   -.56185E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.51035
  alpha      = 2.59752
  Normalizat = 0.409465
  Prefactor  = 1.54527
 **********
 **   18 **HESSE 
 **********

 FCN=   5604.281     FROM HESSE     STATUS=OK            23 CALLS      271 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.5104        8.5101        .25988E-04   -1.5091    
   2  alpha         2.5975        .72744        .61757E-03    .39017E-01
   3  Normalizat    .40947        .20070        .14140E-04   -1.1681    
   4  Prefactor     1.5453        .21197        .40697E-04   -.76280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.53711e-09
Minuit parameter uncertainties:
  1  8.51117
  2  0.738131
  3  0.201049
  4  0.212088
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590015': 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) = 5604.2813652
delta logL = 0.0448012316456

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  9.510e+00  8.511e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.598e+00  7.381e-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.545e+00  2.121e-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:  4.095e-01  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.86
Ra Dec: 201.730 22.173
Photon Index (Free Index): 2.60 +/- 0.74
Photon Flux (Free Index): 4.84e-08 +/- 3.99e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.96e-06

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-05', comment='SUCCESS', photon_flux='4.30e-08', energy_flux2='1.27e-05', photon_flux_error='3.80e-08', dlogl='4.48e-02', energy_flux='1.34e-05', photon_flux2='4.84e-08', job_status='DONE', time_completed='2021-09-07 18:38:02.811985', photon_index_error2='0.74', photon_index2='2.60', ts='2.72', fit_tolerance='1e-08', GAL='1.54', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='9.96e-06', EG='0.42', time_epoch_completed='1631065082.81', return_code='0', job_id='590015', GAL2='1.55', EG2='0.41', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='3.99e-08', ts2='2.86', photon_index='2.38' WHERE bin_id='500' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:38:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 590015: <4FGL_J1326.9+2210_daily_bin500> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin500 201.73 22.1732 368928001 369187201 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 :                                   519.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            763 sec.

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

