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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin898
RA = 201.73, Dec = 22.1732
tmin = 472089601, tmax = 472348801
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='591549', job_status='RUN', time_executed='2021-09-07 18:34:14.596960', time_epoch_executed='1631064854.6' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='898'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591549

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591549/ft1_4FGL_J1326.9+2210_daily_bin898.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591549/ft2_4FGL_J1326.9+2210_daily_bin898.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591549/ft1_4FGL_J1326.9+2210_daily_bin898.fits outfile=/scratch/kocevski/591549/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin898.fits ra=201.73 dec=22.1732 rad=12.0 tmin=472089601.0 tmax=472348801.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.55
user 3.25
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/591549/ft1_filtered_4FGL_J1326.9+2210_daily_bin898.fits" evtable="EVENTS" scfile=/scratch/kocevski/591549/ft2_4FGL_J1326.9+2210_daily_bin898.fits sctable="SC_DATA" outfile=/scratch/kocevski/591549/ltcube_472089601_472348801_4FGL_J1326.9+2210_daily_bin898.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/591549/ft2_4FGL_J1326.9+2210_daily_bin898.fits
.....................!
real 17.69
user 17.17
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591549/ft1_filtered_4FGL_J1326.9+2210_daily_bin898.fits evtable="EVENTS" scfile=/scratch/kocevski/591549/ft2_4FGL_J1326.9+2210_daily_bin898.fits sctable="SC_DATA" expcube=/scratch/kocevski/591549/ltcube_472089601_472348801_4FGL_J1326.9+2210_daily_bin898.fits outfile=/scratch/kocevski/591549/expmap_472089601_472348801_4FGL_J1326.9+2210_daily_bin898.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/591549/ltcube_472089601_472348801_4FGL_J1326.9+2210_daily_bin898.fits
.....................!
real 193.89
user 187.08
sys 5.85

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/591549/ft1_filtered_4FGL_J1326.9+2210_daily_bin898.fits scfile=/scratch/kocevski/591549/ft2_4FGL_J1326.9+2210_daily_bin898.fits outfile=/scratch/kocevski/591549/cmap_472089601_472348801_4FGL_J1326.9+2210_daily_bin898.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/591549/ft1_filtered_4FGL_J1326.9+2210_daily_bin898.fits scfile=/scratch/kocevski/591549/ft2_4FGL_J1326.9+2210_daily_bin898.fits outfile=/scratch/kocevski/591549/cmap_HighResolution_472089601_472348801_4FGL_J1326.9+2210_daily_bin898.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.58
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7436       1.0000         .10000E-03   10000.    
     3 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .34814E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    14.601       1.0000         .10000E-03   10000.    
     6 'norm      '    27.694       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0007       1.0000         .10000E-03   10000.    
     8 'norm      '    3.5001       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.6890       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2545       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.174       1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.478       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8230       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .97387E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .86515       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1211       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=   6674.342     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     1658 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.4924        .30218E-07** at limit **
   2  Prefactor     2.7377        14.596        .98912E-06   -.74682E-05
   3  norm          .10000E-03    1.7654        .10678E-07** at limit **
   4  norm          .10138E-03    2.7013       -.53047E-07** at limit **
   5  norm          14.649        7.9411       -.24310E-06   -.10649E-03
   6  norm          27.695        25.681       -.64122E-06   -.66306E-05
   7  Prefactor     2.0120        26.517        .20440E-05    .85795E-05
   8  norm          3.4982        5.1187        .21067E-05   -.17999E-03
   9  Prefactor     .10000E-03    14.485       -.75804E-08** at limit **
  10  norm          1.6895        4.4353       -.21860E-06   -.19434E-04
  11  Prefactor     3.2171        27.629       -.45678E-05   -.74113E-04
  12  Prefactor     14.191        24.061        .37276E-05   -.43477E-05
  13  Prefactor     44.478        37.725        .13875E-06   -.94654E-05
  14  Prefactor     2.8237        4.3697        .23455E-06    .17017E-04
  15  Prefactor     .10000E-03    5.8148        .58243E-06** at limit **
  16  Prefactor     .10000E-03    6.3751        .44868E-07** at limit **
  17  Normalizat    .86536        .17277        .99854E-07   -.30592E-04
  18  Prefactor     1.1210        .16047       -.72275E-06   -.78917E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.73769
  norm       = 0.0001
  norm       = 0.000101379
  norm       = 14.6493
  norm       = 27.6946
  Prefactor  = 2.01203
  norm       = 3.49821
  Prefactor  = 0.0001
  norm       = 1.68952
  Prefactor  = 3.2171
  Prefactor  = 14.1908
  Prefactor  = 44.4778
  Prefactor  = 2.82366
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 0.865357
  Prefactor  = 1.12099
 **********
 **   18 **HESSE 
 **********

 FCN=   6674.342     FROM HESSE     STATUS=OK           260 CALLS     1918 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.5339        .12594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7377        14.537        .24579E-03   -1.5377    
   3  norm          .10000E-03    1.7938        .10594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10138E-03    8.4998        .37008E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          14.649        9.1542        .10482E-03   -1.4942    
   6  norm          27.695        25.664        .76128E-04   -1.4655    
   7  Prefactor     2.0120        26.052        .29280E-03   -1.5424    
   8  norm          3.4982        5.1468        .10432E-02   -1.5334    
   9  Prefactor     .10000E-03    14.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6895        4.3875        .26474E-03   -1.5448    
  11  Prefactor     3.2171        28.169        .22450E-03   -1.5349    
  12  Prefactor     14.191        24.080        .10639E-03   -1.4954    
  13  Prefactor     44.478        37.721        .60115E-04   -1.4373    
  14  Prefactor     2.8237        4.3579        .19975E-03   -1.5372    
  15  Prefactor     .10000E-03    28.332        .37637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.4351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .86536        .20001        .25506E-03   -.97688    
  18  Prefactor     1.1210        .18584        .22341E-03   -.88799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56775e-10
Minuit parameter uncertainties:
  1  1.84807e-06
  2  12.6217
  3  6.9948e-07
  4  0.00684735
  5  9.15507
  6  25.6738
  7  14.4872
  8  5.14745
  9  5.33225e-06
  10  4.38829
  11  19.0509
  12  24.096
  13  37.7409
  14  4.35841
  15  0.000454125
  16  6.90672e-06
  17  0.200182
  18  0.185946
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.690e+00  4.388e+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.121e+00  1.859e-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.654e-01  2.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/591549/likelihoodResults_472089601_472348801_4FGL_J1326.9+2210_daily_bin898.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) = 6674.14461888
delta logL = 0.197263927245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6674.11489354
delta logL = 0.22698926368

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6803       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6453       1.0000          .0000       5.0000    
     3 'Normalizat'    .86988       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1157       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=   6674.115     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      200 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6709        4.8571        .62224E-02    .27720E-03
   2  alpha         1.6455        .85786        .44701       -.25045E-04
   3  Normalizat    .86969        .15981        .44516E-01    .21420E-04
   4  Prefactor     1.1160        .15815        .37017E-01    .86085E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.67089
  alpha      = 1.64552
  Normalizat = 0.869686
  Prefactor  = 1.11596
 **********
 **   18 **HESSE 
 **********

 FCN=   6674.115     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6709        4.4541        .20908E-03   -1.5381    
   2  alpha         1.6455        .92023        .26350E-01   -.34882    
   3  Normalizat    .86969        .18384        .25444E-03   -.97534    
   4  Prefactor     1.1160        .18196        .22377E-03   -.88958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.81235e-12
Minuit parameter uncertainties:
  1  4.45469
  2  0.945544
  3  0.183975
  4  0.182064
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591549': 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) = 6674.11489033
delta logL = 0.226992476797

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.671e+00  4.455e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  1.646e+00  9.455e-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.116e+00  1.821e-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.697e-01  1.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
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/591549/cmap_HighResolution_472089601_472348801_4FGL_J1326.9+2210_daily_bin898.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.93e-05', job_status='DONE', photon_flux_upper_limit='6.16e-08', time_completed='2021-09-07 18:43:47.433849', job_id='591549', GAL2='1.12', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1631065427.43', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.27e-01', ts2='0.66', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='898' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:43:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 591549: <4FGL_J1326.9+2210_daily_bin898> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin898 201.73 22.1732 472089601 472348801 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 :                                   570.44 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   684 sec.
    Turnaround time :                            794 sec.

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

