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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin34
RA = 201.73, Dec = 22.1732
tmin = 248140801, tmax = 248400001
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='584319', job_status='RUN', time_executed='2021-09-07 18:12:16.913116', time_epoch_executed='1631063536.91' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='34'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584319

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584319/ft1_4FGL_J1326.9+2210_daily_bin34.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584319/ft2_4FGL_J1326.9+2210_daily_bin34.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584319/ft1_4FGL_J1326.9+2210_daily_bin34.fits outfile=/scratch/kocevski/584319/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin34.fits ra=201.73 dec=22.1732 rad=12.0 tmin=248140801.0 tmax=248400001.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 1.45
user 1.22
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584319/ft1_filtered_4FGL_J1326.9+2210_daily_bin34.fits evtable="EVENTS" scfile=/scratch/kocevski/584319/ft2_4FGL_J1326.9+2210_daily_bin34.fits sctable="SC_DATA" expcube=/scratch/kocevski/584319/ltcube_248140801_248400001_4FGL_J1326.9+2210_daily_bin34.fits outfile=/scratch/kocevski/584319/expmap_248140801_248400001_4FGL_J1326.9+2210_daily_bin34.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/584319/ltcube_248140801_248400001_4FGL_J1326.9+2210_daily_bin34.fits
.....................!
real 192.15
user 185.95
sys 5.41

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/584319/ft1_filtered_4FGL_J1326.9+2210_daily_bin34.fits scfile=/scratch/kocevski/584319/ft2_4FGL_J1326.9+2210_daily_bin34.fits outfile=/scratch/kocevski/584319/cmap_248140801_248400001_4FGL_J1326.9+2210_daily_bin34.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.54
user 0.38
sys 0.16

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

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2854       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .63246       1.0000         .10000E-03   10000.    
     3 'norm      '    4.6324       1.0000         .10000E-03   10000.    
     4 'norm      '    4.9636       1.0000         .10000E-03   10000.    
     5 'norm      '    3.9729       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.2464       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.0458       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.062       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    93.596       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6967       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.8110       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .78411       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.4055       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=   6969.925     FROM MIGRAD    STATUS=CONVERGED    356 CALLS     1736 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2851        1.6597       -.25591E-07   -.69737E-03
   2  Prefactor     .63303        8.2352       -.19904E-07    .45501E-04
   3  norm          4.6324        3.5623        .12882E-05    .12097E-04
   4  norm          4.9630        6.0715        .50622E-06   -.19404E-04
   5  norm          3.9728        8.5514        .41848E-06   -.29073E-05
   6  norm          .10000E-03    8.1333       -.64248E-06** at limit **
   7  Prefactor     .10000E-03    4.3877       -.91599E-07** at limit **
   8  norm          1.2476        3.7990        .18073E-06   -.55487E-04
   9  Prefactor     .10000E-03    38.161       -.45954E-06** at limit **
  10  norm          2.0451        4.6051        .83245E-07   -.39461E-04
  11  Prefactor     12.060        13.434       -.64217E-07   -.19099E-04
  12  Prefactor     .10000E-03    5.7819        .12313E-06** at limit **
  13  Prefactor     93.592        54.571       -.37661E-05   -.16767E-05
  14  Prefactor     2.6964        3.4080        .16125E-05    .71560E-05
  15  Prefactor     3.8128        10.716       -.83856E-06   -.22667E-05
  16  Prefactor     .10000E-03    10.316        .41765E-06** at limit **
  17  Normalizat    .78423        .17291       -.13802E-05    .26832E-04
  18  Prefactor     1.4053        .17049        .59881E-06   -.93292E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.28507
  Prefactor  = 0.633026
  norm       = 4.63243
  norm       = 4.96298
  norm       = 3.97278
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.2476
  Prefactor  = 0.0001
  norm       = 2.04509
  Prefactor  = 12.06
  Prefactor  = 0.0001
  Prefactor  = 93.5916
  Prefactor  = 2.69644
  Prefactor  = 3.81278
  Prefactor  = 0.0001
  Normalizat = 0.784228
  Prefactor  = 1.40534
 **********
 **   18 **HESSE 
 **********

 FCN=   6969.925     FROM HESSE     STATUS=OK           250 CALLS     1986 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2851        6.8957        .13578E-02   -1.5406    
   2  Prefactor     .63303        39.996        .45168E-02   -1.5549    
   3  norm          4.6324        3.5763        .13307E-03   -1.5277    
   4  norm          4.9630        6.1385        .15585E-03   -1.5262    
   5  norm          3.9728        8.6305        .20236E-03   -1.5309    
   6  norm          .10000E-03    8.1494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.3954        .17078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2476        3.7163        .26441E-03   -1.5485    
   9  Prefactor     .10000E-03    38.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.0451        4.5249        .25056E-03   -1.5422    
  11  Prefactor     12.060        13.456        .11534E-03   -1.5013    
  12  Prefactor     .10000E-03    5.7847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     93.592        54.549        .41541E-04   -1.3770    
  14  Prefactor     2.6964        3.4075        .16661E-03   -1.5380    
  15  Prefactor     3.8128        10.721        .20676E-03   -1.5317    
  16  Prefactor     .10000E-03    10.610        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .78423        .20664        .28548E-03   -1.0066    
  18  Prefactor     1.4053        .20387        .22409E-03   -.80226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18545e-09
Minuit parameter uncertainties:
  1  6.89805
  2  10.0697
  3  3.57651
  4  6.13927
  5  8.63324
  6  8.17501e-06
  7  3.44847e-06
  8  3.71702
  9  4.51347e-05
  10  4.52563
  11  13.4595
  12  1.4092e-06
  13  54.5778
  14  3.40779
  15  10.726
  16  9.77055e-06
  17  0.206847
  18  0.20399
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.045e+00  4.526e+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.405e+00  2.040e-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:  7.842e-01  2.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/584319/likelihoodResults_248140801_248400001_4FGL_J1326.9+2210_daily_bin34.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) = 6969.92408357
delta logL = 0.000438137691162

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6969.92406958
delta logL = 0.000452123888863

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0271       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4266       1.0000          .0000       5.0000    
     3 'Normalizat'    .78387       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4055       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=   6969.924     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      268 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0193        4.6086        .12419E-02   -.47387E-03
   2  alpha         2.4234        1.3205        .38546E-01   -.29318E-04
   3  Normalizat    .78395        .19606        .28553E-03   -.48655E-04
   4  Prefactor     1.4055        .20009        .22408E-03   -.42805E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.01925
  alpha      = 2.42336
  Normalizat = 0.783954
  Prefactor  = 1.4055
 **********
 **   18 **HESSE 
 **********

 FCN=   6969.924     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0193        4.4557        .49676E-04   -1.5424    
   2  alpha         2.4234        1.2822        .15418E-02   -.30662E-01
   3  Normalizat    .78395        .19624        .11421E-04   -1.0067    
   4  Prefactor     1.4055        .20025        .44817E-04   -.80222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.92281e-10
Minuit parameter uncertainties:
  1  4.4564
  2  1.34637
  3  0.196412
  4  0.20036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584319': 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) = 6969.92406383
delta logL = 0.000457873153209

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.019e+00  4.456e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.423e+00  1.346e+00  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.406e+00  2.004e-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:  7.840e-01  1.964e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.29
Ra Dec: 201.730 22.173

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/584319/cmap_HighResolution_248140801_248400001_4FGL_J1326.9+2210_daily_bin34.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-05', job_status='DONE', photon_flux_upper_limit='6.27e-08', time_completed='2021-09-07 18:21:54.317782', job_id='584319', GAL2='1.41', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1631064114.32', return_code2='0', ts='0.29', comment='SUCCESS', return_code='0', GAL='1.41', dlogl='4.58e-04', ts2='0.29', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='34' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:21:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 584319: <4FGL_J1326.9+2210_daily_bin34> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin34> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep  7 18:05:33 2021
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:10:26 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:10:26 2021
Terminated at Tue Sep  7 18:21:55 2021
Results reported at Tue Sep  7 18:21:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin34 201.73 22.1732 248140801 248400001 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 :                                   575.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            982 sec.

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

