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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin605
RA = 201.73, Dec = 22.1732
tmin = 396144001, tmax = 396403201
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='590162', job_status='RUN', time_executed='2021-09-07 18:28:35.000998', time_epoch_executed='1631064515.0' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='605'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590162

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590162/ft1_4FGL_J1326.9+2210_daily_bin605.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590162/ft2_4FGL_J1326.9+2210_daily_bin605.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590162/ft1_4FGL_J1326.9+2210_daily_bin605.fits outfile=/scratch/kocevski/590162/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin605.fits ra=201.73 dec=22.1732 rad=12.0 tmin=396144001.0 tmax=396403201.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.31
user 3.01
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590162/ft1_filtered_4FGL_J1326.9+2210_daily_bin605.fits" evtable="EVENTS" scfile=/scratch/kocevski/590162/ft2_4FGL_J1326.9+2210_daily_bin605.fits sctable="SC_DATA" outfile=/scratch/kocevski/590162/ltcube_396144001_396403201_4FGL_J1326.9+2210_daily_bin605.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/590162/ft2_4FGL_J1326.9+2210_daily_bin605.fits
.....................!
real 14.81
user 14.40
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590162/ft1_filtered_4FGL_J1326.9+2210_daily_bin605.fits evtable="EVENTS" scfile=/scratch/kocevski/590162/ft2_4FGL_J1326.9+2210_daily_bin605.fits sctable="SC_DATA" expcube=/scratch/kocevski/590162/ltcube_396144001_396403201_4FGL_J1326.9+2210_daily_bin605.fits outfile=/scratch/kocevski/590162/expmap_396144001_396403201_4FGL_J1326.9+2210_daily_bin605.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/590162/ltcube_396144001_396403201_4FGL_J1326.9+2210_daily_bin605.fits
.....................!
real 191.97
user 186.21
sys 5.31

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/590162/ft1_filtered_4FGL_J1326.9+2210_daily_bin605.fits scfile=/scratch/kocevski/590162/ft2_4FGL_J1326.9+2210_daily_bin605.fits outfile=/scratch/kocevski/590162/cmap_396144001_396403201_4FGL_J1326.9+2210_daily_bin605.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590162/ft1_filtered_4FGL_J1326.9+2210_daily_bin605.fits scfile=/scratch/kocevski/590162/ft2_4FGL_J1326.9+2210_daily_bin605.fits outfile=/scratch/kocevski/590162/cmap_HighResolution_396144001_396403201_4FGL_J1326.9+2210_daily_bin605.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.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2077       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.5288       1.0000         .10000E-03   10000.    
     3 'norm      '    7.2180       1.0000         .10000E-03   10000.    
     4 'norm      '    6.5208       1.0000         .10000E-03   10000.    
     5 'norm      '    5.3765       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9260       1.0000         .10000E-03   10000.    
     8 'norm      '    5.3996       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.610       1.0000         .10000E-03   10000.    
    10 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .45686       1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.904       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.9834       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.480       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2007       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .91807       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=   5739.579     FROM MIGRAD    STATUS=CONVERGED    355 CALLS     1535 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2086        5.1617        .87464E-06   -.67454E-04
   2  Prefactor     2.5310        10.030        .64709E-05   -.22101E-03
   3  norm          7.2189        4.5802       -.16598E-05   -.14919E-03
   4  norm          6.5214        5.3341        .38406E-06   -.31472E-03
   5  norm          5.3768        6.8786        .54057E-06   -.89402E-04
   6  norm          .10000E-03    5.4053       -.18570E-06** at limit **
   7  Prefactor     1.9258        17.035        .76523E-05   -.21970E-03
   8  norm          5.3964        6.0382        .32392E-05   -.17108E-03
   9  Prefactor     14.611        15.050        .19276E-05    .63057E-05
  10  norm          .10000E-03    11.535       -.90365E-06** at limit **
  11  Prefactor     .10000E-03    3.1837       -.49577E-07** at limit **
  12  Prefactor     .66922        16.383       -.33096E-06   -.52263E-04
  13  Prefactor     30.900        41.545        .13934E-05   -.73535E-05
  14  Prefactor     .10000E-03    1.4245        .83575E-07** at limit **
  15  Prefactor     5.9863        10.848        .31135E-05   -.87350E-04
  16  Prefactor     18.484        12.275        .58583E-05   -.55153E-04
  17  Normalizat    1.2006        .18530       -.16485E-05   -.53334E-04
  18  Prefactor     .91799        .17857       -.19732E-05   -.81889E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.20856
  Prefactor  = 2.53096
  norm       = 7.21887
  norm       = 6.52135
  norm       = 5.3768
  norm       = 0.0001
  Prefactor  = 1.92583
  norm       = 5.39644
  Prefactor  = 14.6114
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.669223
  Prefactor  = 30.9004
  Prefactor  = 0.0001
  Prefactor  = 5.98626
  Prefactor  = 18.484
  Normalizat = 1.20062
  Prefactor  = 0.917986
 **********
 **   18 **HESSE 
 **********

 FCN=   5739.579     FROM HESSE     STATUS=OK           256 CALLS     1791 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2086        5.1566        .16606E-03   -1.5251    
   2  Prefactor     2.5310        9.8754        .25686E-03   -1.5390    
   3  norm          7.2189        4.6123        .12424E-03   -1.5171    
   4  norm          6.5214        5.4090        .12565E-03   -1.5197    
   5  norm          5.3768        6.9805        .17331E-03   -1.5244    
   6  norm          .10000E-03    5.4060        .17203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.9258        16.432        .29934E-03   -1.5430    
   8  norm          5.3964        5.9965        .17294E-03   -1.5243    
   9  Prefactor     14.611        15.061        .10479E-03   -1.4943    
  10  norm          .10000E-03    11.990        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.1845        .13201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .66922        132.12        .58106E-02   -1.5544    
  13  Prefactor     30.900        41.583        .72075E-04   -1.4596    
  14  Prefactor     .10000E-03    1.4483        .88286E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.9863        10.818        .16415E-03   -1.5219    
  16  Prefactor     18.484        12.315        .93170E-04   -1.4848    
  17  Normalizat    1.2006        .21775        .23256E-03   -.86584    
  18  Prefactor     .91799        .20999        .25915E-03   -.95515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94549e-08
Minuit parameter uncertainties:
  1  5.15705
  2  9.88172
  3  4.61254
  4  5.40942
  5  6.98157
  6  4.25036e-07
  7  11.2548
  8  5.99716
  9  15.0649
  10  0.000253306
  11  7.07962e-07
  12  18.8467
  13  41.6221
  14  4.37681e-06
  15  10.8211
  16  12.3167
  17  0.217914
  18  0.210175
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.000e-04  2.533e-04  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.180e-01  2.102e-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.201e+00  2.179e-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.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.15e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/590162/likelihoodResults_396144001_396403201_4FGL_J1326.9+2210_daily_bin605.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) = 5739.57983101
delta logL = -0.000398322176807

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5739.57943346
delta logL = -7.73836291046e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11660E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4563       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2009       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91770       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5739.508     FROM MIGRAD    STATUS=FAILED       154 CALLS      315 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48094        5.0156        .32974E-02   -.40338E-01
   2  alpha         4.1093        4.5541        .16464        .10050E-02
   3  Normalizat    1.1788        .21735        .23256E-03    .65995E-05
   4  Prefactor     .93022        .21018        .25915E-03    .16670E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5739.508     FROM SIMPLEX   STATUS=UNCHANGED     72 CALLS      387 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48094        5.0156        .11135E-03   -1.5847    
   2  alpha         4.1093        4.5541        .83533E-02    .69938    
   3  Normalizat    1.1788        .21735        .29056E-03   -.87262    
   4  Prefactor     .93022        .21018        .35866E-03   -.95093    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5739.508     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      427 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48094        4.1894        .65947E-03   -.16096E-02
   2  alpha         4.1094        4.5305        .32928E-01    .16645E-05
   3  Normalizat    1.1788        .21544        .93023E-05   -.43997E-05
   4  Prefactor     .93022        .20912        .10366E-04   -.21934E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.480935
  alpha      = 4.10935
  Normalizat = 1.17876
  Prefactor  = 0.930222
 **********
 **   18 **HESSE 
 **********

 FCN=   5739.508     FROM HESSE     STATUS=OK            27 CALLS      454 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48094        3.4717        .13189E-03   -1.5847    
   2  alpha         4.1094        4.4608        .13171E-02    .69938    
   3  Normalizat    1.1788        .21535        .18605E-05   -.87262    
   4  Prefactor     .93022        .20894        .20732E-05   -.95093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.68658e-12
Minuit parameter uncertainties:
  1  2.58424
  2  3.59697
  3  0.21551
  4  0.209125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590162': 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) = 5739.50750598
delta logL = 0.0719267004952

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  4.809e-01  2.584e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  4.109e+00  3.597e+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:  9.302e-01  2.091e-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.179e+00  2.155e-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/590162/cmap_HighResolution_396144001_396403201_4FGL_J1326.9+2210_daily_bin605.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-05', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2021-09-07 18:37:36.299529', job_id='590162', GAL2='0.93', fit_tolerance='1e-08', EG2='1.18', EG='1.20', time_epoch_completed='1631065056.3', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='7.19e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='605' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:37:36 PDT 2021


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

Job <4FGL_J1326.9+2210_daily_bin605> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep  7 18:25:31 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:26:19 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:26:19 2021
Terminated at Tue Sep  7 18:37:37 2021
Results reported at Tue Sep  7 18:37:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin605 201.73 22.1732 396144001 396403201 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 :                                   541.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             252.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            726 sec.

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

