/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 172 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 = 7415
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1326.9+2210_daily_bin310
RA = 201.73, Dec = 22.1732
tmin = 319680001, tmax = 319939201
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='587408', job_status='RUN', time_executed='2021-09-07 18:18:56.935920', time_epoch_executed='1631063936.94' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='310'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/587408

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/587408/ft1_4FGL_J1326.9+2210_daily_bin310.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/587408/ft2_4FGL_J1326.9+2210_daily_bin310.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/587408/ft1_4FGL_J1326.9+2210_daily_bin310.fits outfile=/scratch/kocevski/587408/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin310.fits ra=201.73 dec=22.1732 rad=12.0 tmin=319680001.0 tmax=319939201.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 2.87
user 2.67
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/587408/ft1_filtered_4FGL_J1326.9+2210_daily_bin310.fits" evtable="EVENTS" scfile=/scratch/kocevski/587408/ft2_4FGL_J1326.9+2210_daily_bin310.fits sctable="SC_DATA" outfile=/scratch/kocevski/587408/ltcube_319680001_319939201_4FGL_J1326.9+2210_daily_bin310.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/587408/ft2_4FGL_J1326.9+2210_daily_bin310.fits
.....................!
real 11.06
user 10.66
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/587408/ft1_filtered_4FGL_J1326.9+2210_daily_bin310.fits evtable="EVENTS" scfile=/scratch/kocevski/587408/ft2_4FGL_J1326.9+2210_daily_bin310.fits sctable="SC_DATA" expcube=/scratch/kocevski/587408/ltcube_319680001_319939201_4FGL_J1326.9+2210_daily_bin310.fits outfile=/scratch/kocevski/587408/expmap_319680001_319939201_4FGL_J1326.9+2210_daily_bin310.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/587408/ltcube_319680001_319939201_4FGL_J1326.9+2210_daily_bin310.fits
.....................!
real 156.76
user 152.75
sys 3.56

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/587408/ft1_filtered_4FGL_J1326.9+2210_daily_bin310.fits scfile=/scratch/kocevski/587408/ft2_4FGL_J1326.9+2210_daily_bin310.fits outfile=/scratch/kocevski/587408/cmap_319680001_319939201_4FGL_J1326.9+2210_daily_bin310.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.49
user 0.33
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    28.707       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .89995       1.0000         .10000E-03   10000.    
     5 'norm      '    .10135E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    14.685       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.0050       1.0000         .10000E-03   10000.    
     8 'norm      '    .10175E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.740       1.0000         .10000E-03   10000.    
    10 'norm      '    34.853       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.853       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.2045       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6175       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.4187       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3091       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .74078       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=   5738.584     FROM MIGRAD    STATUS=CONVERGED    340 CALLS     1729 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9905       -.11667E-07** at limit **
   2  Prefactor     28.707        18.724       -.36056E-06   -.27443E-06
   3  norm          .10000E-03    .73775        .51439E-07** at limit **
   4  norm          .90512        3.8418       -.62908E-06   -.10700E-02
   5  norm          .10000E-03    9.3532        .56502E-07** at limit **
   6  norm          14.686        14.390       -.11734E-06   -.78149E-06
   7  Prefactor     7.9908        15.401       -.43778E-05   -.21187E-04
   8  norm          .10000E-03    3.0144       -.84602E-07** at limit **
   9  Prefactor     17.734        26.473       -.86192E-05   -.28165E-05
  10  norm          34.854        11.320       -.55015E-06    .15359E-04
  11  Prefactor     .10000E-03    7.9780       -.10890E-06** at limit **
  12  Prefactor     14.855        22.411        .35781E-05   -.10555E-05
  13  Prefactor     .10000E-03    35.659        .86926E-06** at limit **
  14  Prefactor     4.2053        5.2471       -.73446E-06   -.44661E-03
  15  Prefactor     3.6185        25.130        .30077E-06   -.56405E-04
  16  Prefactor     8.4188        14.580       -.12545E-05   -.47838E-04
  17  Normalizat    1.3090        .19783        .10809E-05   -.80022E-05
  18  Prefactor     .74080        .17452        .23118E-06    .38870E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 28.7072
  norm       = 0.0001
  norm       = 0.905118
  norm       = 0.0001
  norm       = 14.6855
  Prefactor  = 7.99078
  norm       = 0.0001
  Prefactor  = 17.734
  norm       = 34.8536
  Prefactor  = 0.0001
  Prefactor  = 14.8554
  Prefactor  = 0.0001
  Prefactor  = 4.20527
  Prefactor  = 3.61851
  Prefactor  = 8.41881
  Normalizat = 1.30904
  Prefactor  = 0.740796
 **********
 **   18 **HESSE 
 **********

 FCN=   5738.584     FROM HESSE     STATUS=OK           250 CALLS     1979 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1063        .16522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     28.707        18.828        .74775E-04   -1.4636    
   3  norm          .10000E-03    .73833        .63539E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .90512        4.0352        .27604E-03   -1.5518    
   5  norm          .10000E-03    9.4041        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          14.686        14.389        .10452E-03   -1.4941    
   7  Prefactor     7.9908        14.672        .14171E-03   -1.5143    
   8  norm          .10000E-03    3.0422        .12833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.734        25.993        .95092E-04   -1.4865    
  10  norm          34.854        11.328        .67880E-04   -1.4527    
  11  Prefactor     .10000E-03    7.9948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.855        22.341        .10393E-03   -1.4937    
  13  Prefactor     .10000E-03    35.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.2053        5.3498        .18384E-03   -1.5298    
  15  Prefactor     3.6185        25.008        .21243E-03   -1.5327    
  16  Prefactor     8.4188        14.632        .13816E-03   -1.5128    
  17  Normalizat    1.3090        .24069        .23189E-03   -.83297    
  18  Prefactor     .74080        .20880        .27804E-03   -1.0195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10955e-09
Minuit parameter uncertainties:
  1  8.09797e-06
  2  18.8321
  3  3.50609e-07
  4  3.82242
  5  0.000110238
  6  14.3924
  7  14.6785
  8  4.08151e-06
  9  26.0098
  10  11.329
  11  1.74074e-05
  12  22.3534
  13  7.06268e-07
  14  5.35039
  15  19.0366
  16  14.6387
  17  0.240895
  18  0.209025
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  3.485e+01  1.133e+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:  7.408e-01  2.090e-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.309e+00  2.409e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.49
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 1.42e-07 +/- 4.60e-08
Energy Flux (Fixed Index): 4.43e-05 +/- 1.44e-05

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) = 5737.35227682
delta logL = 1.23153786528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5737.26980707
delta logL = 1.31400761257

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    40.100       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8856       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3527       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70953       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=   5737.270     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      221 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          40.100        13.824        .15825E-02    .40508E-02
   2  alpha         1.8857        .29355        .19925       -.72003E-05
   3  Normalizat    1.3526        .18575        .51737E-01   -.72365E-06
   4  Prefactor     .70954        .17294        .64041E-01    .21584E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 40.0997
  alpha      = 1.88566
  Normalizat = 1.35264
  Prefactor  = 0.709539
 **********
 **   18 **HESSE 
 **********

 FCN=   5737.270     FROM HESSE     STATUS=OK            31 CALLS      252 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          40.100        13.224        .63299E-04   -1.4441    
   2  alpha         1.8857        .29079        .85116E-02   -.24828    
   3  Normalizat    1.3526        .22050        .22874E-03   -.82008    
   4  Prefactor     .70954        .20465        .28331E-03   -1.0315    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.17918e-09
Minuit parameter uncertainties:
  1  13.225
  2  0.291497
  3  0.220654
  4  0.204863
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/587408': 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) = 5737.26980706
delta logL = 1.31400762453

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  4.010e+01  1.323e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  1.886e+00  2.915e-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:  7.095e-01  2.049e-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.353e+00  2.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.14
Ra Dec: 201.730 22.173
Photon Index (Free Index): 1.89 +/- 0.29
Photon Flux (Free Index): 1.07e-07 +/- 4.18e-08
Energy Flux (Free Index): 6.20e-05 +/- 2.59e-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/587408/cmap_HighResolution_319680001_319939201_4FGL_J1326.9+2210_daily_bin310.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.42e-07', energy_flux2='6.20e-05', photon_flux_error='4.60e-08', dlogl='1.31e+00', energy_flux='4.43e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-09-07 18:25:45.212608', photon_index_error2='0.29', photon_index2='1.89', ts='27.49', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='2.59e-05', EG='1.31', time_epoch_completed='1631064345.21', return_code='0', job_id='587408', GAL2='0.71', EG2='1.35', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='4.18e-08', ts2='30.14', photon_index='2.38' WHERE bin_id='310' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:25:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 587408: <4FGL_J1326.9+2210_daily_bin310> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin310> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep  7 18:15:29 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:15:57 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:15:57 2021
Terminated at Tue Sep  7 18:25:45 2021
Results reported at Tue Sep  7 18:25:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin310 201.73 22.1732 319680001 319939201 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 :                                   406.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             222.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   590 sec.
    Turnaround time :                            616 sec.

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

