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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin767
RA = 201.73, Dec = 22.1732
tmin = 438134401, tmax = 438393601
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='591352', job_status='RUN', time_executed='2021-09-07 18:33:27.688223', time_epoch_executed='1631064807.69' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591352

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591352/ft1_4FGL_J1326.9+2210_daily_bin767.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591352/ft2_4FGL_J1326.9+2210_daily_bin767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591352/ft1_4FGL_J1326.9+2210_daily_bin767.fits outfile=/scratch/kocevski/591352/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin767.fits ra=201.73 dec=22.1732 rad=12.0 tmin=438134401.0 tmax=438393601.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 6.27
user 6.01
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591352/ft1_filtered_4FGL_J1326.9+2210_daily_bin767.fits evtable="EVENTS" scfile=/scratch/kocevski/591352/ft2_4FGL_J1326.9+2210_daily_bin767.fits sctable="SC_DATA" expcube=/scratch/kocevski/591352/ltcube_438134401_438393601_4FGL_J1326.9+2210_daily_bin767.fits outfile=/scratch/kocevski/591352/expmap_438134401_438393601_4FGL_J1326.9+2210_daily_bin767.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/591352/ltcube_438134401_438393601_4FGL_J1326.9+2210_daily_bin767.fits
.....................!
real 191.55
user 186.67
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/591352/ft1_filtered_4FGL_J1326.9+2210_daily_bin767.fits scfile=/scratch/kocevski/591352/ft2_4FGL_J1326.9+2210_daily_bin767.fits outfile=/scratch/kocevski/591352/cmap_438134401_438393601_4FGL_J1326.9+2210_daily_bin767.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/591352/ft1_filtered_4FGL_J1326.9+2210_daily_bin767.fits scfile=/scratch/kocevski/591352/ft2_4FGL_J1326.9+2210_daily_bin767.fits outfile=/scratch/kocevski/591352/cmap_HighResolution_438134401_438393601_4FGL_J1326.9+2210_daily_bin767.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.6282       1.0000         .10000E-03   10000.    
     5 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .49374E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.6942       1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.195       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.3557       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2823       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95123       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=   6620.789     FROM MIGRAD    STATUS=CONVERGED    380 CALLS     1755 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6485        .52222E-07** at limit **
   2  Prefactor     .10000E-03    7.0669       -.38110E-06** at limit **
   3  norm          .10000E-03    3.1827        .45546E-07** at limit **
   4  norm          6.6327        4.8686        .55586E-06    .22685E-03
   5  norm          .10000E-03    13.079       -.28590E-05** at limit **
   6  norm          .10000E-03    48.722        .39762E-04** at limit **
   7  Prefactor     .10000E-03    5.0037       -.12264E-06** at limit **
   8  norm          .10743E-03    5.6810       -.23700E-05** at limit **
   9  Prefactor     .10000E-03    25.426        .21131E-04** at limit **
  10  norm          .10000E-03    5.7735        .49111E-06** at limit **
  11  Prefactor     9.6934        22.031        .55386E-06   -.10486E-04
  12  Prefactor     33.192        26.900       -.13719E-06    .27537E-04
  13  Prefactor     .10000E-03    32.787       -.44421E-04** at limit **
  14  Prefactor     .10000E-03    1.7845        .56909E-08** at limit **
  15  Prefactor     6.3559        7.3218       -.29148E-07   -.74733E-05
  16  Prefactor     .10000E-03    9.9494        .13614E-05** at limit **
  17  Normalizat    1.2823        .17712       -.14975E-06    .16440E-03
  18  Prefactor     .95124        .15928       -.27913E-07    .11663E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.63268
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000107434
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.69343
  Prefactor  = 33.192
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.3559
  Prefactor  = 0.0001
  Normalizat = 1.28228
  Prefactor  = 0.951245
 **********
 **   18 **HESSE 
 **********

 FCN=   6620.789     FROM HESSE     STATUS=OK           246 CALLS     2001 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6764        .15178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.0911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.2342        .14169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.6327        4.8071        .14719E-03   -1.5193    
   5  norm          .10000E-03    13.231        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    49.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.0052        .17776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10743E-03    6.9514        .54041E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.8478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.6934        22.054        .12871E-03   -1.5085    
  12  Prefactor     33.192        26.921        .69550E-04   -1.4555    
  13  Prefactor     .10000E-03    32.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.7997        .10612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.3559        7.3202        .15921E-03   -1.5204    
  16  Prefactor     .10000E-03    10.269        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2823        .21117        .23748E-03   -.84097    
  18  Prefactor     .95124        .18907        .24990E-03   -.94373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03665e-09
Minuit parameter uncertainties:
  1  5.754e-07
  2  1.7097e-06
  3  2.17493e-06
  4  4.8074
  5  9.18165e-05
  6  0.000226094
  7  1.71443e-06
  8  0.0143791
  9  1.7026e-05
  10  3.02752e-05
  11  22.072
  12  26.9312
  13  0.000129625
  14  6.65067e-08
  15  7.32119
  16  7.50392e-06
  17  0.211313
  18  0.189204
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.000e-04  3.028e-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:  9.512e-01  1.892e-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.282e+00  2.113e-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.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.99e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/591352/likelihoodResults_438134401_438393601_4FGL_J1326.9+2210_daily_bin767.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): 102
logL (Free Index) = 6620.78984082
delta logL = -0.000815471051283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6620.59043497
delta logL = 0.198590377014

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27176       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9990       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2354       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97821       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=   6620.590     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      445 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27222        .55258        .66085E-04   -.32307E-03
   2  alpha         5.0000        4.7372        .50000    ** at limit **
   3  Normalizat    1.2353        .21831        .24136E-03    .42110E-04
   4  Prefactor     .97820        .19384        .24689E-03   -.25142E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.272219
  alpha      = 5
  Normalizat = 1.23527
  Prefactor  = 0.978197
 **********
 **   18 **HESSE 
 **********

 FCN=   6620.590     FROM HESSE     STATUS=OK            29 CALLS      474 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27222        .54787        .26434E-05   -1.5604    
   2  alpha         5.0000        4.7214        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2353        .21864        .96542E-05   -.85520    
   4  Prefactor     .97820        .19409        .98756E-05   -.93460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93921e-11
Minuit parameter uncertainties:
  1  0.547879
  2  0.000234733
  3  0.218802
  4  0.194231
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591352': 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) = 6620.5904211
delta logL = 0.198604244662

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.722e-01  5.479e-01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  5.000e+00  2.347e-04  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:  9.782e-01  1.942e-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.235e+00  2.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 201.730 22.173

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/591352/cmap_HighResolution_438134401_438393601_4FGL_J1326.9+2210_daily_bin767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-05', job_status='DONE', photon_flux_upper_limit='6.34e-08', time_completed='2021-09-07 18:43:22.348960', job_id='591352', GAL2='0.98', fit_tolerance='1e-08', EG2='1.24', EG='1.28', time_epoch_completed='1631065402.35', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.99e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='767' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:43:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 591352: <4FGL_J1326.9+2210_daily_bin767> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin767 201.73 22.1732 438134401 438393601 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 :                                   593.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            782 sec.

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

