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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin412
RA = 201.73, Dec = 22.1732
tmin = 346118401, tmax = 346377601
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='588837', job_status='RUN', time_executed='2021-09-07 18:24:55.348220', time_epoch_executed='1631064295.35' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='412'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588837

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588837/ft1_4FGL_J1326.9+2210_daily_bin412.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588837/ft2_4FGL_J1326.9+2210_daily_bin412.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588837/ft1_4FGL_J1326.9+2210_daily_bin412.fits outfile=/scratch/kocevski/588837/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin412.fits ra=201.73 dec=22.1732 rad=12.0 tmin=346118401.0 tmax=346377601.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.10
user 3.84
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588837/ft1_filtered_4FGL_J1326.9+2210_daily_bin412.fits" evtable="EVENTS" scfile=/scratch/kocevski/588837/ft2_4FGL_J1326.9+2210_daily_bin412.fits sctable="SC_DATA" outfile=/scratch/kocevski/588837/ltcube_346118401_346377601_4FGL_J1326.9+2210_daily_bin412.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/588837/ft2_4FGL_J1326.9+2210_daily_bin412.fits
.....................!
real 16.20
user 15.82
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588837/ft1_filtered_4FGL_J1326.9+2210_daily_bin412.fits evtable="EVENTS" scfile=/scratch/kocevski/588837/ft2_4FGL_J1326.9+2210_daily_bin412.fits sctable="SC_DATA" expcube=/scratch/kocevski/588837/ltcube_346118401_346377601_4FGL_J1326.9+2210_daily_bin412.fits outfile=/scratch/kocevski/588837/expmap_346118401_346377601_4FGL_J1326.9+2210_daily_bin412.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/588837/ltcube_346118401_346377601_4FGL_J1326.9+2210_daily_bin412.fits
.....................!
real 192.57
user 187.15
sys 4.91

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/588837/ft1_filtered_4FGL_J1326.9+2210_daily_bin412.fits scfile=/scratch/kocevski/588837/ft2_4FGL_J1326.9+2210_daily_bin412.fits outfile=/scratch/kocevski/588837/cmap_346118401_346377601_4FGL_J1326.9+2210_daily_bin412.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.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588837/ft1_filtered_4FGL_J1326.9+2210_daily_bin412.fits scfile=/scratch/kocevski/588837/ft2_4FGL_J1326.9+2210_daily_bin412.fits outfile=/scratch/kocevski/588837/cmap_HighResolution_346118401_346377601_4FGL_J1326.9+2210_daily_bin412.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.62
user 0.41
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46785       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.9620       1.0000         .10000E-03   10000.    
     3 'norm      '    6.8836       1.0000         .10000E-03   10000.    
     4 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.0424       1.0000         .10000E-03   10000.    
     6 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18982E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10391E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11145E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.810       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11810E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    59.348       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.206       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1252       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .88446       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=   5725.555     FROM MIGRAD    STATUS=CONVERGED    349 CALLS     1505 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44706        4.3134        .28029E-06   -.86839E-03
   2  Prefactor     9.8685        12.654       -.74314E-05   -.32422E-04
   3  norm          6.8868        3.9982       -.14402E-05   -.75886E-04
   4  norm          .10000E-03    2.3426       -.35667E-06** at limit **
   5  norm          1.0413        3.2993       -.19531E-05   -.10270E-02
   6  norm          .10000E-03    6.0787       -.17014E-06** at limit **
   7  Prefactor     .10000E-03    27.775        .39455E-05** at limit **
   8  norm          .10000E-03    1.9294       -.24028E-06** at limit **
   9  Prefactor     .10000E-03    9.1222       -.14819E-05** at limit **
  10  norm          10.809        6.6285       -.49312E-06    .41203E-04
  11  Prefactor     .10000E-03    3.9250        .31515E-06** at limit **
  12  Prefactor     .10000E-03    9.6833       -.27971E-05** at limit **
  13  Prefactor     59.278        51.931       -.81582E-04    .98287E-06
  14  Prefactor     .10000E-03    1.1715       -.21165E-06** at limit **
  15  Prefactor     .10000E-03    8.1252        .52212E-05** at limit **
  16  Prefactor     10.297        12.111       -.46568E-05   -.54038E-04
  17  Normalizat    1.1252        .17097        .27189E-05    .16602E-04
  18  Prefactor     .88449        .16666        .53004E-05   -.90258E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.447062
  Prefactor  = 9.86854
  norm       = 6.88676
  norm       = 0.0001
  norm       = 1.04135
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.8085
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 59.2777
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2975
  Normalizat = 1.12522
  Prefactor  = 0.884494
 **********
 **   18 **HESSE 
 **********

 FCN=   5725.555     FROM HESSE     STATUS=OK           248 CALLS     1753 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44706        25.764        .29704E-02   -1.5574    
   2  Prefactor     9.8685        12.663        .12696E-03   -1.5080    
   3  norm          6.8868        3.9927        .11039E-03   -1.5183    
   4  norm          .10000E-03    2.4036        .22469E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.0413        3.1551        .23717E-02   -1.5504    
   6  norm          .10000E-03    6.0830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.840        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.9356        .10259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.1237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.809        6.6302        .12186E-03   -1.5050    
  11  Prefactor     .10000E-03    3.9304        .14640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.7064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     59.278        51.927        .26040E-03   -1.4167    
  14  Prefactor     .10000E-03    1.1772        .79962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.1759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.297        12.118        .12542E-03   -1.5066    
  17  Normalizat    1.1252        .19504        .22316E-03   -.88946    
  18  Prefactor     .88449        .19097        .24511E-03   -.96685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.76421e-09
Minuit parameter uncertainties:
  1  6.78998
  2  12.6663
  3  3.99285
  4  4.62851e-06
  5  3.15564
  6  7.15365e-06
  7  0.000354386
  8  5.53396e-06
  9  2.93395e-05
  10  6.63065
  11  1.34792e-05
  12  4.51521e-05
  13  51.9665
  14  8.56055e-06
  15  6.34791e-05
  16  12.1207
  17  0.195168
  18  0.191115
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.081e+01  6.631e+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.845e-01  1.911e-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.125e+00  1.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.31
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 4.39e-08 +/- 2.69e-08
Energy Flux (Fixed Index): 1.38e-05 +/- 8.44e-06

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) = 5724.53913407
delta logL = 1.01636325728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5724.5089635
delta logL = 1.04653382714

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.1247       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5076       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1531       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87020       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=   5724.509     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.1213        6.1943        .33170E-02   -.13851E-02
   2  alpha         1.5073        .43413        .34470       -.40538E-04
   3  Normalizat    1.1530        .16764        .36160E-01   -.28892E-05
   4  Prefactor     .87022        .16587        .44624E-01    .44703E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 9.12126
  alpha      = 1.50733
  Normalizat = 1.15304
  Prefactor  = 0.870222
 **********
 **   18 **HESSE 
 **********

 FCN=   5724.509     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.1213        7.6592        .66340E-03   -1.5104    
   2  alpha         1.5073        .58669        .13874E-01   -.40832    
   3  Normalizat    1.1530        .19184        .22083E-03   -.88067    
   4  Prefactor     .87022        .18962        .24689E-03   -.97190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11868e-11
Minuit parameter uncertainties:
  1  7.66004
  2  0.593282
  3  0.19196
  4  0.189764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588837': 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) = 5724.50896333
delta logL = 1.04653399852

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  9.121e+00  7.660e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  1.507e+00  5.933e-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.702e-01  1.898e-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.153e+00  1.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.42
Ra Dec: 201.730 22.173
Photon Index (Free Index): 1.51 +/- 0.59
Photon Flux (Free Index): 2.02e-08 +/- 1.90e-08
Energy Flux (Free Index): 2.42e-05 +/- 2.26e-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/588837/cmap_HighResolution_346118401_346377601_4FGL_J1326.9+2210_daily_bin412.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.39e-08', energy_flux2='2.42e-05', photon_flux_error='2.69e-08', dlogl='1.05e+00', energy_flux='1.38e-05', photon_flux2='2.02e-08', job_status='DONE', time_completed='2021-09-07 18:33:05.324971', photon_index_error2='0.59', photon_index2='1.51', ts='9.31', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='2.26e-05', EG='1.13', time_epoch_completed='1631064785.33', return_code='0', job_id='588837', GAL2='0.87', EG2='1.15', return_code2='0', energy_flux_error='8.44e-06', photon_flux_error2='1.90e-08', ts2='11.42', photon_index='2.38' WHERE bin_id='412' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:33:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 588837: <4FGL_J1326.9+2210_daily_bin412> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin412 201.73 22.1732 346118401 346377601 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 :                                   489.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            738 sec.

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

