/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 177 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1326.9+2210_daily_bin650
RA = 201.73, Dec = 22.1732
tmin = 407808001, tmax = 408067201
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='590228', job_status='RUN', time_executed='2021-09-07 18:29:51.434903', time_epoch_executed='1631064591.43' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590228

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590228/ft1_4FGL_J1326.9+2210_daily_bin650.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590228/ft2_4FGL_J1326.9+2210_daily_bin650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590228/ft1_4FGL_J1326.9+2210_daily_bin650.fits outfile=/scratch/kocevski/590228/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin650.fits ra=201.73 dec=22.1732 rad=12.0 tmin=407808001.0 tmax=408067201.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 4.14
user 3.91
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/590228/ft2_4FGL_J1326.9+2210_daily_bin650.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/590228/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin650.fits evtable="EVENTS" outfile="/scratch/kocevski/590228/ft1_filtered_4FGL_J1326.9+2210_daily_bin650.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590228/ft1_filtered_4FGL_J1326.9+2210_daily_bin650.fits" evtable="EVENTS" scfile=/scratch/kocevski/590228/ft2_4FGL_J1326.9+2210_daily_bin650.fits sctable="SC_DATA" outfile=/scratch/kocevski/590228/ltcube_407808001_408067201_4FGL_J1326.9+2210_daily_bin650.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/590228/ft2_4FGL_J1326.9+2210_daily_bin650.fits
.....................!
real 15.07
user 14.64
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590228/ft1_filtered_4FGL_J1326.9+2210_daily_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/590228/ft2_4FGL_J1326.9+2210_daily_bin650.fits sctable="SC_DATA" expcube=/scratch/kocevski/590228/ltcube_407808001_408067201_4FGL_J1326.9+2210_daily_bin650.fits outfile=/scratch/kocevski/590228/expmap_407808001_408067201_4FGL_J1326.9+2210_daily_bin650.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/590228/ltcube_407808001_408067201_4FGL_J1326.9+2210_daily_bin650.fits
.....................!
real 192.98
user 187.67
sys 4.89

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/590228/ft1_filtered_4FGL_J1326.9+2210_daily_bin650.fits scfile=/scratch/kocevski/590228/ft2_4FGL_J1326.9+2210_daily_bin650.fits outfile=/scratch/kocevski/590228/cmap_407808001_408067201_4FGL_J1326.9+2210_daily_bin650.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.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590228/ft1_filtered_4FGL_J1326.9+2210_daily_bin650.fits scfile=/scratch/kocevski/590228/ft2_4FGL_J1326.9+2210_daily_bin650.fits outfile=/scratch/kocevski/590228/cmap_HighResolution_407808001_408067201_4FGL_J1326.9+2210_daily_bin650.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=201.73 yref=22.1732 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10619E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.2946       1.0000         .10000E-03   10000.    
     4 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .16208E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.187       1.0000         .10000E-03   10000.    
     8 'norm      '    18.180       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.828       1.0000         .10000E-03   10000.    
    10 'norm      '    2.0739       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17217E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    47.689       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.0949       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.6640       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.6818       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .80998       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.3708       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=   6795.514     FROM MIGRAD    STATUS=CONVERGED    357 CALLS     1719 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.3904       -.37278E-07** at limit **
   2  Prefactor     .10000E-03    10.451       -.81948E-07** at limit **
   3  norm          7.2912        4.0962        .49392E-07   -.40540E-04
   4  norm          .10000E-03    1.5230        .39406E-07** at limit **
   5  norm          .10000E-03    2.1822       -.31845E-07** at limit **
   6  norm          .10000E-03    34.571        .81498E-06** at limit **
   7  Prefactor     19.197        19.473       -.73579E-06    .65205E-05
   8  norm          18.184        7.2006        .54229E-06   -.23857E-04
   9  Prefactor     10.844        14.050       -.36380E-05   -.68667E-06
  10  norm          2.0729        5.2787        .75520E-06   -.67441E-03
  11  Prefactor     .10000E-03    103.78       -.68929E-05** at limit **
  12  Prefactor     47.694        33.839        .41804E-05    .55153E-04
  13  Prefactor     .10000E-03    20.143       -.64507E-06** at limit **
  14  Prefactor     8.0835        7.3750        .78870E-06   -.13774E-03
  15  Prefactor     4.6654        6.4567        .31005E-05   -.55867E-04
  16  Prefactor     8.6858        11.259       -.12296E-06   -.73982E-04
  17  Normalizat    .81012        .18745       -.16229E-05    .43538E-04
  18  Prefactor     1.3706        .17029        .74124E-07   -.21810E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.29124
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 19.1974
  norm       = 18.1836
  Prefactor  = 10.844
  norm       = 2.0729
  Prefactor  = 0.000100005
  Prefactor  = 47.6944
  Prefactor  = 0.0001
  Prefactor  = 8.08348
  Prefactor  = 4.66538
  Prefactor  = 8.68579
  Normalizat = 0.810124
  Prefactor  = 1.37057
 **********
 **   18 **HESSE 
 **********

 FCN=   6795.514     FROM HESSE     STATUS=OK           242 CALLS     1961 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.4360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.2912        4.1016        .12060E-03   -1.5168    
   4  norm          .10000E-03    1.5320        .99318E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.1862        .11892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    35.999        .40818E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.197        19.495        .91437E-04   -1.4831    
   8  norm          18.184        7.2170        .93934E-04   -1.4855    
   9  Prefactor     10.844        14.042        .60879E-03   -1.5049    
  10  norm          2.0729        5.2018        .28604E-03   -1.5420    
  11  Prefactor     .10000E-03    108.54        .40718E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     47.694        34.128        .58065E-04   -1.4326    
  13  Prefactor     .10000E-03    20.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.0835        7.3632        .14092E-03   -1.5139    
  15  Prefactor     4.6654        6.3985        .18635E-03   -1.5276    
  16  Prefactor     8.6858        11.265        .13604E-03   -1.5118    
  17  Normalizat    .81012        .22098        .30311E-03   -.99694    
  18  Prefactor     1.3706        .20179        .22971E-03   -.81232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.00603e-10
Minuit parameter uncertainties:
  1  8.24333e-06
  2  2.3827e-05
  3  4.10174
  4  1.67796e-06
  5  1.30866e-06
  6  6.71712e-05
  7  19.5013
  8  7.21732
  9  14.0463
  10  5.20289
  11  0.00140942
  12  34.1417
  13  6.93554e-06
  14  7.36398
  15  6.39944
  16  11.2675
  17  0.221223
  18  0.201908
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.073e+00  5.203e+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.371e+00  2.019e-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:  8.101e-01  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/590228/likelihoodResults_407808001_408067201_4FGL_J1326.9+2210_daily_bin650.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) = 6795.10688268
delta logL = 0.407412004623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6795.06794026
delta logL = 0.446354423616

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3774       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4365       1.0000          .0000       5.0000    
     3 'Normalizat'    .81750       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3622       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=   6795.068     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      216 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3759        4.6408        .55044E-02    .26353E-03
   2  alpha         1.4370        .61766        .47276       -.54306E-04
   3  Normalizat    .81740        .17580        .68212E-01    .79254E-04
   4  Prefactor     1.3623        .16908        .52061E-01    .34900E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.37588
  alpha      = 1.43703
  Normalizat = 0.817403
  Prefactor  = 1.36228
 **********
 **   18 **HESSE 
 **********

 FCN=   6795.068     FROM HESSE     STATUS=OK            31 CALLS      247 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3759        5.0816        .19852E-03   -1.5340    
   2  alpha         1.4370        .79798        .21762E-01   -.43917    
   3  Normalizat    .81740        .20648        .30181E-03   -.99426    
   4  Prefactor     1.3623        .19889        .23016E-03   -.81473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.64754e-11
Minuit parameter uncertainties:
  1  5.08225
  2  0.815523
  3  0.206681
  4  0.199003
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590228': 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) = 6795.06793964
delta logL = 0.446355039851

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  3.376e+00  5.082e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  1.437e+00  8.155e-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.362e+00  1.990e-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:  8.174e-01  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.11
Ra Dec: 201.730 22.173
Photon Index (Free Index): 1.44 +/- 0.82
Photon Flux (Free Index): 7.38e-09 +/- 1.16e-08
Energy Flux (Free Index): 1.03e-05 +/- 1.77e-05

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/590228/cmap_HighResolution_407808001_408067201_4FGL_J1326.9+2210_daily_bin650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.25e-05', comment='SUCCESS', energy_flux2='1.03e-05', dlogl='4.46e-01', photon_flux2='7.38e-09', job_status='DONE', time_completed='2021-09-07 18:39:25.963351', photon_index_error2='0.82', photon_index2='1.44', ts='0.21', fit_tolerance='1e-08', GAL='1.37', photon_index_error='0.00', photon_flux_upper_limit='7.18e-08', energy_flux_error2='1.77e-05', EG='0.81', time_epoch_completed='1631065165.96', return_code='0', job_id='590228', GAL2='1.36', EG2='0.82', return_code2='0', photon_flux_error2='1.16e-08', ts2='1.11', photon_index='2.38' WHERE bin_id='650' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:39:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 590228: <4FGL_J1326.9+2210_daily_bin650> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin650 201.73 22.1732 407808001 408067201 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 :                                   568.38 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             240.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            831 sec.

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

