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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin881
RA = 201.73, Dec = 22.1732
tmin = 467683201, tmax = 467942401
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='591524', job_status='RUN', time_executed='2021-09-07 18:33:58.017201', time_epoch_executed='1631064838.02' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='881'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591524

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591524/ft1_4FGL_J1326.9+2210_daily_bin881.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591524/ft2_4FGL_J1326.9+2210_daily_bin881.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591524/ft1_4FGL_J1326.9+2210_daily_bin881.fits outfile=/scratch/kocevski/591524/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin881.fits ra=201.73 dec=22.1732 rad=12.0 tmin=467683201.0 tmax=467942401.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.50
user 3.23
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/591524/ft1_filtered_4FGL_J1326.9+2210_daily_bin881.fits" evtable="EVENTS" scfile=/scratch/kocevski/591524/ft2_4FGL_J1326.9+2210_daily_bin881.fits sctable="SC_DATA" outfile=/scratch/kocevski/591524/ltcube_467683201_467942401_4FGL_J1326.9+2210_daily_bin881.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/591524/ft2_4FGL_J1326.9+2210_daily_bin881.fits
.....................!
real 16.32
user 15.89
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591524/ft1_filtered_4FGL_J1326.9+2210_daily_bin881.fits evtable="EVENTS" scfile=/scratch/kocevski/591524/ft2_4FGL_J1326.9+2210_daily_bin881.fits sctable="SC_DATA" expcube=/scratch/kocevski/591524/ltcube_467683201_467942401_4FGL_J1326.9+2210_daily_bin881.fits outfile=/scratch/kocevski/591524/expmap_467683201_467942401_4FGL_J1326.9+2210_daily_bin881.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/591524/ltcube_467683201_467942401_4FGL_J1326.9+2210_daily_bin881.fits
.....................!
real 191.66
user 185.83
sys 5.03

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/591524/ft1_filtered_4FGL_J1326.9+2210_daily_bin881.fits scfile=/scratch/kocevski/591524/ft2_4FGL_J1326.9+2210_daily_bin881.fits outfile=/scratch/kocevski/591524/cmap_467683201_467942401_4FGL_J1326.9+2210_daily_bin881.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.58
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/591524/ft1_filtered_4FGL_J1326.9+2210_daily_bin881.fits scfile=/scratch/kocevski/591524/ft2_4FGL_J1326.9+2210_daily_bin881.fits outfile=/scratch/kocevski/591524/cmap_HighResolution_467683201_467942401_4FGL_J1326.9+2210_daily_bin881.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2535       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.7325       1.0000         .10000E-03   10000.    
     3 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.5653       1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    22.057       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.9916       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.7763       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10290E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    94.968       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10983E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.4074       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.4538       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3306       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .81626       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6284.231     FROM MIGRAD    STATUS=CONVERGED     71 CALLS     1440 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2534        1.0106       -.34410E-07   -.29824E-03
   2  Prefactor     7.7327        1.0077       -.15031E-06   -.22060E-03
   3  norm          .10000E-03    1.9585        .66180E-07** at limit **
   4  norm          2.5639        2.7655       -.13829E-07   -.37431E-03
   5  norm          .10000E-03    4.6638       -.11878E-05** at limit **
   6  norm          22.050        1.4032       -.69180E-06    .18836E-02
   7  Prefactor     .10000E-03    10.383       -.35046E-06** at limit **
   8  norm          3.9947        2.1654        .42705E-05    .20162E-02
   9  Prefactor     .10000E-03    14.242        .14539E-04** at limit **
  10  norm          9.7750        1.3518        .12758E-05    .15307E-02
  11  Prefactor     .10000E-03    16.723       -.28846E-04** at limit **
  12  Prefactor     94.976        1.9015        .69860E-06   -.68044E-02
  13  Prefactor     .10001E-03    68.837       -.13182E-04** at limit **
  14  Prefactor     7.4077        4.5699        .23351E-05    .70589E-04
  15  Prefactor     .10000E-03    23.105        .21383E-04** at limit **
  16  Prefactor     7.4490        1.0990        .56752E-06   -.63126E-03
  17  Normalizat    1.3308        .22372       -.38474E-05   -.10185E-02
  18  Prefactor     .81611        .20587        .14566E-05   -.64837E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.25343
  Prefactor  = 7.73266
  norm       = 0.0001
  norm       = 2.56386
  norm       = 0.000100001
  norm       = 22.0499
  Prefactor  = 0.000100002
  norm       = 3.99468
  Prefactor  = 0.000100002
  norm       = 9.77504
  Prefactor  = 0.000100004
  Prefactor  = 94.9757
  Prefactor  = 0.00010001
  Prefactor  = 7.40774
  Prefactor  = 0.000100002
  Prefactor  = 7.44903
  Normalizat = 1.3308
  Prefactor  = 0.816106
 **********
 **   18 **HESSE 
 **********

 FCN=   6284.231     FROM HESSE     STATUS=OK           282 CALLS     1722 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2534        7.1319        .40131E-02   -1.5208    
   2  Prefactor     7.7327        15.359        .36051E-02   -1.5152    
   3  norm          .10000E-03    1.9397        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.5639        2.7873        .63717E-02   -1.5388    
   5  norm          .10000E-03    4.6406        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          22.050        23.941        .21322E-02   -1.4768    
   7  Prefactor     .10000E-03    10.337        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.9947        7.7394        .50467E-02   -1.5308    
   9  Prefactor     .10000E-03    14.627        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.7750        9.8719        .32040E-02   -1.5083    
  11  Prefactor     .10000E-03    17.643        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     94.976        34.325        .10311E-02   -1.3756    
  13  Prefactor     .10001E-03    68.835        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.4077        4.6015        .36841E-02   -1.5164    
  15  Prefactor     .10000E-03    23.151        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.4490        13.952        .36725E-02   -1.5162    
  17  Normalizat    1.3308        .19607        .54773E-01   -.82652    
  18  Prefactor     .81611        .17584        .43928E-01   -.99137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.24898e-08
Minuit parameter uncertainties:
  1  7.13285
  2  15.3673
  3  2.42411e-05
  4  2.78749
  5  0.000154196
  6  23.951
  7  0.000281458
  8  7.74137
  9  0.000320591
  10  9.87357
  11  0.000497996
  12  34.3327
  13  0.00169755
  14  4.60176
  15  0.000383713
  16  13.9583
  17  0.196184
  18  0.175957
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  9.775e+00  9.874e+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:  8.161e-01  1.760e-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.331e+00  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.00
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 3.97e-08 +/- 4.01e-08
Energy Flux (Fixed Index): 1.24e-05 +/- 1.26e-05

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

Saving results to:
/scratch/kocevski/591524/likelihoodResults_467683201_467942401_4FGL_J1326.9+2210_daily_bin881.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) = 6284.20481351
delta logL = 0.0258716460257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6284.20393727
delta logL = 0.0267478865444

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.7656       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5944       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3197       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82203       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=   6284.204     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      229 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.7596        292.69        .32058E-02    .78259E-04
   2  alpha         2.5937        2.9000        .41189        .21828E-04
   3  Normalizat    1.3194        .11192        .54966E-01    .72407E-05
   4  Prefactor     .82241        .83920E-01    .44003E-01    .16542E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.75964
  alpha      = 2.59371
  Normalizat = 1.31941
  Prefactor  = 0.822408
 **********
 **   18 **HESSE 
 **********

 FCN=   6284.204     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.7596        8.9349        .12823E-03   -1.5083    
   2  alpha         2.5937        .89251        .21363E-01    .37495E-01
   3  Normalizat    1.3194        .22995        .24305E-03   -.82989    
   4  Prefactor     .82241        .20786        .27603E-03   -.98908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66783e-12
Minuit parameter uncertainties:
  1  8.93616
  2  0.912675
  3  0.230125
  4  0.208055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591524': 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) = 6284.20393472
delta logL = 0.0267504358644

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  9.760e+00  8.936e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.594e+00  9.127e-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:  8.224e-01  2.081e-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.319e+00  2.301e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.06
Ra Dec: 201.730 22.173
Photon Index (Free Index): 2.59 +/- 0.91
Photon Flux (Free Index): 4.94e-08 +/- 5.79e-08
Energy Flux (Free Index): 1.30e-05 +/- 1.17e-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/591524/cmap_HighResolution_467683201_467942401_4FGL_J1326.9+2210_daily_bin881.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.89e-05', comment='SUCCESS', photon_flux='3.97e-08', energy_flux2='1.30e-05', photon_flux_error='4.01e-08', dlogl='2.68e-02', energy_flux='1.24e-05', photon_flux2='4.94e-08', job_status='DONE', time_completed='2021-09-07 18:42:54.785641', photon_index_error2='0.91', photon_index2='2.59', ts='2.00', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='1.17e-05', EG='1.33', time_epoch_completed='1631065374.79', return_code='0', job_id='591524', GAL2='0.82', EG2='1.32', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='5.79e-08', ts2='2.06', photon_index='2.38' WHERE bin_id='881' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:42:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 591524: <4FGL_J1326.9+2210_daily_bin881> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin881 201.73 22.1732 467683201 467942401 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 :                                   535.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            743 sec.

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

