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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin522
RA = 201.73, Dec = 22.1732
tmin = 374630401, tmax = 374889601
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='590046', job_status='RUN', time_executed='2021-09-07 18:29:34.636978', time_epoch_executed='1631064574.64' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='522'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590046

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590046/ft1_4FGL_J1326.9+2210_daily_bin522.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590046/ft2_4FGL_J1326.9+2210_daily_bin522.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590046/ft1_4FGL_J1326.9+2210_daily_bin522.fits outfile=/scratch/kocevski/590046/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin522.fits ra=201.73 dec=22.1732 rad=12.0 tmin=374630401.0 tmax=374889601.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 4.63
user 4.36
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590046/ft1_filtered_4FGL_J1326.9+2210_daily_bin522.fits evtable="EVENTS" scfile=/scratch/kocevski/590046/ft2_4FGL_J1326.9+2210_daily_bin522.fits sctable="SC_DATA" expcube=/scratch/kocevski/590046/ltcube_374630401_374889601_4FGL_J1326.9+2210_daily_bin522.fits outfile=/scratch/kocevski/590046/expmap_374630401_374889601_4FGL_J1326.9+2210_daily_bin522.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/590046/ltcube_374630401_374889601_4FGL_J1326.9+2210_daily_bin522.fits
.....................!
real 191.41
user 186.74
sys 4.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/590046/ft1_filtered_4FGL_J1326.9+2210_daily_bin522.fits scfile=/scratch/kocevski/590046/ft2_4FGL_J1326.9+2210_daily_bin522.fits outfile=/scratch/kocevski/590046/cmap_374630401_374889601_4FGL_J1326.9+2210_daily_bin522.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590046/ft1_filtered_4FGL_J1326.9+2210_daily_bin522.fits scfile=/scratch/kocevski/590046/ft2_4FGL_J1326.9+2210_daily_bin522.fits outfile=/scratch/kocevski/590046/cmap_HighResolution_374630401_374889601_4FGL_J1326.9+2210_daily_bin522.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    50.937       1.0000         .10000E-03   10000.    
     3 'norm      '    1.1902       1.0000         .10000E-03   10000.    
     4 'norm      '    6.2764       1.0000         .10000E-03   10000.    
     5 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    15.992       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    26.889       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    28.778       1.0000         .10000E-03   10000.    
    11 'Prefactor '    56.254       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .20200E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7111       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.8874       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .69629       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.3380       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=   6043.681     FROM MIGRAD    STATUS=CONVERGED    358 CALLS     1520 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.2331        .90712E-02** at limit **
   2  Prefactor     50.942        19.980        .14048E-02    .13040E-02
   3  norm          1.1906        2.5724        .10440E-01    .79349E-03
   4  norm          6.2769        3.7248        .40057E-02    .12451E-03
   5  norm          .10000E-03    3.3554        .90712E-02** at limit **
   6  norm          15.993        15.719        .25039E-02    .23973E-03
   7  Prefactor     .10000E-03    3.8400        .90712E-02** at limit **
   8  norm          26.891        11.183        .19314E-02   -.23416E-03
   9  Prefactor     .10000E-03    17.196        .90712E-02** at limit **
  10  norm          28.779        14.712        .18671E-02    .36530E-03
  11  Prefactor     56.250        24.193        .13371E-02   -.20332E-03
  12  Prefactor     .10000E-03    25.146        .90712E-02** at limit **
  13  Prefactor     .10000E-03    114.67        .90712E-02** at limit **
  14  Prefactor     1.7120        3.9549        .80337E-02    .80964E-03
  15  Prefactor     .10000E-03    5.7499        .90712E-02** at limit **
  16  Prefactor     8.8898        15.731        .33612E-02    .54348E-03
  17  Normalizat    .69617        .19552        .71142E-01    .19223E-05
  18  Prefactor     1.3380        .18528        .52907E-01   -.38448E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 50.942
  norm       = 1.19061
  norm       = 6.2769
  norm       = 0.0001
  norm       = 15.9926
  Prefactor  = 0.0001
  norm       = 26.8909
  Prefactor  = 0.0001
  norm       = 28.7794
  Prefactor  = 56.2505
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.71202
  Prefactor  = 0.0001
  Prefactor  = 8.88982
  Normalizat = 0.696168
  Prefactor  = 1.33798
 **********
 **   18 **HESSE 
 **********

 FCN=   6043.681     FROM HESSE     STATUS=OK           240 CALLS     1760 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.2790        .17360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     50.942        19.978        .56192E-04   -1.4279    
   3  norm          1.1906        2.5216        .17701E-03   -1.5490    
   4  norm          6.2769        3.7201        .11107E-03   -1.5207    
   5  norm          .10000E-03    3.3619        .13877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          15.993        15.717        .10016E-03   -1.4908    
   7  Prefactor     .10000E-03    3.8423        .14878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          26.891        11.189        .77256E-04   -1.4670    
   9  Prefactor     .10000E-03    17.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          28.779        14.728        .37341E-03   -1.4635    
  11  Prefactor     56.250        24.301        .53484E-04   -1.4207    
  12  Prefactor     .10000E-03    25.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    115.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7120        3.9306        .22308E-03   -1.5446    
  15  Prefactor     .10000E-03    5.7660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.8898        15.743        .13445E-03   -1.5112    
  17  Normalizat    .69617        .22672        .31486E-03   -1.0404    
  18  Prefactor     1.3380        .21696        .23390E-03   -.82185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31918e-09
Minuit parameter uncertainties:
  1  6.32388e-07
  2  19.9811
  3  2.52184
  4  3.72023
  5  1.22977e-06
  6  15.7206
  7  1.91368e-06
  8  11.19
  9  8.23024e-06
  10  14.7294
  11  24.3049
  12  1.72507e-05
  13  0.000267858
  14  3.93123
  15  7.2118e-07
  16  15.7508
  17  0.227028
  18  0.217109
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.878e+01  1.473e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.383e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  1.183e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.338e+00  2.171e-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:  6.962e-01  2.270e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.43
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 1.17e-07 +/- 5.98e-08
Energy Flux (Fixed Index): 3.66e-05 +/- 1.87e-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) = 6043.44678942
delta logL = 0.234124589156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6043.44274557
delta logL = 0.238168437047

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.978       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7873       1.0000          .0000       5.0000    
     3 'Normalizat'    .65385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3665       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=   6043.443     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      272 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.977        15.670        .81803E-04    .11708E-02
   2  alpha         2.7879        .65030        .10997E-01    .14807E-03
   3  Normalizat    .65385        .22405        .32379E-03   -.13483E-03
   4  Prefactor     1.3665        .21824        .23181E-03   -.37970E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 23.9767
  alpha      = 2.78794
  Normalizat = 0.653853
  Prefactor  = 1.36647
 **********
 **   18 **HESSE 
 **********

 FCN=   6043.443     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.977        14.751        .16361E-04   -1.4728    
   2  alpha         2.7879        .61220        .43986E-03    .11543    
   3  Normalizat    .65385        .22358        .12951E-04   -1.0574    
   4  Prefactor     1.3665        .21787        .46362E-04   -.81351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.22498e-10
Minuit parameter uncertainties:
  1  14.7536
  2  0.618573
  3  0.223893
  4  0.218016
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590046': 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) = 6043.44274449
delta logL = 0.23816951741

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  2.398e+01  1.475e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.788e+00  6.186e-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.366e+00  2.180e-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:  6.539e-01  2.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.24
Ra Dec: 201.730 22.173
Photon Index (Free Index): 2.79 +/- 0.62
Photon Flux (Free Index): 1.51e-07 +/- 7.71e-08
Energy Flux (Free Index): 3.52e-05 +/- 1.54e-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/590046/cmap_HighResolution_374630401_374889601_4FGL_J1326.9+2210_daily_bin522.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.17e-07', energy_flux2='3.52e-05', photon_flux_error='5.98e-08', dlogl='2.38e-01', energy_flux='3.66e-05', photon_flux2='1.51e-07', job_status='DONE', time_completed='2021-09-07 18:38:05.567804', photon_index_error2='0.62', photon_index2='2.79', ts='8.43', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', energy_flux_error2='1.54e-05', EG='0.70', time_epoch_completed='1631065085.57', return_code='0', job_id='590046', GAL2='1.37', EG2='0.65', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='7.71e-08', ts2='9.24', photon_index='2.38' WHERE bin_id='522' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:38:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 590046: <4FGL_J1326.9+2210_daily_bin522> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin522> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep  7 18:25:22 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:25:42 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:25:42 2021
Terminated at Tue Sep  7 18:38:06 2021
Results reported at Tue Sep  7 18:38:06 2021

Your job looked like:

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

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

