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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin826
RA = 201.73, Dec = 22.1732
tmin = 453427201, tmax = 453686401
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='591437', job_status='RUN', time_executed='2021-09-07 18:34:16.543878', time_epoch_executed='1631064856.54' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='826'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591437

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591437/ft1_4FGL_J1326.9+2210_daily_bin826.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591437/ft2_4FGL_J1326.9+2210_daily_bin826.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591437/ft1_4FGL_J1326.9+2210_daily_bin826.fits outfile=/scratch/kocevski/591437/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin826.fits ra=201.73 dec=22.1732 rad=12.0 tmin=453427201.0 tmax=453686401.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.63
user 3.38
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/591437/ft2_4FGL_J1326.9+2210_daily_bin826.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/591437/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin826.fits evtable="EVENTS" outfile="/scratch/kocevski/591437/ft1_filtered_4FGL_J1326.9+2210_daily_bin826.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.52
user 0.33
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591437/ft1_filtered_4FGL_J1326.9+2210_daily_bin826.fits evtable="EVENTS" scfile=/scratch/kocevski/591437/ft2_4FGL_J1326.9+2210_daily_bin826.fits sctable="SC_DATA" expcube=/scratch/kocevski/591437/ltcube_453427201_453686401_4FGL_J1326.9+2210_daily_bin826.fits outfile=/scratch/kocevski/591437/expmap_453427201_453686401_4FGL_J1326.9+2210_daily_bin826.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/591437/ltcube_453427201_453686401_4FGL_J1326.9+2210_daily_bin826.fits
.....................!
real 192.98
user 187.65
sys 4.77

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/591437/ft1_filtered_4FGL_J1326.9+2210_daily_bin826.fits scfile=/scratch/kocevski/591437/ft2_4FGL_J1326.9+2210_daily_bin826.fits outfile=/scratch/kocevski/591437/cmap_453427201_453686401_4FGL_J1326.9+2210_daily_bin826.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/591437/ft1_filtered_4FGL_J1326.9+2210_daily_bin826.fits scfile=/scratch/kocevski/591437/ft2_4FGL_J1326.9+2210_daily_bin826.fits outfile=/scratch/kocevski/591437/cmap_HighResolution_453427201_453686401_4FGL_J1326.9+2210_daily_bin826.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.707       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.368       1.0000         .10000E-03   10000.    
     3 'norm      '    4.8116       1.0000         .10000E-03   10000.    
     4 'norm      '    3.2544       1.0000         .10000E-03   10000.    
     5 'norm      '    .23064E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.2101       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.6593       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.769       1.0000         .10000E-03   10000.    
    10 'norm      '    17.210       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    49.379       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.809       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .49190       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.227       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0150       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1514       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6445.342     FROM MIGRAD    STATUS=CONVERGED    350 CALLS     1749 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.707        8.0346         .0000       -.13168E-03
   2  Prefactor     17.367        12.045         .0000        .29715E-03
   3  norm          4.8110        4.9595         .0000       -.11888E-02
   4  norm          3.2589        3.7664         .0000        .24357E-03
   5  norm          .10000E-03    6.2528         .0000    ** at limit **
   6  norm          5.2075        14.517         .0000        .10715E-02
   7  Prefactor     .10000E-03    18.543         .0000    ** at limit **
   8  norm          3.6606        9.5707         .0000        .67623E-02
   9  Prefactor     30.769        33.149         .0000        .16186E-04
  10  norm          17.207        13.654         .0000        .22074E-02
  11  Prefactor     .10000E-03    5.9765         .0000    ** at limit **
  12  Prefactor     49.378        25.402         .0000        .10847E-02
  13  Prefactor     12.810        23.093         .0000       -.17723E-03
  14  Prefactor     .48940        2.4510         .0000        .70870E-03
  15  Prefactor     .10000E-03    5.3111         .0000    ** at limit **
  16  Prefactor     12.226        15.918         .0000        .43908E-03
  17  Normalizat    1.0152        .20348         .0000        .32620E-04
  18  Prefactor     1.1513        .18514         .0000        .20875E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7071
  Prefactor  = 17.3673
  norm       = 4.81098
  norm       = 3.2589
  norm       = 0.0001
  norm       = 5.20748
  Prefactor  = 0.000100001
  norm       = 3.66062
  Prefactor  = 30.769
  norm       = 17.2071
  Prefactor  = 0.0001
  Prefactor  = 49.3782
  Prefactor  = 12.8095
  Prefactor  = 0.489402
  Prefactor  = 0.0001
  Prefactor  = 12.2264
  Normalizat = 1.01516
  Prefactor  = 1.15126
 **********
 **   18 **HESSE 
 **********

 FCN=   6445.342     FROM HESSE     STATUS=OK           248 CALLS     1997 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.707        8.0339        .12244E-03   -1.5053    
   2  Prefactor     17.367        12.048        .96106E-04   -1.4874    
   3  norm          4.8110        4.9568        .17120E-03   -1.5269    
   4  norm          3.2589        3.2427        .13918E-03   -1.5347    
   5  norm          .10000E-03    15.905        .33542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.2075        14.459        .17611E-03   -1.5252    
   7  Prefactor     .10000E-03    18.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.6606        9.4136        .10558E-02   -1.5325    
   9  Prefactor     30.769        33.191        .72232E-04   -1.4598    
  10  norm          17.207        13.495        .96545E-04   -1.4878    
  11  Prefactor     .10000E-03    5.9869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     49.378        25.434        .57067E-04   -1.4301    
  13  Prefactor     12.810        23.097        .11192E-03   -1.4992    
  14  Prefactor     .48940        8.7242        .23678E-02   -1.5568    
  15  Prefactor     .10000E-03    5.3254        .18069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.226        15.938        .11456E-03   -1.5008    
  17  Normalizat    1.0152        .24155        .27708E-03   -.92524    
  18  Prefactor     1.1513        .22048        .25067E-03   -.87845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59293e-08
Minuit parameter uncertainties:
  1  8.03476
  2  12.0501
  3  4.95719
  4  3.2429
  5  6.45621e-05
  6  14.469
  7  0.000206746
  8  9.41739
  9  33.2107
  10  13.4973
  11  1.17125e-05
  12  25.4397
  13  23.1126
  14  4.13289
  15  3.91483e-06
  16  15.9434
  17  0.24181
  18  0.220658
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.721e+01  1.350e+01  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.151e+00  2.207e-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.015e+00  2.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.23
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 6.99e-08 +/- 5.48e-08
Energy Flux (Fixed Index): 2.19e-05 +/- 1.72e-05

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

Saving results to:
/scratch/kocevski/591437/likelihoodResults_453427201_453686401_4FGL_J1326.9+2210_daily_bin826.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) = 6445.05320996
delta logL = 0.288695889142

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6445.04870606
delta logL = 0.293199786524

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.464       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8594       1.0000          .0000       5.0000    
     3 'Normalizat'    .97810       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1752       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=   6445.049     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      307 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.468        11.547        .10531E-03    .50952E-04
   2  alpha         2.8593        .66753        .13572E-01    .16729E-03
   3  Normalizat    .97797        .23471        .28157E-03    .20794E-04
   4  Prefactor     1.1753        .22064        .24841E-03   -.76931E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.4678
  alpha      = 2.85928
  Normalizat = 0.977969
  Prefactor  = 1.17532
 **********
 **   18 **HESSE 
 **********

 FCN=   6445.049     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.468        11.104        .42126E-05   -1.4947    
   2  alpha         2.8593        .64192        .27144E-02    .14421    
   3  Normalizat    .97797        .23493        .11263E-04   -.93772    
   4  Prefactor     1.1753        .22076        .99365E-05   -.87094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.90103e-11
Minuit parameter uncertainties:
  1  11.1058
  2  0.649354
  3  0.235183
  4  0.220935
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591437': 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) = 6445.04870576
delta logL = 0.293200084584

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.447e+01  1.111e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.859e+00  6.494e-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.175e+00  2.209e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  9.780e-01  2.352e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.89
Ra Dec: 201.730 22.173
Photon Index (Free Index): 2.86 +/- 0.65
Photon Flux (Free Index): 9.91e-08 +/- 6.58e-08
Energy Flux (Free Index): 2.22e-05 +/- 1.34e-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/591437/cmap_HighResolution_453427201_453686401_4FGL_J1326.9+2210_daily_bin826.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.10e-05', comment='SUCCESS', photon_flux='6.99e-08', energy_flux2='2.22e-05', photon_flux_error='5.48e-08', dlogl='2.93e-01', energy_flux='2.19e-05', photon_flux2='9.91e-08', job_status='DONE', time_completed='2021-09-07 18:43:40.064568', photon_index_error2='0.65', photon_index2='2.86', ts='3.23', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='1.63e-07', energy_flux_error2='1.34e-05', EG='1.02', time_epoch_completed='1631065420.06', return_code='0', job_id='591437', GAL2='1.18', EG2='0.98', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='6.58e-08', ts2='3.89', photon_index='2.38' WHERE bin_id='826' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:43:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 591437: <4FGL_J1326.9+2210_daily_bin826> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin826 201.73 22.1732 453427201 453686401 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 :                                   561.61 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            793 sec.

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

